(i) Finding f1 and f2
You have two unknowns, so you need two equations. The question gives you two facts: the total frequency and the mean.
Equation 1 — from the total frequency
5+f1+10+f2+7+8=50
30+f1+f2=50
f1+f2=20⋯(1)
Equation 2 — from the mean
| Expenditure | fi | xi | fixi |
|---|
| 0 – 20 | 5 | 10 | 50 |
| 20 – 40 | f1 | 30 | 30f1 |
| 40 – 60 | 10 | 50 | 500 |
| 60 – 80 | f2 | 70 | 70f2 |
| 80 – 100 | 7 | 90 | 630 |
| 100 – 120 | 8 | 110 | 880 |
| Total | 50 | | 2060+30f1+70f2 |
xˉ=∑fi∑fixi⇒62.8=502060+30f1+70f2
2060+30f1+70f2=3140
30f1+70f2=1080
Divide throughout by 10:
3f1+7f2=108⋯(2)
Solve the pair
From (1), f1=20−f2. Substitute into (2):
3(20−f2)+7f2=108
60−3f2+7f2=108
4f2=48
f2=12and sof1=20−12=8
f1=8,f2=12
(ii) The median
Now that the frequencies are known, build the cumulative frequency column.
| Expenditure | f | Cumulative frequency |
|---|
| 0 – 20 | 5 | 5 |
| 20 – 40 | 8 | 13 |
| 40 – 60 | 10 | 23 |
| 60 – 80 | 12 | 35 |
| 80 – 100 | 7 | 42 |
| 100 – 120 | 8 | 50 |
n=50⇒2n=25
Cumulative frequencies: 5,13,23,35. The first to reach 25 is 35, so the median class is 60 – 80.
l=60,cf=23,f=12,h=20
Median=60+(1225−23)×20=60+1240
=60+3.33
Median≈₹63.33 hundred
Check your work
Put f1=8 and f2=12 back into the mean:
5050+240+500+840+630+880=503140=62.8✓
Note also that the mean 62.80 and the median 63.33 come out close together, which tells you this distribution is fairly symmetrical — no small group of very high spenders is dragging the mean away from the middle.