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 12 · Cumulative frequency and box plots
Year 9 · Chapter 12

Cumulative frequency and box plots

By the end of this chapter you will be able to

  • Build a cumulative frequency table, and plot the points at the upper class boundaries
  • Read the median, quartiles and a percentile from a cumulative frequency curve
  • Find the five-number summary from raw data, and draw a box plot
  • Compare two box plots using medians, quartiles and interquartile ranges
  • Comment on the shape and spread of a data set in context

You should already know

  • Averages and the range from lists and frequency tables (Year 8, Chapter 13)
  • Grouped frequency tables and class boundaries (Year 8, Chapter 13)
  • Drawing and reading graphs with axes and scales (Year 8 and Year 9, Chapter 6)

Where this leads

  • Histograms and comparing distributions (Year 9, Chapter 13)
  • Statistical sampling and bias in GCSE
  • Scatter graphs and correlation in GCSE

National Curriculum for England, Key Stage 3 mathematics, Year 9. Content: Construct a cumulative frequency table and plot a cumulative frequency curve or polygon at the upper class boundaries, Estimate the median, quartiles, interquartile range and a percentile from a cumulative frequency graph, Draw a box plot from a five-number summary and from raw data, Compare two distributions using box plots and cumulative frequency graphs, Interpret and comment on the shape and spread of a distribution, using averages and the interquartile range.

Exercise P  Do you remember?

Non-calculator
1
FFind the median of 3, 7, 9, 12, 15.
2
FFind the mean of 4, 6, 8, 10.
3
FFind the range of 2, 9, 5, 14, 11.
4
FIn a list of 50 numbers, which position is the median?
5
FWhat does the frequency tell you in a frequency table?
12.1

Cumulative frequency tables and curves

Year 9
Construct a cumulative frequency table and plot a cumulative frequency curve at the upper class boundaries
Video lesson: Cumulative frequency tables and curvesComing soon
A gardener measures the heights of 40 plants. A cumulative frequency table adds up the frequencies as you go, so you can see how many plants are shorter than each height.

The cumulative frequency is the running total of the frequencies. Plot each cumulative frequency at the upper class boundary, then join the points with straight lines to make a cumulative frequency polygon, or a smooth curve. The first point is at the lower boundary of the first class, with cumulative frequency 0.

Key ideas

  • Cumulative frequency = running total of the frequencies.
  • Plot each cumulative frequency at the upper class boundary.
  • Start the curve at (lower boundary, 0).
  • The final cumulative frequency equals the total number of values.
Worked example 12.1.1
The heights of 40 plants are grouped as in the table. Complete the cumulative frequency table.

Method. Add the frequencies in order, one class at a time.

  1. First class. The first cumulative frequency is just the first frequency: 3.
    3
  2. Add each frequency. Add the next frequency to the running total.
    3 + 8 = 11, 11 + 15 = 26, 26 + 10 = 36, 36 + 4 = 40
  3. Check. The last cumulative frequency should equal the total, 40.
    40 = 40

Check. The total of the frequencies is 40.

Worked example 12.1.2
Write the coordinates of the point for the class that ends at 30 cm.

Method. Use the upper boundary and the cumulative frequency at that boundary.

  1. Upper boundary. The class from 20 to 30 has upper boundary 30.
    x = 30
  2. Cumulative frequency. The cumulative frequency up to 30 is 26.
    y = 26
  3. Write the answer.
    (30, 26)

Check. 26 plants are 30 cm or shorter.

Worked example 12.1.3
Write the coordinates of the point for the class that ends at 40 cm, using the first garden.

Method. Use the upper boundary and its cumulative frequency.

  1. Upper boundary. The class from 30 to 40 has upper boundary 40.
    x = 40
  2. Cumulative frequency. The cumulative frequency up to 40 is 36.
    y = 36
  3. Write the answer.
    (40, 36)

Check. 36 plants are 40 cm or shorter.

Watch out

Watch out: plot the cumulative frequency at the upper boundary, not the middle of the class. A point at the middle would be wrong.

Exam tip

Exam tip. Label the axes with the units, and join the points with a smooth curve or straight lines as asked.

Exercise 12A  Cumulative frequency tables and curves

Non-calculator
1
FComplete the cumulative frequency column for the heights of 40 plants (0 to 50 cm, with frequencies 3, 8, 15, 10 and 4).
Class0 < x ≤ 1010 < x ≤ 2020 < x ≤ 3030 < x ≤ 4040 < x ≤ 50
Frequency3815104
Cumulative frequency311263640
2
FFor the 40 plants, write down the coordinates of the points to plot on the cumulative frequency graph, starting from the lower boundary of the first class.
3
FHow many of the 40 plants are 20 cm or shorter?
4
FHow many of the 40 plants are taller than 30 cm?
5
RThe cumulative frequency graph has (0, 0) and (50, 40). Explain why the curve must end at 40.
6
FA second garden has the frequencies 5, 10, 12, 9 and 4 for the same classes. Complete the cumulative frequencies.
7
FFor the second garden, write the coordinates of the point for the upper boundary 30.
8
FThe cumulative frequency curve of the first garden passes through (20, 11). How many plants are at most 20 cm?
9
PSWrite down the total frequency of a data set whose cumulative frequency reaches 36 at 40 cm and 40 at 50 cm.
10
PSA cumulative frequency table has classes 0 < x ≤ 10, 10 < x ≤ 20 and 20 < x ≤ 30 with cumulative frequencies 4, 13 and 25. Find the frequency for 10 < x ≤ 20.
11
RExplain why the cumulative frequency is plotted at the upper boundary of each class.
12.2

Reading the median, quartiles and percentiles

Year 9
Estimate the median, quartiles, interquartile range and a percentile from a cumulative frequency graph
Video lesson: Reading the median, quartiles and percentilesComing soon
A grocer records the weights of 40 melons. The median weight is the value halfway up the cumulative frequency curve. The quartiles divide the data into four equal parts, and the interquartile range is the spread of the middle half.

For n values, the median is at cumulative frequency n/2, the lower quartile at n/4, and the upper quartile at 3n/4. Read across to the curve and then down to the axis. The interquartile range (IQR) is the upper quartile minus the lower quartile.

Key ideas

  • Median: cumulative frequency n/2. Lower quartile: n/4. Upper quartile: 3n/4.
  • Read across from the cumulative frequency, then down to the x-axis.
  • IQR = upper quartile − lower quartile.
  • A percentile is read at the same fraction of n: the 90th percentile is at 0.9n.
Worked example 12.2.1
Using the first garden (40 plants), find the median height.

Method. Read the value for the median from the cumulative frequency curve.

  1. Find the cumulative frequency. For the median, the cumulative frequency is 20 out of 40.
    k = 20
  2. Find the point on the curve. Find the two points on the cumulative frequency polygon either side of this height.
  3. Interpolate. The polygon is a straight line between the points, so the value is found in the same proportion.
    x = 26.0000
  4. Write the answer.
    26.0

Check. Check: the value sits between the points on either side of cumulative frequency 20.

Watch out. Use the upper class boundary for each point on the curve, and plot the curve from the lower boundary of the first class.

Worked example 12.2.2
Using the first garden, find the lower quartile height.

Method. Read the value for the lower quartile from the cumulative frequency curve.

  1. Find the cumulative frequency. For the lower quartile, the cumulative frequency is 10 out of 40.
    k = 10
  2. Find the point on the curve. Find the two points on the cumulative frequency polygon either side of this height.
  3. Interpolate. The polygon is a straight line between the points, so the value is found in the same proportion.
    x = 18.7500
  4. Write the answer.
    18.8

Check. Check: the value sits between the points on either side of cumulative frequency 10.

Watch out. Use the upper class boundary for each point on the curve, and plot the curve from the lower boundary of the first class.

Worked example 12.2.3
Using the first garden, find the 90th percentile.

Method. Read the value for the 90th percentile from the cumulative frequency curve.

  1. Find the cumulative frequency. For the 90th percentile, the cumulative frequency is 36 out of 40.
    k = 36
  2. Find the point on the curve. Find the two points on the cumulative frequency polygon either side of this height.
  3. Interpolate. The polygon is a straight line between the points, so the value is found in the same proportion.
    x = 40.0000
  4. Write the answer.
    40.0

Check. Check: the value sits between the points on either side of cumulative frequency 36.

Watch out. Use the upper class boundary for each point on the curve, and plot the curve from the lower boundary of the first class.

Watch out

Watch out: the lower quartile is at n/4, not at n/2 minus something. For 40 plants it is at cumulative frequency 10.

Exam tip

Exam tip. Draw the lines on the graph as you read them, and write the reading next to each line.

Exercise 12B  Median, quartiles and percentiles from a curve

Non-calculator
1
FUsing the first garden (40 plants), estimate the median height, to 1 d.p.
2
FUsing the first garden, estimate the lower quartile, to 1 d.p.
3
FUsing the first garden, estimate the upper quartile, to 1 d.p.
4
FUsing the first garden, estimate the 90th percentile, to 1 d.p.
5
FUsing the second garden, estimate the median height, to 1 d.p.
6
FUsing the second garden, estimate the lower quartile, to 1 d.p.
7
FUsing the second garden, estimate the upper quartile, to 1 d.p.
8
PSUsing the first garden, find the interquartile range, to 1 d.p.
9
PSUsing the second garden, find the interquartile range, to 1 d.p.
10
RExplain why the median is at cumulative frequency 20 for 40 plants.
11
PSEstimate the number of plants taller than the median of the first garden.
12
RExplain why a cumulative frequency graph can give only an estimate for the median.
13
PSUsing the first garden, estimate the height that 75% of the plants are at or below, to 1 d.p.
12.3

Box plots from raw data and a summary

Year 9
Draw a box plot from a five-number summary and from raw data
Video lesson: Box plots from raw data and a summaryComing soon
A teacher records the test scores of 9 pupils. A box plot shows the lowest and highest scores, the median, and the middle half of the scores in one picture.

The five-number summary is the lowest value, the lower quartile, the median, the upper quartile and the highest value. The box runs from the lower to the upper quartile, and the whiskers go out to the lowest and highest values.

Key ideas

  • Five-number summary: lowest, Q1, median, Q3, highest.
  • The box goes from Q1 to Q3. The IQR is the width of the box.
  • For an odd number of values, leave out the median when you find the quartiles.
  • Draw the box plot on a scale that covers all the data.
Worked example 12.3.1
Find the five-number summary of 12, 15, 17, 19, 20, 22, 25, 28, 30.

Method. Order the data, find the median, then the medians of each half.

  1. Put the data in order. Write the values from smallest to largest.
    12, 15, 17, 19, 20, 22, 25, 28, 30
  2. Find the median. There are 9 values, so the median is in the middle.
    median = 20
  3. Find the quartiles. The lower quartile is the median of the lower half, and the upper quartile is the median of the upper half.
    Q1 = 16, Q3 = 26.5
  4. Write the summary. Include the lowest and highest values as well.
    lowest 12, lower quartile 16, median 20, upper quartile 26.5, highest 30

Check. The interquartile range is 10.5.

Watch out. If there are an odd number of values, leave out the median when you find the quartiles.

Worked example 12.3.2
Find the five-number summary of 5, 7, 8, 10, 12, 14, 15, 18.

Method. Order the data, find the median, then the medians of each half.

  1. Put the data in order. Write the values from smallest to largest.
    5, 7, 8, 10, 12, 14, 15, 18
  2. Find the median. There are 8 values, so the median is in the middle.
    median = 11
  3. Find the quartiles. The lower quartile is the median of the lower half, and the upper quartile is the median of the upper half.
    Q1 = 7.5, Q3 = 14.5
  4. Write the summary. Include the lowest and highest values as well.
    lowest 5, lower quartile 7.5, median 11, upper quartile 14.5, highest 18

Check. The interquartile range is 7.

Watch out. If there are an odd number of values, leave out the median when you find the quartiles.

Worked example 12.3.3
Find the interquartile range of the first data set, 12, 15, 17, 19, 20, 22, 25, 28, 30.

Method. The interquartile range (IQR) measures the spread of the middle half of the data.

  1. Write the quartiles. The lower quartile is Q1 and the upper quartile is Q3.
    Q1 = 16, Q3 = 26.5
  2. Subtract. The interquartile range is the upper quartile minus the lower quartile.
    26.5 − 16 = 10.5
  3. Write the answer.
    10.5

Check. The IQR is the width of the box in a box plot.

Watch out. The range uses the highest and lowest values, the IQR uses the quartiles.

Watch out

Watch out: the quartiles are medians of the halves, not the quarter points of the list.

Exam tip

Exam tip. Draw the box plot with a ruled scale, and label the five values on the diagram.

Exercise 12C  Box plots

Non-calculator
1
FThe scores are 12, 15, 17, 19, 20, 22, 25, 28, 30. Find the five-number summary.
data 105101520253035404550556065707580
2
FThe scores are 5, 7, 8, 10, 12, 14, 15, 18. Find the five-number summary.
data 205101520253035404550556065707580
3
FThe scores are 3, 4, 6, 6, 7, 9, 10, 12, 15, 21, 30. Find the five-number summary.
data 305101520253035404550556065707580
4
FThe scores are 40, 45, 52, 55, 58, 60, 61, 67, 70, 75. Find the five-number summary.
data 405101520253035404550556065707580
5
FFind the interquartile range of the data set 40, 45, 52, 55, 58, 60, 61, 67, 70, 75.
6
FFind the interquartile range of 3, 4, 6, 6, 7, 9, 10, 12, 15, 21, 30.
7
PSA box plot has lowest value 4, lower quartile 10, median 15, upper quartile 22 and highest value 30. Find the range and the IQR.
8
PSDraw a box plot for the five-number summary 4, 10, 15, 22, 30. Give the scale you use.
summary05101520253035
9
RExplain why the box plot of data with an odd number of values leaves out the median when finding the quartiles.
10
FFind the median, lower and upper quartiles of 9, 11, 13, 15, 17, 19, 21, 23, 25, 27.
12.4

Comparing two distributions

Year 9
Compare two distributions using box plots and cumulative frequency graphs
Video lesson: Comparing two distributionsComing soon
Two classes take the same test. Their box plots are drawn on the same scale. Comparing the medians and the IQRs shows which class scored higher on average and which had a more consistent spread.

To compare, always say something about the average (the median) and the spread (the IQR or range), in the context of the data.

Key ideas

  • Compare medians for the typical value.
  • Compare IQRs for the spread of the middle half.
  • Say what this means in context, not just the numbers.
  • Use the same scale for both box plots.
Worked example 12.4.1
Class A has median 20 and IQR 10.5. Class B has median 11 and IQR 7. Compare the two classes.

Method. Compare the medians, then the IQRs.

  1. Medians. Class A has the higher median, 20, compared with 11.
    20 > 11
  2. IQR. Class A has the larger IQR, 10.5, compared with 7, so its scores are more spread out.
    10.5 > 7
  3. Write the comparison.
    Class A scored higher on average and was more spread out

Check. Both comparisons use the same measures, so they are fair.

Worked example 12.4.2
Two classes have box plots with medians 15 and 15. Class C has IQR 4 and Class D has IQR 12. Compare them.

Method. The medians are the same, so compare the IQRs.

  1. Medians. The medians are equal, so the typical scores are the same.
    15 = 15
  2. IQR. Class D has a larger IQR, so its middle half is more spread out.
    12 > 4
  3. Write the comparison.
    Same average, but Class D is more spread out

Check. A larger IQR means more variation in the middle half.

Worked example 12.4.3
Class X has median 30 and IQR 8. Class Y has median 30 and IQR 15. Compare the two classes.

Method. Compare the averages, then the spreads.

  1. Averages. The medians are both 30, so the typical scores are the same.
    30 = 30
  2. Spread. Class Y has the larger IQR, 15, compared with 8 for Class X.
    15 > 8
  3. Write the comparison.
    Same average; Class Y is more spread out

Check. The IQR shows the spread of the middle half.

Watch out

Watch out: a comparison needs both an average and a spread. Do not say one class is better without a reason.

Exam tip

Exam tip. Use the phrase "on average" for the median, and "more spread out" or "more consistent" for the IQR.

Exercise 12D  Comparing distributions

Non-calculator
1
FClass A has median 20 and IQR 10.5. Class B has median 11 and IQR 7. Which class scored higher on average?
2
FClass A has median 20 and IQR 10.5. Class B has median 11 and IQR 7. Which class has the more consistent scores?
3
PSTwo box plots have medians 15 and 15, with IQRs 4 and 12. Compare the two sets.
4
RTwo classes take the same test. Class X has range 30 and Class Y has range 20. Explain why the ranges alone may not show which class is more consistent.
5
PSThe median of the first garden is 26 cm and the median of the second garden is 14.2 cm. Compare the plant heights.
6
RTwo box plots are drawn on the same scale. Box A is longer than Box B. What does this mean?
7
FClass P has median 45 and IQR 6. Class Q has median 45 and IQR 15. Which class is more consistent?
12.5

Shape and spread of a distribution

Year 9
Interpret and comment on the shape and spread of a distribution, using averages and the IQR
Video lesson: Shape and spread of a distributionComing soon
A bus company records the waiting times at a stop. Most times are short, but a few are very long. The box plot is pulled to the right, so we say the distribution is skewed.

A distribution is symmetrical if the median is in the middle of the box and the whiskers are about equal. It is positively skewed if the tail is on the right (the median is nearer the lower quartile). It is negatively skewed if the tail is on the left.

Key ideas

  • Symmetrical: median in the middle of the box, equal whiskers.
  • Positive skew: long tail to the right, median nearer Q1.
  • Negative skew: long tail to the left, median nearer Q3.
  • Comment in context, using the median and the IQR.
Worked example 12.5.1
A box plot has Q1 = 10, median = 12, Q3 = 20 and the lowest value 8, highest 40. Describe the shape.

Method. Look at where the median sits, and the length of each whisker.

  1. Median in the box. The median 12 is near the lower end of the box (10 to 20).
    12 is near Q1
  2. Whiskers. The upper whisker (20 to 40) is much longer than the lower one (8 to 10).
    upper whisker is longer
  3. Write the answer.
    Positively skewed

Check. The long tail is on the right.

Worked example 12.5.2
Two data sets have the same median, but the IQR of the first is 3 and of the second is 15. Comment on the spread.

Method. Compare the IQRs.

  1. Compare. The second IQR is 5 times the first.
    15 ÷ 3 = 5
  2. Check the medians. The medians are equal, so the comparison is only about spread.
    15 = 15
  3. Comment. The second set is more spread out in the middle half.
    The second set is more spread out

Check. A larger IQR means a wider spread of the middle values.

Worked example 12.5.3
A set of waiting times has median 5, lower quartile 3 and upper quartile 7, with lowest value 1 and highest value 25. Describe the shape.

Method. Look at the whiskers and the position of the median.

  1. Median in the box. The median 5 is in the middle of the box from 3 to 7.
    5 is central
  2. Whiskers. The lower whisker (1 to 3) is shorter than the upper whisker (7 to 25).
    upper whisker is longer
  3. Write the answer.
    Positively skewed

Check. The long tail is on the right.

Watch out

Watch out: skew is about where the tail is, not where the median is on the axis. Look at the whiskers and the median position in the box.

Exam tip

Exam tip. Always link your comment to the context, such as "waiting times are more spread out", not just "the IQR is bigger".

Exercise 12E  Shape and spread

Non-calculator
1
PSA box plot has Q1 = 10, median = 12, Q3 = 20, lowest value 8 and highest value 40. Describe the shape.
2
PSA box plot has Q1 = 30, median = 50, Q3 = 60, lowest value 20 and highest value 80. Describe the shape.
3
PSA box plot has Q1 = 15, median = 20, Q3 = 25, lowest 10 and highest 30. Describe the shape.
4
PSComment on the spread of a data set with IQR 4, compared with one with IQR 12.
5
RA bus waiting time distribution has a long tail to the right. Explain what this tells us about most waiting times.
6
RExplain why the mean may not be a good average for a positively skewed distribution.
7
FA box plot has median 35 with Q1 = 28 and Q3 = 45. Find the IQR.

Chapter summary

SkillMethod
Cumulative frequencyRunning total. Plot at the upper class boundary.
Median, quartilesAt cumulative frequency n/2, n/4 and 3n/4 on the curve.
Five-number summaryLowest, lower quartile, median, upper quartile, highest.
IQRUpper quartile minus lower quartile: the width of the box.
ShapeSymmetrical, positive skew (tail right), negative skew (tail left).
ComparingCompare the medians (average) and the IQRs (spread), in context.

Can you…?

  • I can build a cumulative frequency table and plot it at the upper boundaries
  • I can read the median and quartiles from a cumulative frequency curve
  • I can find a five-number summary and draw a box plot
  • I can compare two distributions with medians and IQRs
  • I can describe the shape and spread of a distribution in context

Key terms

cumulative frequency
the running total of the frequencies up to a given value
quartile
a value that splits the ordered data into four equal parts
interquartile range
the upper quartile minus the lower quartile
five-number summary
the lowest value, lower quartile, median, upper quartile and highest value
skew
the way a distribution has a longer tail on one side

Exercise 12Z  Check-up

Non-calculator
1
Find the five-number summary of 2, 5, 6, 9, 11, 14, 17.
2
Using the first garden, estimate the median height, to 1 d.p.
3
Using the first garden, estimate the upper quartile, to 1 d.p.
4
Using the second garden, estimate the lower quartile, to 1 d.p.
5
Find the interquartile range of 12, 15, 17, 19, 20, 22, 25, 28, 30.
6
A data set has lowest 4, Q1 9, median 14, Q3 20 and highest 31. Find the range and the IQR.
7
Class A has median 30 and IQR 6. Class B has median 30 and IQR 14. Compare the classes.
8
Complete the cumulative frequencies for frequencies 4, 6, 9 and 3.
9
A box plot has Q1 = 12, median = 18, Q3 = 24. Describe the shape if the lowest value is 4 and the highest is 26.
10
Find the median of 8, 3, 12, 6, 9, 15, 20.

Total 23 marks. Allow about 23 minutes.

Exercise 12X  Practice test questions

Non-calculator
1
FUsing the first garden, estimate the median height, to 1 d.p.[2 marks]
2
FFind the five-number summary of 3, 7, 8, 10, 12, 15, 18, 21.[3 marks]
3
FFind the interquartile range of 40, 45, 52, 55, 58, 60, 61, 67, 70, 75.[2 marks]
4
FUsing the second garden, estimate the upper quartile, to 1 d.p.[2 marks]
5
PSTwo classes have medians 60 and 52. Class X has IQR 8 and Class Y has IQR 20. Compare the two classes.[3 marks]
6
PSA box plot has lowest 10, Q1 25, median 30, Q3 36 and highest 60. Describe the shape of the distribution.[2 marks]
7
FFind the median and quartiles of 2, 4, 6, 8, 10, 12, 14, 16, 18.[3 marks]
8
RExplain why a cumulative frequency graph gives an approximate median.[2 marks]
9
PSUsing the first garden, find the interquartile range, to 1 d.p.[3 marks]
10
RA distribution has a long tail to the left. Describe its skew.[1 mark]

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