QlarIITy

MathematicsJEE Main 2021 · 17 MarchInteger

Consider a set of 3n3n numbers having variance 4. In this set, the mean of first 2n2n numbers is 6 and the mean of the remaining nn numbers is 3. A new set is constructed by adding 1 into each of the first 2n2n numbers, and subtracting 1 from each of the remaining nn numbers. If the variance of the new set is kk, then 9k9k is equal to ______.

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. Unequal shifts change the variance; the sum of squares must be recomputed.

Concept refresher. For nn observations with mean x‾\overline{x} and variance σ2\sigma^2, the sum is nx‾n\overline{x} and the sum of squares is

∑xi2=n(σ2+x‾2)\sum x_i^2 = n(\sigma^2 + \overline{x}^2)

Picture the situation. The set has two groups, of sizes 2n2n and nn, with different means. One group is moved up by 1 and the other down by 1, so the groups move apart and the spread changes. The variance of the new set is found from its sum and its sum of squares, each of which changes in a way that depends only on the group totals.

Approach. Find the original totals, update them for the two shifts, and compute the new variance.

  1. Step 1: The original totals

    The first 2n2n numbers total 12n12n and the other nn total 3n3n, so the sum is 15n15n and the mean is 5. The sum of squares is 3n(4+52)=87n3n(4 + 5^2) = 87n.

  2. Step 2: The new totals

    Since (x+1)2=x2+2x+1(x + 1)^2 = x^2 + 2x + 1 and (x−1)2=x2−2x+1(x - 1)^2 = x^2 - 2x + 1, the new sum of squares is

    87n+2(12n)+2n−2(3n)+n=108n\begin{aligned} &87n + 2(12n) + 2n - 2(3n) + n \\[4pt] &= 108n \end{aligned}

    The new sum is 15n+2n−n=16n15n + 2n - n = 16n.

  3. Step 3: The new variance

    The new mean is 163\dfrac{16}{3}, so k=108n3n−2569=36−2569=689k = \dfrac{108n}{3n} - \dfrac{256}{9} = 36 - \dfrac{256}{9} = \dfrac{68}{9}, and 9k=689k = 68.

Answer. 68

Sanity check. The two groups are pushed further apart, from means 6 and 3 to means 7 and 2, so the variance must rise above 4; it becomes about 7.6.

Common wrong answers

  • 36: Treating the change as a single shift and keeping the variance at 4 gives 36; the two groups move in opposite directions, so the spread changes.

Key takeaway

The trap. Only a common shift of all the numbers leaves the variance alone.

How toppers think. They update the sum of squares with twice the group totals.

Remember. (x±1)2=x2±2x+1(x \pm 1)^2 = x^2 \pm 2x + 1

More on Variance & Standard Deviation