Mean, Median and Mode of Grouped Data

RS Aggarwal Class 10 Maths Solutions Exercise 18D — Mean, Median and Mode of Grouped Data Together

RS Aggarwal, Class 10 Mathematics — Mean, Median, Mode of Grouped Data, Cumulative Frequency Graph, Exercise 18D. All 7 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 gives one grouped table and wants all three averages from it. So each solution builds a single table with class marks, $fx$ and cumulative frequency, and reads the mean, the median class and the mode from it.

Key insight. One table does the whole job. Mean $=\dfrac{\sum fx}{\sum f}$ with class marks as $x$; median $=l+\dfrac{N/2-cf}{f}\times h$ from the cumulative column; and mode $=3\,\text{median}-2\,\text{mean}$.

Question 1

Below is a frequency distribution over seven classes of width 10, from $0$–$10$ to $60$–$70$, with frequencies $4, 4, 7, 10, 12, 8, 5$ respectively. Obtain its mean, mode and median.

Solution. Take the class marks $x$ and form $fx$ and the cumulative frequency (cf).

Class Class mark $x$ $f$ $fx$ cf
$0$–$10$ $5$ $4$ $20$ $4$
$10$–$20$ $15$ $4$ $60$ $8$
$20$–$30$ $25$ $7$ $175$ $15$
$30$–$40$ $35$ $10$ $350$ $25$
$40$–$50$ $45$ $12$ $540$ $37$
$50$–$60$ $55$ $8$ $440$ $45$
$60$–$70$ $65$ $5$ $325$ $50$
Total $50$ $1910$

Mean. $\bar x=\dfrac{\sum fx}{\sum f}=\dfrac{1910}{50}=38.2$.

Median. $\dfrac N2=\dfrac{50}{2}=25$. The first cf not below $25$ is $25$, so the median class is $30$–$40$, with $l=30$, cf before it $=15$, $f=10$, $h=10$.

$$\text{Median}=l+\dfrac{\frac N2-cf}{f}\times h=30+\dfrac{25-15}{10}\times 10=40.00$$

Mode. Using the empirical relation $\text{Mode}=3\,\text{Median}-2\,\text{Mean}$: $120.00-76.40=43.60$.

Mean $=38.2$, median $=40$, mode $\approx43.6$

Question 2

Seven classes of width 20, running from $0$–$20$ up to $120$–$140$, carry the frequencies $6, 8, 10, 12, 6, 5, 3$ in that order. Work out the mean, median and mode.

Solution. Take the class marks $x$ and form $fx$ and the cumulative frequency (cf).

Class Class mark $x$ $f$ $fx$ cf
$0$–$20$ $10$ $6$ $60$ $6$
$20$–$40$ $30$ $8$ $240$ $14$
$40$–$60$ $50$ $10$ $500$ $24$
$60$–$80$ $70$ $12$ $840$ $36$
$80$–$100$ $90$ $6$ $540$ $42$
$100$–$120$ $110$ $5$ $550$ $47$
$120$–$140$ $130$ $3$ $390$ $50$
Total $50$ $3120$

Mean. $\bar x=\dfrac{\sum fx}{\sum f}=\dfrac{3120}{50}=62.4$.

Median. $\dfrac N2=\dfrac{50}{2}=25$. The first cf not below $25$ is $36$, so the median class is $60$–$80$, with $l=60$, cf before it $=24$, $f=12$, $h=20$.

$$\text{Median}=l+\dfrac{\frac N2-cf}{f}\times h=60+\dfrac{25-24}{12}\times 20=61.67$$

Mode. Using the empirical relation $\text{Mode}=3\,\text{Median}-2\,\text{Mean}$: $185.00-124.80=60.20$.

Mean $=62.4$, median $=61.67$, mode $\approx60.2$

Question 3

The classes $0$–$50$, $50$–$100$, $100$–$150$, $150$–$200$, $200$–$250$, $250$–$300$, $300$–$350$ have frequencies $2, 3, 5, 6, 5, 3, 1$ respectively. Calculate the mean, median and mode of this data.

Solution. Take the class marks $x$ and form $fx$ and the cumulative frequency (cf).

Class Class mark $x$ $f$ $fx$ cf
$0$–$50$ $25$ $2$ $50$ $2$
$50$–$100$ $75$ $3$ $225$ $5$
$100$–$150$ $125$ $5$ $625$ $10$
$150$–$200$ $175$ $6$ $1050$ $16$
$200$–$250$ $225$ $5$ $1125$ $21$
$250$–$300$ $275$ $3$ $825$ $24$
$300$–$350$ $325$ $1$ $325$ $25$
Total $25$ $4225$

Mean. $\bar x=\dfrac{\sum fx}{\sum f}=\dfrac{4225}{25}=169$.

Median. $\dfrac N2=\dfrac{25}{2}=12.5$. The first cf not below $12.5$ is $16$, so the median class is $150$–$200$, with $l=150$, cf before it $=10$, $f=6$, $h=50$.

$$\text{Median}=l+\dfrac{\frac N2-cf}{f}\times h=150+\dfrac{12.5-10}{6}\times 50=170.83$$

Mode. Using the empirical relation $\text{Mode}=3\,\text{Median}-2\,\text{Mean}$: $512.50-338.00=174.50$.

Mean $=169$, median $=170.83$, mode $\approx174.5$

Question 4

Marks scored by students are grouped as $25$–$35$, $35$–$45$, $45$–$55$, $55$–$65$, $65$–$75$, $75$–$85$, with $7, 31, 33, 17, 11, 1$ students in these groups. Determine the mode, median and mean.

Solution. Take the class marks $x$ and form $fx$ and the cumulative frequency (cf).

Class Class mark $x$ $f$ $fx$ cf
$25$–$35$ $30$ $7$ $210$ $7$
$35$–$45$ $40$ $31$ $1240$ $38$
$45$–$55$ $50$ $33$ $1650$ $71$
$55$–$65$ $60$ $17$ $1020$ $88$
$65$–$75$ $70$ $11$ $770$ $99$
$75$–$85$ $80$ $1$ $80$ $100$
Total $100$ $4970$

Mean. $\bar x=\dfrac{\sum fx}{\sum f}=\dfrac{4970}{100}=49.7$.

Median. $\dfrac N2=\dfrac{100}{2}=50$. The first cf not below $50$ is $71$, so the median class is $45$–$55$, with $l=45$, cf before it $=38$, $f=33$, $h=10$.

$$\text{Median}=l+\dfrac{\frac N2-cf}{f}\times h=45+\dfrac{50-38}{33}\times 10=48.64$$

Mode. Using the empirical relation $\text{Mode}=3\,\text{Median}-2\,\text{Mean}$: $145.91-99.40=46.51$.

Mean $=49.7$, median $=48.64$, mode $\approx46.51$

Question 5

Heights (in cm) of $50$ girls in a class were recorded in five groups: $120$–$130$ has $2$ girls, $130$–$140$ has $8$, $140$–$150$ has $12$, $150$–$160$ has $20$ and $160$–$170$ has $8$. Find the mean, median and mode of the heights.

Solution. Take the class marks $x$ and form $fx$ and the cumulative frequency (cf).

Class Class mark $x$ $f$ $fx$ cf
$120$–$130$ $125$ $2$ $250$ $2$
$130$–$140$ $135$ $8$ $1080$ $10$
$140$–$150$ $145$ $12$ $1740$ $22$
$150$–$160$ $155$ $20$ $3100$ $42$
$160$–$170$ $165$ $8$ $1320$ $50$
Total $50$ $7490$

Mean. $\bar x=\dfrac{\sum fx}{\sum f}=\dfrac{7490}{50}=149.8$.

Median. $\dfrac N2=\dfrac{50}{2}=25$. The first cf not below $25$ is $42$, so the median class is $150$–$160$, with $l=150$, cf before it $=22$, $f=20$, $h=10$.

$$\text{Median}=l+\dfrac{\frac N2-cf}{f}\times h=150+\dfrac{25-22}{20}\times 10=151.50$$

Mode. Using the empirical relation $\text{Mode}=3\,\text{Median}-2\,\text{Mean}$: $454.50-299.60=154.90$.

Mean $=149.8$, median $=151.5$, mode $\approx154.9$ (in cm)

Question 6

A factory pays $50$ workers daily incomes (in rupees) grouped as $100$–$120$ for $12$ workers, $120$–$140$ for $14$, $140$–$160$ for $8$, $160$–$180$ for $6$ and $180$–$200$ for $10$. Find the mean, mode and median income.

Solution. Take the class marks $x$ and form $fx$ and the cumulative frequency (cf).

Class Class mark $x$ $f$ $fx$ cf
$100$–$120$ $110$ $12$ $1320$ $12$
$120$–$140$ $130$ $14$ $1820$ $26$
$140$–$160$ $150$ $8$ $1200$ $34$
$160$–$180$ $170$ $6$ $1020$ $40$
$180$–$200$ $190$ $10$ $1900$ $50$
Total $50$ $7260$

Mean. $\bar x=\dfrac{\sum fx}{\sum f}=\dfrac{7260}{50}=145.2$.

Median. $\dfrac N2=\dfrac{50}{2}=25$. The first cf not below $25$ is $26$, so the median class is $120$–$140$, with $l=120$, cf before it $=12$, $f=14$, $h=20$.

$$\text{Median}=l+\dfrac{\frac N2-cf}{f}\times h=120+\dfrac{25-12}{14}\times 20=138.57$$

Mode. Using the empirical relation $\text{Mode}=3\,\text{Median}-2\,\text{Mean}$: $415.71-290.40=125.31$.

Mean $=\text{₹}\,145.2$, median $\approx\text{₹}\,138.57$, mode $\approx\text{₹}\,125.31$

Question 7

Thirty households in a locality were surveyed for their daily spending (in rupees) on food: $100$–$150$ has $6$ households, $150$–$200$ has $7$, $200$–$250$ has $12$, $250$–$300$ has $3$ and $300$–$350$ has $2$. Find the mean and the median of the daily expenditure.

Solution. Take the class marks $x$ and form $fx$ and the cumulative frequency (cf).

Class Class mark $x$ $f$ $fx$ cf
$100$–$150$ $125$ $6$ $750$ $6$
$150$–$200$ $175$ $7$ $1225$ $13$
$200$–$250$ $225$ $12$ $2700$ $25$
$250$–$300$ $275$ $3$ $825$ $28$
$300$–$350$ $325$ $2$ $650$ $30$
Total $30$ $6150$

Mean. $\bar x=\dfrac{\sum fx}{\sum f}=\dfrac{6150}{30}=205$.

Median. $\dfrac N2=\dfrac{30}{2}=15$. The first cf not below $15$ is $25$, so the median class is $200$–$250$, with $l=200$, cf before it $=13$, $f=12$, $h=50$.

$$\text{Median}=l+\dfrac{\frac N2-cf}{f}\times h=200+\dfrac{15-13}{12}\times 50=208.33$$

Mean $=\text{₹}\,205$, median $\approx\text{₹}\,208.33$

Common mistakes

  • Taking the median class as the one with the largest frequency. It is the first class whose cumulative frequency reaches $\dfrac N2$, which is often a different class.
  • Using the cf of the median class itself in the formula instead of the cf of the class just before it.
  • Halving the wrong total: $N$ is $\sum f$ (for example $25$ in Question 3, not $50$).
  • Rounding the median or mean early, which shifts the last digit of the mode.

Practise next

For the graphical way to find the median from the same sort of table, move on to Exercise 18E.

Shiwam's Classes: CBSE 10CBSE Class 10 Maths and Science, every chapter

Subscribe