RS Aggarwal Class 10 Maths Solutions Exercise 18B — Median of Grouped Data
RS Aggarwal, Class 10 Mathematics — Mean, Median, Mode of Grouped Data, Cumulative Frequency Graph, Exercise 18B. All 14 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
Every question in this exercise asks for a median from a grouped table. Questions 1 to 6 are direct. Questions 7 to 10 give the median and ask for missing frequencies. Questions 11 to 13 have inclusive classes that must be made exclusive first, and Question 14 gives a “below” table.
Key insight. Find $N$, the cumulative frequencies, and the first one that reaches $\frac N2$; that class is the median class. Then use $M = l + \dfrac{\frac N2 – cf}{f}\times h$, where $cf$ is the cumulative frequency just before the median class. For missing frequencies, form one equation from the total and one from the median formula.
Question 1
Diabetic patients in a hospital were grouped by age, as shown below. Work out the median age of these patients.
| Age (years) | 0–15 | 15–30 | 30–45 | 45–60 | 60–75 |
|---|---|---|---|---|---|
| Patients | 5 | 20 | 40 | 50 | 25 |
Solution. The classes are continuous, so we build the cumulative frequencies: $5,\ 25,\ 65,\ 115,\ 140$. Hence $N = 140$ and $\frac N2 = 70$.
The first cumulative frequency that reaches $70$ is $115$, so the median class is $45$–$60$. Then $l = 45$, $cf = 65$, $f = 50$, $h = 15$.
$$M = 45 + \frac{70 – 65}{50}\times 15 = 45 + 1.5 = 46.5.$$
The median age is $46.5$ years.
Question 2
The marks of some students are grouped as below. Compute the median mark.
| Marks | 0–7 | 7–14 | 14–21 | 21–28 | 28–35 | 35–42 | 42–49 |
|---|---|---|---|---|---|---|---|
| Students | 3 | 4 | 7 | 11 | 0 | 16 | 9 |
Solution. Cumulative frequencies: $3,\ 7,\ 14,\ 25,\ 25,\ 41,\ 50$. So $N = 50$ and $\frac N2 = 25$.
The value $25$ is first reached in the class $21$–$28$, which is therefore the median class: $l = 21$, $cf = 14$, $f = 11$, $h = 7$.
$$M = 21 + \frac{25 – 14}{11}\times 7 = 21 + 7 = 28.$$
The median is $28$.
Question 3
A factory records the daily wages (in rupees) of its workers in the table below. Find the median daily wage.
| Daily wage (₹) | 0–100 | 100–200 | 200–300 | 300–400 | 400–500 |
|---|---|---|---|---|---|
| Workers | 40 | 32 | 48 | 22 | 8 |
Solution. Cumulative frequencies: $40,\ 72,\ 120,\ 142,\ 150$. So $N = 150$ and $\frac N2 = 75$.
The first total above $75$ is $120$, so the median class is $200$–$300$: $l = 200$, $cf = 72$, $f = 48$, $h = 100$.
$$M = 200 + \frac{75 – 72}{48}\times 100 = 200 + 6.25 = 206.25.$$
The median daily wage is ₹ $206.25$.
Question 4
Find the median of the following frequency distribution.
| Class | 5–10 | 10–15 | 15–20 | 20–25 | 25–30 | 30–35 | 35–40 | 40–45 |
|---|---|---|---|---|---|---|---|---|
| Frequency | 5 | 6 | 15 | 10 | 5 | 4 | 2 | 2 |
Solution. Cumulative frequencies: $5,\ 11,\ 26,\ 36,\ 41,\ 45,\ 47,\ 49$. So $N = 49$ and $\frac N2 = 24.5$.
The first total reaching $24.5$ is $26$, so the median class is $15$–$20$: $l = 15$, $cf = 11$, $f = 15$, $h = 5$.
$$M = 15 + \frac{24.5 – 11}{15}\times 5 = 15 + 4.5 = 19.5.$$
The median is $19.5$.
Question 5
The units of electricity used by consumers of a locality in one week are grouped below. Calculate the median consumption.
| Units | 65–85 | 85–105 | 105–125 | 125–145 | 145–165 | 165–185 | 185–205 |
|---|---|---|---|---|---|---|---|
| Consumers | 4 | 5 | 13 | 20 | 14 | 7 | 4 |
Solution. Cumulative frequencies: $4,\ 9,\ 22,\ 42,\ 56,\ 63,\ 67$. So $N = 67$ and $\frac N2 = 33.5$.
The first total reaching $33.5$ is $42$, so the median class is $125$–$145$: $l = 125$, $cf = 22$, $f = 20$, $h = 20$.
$$M = 125 + \frac{33.5 – 22}{20}\times 20 = 125 + 11.5 = 136.5.$$
The median consumption is $136.5$ units.
Question 6
Heights of boys are grouped in the table below. Calculate the median height.
| Height (cm) | 135–140 | 140–145 | 145–150 | 150–155 | 155–160 | 160–165 | 165–170 | 170–175 |
|---|---|---|---|---|---|---|---|---|
| Boys | 6 | 10 | 18 | 22 | 20 | 15 | 6 | 3 |
Solution. Cumulative frequencies: $6,\ 16,\ 34,\ 56,\ 76,\ 91,\ 97,\ 100$. So $N = 100$ and $\frac N2 = 50$.
The first total reaching $50$ is $56$, so the median class is $150$–$155$: $l = 150$, $cf = 34$, $f = 22$, $h = 5$.
$$M = 150 + \frac{50 – 34}{22}\times 5 = 150 + \frac{80}{22} \approx 150 + 3.64 = 153.64.$$
The median height is about $153.64$ cm.
Question 7
One frequency in the table below is missing. The median of the distribution is $24$. Find the missing frequency.
| Class | 0–10 | 10–20 | 20–30 | 30–40 | 40–50 |
|---|---|---|---|---|---|
| Frequency | 5 | 25 | ? | 18 | 7 |
Solution. Let the missing frequency be $x$. Then $N = 5 + 25 + x + 18 + 7 = 55 + x$.
Since the median $24$ lies in $20$–$30$, that is the median class: $l = 20$, $h = 10$, $f = x$, and $cf = 5 + 25 = 30$.
$$24 = 20 + \frac{\frac{55 + x}{2} – 30}{x}\times 10 \;\Rightarrow\; 4x = 5(55 + x – 60) = 5x – 25 \;\Rightarrow\; x = 25.$$
Check: $N = 80$, $\frac N2 = 40$, and $20 + \frac{40 – 30}{25}\times 10 = 24$.
The missing frequency is $25$.
Question 8
The median of the data below is $16$ and the frequencies add up to $70$. Find the missing frequencies $a$ and $b$.
| Class | 0–5 | 5–10 | 10–15 | 15–20 | 20–25 | 25–30 | 30–35 | 35–40 |
|---|---|---|---|---|---|---|---|---|
| Frequency | 12 | $a$ | 12 | 15 | $b$ | 6 | 6 | 4 |
Solution. The total is $12 + a + 12 + 15 + b + 6 + 6 + 4 = 55 + a + b = 70$, so $a + b = 15$. $\quad (1)$
The median $16$ lies in $15$–$20$, which is the median class: $l = 15$, $h = 5$, $f = 15$, and $cf = 12 + a + 12 = 24 + a$. With $\frac N2 = 35$,
$$16 = 15 + \frac{35 – (24 + a)}{15}\times 5 \;\Rightarrow\; 1 = \frac{11 – a}{3} \;\Rightarrow\; a = 8.$$
From (1), $b = 15 – 8 = 7$.
$a = 8$ and $b = 7$.
Question 9
Sixty top batsmen of the world were grouped by their one-day international runs, as shown. Their median is $5000$ runs. Find the missing frequencies $x$ and $y$.
| Runs | 2500–3500 | 3500–4500 | 4500–5500 | 5500–6500 | 6500–7500 | 7500–8500 |
|---|---|---|---|---|---|---|
| Batsmen | 5 | $x$ | $y$ | 12 | 6 | 2 |
Solution. The total is $5 + x + y + 12 + 6 + 2 = 60$, so $x + y = 35$. $\quad (1)$
The median $5000$ lies in $4500$–$5500$, the median class: $l = 4500$, $h = 1000$, $f = y$, $cf = 5 + x$, and $\frac N2 = 30$.
$$5000 = 4500 + \frac{30 – (5 + x)}{y}\times 1000 \;\Rightarrow\; \frac{25 – x}{y} = \frac12 \;\Rightarrow\; y = 50 – 2x. \quad (2)$$
Put (2) in (1): $x + 50 – 2x = 35$, so $x = 15$ and $y = 20$.
Check: with $cf = 5 + 15 = 20$, $4500 + \frac{30 – 20}{20}\times 1000 = 5000$.
$x = 15$ and $y = 20$.
Question 10
The median of the frequency distribution below is $32.5$ and the total frequency is $40$. Find $f_1$ and $f_2$.
| Class interval | 0–10 | 10–20 | 20–30 | 30–40 | 40–50 | 50–60 | 60–70 | Total |
|---|---|---|---|---|---|---|---|---|
| Frequency | $f_1$ | 5 | 9 | 12 | $f_2$ | 3 | 2 | 40 |
Solution. Adding: $f_1 + 5 + 9 + 12 + f_2 + 3 + 2 = 40$, so $f_1 + f_2 = 9$. $\quad (1)$
The median $32.5$ lies in $30$–$40$, the median class: $l = 30$, $h = 10$, $f = 12$, $cf = f_1 + 5 + 9 = f_1 + 14$, and $\frac N2 = 20$.
$$32.5 = 30 + \frac{20 – (f_1 + 14)}{12}\times 10 \;\Rightarrow\; 2.5 \times 12 = 10(6 – f_1) \;\Rightarrow\; 3 = 6 – f_1 \;\Rightarrow\; f_1 = 3.$$
From (1), $f_2 = 6$.
$f_1 = 3$ and $f_2 = 6$.
Question 11
Ages of people are grouped in the inclusive classes below. Calculate the median age.
| Age (years) | 19–25 | 26–32 | 33–39 | 40–46 | 47–53 | 54–60 |
|---|---|---|---|---|---|---|
| Frequency | 35 | 96 | 68 | 102 | 35 | 4 |
Solution. The classes leave a gap of $1$ between the end of one and the start of the next, so first convert to exclusive form by subtracting $0.5$ from each lower limit and adding $0.5$ to each upper limit: $18.5$–$25.5$, $25.5$–$32.5$, $32.5$–$39.5$, $39.5$–$46.5$, $46.5$–$53.5$, $53.5$–$60.5$.
Cumulative frequencies: $35,\ 131,\ 199,\ 301,\ 336,\ 340$. So $N = 340$ and $\frac N2 = 170$.
The median class is $32.5$–$39.5$: $l = 32.5$, $cf = 131$, $f = 68$, $h = 7$.
$$M = 32.5 + \frac{170 – 131}{68}\times 7 = 32.5 + \frac{273}{68} \approx 32.5 + 4.01 = 36.51.$$
The median age is about $36.5$ years.
Question 12
Daily wages (in rupees) of women workers are grouped in the inclusive classes below. Find the median wage.
| Wage per day (₹) | 61–70 | 71–80 | 81–90 | 91–100 | 101–110 | 111–120 |
|---|---|---|---|---|---|---|
| Women workers | 5 | 15 | 20 | 30 | 20 | 8 |
Solution. Convert to exclusive classes by moving each limit out by $0.5$: $60.5$–$70.5$, $70.5$–$80.5$, $80.5$–$90.5$, $90.5$–$100.5$, $100.5$–$110.5$, $110.5$–$120.5$.
Cumulative frequencies: $5,\ 20,\ 40,\ 70,\ 90,\ 98$. So $N = 98$ and $\frac N2 = 49$.
The median class is $90.5$–$100.5$: $l = 90.5$, $cf = 40$, $f = 30$, $h = 10$.
$$M = 90.5 + \frac{49 – 40}{30}\times 10 = 90.5 + 3 = 93.5.$$
The median wage is ₹ $93.50$.
Question 13
Find the median of the data below, whose classes are inclusive.
| Class | 1–5 | 6–10 | 11–15 | 16–20 | 21–25 | 26–30 | 31–35 | 36–40 | 41–45 |
|---|---|---|---|---|---|---|---|---|---|
| Frequency | 7 | 10 | 16 | 32 | 24 | 16 | 11 | 5 | 2 |
Solution. Gaps of $1$ separate the classes, so make them exclusive by moving each limit out by $0.5$: $0.5$–$5.5$, $5.5$–$10.5$, $10.5$–$15.5$, $15.5$–$20.5$, and so on, each of width $5$.
Cumulative frequencies: $7,\ 17,\ 33,\ 65,\ 89,\ 105,\ 116,\ 121,\ 123$. So $N = 123$ and $\frac N2 = 61.5$.
The median class is $15.5$–$20.5$: $l = 15.5$, $cf = 33$, $f = 32$, $h = 5$.
$$M = 15.5 + \frac{61.5 – 33}{32}\times 5 = 15.5 + 4.453\ldots \approx 19.95.$$
The median is about $19.95$.
Question 14
The table gives the number of students scoring below each mark. Find the median mark.
| Marks | Below 10 | Below 20 | Below 30 | Below 40 | Below 50 | Below 60 | Below 70 | Below 80 |
|---|---|---|---|---|---|---|---|---|
| Students | 12 | 32 | 57 | 80 | 92 | 116 | 164 | 200 |
Solution. These are already cumulative frequencies, so $N = 200$ and $\frac N2 = 100$. To get each class frequency subtract the previous total: $12,\ 20,\ 25,\ 23,\ 12,\ 24,\ 48,\ 36$ for the classes $0$–$10$, $10$–$20$, and so on up to $70$–$80$.
The first cumulative frequency reaching $100$ is $116$, so the median class is $50$–$60$: $l = 50$, $cf = 92$, $f = 24$, $h = 10$.
$$M = 50 + \frac{100 – 92}{24}\times 10 = 50 + 3.33 = 53.33.$$
The median is $53.33$ marks.
Common mistakes
- Taking $cf$ as the cumulative frequency of the median class itself instead of the class before it.
- Forgetting to subtract and add $0.5$ for inclusive classes such as $19$–$25$, $26$–$32$ (Questions 11 to 13), which changes both $l$ and $h$.
- In Questions 7 to 10, using the median class from the answer without first writing the total-frequency equation, so only one of the two unknowns is found.
- In Question 14, using the “below” values as class frequencies instead of subtracting neighbours.
Practise next
The mode of grouped data comes next, in Exercise 18C of this chapter.
Shiwam's Classes: CBSE 10CBSE Class 10 Maths and Science, every chapter
Subscribe