We begin by recalling that the variance of a data set having N N N observations x 1 , x 2 , … , x N x_1,\;x_2,\;\dots ,x_N x 1 , x 2 , … , x N is given by the formula
Variance = ∑ i = 1 N x i 2 N − ( ∑ i = 1 N x i N ) 2 . \text{Variance}= \frac{\displaystyle\sum_{i=1}^{N}x_i^{2}}{N}-\left(\frac{\displaystyle\sum_{i=1}^{N}x_i}{N}\right)^{2}. Variance = N i = 1 ∑ N x i 2 − N i = 1 ∑ N x i 2 .
First we deal with the variance of the first n n n natural numbers, i.e. 1 , 2 , 3 , … , n . 1,2,3,\dots ,n. 1 , 2 , 3 , … , n .
The number of terms is clearly N = n . N=n. N = n .
The sum of the first n n n natural numbers is the well-known result
∑ k = 1 n k = n ( n + 1 ) 2 . \sum_{k=1}^{n}k=\frac{n(n+1)}{2}. ∑ k = 1 n k = 2 n ( n + 1 ) .
The sum of the squares of the first n n n natural numbers is
∑ k = 1 n k 2 = n ( n + 1 ) ( 2 n + 1 ) 6 . \sum_{k=1}^{n}k^{2}= \frac{n(n+1)(2n+1)}{6}. ∑ k = 1 n k 2 = 6 n ( n + 1 ) ( 2 n + 1 ) .
Substituting these expressions into the variance formula, we obtain
Var first n = n ( n + 1 ) ( 2 n + 1 ) 6 n − ( n ( n + 1 ) 2 n ) 2 . \text{Var}_{\text{first }n}= \frac{\dfrac{n(n+1)(2n+1)}{6}}{n}-\left(\frac{\dfrac{n(n+1)}{2}}{n}\right)^{2}. Var first n = n 6 n ( n + 1 ) ( 2 n + 1 ) − n 2 n ( n + 1 ) 2 .
Simplifying the fractions one at a time, we have
Var first n = ( n + 1 ) ( 2 n + 1 ) 6 − ( n + 1 2 ) 2 . \text{Var}_{\text{first }n}= \frac{(n+1)(2n+1)}{6}-\left(\frac{n+1}{2}\right)^{2}. Var first n = 6 ( n + 1 ) ( 2 n + 1 ) − ( 2 n + 1 ) 2 .
Taking the common factor ( n + 1 ) (n+1) ( n + 1 ) out, the expression becomes
Var first n = ( n + 1 ) [ 2 n + 1 6 − n + 1 4 ] . \text{Var}_{\text{first }n}= (n+1)\left[\frac{2n+1}{6}-\frac{n+1}{4}\right]. Var first n = ( n + 1 ) [ 6 2 n + 1 − 4 n + 1 ] .
We now combine the two fractions inside the square brackets by using the common denominator 12:
2 n + 1 6 = 2 ( 2 n + 1 ) 12 = 4 n + 2 12 , n + 1 4 = 3 ( n + 1 ) 12 = 3 n + 3 12 . \frac{2n+1}{6}=\frac{2(2n+1)}{12}=\frac{4n+2}{12}, \quad
\frac{n+1}{4}=\frac{3(n+1)}{12}=\frac{3n+3}{12}. 6 2 n + 1 = 12 2 ( 2 n + 1 ) = 12 4 n + 2 , 4 n + 1 = 12 3 ( n + 1 ) = 12 3 n + 3 .
Subtracting gives
4 n + 2 12 − 3 n + 3 12 = ( 4 n + 2 ) − ( 3 n + 3 ) 12 = n − 1 12 . \frac{4n+2}{12}-\frac{3n+3}{12}= \frac{(4n+2)-(3n+3)}{12}= \frac{n-1}{12}. 12 4 n + 2 − 12 3 n + 3 = 12 ( 4 n + 2 ) − ( 3 n + 3 ) = 12 n − 1 .
Hence,
Var first n = ( n + 1 ) ( n − 1 12 ) = n 2 − 1 12 . \text{Var}_{\text{first }n}= (n+1)\left(\frac{n-1}{12}\right)=\frac{n^{2}-1}{12}. Var first n = ( n + 1 ) ( 12 n − 1 ) = 12 n 2 − 1 .
According to the question, this variance equals 10, so
n 2 − 1 12 = 10 ⟹ n 2 − 1 = 120 ⟹ n 2 = 121 ⟹ n = 11. \frac{n^{2}-1}{12}=10 \;\Longrightarrow\; n^{2}-1=120 \;\Longrightarrow\; n^{2}=121 \;\Longrightarrow\; n=11. 12 n 2 − 1 = 10 ⟹ n 2 − 1 = 120 ⟹ n 2 = 121 ⟹ n = 11.
Next, we consider the first m m m even natural numbers, namely 2 , 4 , 6 , … , 2 m . 2,4,6,\dots ,2m. 2 , 4 , 6 , … , 2 m . Observe that each term is exactly twice the corresponding term in the set 1 , 2 , 3 , … , m . 1,2,3,\dots ,m. 1 , 2 , 3 , … , m .
If a data set is multiplied by a constant factor c , c, c , its variance is multiplied by c 2 . c^{2}. c 2 . Here the constant factor is c = 2 , c=2, c = 2 , so the variance of 2 , 4 , 6 , … , 2 m 2,4,6,\dots ,2m 2 , 4 , 6 , … , 2 m is
Var even = 2 2 × Var first m = 4 × m 2 − 1 12 = m 2 − 1 3 . \text{Var}_{\text{even}} = 2^{2}\times\text{Var}_{\text{first }m}=4\times\frac{m^{2}-1}{12}=\frac{m^{2}-1}{3}. Var even = 2 2 × Var first m = 4 × 12 m 2 − 1 = 3 m 2 − 1 .
We are told that this variance equals 16, hence
m 2 − 1 3 = 16 ⟹ m 2 − 1 = 48 ⟹ m 2 = 49 ⟹ m = 7. \frac{m^{2}-1}{3}=16 \;\Longrightarrow\; m^{2}-1=48 \;\Longrightarrow\; m^{2}=49 \;\Longrightarrow\; m=7. 3 m 2 − 1 = 16 ⟹ m 2 − 1 = 48 ⟹ m 2 = 49 ⟹ m = 7.
Finally, the problem asks for m + n , m+n, m + n , and we have found m = 7 m=7 m = 7 and n = 11 , n=11, n = 11 , so
m + n = 7 + 11 = 18. m+n = 7+11 = 18. m + n = 7 + 11 = 18.
So, the answer is 18 18 18 .