QlarIITy

MathematicsJEE Main 2021 · 27 AugustInteger

Let nn be an odd natural number such that the variance of 1,2,3,4,…,n1, 2, 3, 4, \ldots, n is 14. Then nn is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. The variance of the first natural numbers depends only on their count.

Concept refresher. The variance of the first nn natural numbers is

σ2=n2−112\sigma^2 = \dfrac{n^2 - 1}{12}

and multiplying every observation by cc multiplies the variance by c2c^2.

Picture the situation. The numbers 1 to nn are equally spaced, so their variance depends only on how many there are. The formula gives the variance directly in terms of nn, and the given variance turns it into an equation.

Approach. Equate the formula for the variance to the given value and solve.

  1. Step 1: Use the formula

    The variance of 1,2,…,n1, 2, \ldots, n is n2−112\dfrac{n^2 - 1}{12}. Setting it equal to 14 gives n2−1=168n^2 - 1 = 168.

  2. Step 2: Solve

    So n2=169n^2 = 169 and n=13n = 13, which is odd, as required.

Answer. 13

Sanity check. For this nn the squared distances from the mean 7 are 36,25,…,136, 25, \ldots, 1 twice over, adding to 182, and 18213=14\dfrac{182}{13} = 14.

Common wrong answers

  • 14: The value 14 is the variance given, not the number of terms.

Key takeaway

The trap. The formula gives the variance, not the standard deviation.

How toppers think. They remember that 169 is the square of 13.

Remember. σ2=n2−112\sigma^2 = \dfrac{n^2 - 1}{12}

More on Variance & Standard Deviation