Let be an odd natural number such that the variance of 1, 2, 3, 4, ..., n is 14. Then is equal to _________.
We are given the consecutive natural numbers and told that their variance equals . Because every positive integer from to appears exactly once, the total number of observations is also . Throughout this solution we shall regard the data set as the whole population, so we use the population variance formula
where is the number of observations, denotes an individual observation and denotes the mean (average) of all the observations.
First we determine the mean. The sum of the first natural numbers is well known to be
Dividing this sum by the total number of observations gives the mean
Next we require the second moment, that is, the mean of the squares. The sum of the squares of the first natural numbers is
Hence the mean of the squares, often written as , equals
The variance can be computed by the identity
Substituting the expressions we have just obtained, we write
Because it is given that the variance equals , we set the above expression equal to :
To simplify, notice that each term contains the factor We write
Factorising from both numerators gives
We now combine the expressions in the square brackets by taking a common denominator of :
Subtracting inside the brackets, we obtain
Therefore
Multiplying both sides by to clear the denominator, we have
Recognising the left side as the difference of squares, we write
Adding to both sides produces
Taking the positive square root (because is a natural number) yields
Finally, the question stipulates that must be odd; is indeed odd, so our solution is fully consistent.
So, the answer is .
Tagged Variance and standard deviation. Machine-assigned, so read it as a strong shortlist rather than a verdict.