All revision notes topics

Cumulative frequency and box plotsIB MYP Maths Standard: Revision notes

Section 1

Cumulative frequency

Cumulative frequency is a running total of the frequencies. It tells you how many values are less than or equal to the upper end of each class. For the masses 0<m≤20<m\le2: 4, 2<m≤42<m\le4: 11, 4<m≤64<m\le6: 17 the cumulative frequencies are 44, 4+11=154+11=15 and 15+17=3215+17=32. To draw a cumulative frequency graph, plot each total against the upper class boundary, giving points such as (2,4)(2,4), (4,15)(4,15), (6,32)(6,32). Start at the lowest value with cumulative frequency 00, then join the points with a smooth curve (or straight lines if you are told to). The last point has cumulative frequency equal to the total frequency.

Key termscumulative frequencyupper class boundary
Common mistake

Plotting the cumulative frequency at the middle of each class. It must be plotted at the upper boundary.

Section 2

Median and quartiles from the graph

For nn values, read the graph at these heights on the cumulative frequency axis:

  • lower quartile Q1Q_1 at n4\frac{n}{4}
  • median at n2\frac{n}{2}
  • upper quartile Q3Q_3 at 3n4\frac{3n}{4} Go across from the height to the curve, then down to the horizontal axis and read the value. For n=40n=40 the median is read at 2020, Q1Q_1 at 1010 and Q3Q_3 at 3030. The quartiles split the data into four equal parts.
Key termsmedianlower quartileupper quartile
Exam tip

Go across from the cumulative frequency to the curve, then down to the horizontal axis. The answer is a value from the horizontal axis, not the height you started at.

Section 3

Range and interquartile range

The range is the largest value minus the smallest value. The interquartile range (IQR) is Q3−Q1Q_3-Q_1 and measures the spread of the middle half of the data. Worked example: Q1=30Q_1=30 and Q3=50Q_3=50 minutes, so IQR =50−30=20=50-30=20 minutes. The IQR is not affected by extreme values, so it is often a better measure of spread than the range. A smaller IQR means the data is more consistent.

Key termsrangeinterquartile range

Section 4

Drawing a box plot

A box-and-whisker plot uses a number line and the five-number summary: minimum, lower quartile, median, upper quartile, maximum.

  1. Draw a scale that covers all values.
  2. Draw a box from Q1Q_1 to Q3Q_3.
  3. Draw a vertical line inside the box at the median.
  4. Draw whiskers from the box out to the minimum and the maximum. The box contains the middle 50% of the data. Each whisker and each half of the box holds about 25% of the data.
Key termsbox-and-whisker plotfive-number summarywhisker
Common mistake

Making the box run from the minimum to the maximum. The box runs from Q1Q_1 to Q3Q_3; the whiskers reach the extremes.

Section 5

Interpreting and comparing box plots

Compare two data sets using one measure of average and one of spread, always in context.

  • Average: the median. A higher median means higher typical values.
  • Spread: the IQR or the range. A smaller spread means more consistent values. Example: restaurant X has median 25 min and IQR 16 min. Restaurant Y has median 26 min and IQR 8 min. Y is slightly slower on average, but its deliveries are much more consistent. About 75% of values lie below Q3Q_3, and about 25% lie above it.
Key termsconsistentspread
Exam tip

Write comparisons as sentences using the numbers and the context, for example 'Y is more consistent because its IQR is 8 minutes, smaller than 16 minutes'.

That's the notes covered.

Carry on to the next subtopic.

Exam questions on Cumulative frequency and box plots

  1. Forty students at a school in Mumbai recorded how long they spent on homework one evening. The cumulative frequencies are: 0 students up to 10 minutes, 5 up to 20 minutes, 10 up to 30 minutes, 20 up to 40 minutes, 30 up to 50 minutes, 38 up to 60 minutes and 40 up to 70 minutes.
    Find the lower quartile, the upper quartile and the interquartile range of the times.2 marks
  2. Two takeaway restaurants, X in Lagos and Y in Cairo, record their delivery times in minutes. Restaurant X: minimum 12, lower quartile 18, median 25, upper quartile 34, maximum 52. Restaurant Y: minimum 15, lower quartile 22, median 26, upper quartile 30, maximum 38.
    A customer needs a delivery within 30 minutes. Use the quartiles to explain which restaurant is more likely to deliver in time.2 marks
  3. A courier in Singapore weighs 50 parcels. The masses mm (in kg) are grouped as follows: 0<m≤20<m\le2: 4 parcels; 2<m≤42<m\le4: 11 parcels; 4<m≤64<m\le6: 17 parcels; 6<m≤86<m\le8: 12 parcels; 8<m≤108<m\le10: 6 parcels.
    Work out the cumulative frequencies and write down the coordinates you would plot on a cumulative frequency graph, starting at (0,0)(0,0).3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).