Skip to content
Exercise 13.2 · Q2

Q.Find the mean and variance for the first nn natural numbers.

Kerala DhseTextbookSubjective· 3mImportance★★★★★est
16% · 14/90 Questions
✓ Free question

The mean of the first nn natural numbers is n+12\frac{n+1}{2}, and the variance is n2−112\frac{n^2-1}{12}. This follows from summing an arithmetic progression and using the formula for the sum of squares.

The first nn natural numbers are 1,2,3,…,n1, 2, 3, \dots, n. The mean is just the average — but the variance measures how spread out these numbers are around that average. Since the numbers are equally spaced, both quantities have neat closed forms.

Let’s derive them step by step.


  1. Mean (average) The sum of the first nn natural numbers is the classic arithmetic series:

1+2+⋯+n=n(n+1)21 + 2 + \cdots + n = \frac{n(n+1)}{2}

The mean xˉ\bar{x} is this sum divided by nn:

xˉ=1n⋅n(n+1)2=n+12\bar{x} = \frac{1}{n} \cdot \frac{n(n+1)}{2} = \frac{n+1}{2}

So the mean sits exactly halfway between 11 and nn.

  1. Variance — the definition Variance is the average of the squared deviations from the mean. For a population (which these nn numbers are), we use:

σ2=1n∑i=1n(xi−xˉ)2\sigma^2 = \frac{1}{n} \sum_{i=1}^{n} (x_i - \bar{x})^2

A more convenient computational form is:

σ2=1n∑i=1nxi2−xˉ2\sigma^2 = \frac{1}{n} \sum_{i=1}^{n} x_i^2 - \bar{x}^2

This avoids subtracting the mean from each term individually.

  1. Sum of squares The sum of squares of the first nn natural numbers is a standard result:

∑i=1ni2=n(n+1)(2n+1)6\sum_{i=1}^{n} i^2 = \frac{n(n+1)(2n+1)}{6}

So the average of the squares is:

1n∑i=1ni2=(n+1)(2n+1)6\frac{1}{n} \sum_{i=1}^{n} i^2 = \frac{(n+1)(2n+1)}{6}

  1. Plug into the variance formula Using xˉ=n+12\bar{x} = \frac{n+1}{2}, we have xˉ2=(n+1)24\bar{x}^2 = \frac{(n+1)^2}{4}. Therefore:

σ2=(n+1)(2n+1)6−(n+1)24\sigma^2 = \frac{(n+1)(2n+1)}{6} - \frac{(n+1)^2}{4}

  1. Simplify Factor out (n+1)(n+1):

σ2=(n+1)[2n+16−n+14]\sigma^2 = (n+1) \left[ \frac{2n+1}{6} - \frac{n+1}{4} \right]

Find a common denominator (12):

2n+16=4n+212,n+14=3n+312\frac{2n+1}{6} = \frac{4n+2}{12}, \quad \frac{n+1}{4} = \frac{3n+3}{12}

Subtract:

4n+2−(3n+3)12=n−112\frac{4n+2 - (3n+3)}{12} = \frac{n-1}{12}

So:

σ2=(n+1)⋅n−112=n2−112\sigma^2 = (n+1) \cdot \frac{n-1}{12} = \frac{n^2-1}{12}

Watch out

A common mistake is to use the sample variance formula (dividing by n−1n-1) instead of the population variance. Here, since we are considering the entire set of the first nn natural numbers, we divide by nn, not n−1n-1. Using n−1n-1 would give n(n+1)12\frac{n(n+1)}{12}, which is incorrect for this problem.

Tip

Notice that the variance grows roughly as n2/12n^2/12 — so the spread increases quadratically with nn, while the mean grows linearly. This makes sense: as nn gets larger, the numbers are more spread out relative to their average.

✓Final answer

The mean is n+12\boxed{\frac{n+1}{2}} and the variance is n2−112\boxed{\frac{n^2-1}{12}}.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.