Question
Mathematics Question on Statistics
Find variance of first 2n natural numbers.
To find the variance of the first 2n natural numbers, we first need to find the mean of the sequence.
The mean is simply the sum of the numbers divided by the total count of numbers:
mean = 2n(1+2+3+...+2n)
Using the formula for the sum of an arithmetic series, we can simplify the expression for the mean to:
mean = 2(2n+1)
Next, we need to find the variance.
The variance is defined as the average of the squared differences from the mean. In other words:
variance = 2n[(1−mean)2+(2−mean)2+...+(2n−mean)2]
We can simplify this expression by expanding the squares and using the formula for the sum of the first n natural numbers:
variance = (12n)[n(2n+1)(4n+1)−6n(2n+1)+6n2]
Simplifying this expression, we get:
variance = 12(4n2−1)
Therefore, the variance of the first 2n natural numbers is 12(4n2−1).