Question
Question: If the mean of the data : \(7,8,9,7,8,7,\lambda ,8\) is 8, then the variance of this data is A. \(...
If the mean of the data : 7,8,9,7,8,7,λ,8 is 8, then the variance of this data is
A. 89
B. 2
C. 87
D. 1
Solution
In this question, first use the formula of mean to find the value of λ. Now, use the elements to find the value of variance, which is variance = N∑xi2−μ2.
Complete step-by-step solution:
Here, the given data is 7,8,9,7,8,7,λ,8. The mean of the given data is 8. We have to find the variance of the given data. We have, the mean (μ)=8, and the number of elements (N)=8. Let us first use the basic principle of mean (μ) and find the value of λ. We know that mean is given by,
Mean (μ)=8x1+x2+x3+x4+x5+x6+x7+x8
The above mean expression is for 8 elements, which is,
Mean = (total number of elements)(sum of elements)=N∑xi
So, we get the mean as,
μ=87+8+9+7+8+7+λ+8⇒8=815+16+15+8+λ⇒8×8=15+16+15+8+λ⇒64=30+24+λ⇒64=54+λ⇒λ=64−54⇒λ=10
So, here we have the values of λ=10, therefore, we have the elements as, 7, 8, 9, 7, 8, 7, 10, 8. We know that variance =N∑xi2−μ2 . So, let us first find ∑xi2 by squaring each element and adding them with each other. So, we will get,
x12=72=49,x22=64,x32=81,x42=49,x52=64,x62=49,x72=100,x82=64
We also need to find μ2, which will be, μ2=82=64. Now let us add all these values to find ∑xi2. So, we get,
∑xi2=x12+x22+x32+x42+x52+x62+x72+x82⇒∑xi2=49+64+81+49+64+49+100+64⇒∑xi2=520
Now, we have ∑xi2=520, N=8 and μ2=64, so let us substitute these values in the variance formula and calculate the required result. So, we have,
N∑xi2−μ2=8520−64=65−64=1
Therefore, we get the variance of the given data as 1.
Hence, the correct answer is option D.
Note: Here, we can also use the formula of variance as N∑(xi−μ)2. Variance is denoted by (σ2), the square root of variance is known as standard deviation. For using this formula first we will have to find the value of (xi−μ) for each element and then have to square of those term which would take much more time so we avoid using this formula.