Skip to content
NCERT Exemplar · Q5

Q.Find the standard deviation of the first nn natural numbers.

Uttar Pradesh UpmspShort· 3mImportance★★★★★est
54% · 49/90 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The standard deviation of the first nn natural numbers is n2−112\sqrt{\frac{n^2 - 1}{12}}. This comes from the fact that variance is the average of squares minus the square of the average, and for natural numbers both the mean and the mean of squares have neat closed forms.

The first nn natural numbers are 1,2,3,…,n1, 2, 3, \dots, n. When we talk about standard deviation, we're measuring how spread out these numbers are around their mean. For equally spaced data like this, the spread depends only on nn and the spacing (which is 1). The formula turns out to be surprisingly clean.

The key insight: standard deviation is the square root of variance. And variance can be computed as:

Variance=1n∑i=1nxi2−(1n∑i=1nxi)2\text{Variance} = \frac{1}{n}\sum_{i=1}^n x_i^2 - \left(\frac{1}{n}\sum_{i=1}^n x_i\right)^2

This is often easier than summing squared deviations directly. So we just need two things: the mean of the numbers, and the mean of their squares.


  1. Find the mean of the first nn natural numbers. The sum of the first nn natural numbers is n(n+1)2\frac{n(n+1)}{2}. So the mean is:

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

  1. Find the mean of the squares. The sum of squares of the first nn natural numbers is n(n+1)(2n+1)6\frac{n(n+1)(2n+1)}{6}. So the mean of the squares is:

x2‾=1n⋅n(n+1)(2n+1)6=(n+1)(2n+1)6\overline{x^2} = \frac{1}{n} \cdot \frac{n(n+1)(2n+1)}{6} = \frac{(n+1)(2n+1)}{6}

  1. Compute the variance. Using the formula:

σ2=x2‾−(xˉ)2=(n+1)(2n+1)6−(n+12)2\sigma^2 = \overline{x^2} - (\bar{x})^2 = \frac{(n+1)(2n+1)}{6} - \left(\frac{n+1}{2}\right)^2

Put everything over a common denominator of 12:

σ2=2(n+1)(2n+1)12−3(n+1)212\sigma^2 = \frac{2(n+1)(2n+1)}{12} - \frac{3(n+1)^2}{12}

Factor (n+1)(n+1) out of the numerator:

σ2=n+112[2(2n+1)−3(n+1)]\sigma^2 = \frac{n+1}{12} \left[ 2(2n+1) - 3(n+1) \right] …

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.