RankRizz
JEE MAIN 2021 · 27 AUG S1+4EASYTRANSCRIBED

JEE Main 2021 Mathematics question — Variance and standard deviation

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

SOLUTION

We are given the consecutive natural numbers 1,2,3,…,n1,2,3,\dots ,n and told that their variance equals 1414. Because every positive integer from 11 to nn appears exactly once, the total number of observations is also nn. Throughout this solution we shall regard the data set as the whole population, so we use the population variance formula

σ2=1N∑i=1N(xi−μ)2,\sigma^{2}= \dfrac{1}{N}\sum_{i=1}^{N}(x_{i}-\mu)^{2},

where NN is the number of observations, xix_{i} denotes an individual observation and μ\mu denotes the mean (average) of all the observations.

First we determine the mean. The sum of the first nn natural numbers is well known to be

∑i=1ni=n(n+1)2.\sum_{i=1}^{n} i=\dfrac{n(n+1)}{2}.

Dividing this sum by the total number of observations nn gives the mean

μ=n(n+1)2n=n+12.\mu=\dfrac{\dfrac{n(n+1)}{2}}{n}= \dfrac{n+1}{2}.

Next we require the second moment, that is, the mean of the squares. The sum of the squares of the first nn natural numbers is

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

Hence the mean of the squares, often written as E[X2]E[X^{2}], equals

E[X2]=1n∑i=1ni2=1n⋅n(n+1)(2n+1)6=(n+1)(2n+1)6.E[X^{2}]=\dfrac{1}{n}\sum_{i=1}^{n} i^{2}= \dfrac{1}{n}\cdot\dfrac{n(n+1)(2n+1)}{6}= \dfrac{(n+1)(2n+1)}{6}.

The variance can be computed by the identity

σ2=E[X2]−μ2.\sigma^{2}=E[X^{2}] - \mu^{2}.

Substituting the expressions we have just obtained, we write

σ2=(n+1)(2n+1)6−(n+12)2.\sigma^{2}= \dfrac{(n+1)(2n+1)}{6} - \left(\dfrac{n+1}{2}\right)^{2}.

Because it is given that the variance equals 1414, we set the above expression equal to 1414:

(n+1)(2n+1)6−(n+12)2=14.\dfrac{(n+1)(2n+1)}{6} - \left(\dfrac{n+1}{2}\right)^{2}=14.

To simplify, notice that each term contains the factor (n+1).(n+1). We write

(n+1)(2n+1)6−(n+1)24=14.\dfrac{(n+1)(2n+1)}{6} - \dfrac{(n+1)^{2}}{4}=14.

Factorising (n+1)(n+1) from both numerators gives

(n+1)[2n+16−n+14]=14.(n+1)\left[\dfrac{2n+1}{6}-\dfrac{n+1}{4}\right]=14.

We now combine the expressions in the square brackets by taking a common denominator of 1212:

2n+16=4n+212,n+14=3n+312.\dfrac{2n+1}{6}= \dfrac{4n+2}{12},\qquad \dfrac{n+1}{4}= \dfrac{3n+3}{12}.

Subtracting inside the brackets, we obtain

4n+212−3n+312=4n+2−3n−312=n−112.\dfrac{4n+2}{12}-\dfrac{3n+3}{12}= \dfrac{4n+2-3n-3}{12}= \dfrac{n-1}{12}.

Therefore

(n+1)(n−112)=14.(n+1)\left(\dfrac{n-1}{12}\right)=14.

Multiplying both sides by 1212 to clear the denominator, we have

(n+1)(n−1)=14×12=168.(n+1)(n-1)=14\times12=168.

Recognising the left side as the difference of squares, we write

n2−1=168.n^{2}-1=168.

Adding 11 to both sides produces

n2=169.n^{2}=169.

Taking the positive square root (because nn is a natural number) yields

n=13.n=13.

Finally, the question stipulates that nn must be odd; 1313 is indeed odd, so our solution is fully consistent.

So, the answer is 1313.

Tagged Variance and standard deviation. Machine-assigned, so read it as a strong shortlist rather than a verdict.

ChapterStatistics
TopicVariance and standard deviation
TypeNumerical answer