Question
Question: The variance of first \[n\] natural numbers A.\[\dfrac{[n(n+1)]}{2}\] B.\[\dfrac{[(n+1)(n+5)]}{...
The variance of first n natural numbers
A.2[n(n+1)]
B.12[(n+1)(n+5)]
C.12[(n+1)(n−5)]
D.12(n2−1)
Solution
Firstly we will find out the mean that is x and then we will find out the summation that is ∑xi and then put the value of ∑xi in the mean x after that find out the variance by putting the obtained values and after simplifying it check which option is correct in the given options.
Complete answer:
Statistics is the study of the collection, organisation and analysis of data and it includes the planning of data collection in terms of design of experiments.
Variance measures the dispersion of a set of data points around their mean and dispersion is the measure of a variation and it is non-negative where values do not cancel out. Commonly there are four types of dispersion; they are range, quartile deviation, mean deviation and standard deviation. Note that the sum of deviation through the statistical mean is always zero.
Mean deviation of a distribution is the arithmetic mean of the absolute deviations of the terms of the distribution from its statistical mean, that is arithmetic mean, median, mode.We must also know that mean deviation of a distribution is the arithmetic mean of absolute deviation of terms.
Standard deviation is the positive square root of the arithmetic mean of the squared deviations from the mean of the distribution and it is also a form of average deviation from the mean.
Variance is the average squared deviation from the mean of the data and is also the square of standard deviation.
Now according to the question:
Firstly find out the mean:
x=n∑xi
And we know that ∑xi=1,2,3,4........n
⇒∑xi=2n(n+1)
Putting the value of ∑xi in the mean we get:
⇒x=n2n(n+1)
⇒x=2nn(n+1)
⇒x=2(n+1)
Now we can find out the variance as:
⇒σ2=n1∑(xi−x)2
Now applying (a−b)2=a2−2ab+b2 in (xi−x)2 we will get:
⇒σ2=n1∑(xi2−2xix+(x)2)
⇒σ2=n1(∑xi2−2x∑xi+(x)2∑1)
Putting the values of xi , x and ∑1=n we get:
⇒σ2=n1(6n(n+1)(2n+1)−2×2(n+1)×2n(n+1)+(2(n+1))2×n)
⇒σ2=n1(6n(n+1)(2n+1)−(n+1)×2n(n+1)+(2(n+1))2×n)
Now taking n1 inside the bracket:
⇒σ2=(6nn(n+1)(2n+1)−n(n+1)×2n(n+1)+(2(n+1))2×nn)
⇒σ2=(6(n+1)(2n+1)−(n+1)×2(n+1)+(2(n+1))2)
⇒σ2=(6(n+1)(2n+1)−2(n+1)2+4(n+1)2)
Now taking 2(n+1) in common we get:
⇒σ2=2(n+1)(3(2n+1)−(n+1)+2(n+1))
⇒σ2=2(n+1)(3(2n+1)−2(n+1))
Taking LCM:
⇒σ2=2(n+1)(64n+2−(3n+1))
⇒σ2=2(n+1)(64n+2−3n−1)
⇒σ2=2(n+1)×6(n−1)
⇒σ2=12(n+1)(n−1)
As we know that (a+b)(a−b)=a2−b2
⇒σ2=12(n2−12)
⇒σ2=12(n2−1)
Hence option D is correct as the variance is 12(n2−1).
Note:
You know that if two distribution have some arithmetic mean but different coefficient of variance, then the distribution with less coefficient of variation is less deviated in comparison to the distribution having greater coefficient of variation and coefficient of variance is an absolute quantity, it does not have any unit.