QlarIITy

MathematicsJEE Main 2021 · 22 JulyInteger

Consider the following frequency distribution:
Class: 0–6, 6–12, 12–18, 18–24, 24–30
Frequency: aa, bb, 12, 9, 5
If mean =30922= \frac{309}{22} and median =14= 14, then the value (a−b)2(a - b)^2 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. The median and the mean give two relations between two unknown frequencies.

Concept refresher. For grouped data the median is

M=l+N2−Cf×hM = l + \dfrac{\frac{N}{2} - C}{f} \times h

where ll is the lower limit of the median class, CC the cumulative frequency before it, ff its frequency and hh its width.

Picture the situation. The two unknown frequencies belong to the first two classes, and the median lies in the third class. So the cumulative frequency before the median class is exactly the sum of the two unknowns, and the median formula gives that sum. The mean, computed with the mid-values of the classes, then separates the two.

Approach. Use the median formula for the sum of the unknowns, the mean for a second relation, and solve.

  1. Step 1: The median

    The median 14 lies in the class 12 to 18, with f=12f = 12, h=6h = 6 and cumulative frequency a+ba + b before it. With N=a+b+26N = a + b + 26, the formula 14=12+N2−(a+b)12×614 = 12 + \dfrac{\frac{N}{2} - (a + b)}{12} \times 6 gives N2−(a+b)=4\dfrac{N}{2} - (a + b) = 4, so a+b=18a + b = 18 and N=44N = 44.

  2. Step 2: The mean

    The mid-values are 3, 9, 15, 21, 27, so the weighted total is

    3a+9b+180+189+135=3a+9b+504\begin{aligned} &3a + 9b + 180 + 189 + 135 \\[4pt] &= 3a + 9b + 504 \end{aligned}

    It equals 44×30922=61844 \times \dfrac{309}{22} = 618, so a+3b=38a + 3b = 38.

  3. Step 3: Solve

    Subtracting a+b=18a + b = 18 gives 2b=202b = 20, so b=10b = 10 and a=8a = 8, and (a−b)2=4(a - b)^2 = 4.

Answer. 4

Sanity check. Check the mean: 24+90+50444=61844=30922\dfrac{24 + 90 + 504}{44} = \dfrac{618}{44} = \dfrac{309}{22}.

Common wrong answers

  • 2: The value 2 is ∣a−b∣|a - b|; the question asks for its square.

Key takeaway

The trap. The mean of grouped data uses the mid-values of the classes.

How toppers think. They get the total frequency from the median before touching the mean.

Remember. M=l+N2−Cf×hM = l + \dfrac{\frac{N}{2} - C}{f} \times h

More on Measures of Central Tendency