Let the n n n observations be x 1 , x 2 , … , x n − 1 , x n x_1, x_2, \dots, x_{n-1}, x_n x 1 , x 2 , … , x n − 1 , x n .
We are given:
Mean of n n n observations, x ˉ = 8 \bar{x} = 8 x ˉ = 8
Variance of n n n observations, σ 2 = 16 \sigma^2 = 16 σ 2 = 16
Sum of the first ( n − 1 ) (n-1) ( n − 1 ) observations, ∑ i = 1 n − 1 x i = 48 \sum_{i=1}^{n-1} x_i = 48 ∑ i = 1 n − 1 x i = 48
Sum of squares of the first ( n − 1 ) (n-1) ( n − 1 ) observations, ∑ i = 1 n − 1 x i 2 = 496 \sum_{i=1}^{n-1} x_i^2 = 496 ∑ i = 1 n − 1 x i 2 = 496
Using the formula for the mean of n n n observations:
x ˉ = ∑ i = 1 n x i n = 8 \bar{x} = \frac{\sum_{i=1}^{n} x_i}{n} = 8 x ˉ = n ∑ i = 1 n x i = 8
⟹ ∑ i = 1 n x i = 8 n \implies \sum_{i=1}^{n} x_i = 8n ⟹ ∑ i = 1 n x i = 8 n
Since ∑ i = 1 n x i = ∑ i = 1 n − 1 x i + x n \sum_{i=1}^{n} x_i = \sum_{i=1}^{n-1} x_i + x_n ∑ i = 1 n x i = ∑ i = 1 n − 1 x i + x n , we substitute the sum of the first ( n − 1 ) (n-1) ( n − 1 ) observations:
48 + x n = 8 n 48 + x_n = 8n 48 + x n = 8 n
⟹ x n = 8 n − 48 = 8 ( n − 6 ) — (Equation 1) \implies x_n = 8n - 48 = 8(n - 6) \quad \text{--- (Equation 1)} ⟹ x n = 8 n − 48 = 8 ( n − 6 ) — (Equation 1)
Next, using the formula for variance:
σ 2 = ∑ i = 1 n x i 2 n − ( x ˉ ) 2 \sigma^2 = \frac{\sum_{i=1}^{n} x_i^2}{n} - (\bar{x})^2 σ 2 = n ∑ i = 1 n x i 2 − ( x ˉ ) 2
Substitute the given values of σ 2 = 16 \sigma^2 = 16 σ 2 = 16 and x ˉ = 8 \bar{x} = 8 x ˉ = 8 :
16 = ∑ i = 1 n x i 2 n − 8 2 16 = \frac{\sum_{i=1}^{n} x_i^2}{n} - 8^2 16 = n ∑ i = 1 n x i 2 − 8 2
16 = ∑ i = 1 n x i 2 n − 64 16 = \frac{\sum_{i=1}^{n} x_i^2}{n} - 64 16 = n ∑ i = 1 n x i 2 − 64
⟹ ∑ i = 1 n x i 2 n = 80 \implies \frac{\sum_{i=1}^{n} x_i^2}{n} = 80 ⟹ n ∑ i = 1 n x i 2 = 80
⟹ ∑ i = 1 n x i 2 = 80 n \implies \sum_{i=1}^{n} x_i^2 = 80n ⟹ ∑ i = 1 n x i 2 = 80 n
We know that:
∑ i = 1 n x i 2 = ∑ i = 1 n − 1 x i 2 + x n 2 \sum_{i=1}^{n} x_i^2 = \sum_{i=1}^{n-1} x_i^2 + x_n^2 ∑ i = 1 n x i 2 = ∑ i = 1 n − 1 x i 2 + x n 2
Substitute the given sum of squares of the first ( n − 1 ) (n-1) ( n − 1 ) observations:
80 n = 496 + x n 2 80n = 496 + x_n^2 80 n = 496 + x n 2
Now, substitute x n = 8 ( n − 6 ) x_n = 8(n - 6) x n = 8 ( n − 6 ) from Equation 1:
80 n = 496 + [ 8 ( n − 6 ) ] 2 80n = 496 + [8(n - 6)]^2 80 n = 496 + [ 8 ( n − 6 ) ] 2
80 n = 496 + 64 ( n − 6 ) 2 80n = 496 + 64(n - 6)^2 80 n = 496 + 64 ( n − 6 ) 2
Dividing the entire equation by 16 16 16 :
5 n = 31 + 4 ( n − 6 ) 2 5n = 31 + 4(n - 6)^2 5 n = 31 + 4 ( n − 6 ) 2
5 n = 31 + 4 ( n 2 − 12 n + 36 ) 5n = 31 + 4(n^2 - 12n + 36) 5 n = 31 + 4 ( n 2 − 12 n + 36 )
5 n = 31 + 4 n 2 − 48 n + 144 5n = 31 + 4n^2 - 48n + 144 5 n = 31 + 4 n 2 − 48 n + 144
4 n 2 − 53 n + 175 = 0 4n^2 - 53n + 175 = 0 4 n 2 − 53 n + 175 = 0
Solving this quadratic equation for n n n :
n = − ( − 53 ) ± ( − 53 ) 2 − 4 ( 4 ) ( 175 ) 2 ( 4 ) n = \frac{-(-53) \pm \sqrt{(-53)^2 - 4(4)(175)}}{2(4)} n = 2 ( 4 ) − ( − 53 ) ± ( − 53 ) 2 − 4 ( 4 ) ( 175 )
n = 53 ± 2809 − 2800 8 n = \frac{53 \pm \sqrt{2809 - 2800}}{8} n = 8 53 ± 2809 − 2800
n = 53 ± 9 8 n = \frac{53 \pm \sqrt{9}}{8} n = 8 53 ± 9
n = 53 ± 3 8 n = \frac{53 \pm 3}{8} n = 8 53 ± 3
This gives two values for n n n :
n = 56 8 = 7 or n = 50 8 = 6.25 n = \frac{56}{8} = 7 \quad \text{or} \quad n = \frac{50}{8} = 6.25 n = 8 56 = 7 or n = 8 50 = 6.25
Since n n n represents the number of observations, it must be a positive integer. Thus, n = 7 n = 7 n = 7 .
Therefore, the correct option is D .