Skip to main content
Back to Statistics & Probability
JEE Main 2020
Statistics & Probability
Statistics
Hard

Question

If the variance of the first n natural numbers is 10 and the variance of the first m even natural numbers is 16, then m + n is equal to_____.

Answer: 2

Solution

Key Concepts and Formulas

  • Variance (σ2\sigma^2): A statistical measure quantifying the extent to which data points diverge from the mean. For a set of NN observations x1,x2,,xNx_1, x_2, \dots, x_N, the most efficient formula is: σ2=E[X2](E[X])2\sigma^2 = E[X^2] - (E[X])^2 where E[X]=xiNE[X] = \frac{\sum x_i}{N} is the mean, and E[X2]=xi2NE[X^2] = \frac{\sum x_i^2}{N} is the mean of the squares.
  • Summation Formulas:
    • Sum of the first NN natural numbers: i=1Ni=N(N+1)2\sum_{i=1}^N i = \frac{N(N+1)}{2}
    • Sum of the squares of the first NN natural numbers: i=1Ni2=N(N+1)(2N+1)6\sum_{i=1}^N i^2 = \frac{N(N+1)(2N+1)}{6}
  • Property of Variance for Linear Transformations: If Y=aX+bY = aX + b, then Var(Y)=a2Var(X)\text{Var}(Y) = a^2 \text{Var}(X). This means that adding a constant (bb) does not affect variance, but multiplying by a constant (aa) scales the variance by a2a^2.

Step-by-Step Solution

Part 1: Variance of the First nn Natural Numbers

We are given that the variance of the first nn natural numbers (1,2,3,,n1, 2, 3, \dots, n) is 1010. Our goal is to determine the value of nn.

  • Step 1.1: Calculate the Mean (E[X]E[X]) for the first nn natural numbers. Why this step? The variance formula σ2=E[X2](E[X])2\sigma^2 = E[X^2] - (E[X])^2 requires the mean, E[X]E[X]. The series is xi={1,2,,n}x_i = \{1, 2, \dots, n\}, with N=nN=n observations. Sum of the first nn natural numbers: i=1nxi=i=1ni=n(n+1)2\sum_{i=1}^n x_i = \sum_{i=1}^n i = \frac{n(n+1)}{2}. Mean: E[X]=xiN=n(n+1)/2n=n+12E[X] = \frac{\sum x_i}{N} = \frac{n(n+1)/2}{n} = \frac{n+1}{2}

  • Step 1.2: Calculate the Mean of Squares (E[X2]E[X^2]) for the first nn natural numbers. Why this step? The variance formula also requires the mean of squares, E[X2]E[X^2]. Sum of the squares of the first nn natural numbers: i=1nxi2=i=1ni2=n(n+1)(2n+1)6\sum_{i=1}^n x_i^2 = \sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}. Mean of squares: E[X2]=xi2N=n(n+1)(2n+1)/6n=(n+1)(2n+1)6E[X^2] = \frac{\sum x_i^2}{N} = \frac{n(n+1)(2n+1)/6}{n} = \frac{(n+1)(2n+1)}{6}

  • Step 1.3: Apply the Variance Formula and Solve for nn. Why this step? We substitute the calculated E[X]E[X] and E[X2]E[X^2] into the variance formula and equate it to the given variance of 1010 to find nn. σ2=E[X2](E[X])2\sigma^2 = E[X^2] - (E[X])^2 10=(n+1)(2n+1)6(n+12)210 = \frac{(n+1)(2n+1)}{6} - \left(\frac{n+1}{2}\right)^2 Factor out the common term (n+1)(n+1) to simplify the algebra: 10=(n+1)[2n+16n+14]10 = (n+1) \left[ \frac{2n+1}{6} - \frac{n+1}{4} \right] Find a common denominator (12) for the terms inside the bracket: 10=(n+1)[2(2n+1)3(n+1)12]10 = (n+1) \left[ \frac{2(2n+1) - 3(n+1)}{12} \right] 10=(n+1)[4n+23n312]10 = (n+1) \left[ \frac{4n+2 - 3n-3}{12} \right] 10=(n+1)[n112]10 = (n+1) \left[ \frac{n-1}{12} \right] Recognize the difference of squares: (n+1)(n1)=n21(n+1)(n-1) = n^2-1. 10=n211210 = \frac{n^2-1}{12} 120=n21120 = n^2-1 n2=121n^2 = 121 Taking the square root: n=±11n = \pm 11. Since nn represents the number of natural numbers, it must be a positive integer. Therefore, n=11n = 11.

Part 2: Variance of the First mm Even Natural Numbers

We are given that the variance of the first mm even natural numbers (2,4,6,,2m2, 4, 6, \dots, 2m) is 1616. Our goal is to determine the value of mm. We will demonstrate two methods.

Method 1: Direct Calculation (Similar to Part 1)

  • Step 2.1: Calculate the Mean (E[X]E[X]) for the first mm even natural numbers. The series is xi={2,4,,2m}x_i = \{2, 4, \dots, 2m\}, with N=mN=m observations. Sum of the first mm even natural numbers: i=1mxi=i=1m(2i)=2i=1mi=2×m(m+1)2=m(m+1)\sum_{i=1}^m x_i = \sum_{i=1}^m (2i) = 2 \sum_{i=1}^m i = 2 \times \frac{m(m+1)}{2} = m(m+1). Mean: E[X]=m(m+1)m=m+1E[X] = \frac{m(m+1)}{m} = m+1

  • Step 2.2: Calculate the Mean of Squares (E[X2]E[X^2]) for the first mm even natural numbers. Sum of the squares: i=1mxi2=i=1m(2i)2=i=1m4i2=4i=1mi2\sum_{i=1}^m x_i^2 = \sum_{i=1}^m (2i)^2 = \sum_{i=1}^m 4i^2 = 4 \sum_{i=1}^m i^2. Using the sum of squares formula: 4×m(m+1)(2m+1)6=2m(m+1)(2m+1)34 \times \frac{m(m+1)(2m+1)}{6} = \frac{2m(m+1)(2m+1)}{3}. Mean of squares: E[X2]=2m(m+1)(2m+1)/3m=2(m+1)(2m+1)3E[X^2] = \frac{2m(m+1)(2m+1)/3}{m} = \frac{2(m+1)(2m+1)}{3}

  • Step 2.3: Apply the Variance Formula and Solve for mm. Substitute E[X2]E[X^2] and E[X]E[X] into the variance formula, equating it to 1616. 16=2(m+1)(2m+1)3(m+1)216 = \frac{2(m+1)(2m+1)}{3} - (m+1)^2 Factor out (m+1)(m+1): 16=(m+1)[2(2m+1)3(m+1)]16 = (m+1) \left[ \frac{2(2m+1)}{3} - (m+1) \right] Find a common denominator (3) for the terms inside the bracket: 16=(m+1)[4m+23(m+1)3]16 = (m+1) \left[ \frac{4m+2 - 3(m+1)}{3} \right] 16=(m+1)[4m+23m33]16 = (m+1) \left[ \frac{4m+2 - 3m - 3}{3} \right] 16=(m+1)[m13]16 = (m+1) \left[ \frac{m-1}{3} \right] Using the difference of squares: 16=m21316 = \frac{m^2-1}{3} 48=m2148 = m^2-1 m2=49m^2 = 49 Taking the square root: m=±7m = \pm 7. Since mm represents the number of even natural numbers, it must be a positive integer. Therefore, m=7m = 7.

Method 2: Using Properties of Variance (More Efficient)

Why use this method? This method leverages a powerful property of variance to simplify calculations, especially when data is a linear transformation of another dataset whose variance is known.

  • Step 2.4: Express the series as a linear transformation. The series of first mm even natural numbers is {2,4,6,,2m}\{2, 4, 6, \dots, 2m\}. This can be written as Yi=2×XiY_i = 2 \times X_i, where Xi={1,2,3,,m}X_i = \{1, 2, 3, \dots, m\} are the first mm natural numbers. Here, the scaling factor a=2a=2 and the constant shift b=0b=0.

  • Step 2.5: Apply the variance property. From Part 1, we know the variance of the first kk natural numbers is k2112\frac{k^2-1}{12}. Applying the property Var(aX+b)=a2Var(X)\text{Var}(aX+b) = a^2 \text{Var}(X): Var(first m even natural numbers)=Var(2×first m natural numbers)\text{Var}(\text{first } m \text{ even natural numbers}) = \text{Var}(2 \times \text{first } m \text{ natural numbers}) =22×Var(first m natural numbers)= 2^2 \times \text{Var}(\text{first } m \text{ natural numbers}) =4×(m2112)= 4 \times \left( \frac{m^2-1}{12} \right) =m213= \frac{m^2-1}{3}

  • Step 2.6: Solve for mm. We are given that this variance is 1616. 16=m21316 = \frac{m^2-1}{3} 48=m2148 = m^2-1 m2=49m^2 = 49 Taking the square root: m=±7m = \pm 7. Since mm must be positive, m=7m = 7.

Part 3: Final Calculation of m+nm+n

  • Step 3.1: Sum the values of mm and nn. We found n=11n=11 and m=7m=7. m+n=7+11=18m+n = 7+11 = 18

Common Mistakes & Tips

  • Sign Errors: Be extremely careful with negative signs during algebraic expansion, especially when distributing a negative sign into a bracket, e.g., (3n+3)=3n3-(3n+3) = -3n-3.
  • Memorize Standard Formulas: The variance of the first NN natural numbers (N2112\frac{N^2-1}{12}) is a common result. Memorizing it can save significant time.
  • Leverage Properties: Always look for opportunities to use variance properties like Var(aX+b)=a2Var(X)\text{Var}(aX+b) = a^2 \text{Var}(X). This often leads to a much quicker and less error-prone solution.
  • Domain Check: Remember that nn and mm represent counts of numbers, so they must be positive integers.

Summary

This problem required us to calculate the variance of two different sequences: the first nn natural numbers and the first mm even natural numbers. We used the fundamental variance formula σ2=E[X2](E[X])2\sigma^2 = E[X^2] - (E[X])^2 along with standard summation formulas to find n=11n=11. For mm, we demonstrated both direct calculation and a more efficient method using the property that Var(aX+b)=a2Var(X)\text{Var}(aX+b) = a^2 \text{Var}(X), which yielded m=7m=7. Finally, we calculated their sum.

The final answer is 18\boxed{18}.

Practice More Statistics & Probability Questions

View All Questions