Question
Question: The variance of first \(n\) natural numbers, is A. \(\dfrac{{n + 1}}{2}\) B. \(\dfrac{{{n^2} + ...
The variance of first n natural numbers, is
A. 2n+1
B. 12n2+1
C. 6n2−1
D. 12n2−1
Solution
For required solution, we will see first n natural numbers and then we have to calculate the variance of those numbers. Now, to calculate variance we need to find mean of all the n natural numbers. Now, we know, variance can be calculated using the formula σ2=n1∑xi2−(xˉ)2 , where xˉ is the mean of the n natural numbers and n is the total count of the numbers.
Complete step-by-step answer:
Now, we know,
The first n natural numbers are = 1, 2, 3, 4, 5….. n
The count of these numbers is n
Now, to find mean we have to use the formula,
Mean, xˉ=ni=1∑nxi
So, putting values in the formula,
xˉ=n1+2+3+4+5....n
Now, using formula to find sum of n natural numbers
s=2n(n+1)
Now, putting the above value in mean,
Now, xˉ2=4(n+1)2.............(1)
Now, we know that the sum of the squares of n natural numbers is 6n(n+1)(2n+1)
So, n1∑xi2=n×6n(n+1)(2n+1).................(2)
Now, putting values of equation (1) and (2) in variance formula,
⇒σ2=6nn(n+1)(2n+1)−4(n+1)2
Now, on simplifying the equation,
Hence, the variance of first n natural numbers is 12n2−1
Hence, the correct option for the given problem is D.
Note: In the above question, we have used the formulas of mean and variance. We have also used the properties of arithmetic progression to find the sum of the n natural numbers. The calculations done in the solution are a bit typical and we cannot make mistakes, so do them precisely.. The calculation of mean is simple but it should also be rechecked twice to avoid any mistakes in these types of questions.