Websink Prep UKKS3 MathsYear 9 chaptersMaths textbooksReceptionYear 1Year 2Year 4Year 5Year 6Year 3Year 7Year 8Year 9GCSEBrowse allPast papersFind a tutorBecome a tutor
KS3 Maths · Year 9Chapter 13 · Histograms and comparing distributions
Year 9 · Chapter 13

Histograms and comparing distributions

By the end of this chapter you will be able to

  • Work out the frequency density of each class, and draw a histogram with equal or unequal class widths
  • Read the frequency from a histogram by working out the area of a bar
  • Estimate the mean of grouped data from the midpoints of the classes
  • Compare two histograms using the shape, the averages and the range, in context

You should already know

  • Grouped frequency tables and estimated means (Year 8, Chapter 13)
  • Drawing bar charts and comparing data sets (Year 7 and Year 8)
  • Class boundaries and the difference between discrete and continuous data (Year 8, Chapter 13)

Where this leads

  • Cumulative frequency and box plots (Year 9, Chapter 12)
  • Probability and sampling in statistics (GCSE)
  • Histograms in GCSE statistics, including estimated median and mean

National Curriculum for England, Key Stage 3 mathematics, Year 9. Content: Construct and interpret histograms with equal and unequal class widths, using frequency density = frequency / class width, Read a frequency or a frequency density from a histogram, and find the total frequency, Estimate the mean from a grouped frequency table or histogram, using midpoints, Compare distributions drawn as histograms, using the shape, averages and range.

Exercise P  Do you remember?

Non-calculator
1
FWhat is 3 × 10 + 2 × 5?
2
FFind the midpoint of 10 and 20.
3
FWhat is the width of the class 20 < x ≤ 35?
4
FWhat is 6 ÷ 2?
5
FAdd 8 + 12 + 15 + 10 + 5.
13.1

Histograms with equal class widths

Year 9
Construct and interpret histograms with equal class widths
Video lesson: Histograms with equal class widthsComing soon
A survey records the ages of 40 people at a leisure centre. The classes are all 5 years wide, so the bars of the histogram all have the same width and their heights show the frequencies directly.

A histogram has bars with no gaps, because the data are continuous. The area of each bar is proportional to the frequency. When all the class widths are equal, the height of each bar is the frequency itself.

Key ideas

  • A histogram has no gaps between the bars.
  • Equal class widths: height = frequency.
  • The class boundaries are the edges of the bars.
  • Total frequency = the total number of values.
Worked example 13.1.1
The histogram shows ages in classes of width 5. The bar for 10 < x ≤ 15 has height 14. Write the frequency of this class.

Method. With equal widths, the height is the frequency.

  1. Read the height. The bar for 10 < x ≤ 15 has height 14.
    height = 14
  2. Write the frequency. With equal widths, the height is the frequency.
    frequency = 14
  3. Write the answer.
    14

Check. Adding all frequencies gives the total, 40.

Worked example 13.1.2
Find the total number of people in the survey.

Method. Add the frequencies.

  1. Add the frequencies. The frequencies are 4, 10, 14 and 12.
    4 + 10 + 14 + 12
  2. Calculate. 4 + 10 = 14, 14 + 14 = 28, 28 + 12 = 40.
    40
  3. Write the answer.
    40

Check. The survey has 40 people.

Worked example 13.1.3
A histogram has classes of width 5, with the bar for 0 < x ≤ 5 of height 4. Write the frequency of this class.

Method. With equal widths, the height is the frequency.

  1. Read the height. The bar for 0 to 5 has height 4.
    height = 4
  2. Check the widths. All the bars are 5 wide, so the heights are frequencies.
    width = 5 for each bar
  3. Write the answer. Equal widths mean height = frequency.
    4

Check. This is the first bar of the ages histogram.

Watch out

Watch out: with unequal class widths, the height of a bar is not the frequency. You must use frequency density (section 13.2).

Exam tip

Exam tip. Check the widths are equal before you read heights as frequencies.

Exercise 13A  Histograms with equal widths

Non-calculator
1
FA histogram of ages uses class width 5. The frequencies are 4, 10, 14 and 12 for the classes 0 to 5, 5 to 10, 10 to 15 and 15 to 20. Find the total number of people.
frequency05101520
2
FIn the histogram above, which class has the largest frequency?
frequency05101520
3
FHow many people are aged 15 or more but less than 20?
frequency05101520
4
FA histogram has classes of width 4 with frequencies 2, 6, 9 and 3. Find the total frequency.
5
FThe bars of an equal-width histogram have heights 5, 9 and 6. Find the total frequency of the three classes.
6
RExplain why the bars of a histogram touch each other, but the bars of a bar chart do not.
7
RThe ages in a histogram are grouped as 0 < a ≤ 5, 5 < a ≤ 10. Explain why the boundary 5 belongs to the first class.
8
PSTwo histograms have the same class widths. One has frequencies 4, 6, 8 and the other 2, 3, 4. Find the total of each.
9
PSA histogram has height 11 for the class 10 to 20 and height 3 for the class 20 to 30. Both classes have width 10. Find the total frequency.
13.2

Histograms with unequal class widths

Year 9
Construct and interpret histograms with unequal class widths, using frequency density
Video lesson: Histograms with unequal class widthsComing soon
A survey records how long 50 pupils spend on homework each night. The last class is 10 minutes wide, but the class 30 to 50 is 20 minutes wide. The bars must be drawn so the area of each bar shows the frequency, not just the height.

When the class widths are unequal, use frequency density for the height of each bar: frequency density = frequency ÷ class width. The area of each bar is then the frequency.

Key ideas

  • Frequency density = frequency ÷ class width.
  • Bar height = frequency density.
  • Bar area = height × width = frequency.
  • Use the class width, found from the boundaries, not the number of values in the class.
Worked example 13.2.1
A class 30 < x ≤ 50 has frequency 10. Find the frequency density.

Method. Frequency density is the frequency divided by the class width.

  1. Find the class width. Width = upper boundary − lower boundary.
    50 − 30 = 20
  2. Divide the frequency by the width. Frequency density = frequency ÷ class width.
    10 ÷ 20 = 0.5
  3. Write the answer.
    0.5

Check. 0.5 × 20 = 10, the frequency.

Watch out. Use the frequency density, not the frequency, for the height of the bar when the class widths differ.

Worked example 13.2.2
A bar of frequency density 1.5 has width 10. Find the frequency it represents.

Method. The area of a histogram bar is the frequency, so multiply the height by the width.

  1. Find the class width. Width = upper boundary − lower boundary.
    10 − 0 = 10
  2. Multiply. Frequency = frequency density × class width (the area of the bar).
    1.5 × 10 = 15
  3. Write the answer.
    15

Check. Dividing 15 by 10 gives back 1.5.

Watch out. In a histogram, the area of each bar is proportional to the frequency.

Worked example 13.2.3
Find the total frequency from the histogram for the homework times.

Method. Multiply each height by its width to find the frequency, then add the frequencies.

  1. Find each frequency. Frequency = height × width for each bar.
    8, 12, 15, 10, 5
  2. Add the frequencies. The total frequency is the sum of all the bar areas.
    8 + 12 + 15 + 10 + 5 = 50
  3. Write the answer.
    50

Check. The total must match the number of values in the data.

Watch out. Do not add the heights. Add the areas.

Watch out

Watch out: the frequency density is frequency ÷ width. A bar twice as wide needs half the height for the same frequency.

Exam tip

Exam tip. Write the width of each class in a column before you work out any frequency density.

Exercise 13B  Frequency density and unequal widths

Non-calculator
1
FThe homework histogram has classes with frequencies 8, 12, 15, 10, 5 and boundaries 0, 10, 20, 30, 50, 60. Find the frequency density of class 1 (0 to 10 minutes).
frequency density01020305060
2
FThe homework histogram has classes with frequencies 8, 12, 15, 10, 5 and boundaries 0, 10, 20, 30, 50, 60. Find the frequency density of class 2 (10 to 20 minutes).
frequency density01020305060
3
FThe homework histogram has classes with frequencies 8, 12, 15, 10, 5 and boundaries 0, 10, 20, 30, 50, 60. Find the frequency density of class 3 (20 to 30 minutes).
frequency density01020305060
4
FThe homework histogram has classes with frequencies 8, 12, 15, 10, 5 and boundaries 0, 10, 20, 30, 50, 60. Find the frequency density of class 4 (30 to 50 minutes).
frequency density01020305060
5
FThe homework histogram has classes with frequencies 8, 12, 15, 10, 5 and boundaries 0, 10, 20, 30, 50, 60. Find the frequency density of class 5 (50 to 60 minutes).
frequency density01020305060
6
FA class from 30 to 50 minutes has frequency 10. Find its frequency density.
7
FA bar has frequency density 2.5 and width 4. Find the frequency it represents.
8
FFind the frequency of the 50 to 60 minute class in the homework histogram.
9
PSFind the total frequency of the homework histogram.
10
FA histogram has a bar from 0 to 20 with frequency density 0.9. Find the frequency.
11
RExplain why the class 30 to 50 needs frequency density 10 ÷ 20 and not 10.
12
PSTwo classes have frequency densities 3 and 1.5 and widths 5 and 10. Which class has the greater frequency?
13
PSA histogram has frequency densities 0.6 and 1.2 for classes of width 10 and 10. Find the total frequency.
14
RExplain why the vertical axis of a histogram with unequal widths is labelled frequency density, not frequency.
13.3

Reading frequencies from a histogram

Year 9
Read a frequency or a frequency density from a histogram, and find the total frequency
Video lesson: Reading frequencies from a histogramComing soon
A histogram of the weights of parcels is drawn by a delivery company. To find how many parcels weigh between 10 and 20 kg, read the bar and work out its area.

To read a frequency from a histogram with unequal widths, find the area of the bar: frequency = frequency density × width. Then add all the frequencies to find the total.

Key ideas

  • Area of a bar = frequency.
  • Frequency = frequency density × width.
  • Total frequency = sum of all the bar areas.
  • Read the frequency density from the vertical axis.
Worked example 13.3.1
A bar from 10 to 25 kg has frequency density 2. How many parcels are in this class?

Method. The area of a histogram bar is the frequency, so multiply the height by the width.

  1. Find the class width. Width = upper boundary − lower boundary.
    25 − 10 = 15
  2. Multiply. Frequency = frequency density × class width (the area of the bar).
    2 × 15 = 30
  3. Write the answer.
    30

Check. Dividing 30 by 15 gives back 2.

Watch out. In a histogram, the area of each bar is proportional to the frequency.

Worked example 13.3.2
The total frequency of a histogram is 60, with class 0 to 20 having frequency density 1.5. Find the frequency of this class, if the class is 20 wide.

Method. The area of a histogram bar is the frequency, so multiply the height by the width.

  1. Find the class width. Width = upper boundary − lower boundary.
    20 − 0 = 20
  2. Multiply. Frequency = frequency density × class width (the area of the bar).
    1.5 × 20 = 30
  3. Write the answer.
    30

Check. Dividing 30 by 20 gives back 1.5.

Watch out. In a histogram, the area of each bar is proportional to the frequency.

Worked example 13.3.3
A bar from 0 to 10 has frequency density 0.6. Find its frequency.

Method. The area of a histogram bar is the frequency, so multiply the height by the width.

  1. Find the class width. Width = upper boundary − lower boundary.
    10 − 0 = 10
  2. Multiply. Frequency = frequency density × class width (the area of the bar).
    0.6 × 10 = 6
  3. Write the answer.
    6

Check. Dividing 6 by 10 gives back 0.6.

Watch out. In a histogram, the area of each bar is proportional to the frequency.

Watch out

Watch out: read the frequency density from the vertical axis, then multiply by the width. Do not read the area as the height.

Exam tip

Exam tip. Write the area calculation for each bar, so your method is clear even if the arithmetic is wrong.

Exercise 13C  Reading frequencies from a histogram

Non-calculator
1
FA bar from 10 to 25 kg has frequency density 2. How many parcels are in this class?
2
FA bar from 0 to 20 has frequency density 1.5. How many parcels are in this class?
3
FA bar from 20 to 30 has frequency density 4. Find its frequency.
4
FA bar from 40 to 60 has frequency density 0.75. Find its frequency.
5
PSA histogram has bars from 0 to 10 with density 3, 10 to 20 with density 4.5 and 20 to 40 with density 1. Find the total frequency.
6
PSFind the total frequency of the homework histogram from section 13.2.
7
PSIn the homework histogram, how many pupils spent more than 30 minutes on homework?
8
RA histogram bar for the class 0 to 10 has height 0.4. Find the frequency and explain your working.
9
FA histogram has a class 60 to 80 with frequency 12. Find its frequency density.
10
RExplain why two bars with the same height can have different frequencies in a histogram with unequal widths.
13.4

Estimating the mean from grouped data

Year 9
Estimate the mean from a grouped frequency table or histogram, using midpoints
Video lesson: Estimating the mean from grouped dataComing soon
A teacher records how many books pupils read in a term. The data are grouped in classes, so the exact mean is not known. Each class is represented by its midpoint, which gives an estimate of the mean.

To estimate the mean: find the midpoint of each class, multiply it by the frequency, add the products, then divide by the total frequency.

Key ideas

  • Midpoint = (lower boundary + upper boundary) ÷ 2.
  • Estimated mean = sum of (midpoint × frequency) ÷ total frequency.
  • Round the estimate as the question asks.
  • The estimate is not exact, because the values inside each class are unknown.
Worked example 13.4.1
Estimate the mean for the ages in the equal-width table: classes 0 to 5, 5 to 10, 10 to 15, 15 to 20 with frequencies 4, 10, 14, 12.

Method. Use the midpoints to estimate the mean of grouped data.

  1. Find the midpoint of each class. The midpoint is the average of the two boundaries.
    2.5, 7.5, 12.5, 17.5
  2. Multiply each midpoint by its frequency. This gives an estimate of the total for each class.
    2.5 × 4, 7.5 × 10, 12.5 × 14, 17.5 × 12
  3. Add and divide by the total frequency. The total frequency is 40. Divide the total of the products by it.
    470 ÷ 40 = 11.7500
  4. Round the answer. Give the estimated mean to 1 decimal place.
    11.8

Check. The estimate is only approximate, because the exact values in each class are not known.

Watch out. Use the midpoint of each class, not the boundaries. A class of 0 to 10 has midpoint 5.

Worked example 13.4.2
Estimate the mean of the homework times: classes 0 to 10, 10 to 20, 20 to 30, 30 to 50, 50 to 60 with frequencies 8, 12, 15, 10, 5.

Method. Use the midpoints to estimate the mean of grouped data.

  1. Find the midpoint of each class. The midpoint is the average of the two boundaries.
    5, 15, 25, 40, 55
  2. Multiply each midpoint by its frequency. This gives an estimate of the total for each class.
    5 × 8, 15 × 12, 25 × 15, 40 × 10, 55 × 5
  3. Add and divide by the total frequency. The total frequency is 50. Divide the total of the products by it.
    1270 ÷ 50 = 25.4000
  4. Round the answer. Give the estimated mean to 1 decimal place.
    25.4

Check. The estimate is only approximate, because the exact values in each class are not known.

Watch out. Use the midpoint of each class, not the boundaries. A class of 0 to 10 has midpoint 5.

Worked example 13.4.3
Estimate the mean of the classes 0 to 10 (frequency 3) and 10 to 20 (frequency 1).

Method. Use the midpoints to estimate the mean of grouped data.

  1. Find the midpoint of each class. The midpoint is the average of the two boundaries.
    5, 15
  2. Multiply each midpoint by its frequency. This gives an estimate of the total for each class.
    5 × 3, 15 × 1
  3. Add and divide by the total frequency. The total frequency is 4. Divide the total of the products by it.
    30 ÷ 4 = 7.5000
  4. Round the answer. Give the estimated mean to 1 decimal place.
    7.5

Check. The estimate is only approximate, because the exact values in each class are not known.

Watch out. Use the midpoint of each class, not the boundaries. A class of 0 to 10 has midpoint 5.

Watch out

Watch out: use the midpoint of each class, not the boundaries. A class 10 to 20 has midpoint 15.

Exam tip

Exam tip. Make a table with columns: class, frequency, midpoint, midpoint × frequency. Then add the last column.

Exercise 13D  Estimating the mean (midpoints)

Non-calculator
1
FEstimate the mean of the ages: classes 0 to 5, 5 to 10, 10 to 15, 15 to 20 with frequencies 4, 10, 14, 12. Give your answer to 1 d.p.
2
FEstimate the mean homework time, to 1 d.p., for the classes in the table with frequencies 8, 12, 15, 10, 5.
3
FFind the midpoint of the class 30 to 50.
4
PSEstimate the mean of 5 values grouped as 0 to 10 (frequency 2), 10 to 20 (frequency 3). Give your answer to 1 d.p.
5
RExplain why the estimated mean from a grouped table is not exact.
6
PSEstimate the mean of a histogram with classes 0 to 4 (frequency 5) and 4 to 10 (frequency 5). Give your answer to 1 d.p.
7
PSEstimate the mean of the classes 20 to 30 (frequency 6) and 30 to 40 (frequency 4). Give your answer to 1 d.p.
8
FA class has midpoint 25 and frequency 8. Find the value of midpoint × frequency.
9
FEstimate the mean for classes 0 to 10 (frequency 4) and 10 to 20 (frequency 1). Give your answer to 1 d.p.
13.5

Comparing two distributions drawn as histograms

Year 9
Compare distributions drawn as histograms, using the shape, averages and range
Video lesson: Comparing two distributions drawn as histogramsComing soon
Two classes take the same test, and each class is drawn as a histogram with the same scale. The histograms show the shape, and the averages and spread are used to compare the classes.

When comparing, always give an average (the estimated mean or the modal class) and a measure of spread (the range or the spread of the bars), then say what it means in the context of the test.

Key ideas

  • Compare an average: the estimated mean, using midpoints.
  • Compare spread: the range of the classes that have data.
  • Describe the shape: where the bars are tallest, and whether they are symmetrical.
  • Always compare the same measures for both distributions.
Worked example 13.5.1
Class A has estimated mean 21.5 and Class B has estimated mean 19.0. Compare the averages.

Method. Compare the estimated mean of the two histograms.

  1. Compare the values. Compare the estimated mean of each distribution.
    Class A: 21.5, Class B: 19
  2. Find the difference. The difference shows how far apart the two values are.
    2.5
  3. Say which is bigger.
    Class A has the higher estimated mean

Check. Use the same measure for both distributions.

Watch out. Give the comparison in context, for example "on average".

Worked example 13.5.2
Class A has range 40 and Class B has range 30. Which class has the more spread out scores?

Method. Compare the range of the two histograms.

  1. Compare the values. Compare the range of each distribution.
    Class A: 40, Class B: 30
  2. Find the difference. The difference shows how far apart the two values are.
    10
  3. Say which is bigger.
    Class A has the higher range

Check. Use the same measure for both distributions.

Watch out. Give the comparison in context, for example "on average".

Worked example 13.5.3
Class A has range 25 and Class B has range 35. Which class is more spread out?

Method. Compare the range of the two histograms.

  1. Compare the values. Compare the range of each distribution.
    Class A: 25, Class B: 35
  2. Find the difference. The difference shows how far apart the two values are.
    10
  3. Say which is bigger.
    Class B has the higher range

Check. Use the same measure for both distributions.

Watch out. Give the comparison in context, for example "on average".

Watch out

Watch out: a comparison needs the same measure for both classes. Do not compare the mean of one with the range of the other.

Exam tip

Exam tip. Use phrases such as "on average, Class A scored higher" and "Class B had more spread" in your comparisons.

Exercise 13E  Comparing distributions

Non-calculator
1
FClass A has estimated mean 21.5 and Class B has estimated mean 19.0. Which class scored higher on average?
2
FClass A has range 40 and Class B has range 30. Which class has the more spread out scores?
3
FClass A has estimated mean 24 and Class B has estimated mean 27. Which class has the higher average?
4
PSThe histogram of Class A has its tallest bar in the class 20 to 30, and Class B has its tallest bar in the class 30 to 40. Compare the typical scores.
5
RExplain why the range is not the best measure of spread for comparing two histograms with different outliers.
6
RClass A has a histogram with most of its bars at the top, and Class B is spread across all classes. Describe the difference in spread.
7
FCompare the estimated means of Class A (mean 35.5) and Class B (mean 33.2), and say which is higher.

Chapter summary

SkillMethod
Equal widthsHeight = frequency. Area is proportional to frequency.
Unequal widthsFrequency density = frequency ÷ width. Height = frequency density.
Frequency from histogramFrequency = frequency density × width (the area of the bar).
Estimated meanMidpoint × frequency, summed, divided by the total frequency.
ComparingCompare averages and spread, in context, using the same measures.

Can you…?

  • I can draw a histogram with equal or unequal class widths
  • I can find frequency density and frequency from a histogram
  • I can find the total frequency of a histogram
  • I can estimate the mean from grouped data using midpoints
  • I can compare two distributions using averages and spread

Key terms

histogram
a chart with bars whose areas show frequencies, used for continuous data
frequency density
frequency divided by class width, used for the height of a histogram bar
class width
the upper boundary minus the lower boundary of a class
midpoint
the value halfway through a class, found by averaging the boundaries
continuous data
data that can take any value in a range, such as height or time

Exercise 13Z  Check-up

Non-calculator
1
A bar from 0 to 20 has frequency density 2. Find its frequency.
2
A class from 20 to 50 has frequency 15. Find its frequency density.
3
Find the total frequency of a histogram with frequencies 6, 9 and 5 in classes of equal width.
4
Estimate the mean for classes 0 to 10 (frequency 5) and 10 to 30 (frequency 5). Give your answer to 1 d.p.
5
The histogram has a bar 0 to 10 with frequency density 0.8, and a bar 10 to 30 with frequency density 0.5. Find the total frequency.
6
Find the midpoint of the class 40 to 60.
7
Class A has estimated mean 42 and Class B has estimated mean 38. Which class scored higher on average?
8
A bar of width 5 has frequency density 6. Find the frequency it represents.
9
Find the frequency density of a class 10 to 15 with frequency 12.
10
Explain why a histogram with unequal class widths uses frequency density for its heights.

Total 18 marks. Allow about 18 minutes.

Exercise 13X  Practice test questions

Non-calculator
1
FFind the total of the frequencies 5, 8, 12, 7 for classes of equal width.[1 mark]
2
FA bar from 10 to 30 has frequency density 1.5. Find its frequency.[2 marks]
3
FA class from 40 to 50 has frequency 12. Find its frequency density.[2 marks]
4
PSEstimate the mean for classes 0 to 10 (frequency 2), 10 to 20 (frequency 6) and 20 to 40 (frequency 2). Give your answer to 1 d.p.[3 marks]
5
PSA histogram has frequency densities 1 for 0 to 10, and 0.5 for 10 to 30. Find the total frequency.[2 marks]
6
PSClass A has estimated mean 27.5 and Class B has estimated mean 25. Compare the two classes.[2 marks]
7
RExplain why the bars of a histogram touch each other.[1 mark]
8
FFind the midpoint of the class 15 to 25.[1 mark]
9
FA histogram of heights has a bar from 150 to 170 cm with frequency density 0.4. Find the frequency.[2 marks]
10
PSA histogram has frequency density 3 for a class of width 4, and frequency density 2 for a class of width 6. Find the total frequency.[2 marks]

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings