Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 24 · Statistics
GCSE Maths · Statistics · Higher · Lesson 24.15

GCSE Maths: Histograms (Higher)

Part of the GCSE Maths statistics chapter (Higher). Chapter overview · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
24.15

Histograms

Edexcel 1MA1: S3
Grade 6-9

A histogram shows continuous data. It looks like a bar chart, but the bars can have different widths, and there are no gaps between bars because the classes touch. When the class widths are different, the height of a bar cannot be the frequency, because a wide class would look much bigger just because it is wide. Instead the height is the frequency density, so that the area of each bar stands for the frequency.

frequency density = frequency ÷ class width, and so frequency = frequency density × class width (the area of the bar). For example, 30 people in a class of width 20 gives frequency density 30 ÷ 20 = 1.5, and a bar 20 wide and 1.5 tall has area 30.

00.511.5201020405070Time reading (minutes)Frequency density
A histogram. The bars have different widths. The area of each bar is the frequency of its class.

Drawing a histogram. (1) Work out each class width. (2) Divide each frequency by its class width to get the frequency density. (3) Draw a horizontal axis for the data and a vertical axis for the frequency density. (4) Draw each bar from the lower to the upper class boundary, with height equal to its frequency density.

Reading a histogram. The frequency of a bar is its height times its width. For part of a bar, take the same fraction of the bar’s frequency. To estimate the mean, use the midpoints, as for any grouped data. To estimate the median, find the class holding the middle value and assume the values are spread evenly across it.

Key ideas

  • Frequency density = frequency ÷ class width.
  • Frequency = frequency density × class width = the area of the bar.
  • The vertical axis is frequency density, not frequency. There are no gaps between bars.
  • For part of a bar: part of the width × the frequency density.
  • Estimate the mean using midpoints; estimate the median by assuming an even spread within the median class.
Worked example 24.15.1
The table shows the times that 80 people spent reading.
TimeFrequency
0 < t ≤ 10 min8
10 < t ≤ 20 min14
20 < t ≤ 40 min30
40 < t ≤ 50 min16
50 < t ≤ 70 min12
Draw a histogram.

Key words. A histogram has bars of different widths. The height is the frequency density = frequency ÷ class width, so the area of a bar is the frequency.

Method. For a histogram, plot frequency density = frequency ÷ class width on the vertical axis.

  1. Find the width of each class. The bars have different widths, so the height cannot be the frequency. Width = upper end − lower end.
    10 − 0 = 10
    20 − 10 = 10
    40 − 20 = 20
    50 − 40 = 10
    70 − 50 = 20
  2. Divide each frequency by its class width. frequency density = frequency ÷ class width. This is the height of the bar, and it makes the area of the bar equal to the frequency.
    8 ÷ 10 = 0.8
    14 ÷ 10 = 1.4
    30 ÷ 20 = 1.5
    16 ÷ 10 = 1.6
    12 ÷ 20 = 0.6
  3. Write the results in a table.
    TimeFrequencyClass widthFrequency density
    0 < t ≤ 10 min8100.8
    10 < t ≤ 20 min14101.4
    20 < t ≤ 40 min30201.5
    40 < t ≤ 50 min16101.6
    50 < t ≤ 70 min12200.6
  4. Draw the histogram. Put the data on the horizontal axis and frequency density on the vertical axis. Draw one bar for each class with no gaps, because the classes touch. The width of each bar is its class width and the height is its frequency density.
    00.511.5201020405070Time spent reading (minutes)Frequency density

Check. Multiply back: 0.8 × 10 = 8, 1.4 × 10 = 14, 1.5 × 20 = 30, 1.6 × 10 = 16, 0.6 × 20 = 12. These are the frequencies. ✓

Watch out. The vertical axis is frequency density, not frequency.

Worked example 24.15.2
Use the histogram above to work out the number of people in each class, and the total number of people.

Key words. A histogram has bars of different widths. The height is the frequency density = frequency ÷ class width, so the area of a bar is the frequency.

Method. For each bar, frequency = frequency density × class width.

  1. Read the heights and widths. The heights are the frequency densities. The widths come from the class boundaries.
    0 to 10: height 0.8, width 10
    10 to 20: height 1.4, width 10
    20 to 40: height 1.5, width 20
    40 to 50: height 1.6, width 10
    50 to 70: height 0.6, width 20
  2. Multiply height by width. The area of each bar is its frequency.
    0.8 × 10 = 8
    1.4 × 10 = 14
    1.5 × 20 = 30
    1.6 × 10 = 16
    0.6 × 20 = 12
  3. Add the frequencies. This is the total number of people.
    8 + 14 + 30 + 16 + 12 = 80

Check. The total of 80 matches the table above. ✓

Watch out. Do not read the heights as frequencies.

Worked example 24.15.3
Use the histogram above to estimate the number of people who spent between 30 and 40 minutes reading.

Key words. A histogram has bars of different widths. The height is the frequency density = frequency ÷ class width, so the area of a bar is the frequency.

Method. The class 20 to 40 has frequency 30. We need the part of the bar from 30 to 40, which is half of the width of the bar.

  1. Find the frequency density of the bar. The bar 20 to 40 has frequency density 30 ÷ 20.
    30 ÷ 20 = 1.5
  2. Find the width of the part wanted. From 30 to 40.
    40 − 30 = 10
  3. Multiply to find its area. Area = height × width = frequency.
    1.5 × 10 = 15 people

Check. The part from 30 to 40 is half of the class 20 to 40, so half of 30 = 15. ✓

Watch out. This assumes that the values are spread evenly through the class.

Worked example 24.15.4
Estimate the mean time spent reading, using the histogram above.

Key words. Grouped data is data put into classes (groups), such as 10 < x ≤ 20. We lose the exact values, so calculations are estimates. The midpoint of a class is halfway between its two ends.

Method. Estimate the mean of grouped data by using the midpoint of each class in place of the unknown values.

  1. Find the midpoint of each class. We do not know the exact values inside a class, so we pretend every value is at the middle of its class. Midpoint = (lower end + upper end) ÷ 2.
    (0 + 10) ÷ 2 = 5
    (10 + 20) ÷ 2 = 15
    (20 + 40) ÷ 2 = 30
    (40 + 50) ÷ 2 = 45
    (50 + 70) ÷ 2 = 60
  2. Multiply each frequency by its midpoint. This estimates the total of the values in that class.
    TimeFrequency (f)Midpointf × midpoint
    0 < t ≤ 10 min8540
    10 < t ≤ 20 min1415210
    20 < t ≤ 40 min3030900
    40 < t ≤ 50 min1645720
    50 < t ≤ 70 min1260720
    Total802590
  3. Add up the frequencies and the (f × midpoint) column. The first total is the number of values. The second is an estimate of the total of all the values.
    Total frequency = 80
    Total of f × midpoint = 2590
  4. Divide to estimate the mean. estimated mean = total of (f × midpoint) ÷ total frequency.
    2590 ÷ 80 = 32.3750… = 32.4 min to 1 d.p.

Check. The estimate should be inside the range of the classes, from 0 to 70, and 32.4 is. It is only an estimate because the real values are not known. ✓

Watch out. Multiply the frequency by the midpoint, not by the class limits. Divide by the total frequency, not by the number of classes.

Worked example 24.15.5
Estimate the median time spent reading.

Key words. A histogram has bars of different widths. The height is the frequency density = frequency ÷ class width, so the area of a bar is the frequency.

Method. Estimate the median by finding which class holds the middle value, then assuming the values are spread evenly across that class.

  1. Work out the frequencies and the total. Frequency = frequency density × class width for each bar.
    Frequencies: 8, 14, 30, 16, 12; total n = 80
  2. Find the position of the median. It is half way through the data.
    80 ÷ 2 = 40
  3. Use a running total to find the median class. The running total first reaches 40 in the class 20 < x ≤ 40 min.
    ClassFrequencyRunning total
    0 < x ≤ 10 min88
    10 < x ≤ 20 min1422
    20 < x ≤ 40 min3052
    40 < x ≤ 50 min1668
    50 < x ≤ 70 min1280
  4. Find how far into the class we need to go. Before this class there are 22 values, so we need 18 more from this class of 30.
    18 ÷ 30 = 0.6 of the class
  5. Find the estimate of the median. Start at the lower end and move that fraction of the class width.
    20 + 0.6 × 20 = 32 min

Check. The estimate lies inside the median class. ✓

Watch out. This is an estimate: it assumes the values are spread evenly within the class.

Watch out

The vertical axis of a histogram is frequency density, not frequency. If the bars have different widths, the tallest bar is not necessarily the class with the most values.

Exercise 24O  Histograms

Calculator allowed
1
FThe table shows the ages of the members of a club.
AgeFrequency
0 < a ≤ 20 years20
20 < a ≤ 30 years35
30 < a ≤ 40 years50
40 < a ≤ 60 years40
60 < a ≤ 100 years16
Work out the frequency density for each class.
2
FUse the table in question 1 to draw a histogram.
3
FThe histogram shows the waiting times at a clinic. (a) Work out the number of patients who waited between 10 and 20 minutes. (b) Work out the number of patients who waited between 0 and 5 minutes. (c) Work out the total number of patients.
01234560510203050Waiting time (minutes)Frequency density
(a)Waited 10 to 20 minutes
(b)Waited 0 to 5 minutes
(c)Total patients
4
PSUse the histogram in question 3 to estimate the number of patients who waited (a) between 24 and 30 minutes, (b) more than 40 minutes, (c) between 15 and 20 minutes.
01234560510203050Waiting time (minutes)Frequency density
(a)Between 24 and 30 minutes
(b)More than 40 minutes
(c)Between 15 and 20 minutes
5
FThe table shows the lengths of 120 phone calls.
LengthFrequency
0 < t ≤ 10 min12
10 < t ≤ 20 min28
20 < t ≤ 40 min50
40 < t ≤ 60 min30
Estimate the mean length of a call. Give your answer to 1 decimal place.
6
FEstimate the median length of a call using the table in question 5.
7
PSIn a histogram, the bar for 20 < x ≤ 30 is 3 cm wide and 4 cm tall, and represents 24 people. The bar for 30 < x ≤ 50 is 6 cm wide and 2 cm tall. How many people does the second bar represent?
8
PSThe bar for 0 < t ≤ 10 in a histogram has frequency density 4 and frequency 40. The next bar is for 10 < t ≤ 30 and has frequency 100. Work out the frequency density of the second bar and say how its height compares with the first bar.
9
RJon says: “The tallest bar in a histogram is always the class with the most values.” Explain why he is wrong, using an example.
10
PSThe histogram bars for four classes have the widths and frequencies shown. Complete the table of frequency densities and work out the probability that a person chosen at random from the data is in the class 25 to 30. Give your answer as a fraction in its simplest form.
ClassFrequency
0 < x ≤ 1015
10 < x ≤ 2545
25 < x ≤ 3010
30 < x ≤ 5050
(a)Frequency densities
(b)Probability
11
RA histogram shows the masses of 150 parcels. The class 2 < m ≤ 4 has frequency density 15, the class 4 < m ≤ 10 has frequency density 8 and the class 10 < m ≤ 20 has frequency density 4.6. Work out the number of parcels in the class 0 < m ≤ 2, and the mean mass to 1 decimal place if that class has midpoint 1.
(a)Parcels in the class 0 to 2
(b)Estimated mean
12
RThe histogram shows the lengths of 100 films, in minutes. Estimate the percentage of films that are longer than 30 minutes.
01234010204060Length (minutes)Frequency density

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