Option (D) is correct.
Explanation:
Step 1: find n. For each observation, (xi−3)−(xi−5)=2. So
∑(xi−3)−∑(xi−5)=2n⟹18−(−2)=2n⟹n=10
Step 2: use deviations from 5. Let di=xi−5. Shifting by 5 does not change the variance, so
σ2=n∑di2−(n∑di)2=1050−(10−2)2=5−0.04=4.96
Check. The mean is 5+10−2=4.8, so ∑xi=48 and ∑(xi−3)=48−30=18, as given.
Why the other options are wrong
- (A) 5 is n∑di2 without subtracting (n∑di)2. That is right only when the mean is exactly 5, and here it is 4.8.
- (B) 5.04 adds (n∑di)2=0.04 instead of subtracting it.
- (C) 2.49 takes n=20 (the difference 18−(−2) itself), forgetting that each observation contributes 2 to it: 2050−(20−2)2=2.5−0.01=2.49.