IGCSE Maths · Area 9 · Statistics

Cumulative Frequency Diagrams

Cumulative frequency is Extended-only content, and it is the part of statistics where the marks come from reading a graph accurately. This page goes from the running total in a table, through plotting the curve at the upper class boundaries, to reading the median, the quartiles, the interquartile range and the number of values above or below any given value. The marks are lost on two things: plotting at the midpoint of a class, and giving a quartile when the question asked for the interquartile range.

Not started

Syllabus coverage

  • Draw and interpret cumulative frequency tables and diagrams (Extended only)
  • Plot cumulative frequency against the upper class boundary of each class
  • Mark the plotted points clearly, for example as small crosses, and join them with a smooth curve
  • Estimate and interpret the median, percentiles, quartiles and interquartile range from a cumulative frequency diagram
  • Use the curve to find the number of values above or below a given value

Part of the IGCSE Maths syllabus 0580.

Cumulative frequency curve for the times taken by 80 students0102030405060020406080Time (minutes)Cumulative frequencyLower quartile = 22 minutesMedian = 32.5 minutesUpper quartile = 45 minutesInterquartile range = 23 minutesThe quartiles and the median are read across from 20, 40 and 60 on the cumulative frequency axis.
A cumulative frequency curve for 80 students, with the median and the quartiles read off.

From a frequency table to a cumulative frequency table

A cumulative frequency is a running total. Start at the top of the table and keep adding: the cumulative frequency against a class is the number of values that fall in that class or in any class before it. If 8 students took up to 10 minutes and another 8 took between 10 and 20 minutes, then the cumulative frequency at 20 minutes is 8+8=16 - sixteen students took 20 minutes or less.

Cambridge writes the classes against an upper boundary, so a cumulative frequency table reads t≤10, t≤20, t≤30 and so on. The last cumulative frequency is always the total number of values, which makes it a free check: if your final figure is not the total given in the question, an addition has gone wrong somewhere above it.

Each entry in the table is a statement about everything so far, not about one class. The 52 written against t≤40 means 52 students took 40 minutes or less; it does not mean that 52 students took between 30 and 40 minutes. To get a single class frequency back out of the table, subtract one cumulative frequency from the next.

Time t (minutes)FrequencyCumulative frequency
0<t≤1088
10<t≤2088+8=16
20<t≤302016+20=36
30<t≤401636+16=52
40<t≤501652+16=68
50<t≤601268+12=80
Total8080
A cumulative frequency column only ever goes up or stays level. If one of your entries is smaller than the one above it, you have subtracted where you should have added.

Plotting the cumulative frequency curve

A cumulative frequency diagram plots the cumulative frequency against the upper class boundary of each class, never the midpoint. For the class 20<t≤30 the point is at t=30, because the cumulative frequency of 36 counts everyone who took 30 minutes or less - and that is a statement about 30, not about 25.

The first point is not at the origin. No values are counted until the end of the first class, so the curve begins at the first upper boundary, which here is (10,8). Some books start at (0,0) when the classes begin at 0 and no value can be negative; if the classes start above 0, start at the first upper boundary instead.

Plot each point as a small cross and join them with a single smooth curve, drawn freehand in one flowing line. Cambridge's own note is that the points should be clearly marked, for example as small crosses, and joined with a smooth curve. The curve rises the whole way across and flattens out as it approaches the total at the right-hand end.

  • Horizontal axis: the variable itself - time in minutes, mass in grams - scaled to the last upper class boundary
  • Vertical axis: cumulative frequency, from 0 up to the total number of values
  • The class 20<t≤30 with cumulative frequency 36 is plotted at (30,36), not at (25,36)
  • The last point is always (last boundary, total): here (60,80)
Plotting at the midpoint of the class is the commonest error in this topic, and it throws every reading out by half a class width. Midpoints belong to frequency polygons, not to cumulative frequency curves.

Reading the median off the curve

The median is the middle value in order. With n values it sits at position n2, so for the 80 students it is the 40th value. Find 40 on the cumulative frequency axis, move horizontally across to the curve, then drop vertically to the horizontal axis and read the value there. For this data the curve gives about 32.5 minutes.

The answer is an estimate read from a graph, so a small range of readings is accepted. Mark schemes for this topic allow roughly ±1 of the value the curve gives, which is why 32 and 33 both score as well as 32.5.

Draw the two guide lines on the diagram even when you can see the answer. A reading taken at n2 is usually worth a mark on its own, and a bare number with no lines drawn can lose it. The guide lines also make it obvious to an examiner that a slightly different reading is a reading rather than a guess.

  • Median position: n2
  • Lower quartile position: n4
  • Upper quartile position: 3n4
  • For n=80: the median is the 40th value, the lower quartile the 20th and the upper quartile the 60th
A cumulative frequency curve is always read across and then down: across from the cumulative frequency to the curve, down from the curve to the horizontal axis.

The quartiles and the interquartile range

The lower quartile is the value one quarter of the way up the ordered list, at position n4, and the upper quartile is three quarters of the way up, at position 3n4. For the 80 students those are the 20th and 60th values, which the curve turns into about 22 minutes and about 45 minutes.

The interquartile range is the upper quartile minus the lower quartile: 45−22=23 minutes. It measures the spread of the middle half of the data, so it takes no notice of the extreme values at either end.

That is exactly why the interquartile range is the more useful measure when the data contains one unusually large or unusually small value. A single student who took 58 minutes stretches the range out to nearly an hour, while the interquartile range barely moves, because that student sits above the upper quartile and is not part of the middle half.

MeasurePosition in the listRead from the curve
Lower quartilen4=20about 22 minutes
Mediann2=40about 32.5 minutes
Upper quartile3n4=60about 45 minutes
Interquartile rangeupper quartile minus lower quartile45−22=23 minutes
The interquartile range can never be larger than the range, because both quartiles are values inside the data. If your interquartile range comes out bigger than the range, you have read one of the quartiles off the wrong axis.

How many values lie above or below a given value

Reading from a value on the horizontal axis up to the curve and across to the vertical axis gives the number of values at or below that value. The number above it is the total minus that reading, because every value is either at or below the value or above it.

For the 80 students, the curve passes through (40,52), so 52 students took 40 minutes or less and 80−52=28 took more than 40 minutes. When the value you are asked about is one of the class boundaries, the curve gives it exactly and there is no estimation to do at all.

If the value sits inside a class, read the curve where the value cuts it and expect an answer within about 1 or 2 of the exact figure. Do not try to find a class frequency and add it on: the question is about a single point on the horizontal axis, and the curve answers it directly.

  • Number who took 40 minutes or less: read the curve at 40, which gives 52
  • Number who took more than 40 minutes: 80−52=28
  • Number who took 30 minutes or less: 36, straight from a plotted point
  • Number who took more than 30 minutes: 80−36=44

Percentiles, and comparing two distributions

A percentile is the value below which a given percentage of the data lies. The median is the 50th percentile, the lower quartile the 25th and the upper quartile the 75th. To read the 90th percentile of the 80 students, work out 90100×80=72 first, find 72 on the cumulative frequency axis, move across to the curve and read down.

Two cumulative frequency curves drawn on the same axes can be compared straight off the page. The curve that sits further to the right has larger values, so its median is higher. The curve that rises more steeply through the middle has less spread, so its interquartile range is smaller.

When a question asks which set of data is more consistent, or more reliable, or less variable, the answer is the one with the smaller interquartile range - and the reason has to be given in those words. Naming the group earns one mark out of two; saying that its interquartile range is smaller, so the middle half of its values is closer together, earns both.

Compare two distributions with the median and the interquartile range together, not with either one alone. Two groups can share a median and be wildly different in spread, and noticing that is usually what the question is for.

Key terms you must be able to define

Cumulative frequency
The running total of the frequencies: the number of values in a class and in every class before it.
Cumulative frequency table
A frequency table with an extra column holding the running total, written against the upper boundary of each class.
Upper class boundary
The largest value that belongs to a class, written on the right of the class interval, such as 30 in 20<t≤30.
Cumulative frequency curve
The smooth curve drawn through the points plotted with cumulative frequency against the upper class boundary. Also called an ogive.
Ogive
Another name for a cumulative frequency curve.
Median
The middle value of the ordered data, at position n2. Read from a curve by going across from the halfway cumulative frequency to the curve and down to the horizontal axis.
Quartile
One of the three values that split the ordered data into four equal parts: the lower quartile, the median and the upper quartile.
Lower quartile
The value at position n4, below which one quarter of the values lie.
Upper quartile
The value at position 3n4, below which three quarters of the values lie.
Interquartile range
The upper quartile minus the lower quartile. It measures the spread of the middle half of the data.
Percentile
The value below which a given percentage of the data lies. The median is the 50th percentile.
Range
The largest value minus the smallest value.
Smooth curve
A single freehand curve drawn through the plotted points, rising steadily and flattening as it approaches the total.
Estimate
A value read from a graph rather than calculated, so a small range of answers is accepted by the mark scheme.

In context

Cambridge sets 0580 in real situations - a recipe, a bank statement, a map, a garden, a graph of a car's journey. These show how the mathematics appears in a question, then you write your own working for the numbers you are given.

Reading the median

The 80 students' cumulative frequencies are 8, 16, 36, 52, 68 and 80 against the boundaries 10, 20, 30, 40, 50 and 60 minutes. The median is at position 802=40. Across from 40 on the cumulative frequency axis the curve is at about 32.5 minutes, so the median is about 32.5 minutes.

The quartiles and the interquartile range

The lower quartile is at position 804=20, which the curve puts at about 22 minutes. The upper quartile is at position 3×804=60, which the curve puts at about 45 minutes. The interquartile range is 45−22=23 minutes.

More than a given time

At 40 minutes the curve reads 52, so 52 of the 80 students took 40 minutes or less. The number who took more than 40 minutes is 80−52=28. A question that asks for 'more than' always ends in a subtraction from the total.

A percentile

The 90th percentile of the times is 52 minutes. That means 90% of the students took 52 minutes or less: 90100×80=72 students, and the remaining 8 took longer.

Comparing two groups

Group A has a median of 32.5 minutes and an interquartile range of 23 minutes. Group B has a median of 29 minutes and an interquartile range of 11 minutes. Group B is the more consistent of the two, because the middle half of its times is spread over only 11 minutes, against 23 minutes for Group A.

Flashcards

Click a card to flip it. Mark honestly — the tracker uses this.

Q1What is plotted on the horizontal axis of a cumulative frequency diagram?
The upper class boundary of each class, not the midpoint.
Q2What is plotted on the vertical axis of a cumulative frequency diagram?
The cumulative frequency, running from 0 up to the total number of values.
Q3How is a cumulative frequency calculated?
Add each class frequency to the running total. The last entry must equal the total number of values.
Q4At what position in the ordered list is the median?
Position n/2. For 80 values that is the 40th value.
Q5At what positions are the lower and upper quartiles?
n/4 and 3n/4. For 80 values that is the 20th and the 60th.
Q6How do you find the interquartile range?
Upper quartile minus lower quartile.
Q7What does the interquartile range measure?
The spread of the middle half of the data, so it is not affected by extreme values at either end.
Q8How do you find the number of values above a given value?
Read the curve at that value to get the number at or below it, then subtract that from the total.
Q9What is the 90th percentile?
The value below which 90% of the data lies. Read the curve at 90% of the total frequency.
Q10Which percentiles are the median and the two quartiles?
The median is the 50th percentile, the lower quartile the 25th and the upper quartile the 75th.
Q11How are the plotted points on a cumulative frequency diagram joined?
With a single smooth freehand curve, with each point marked clearly, for example as a small cross.
Q12Group A has median 32.5 and interquartile range 23; Group B has median 29 and interquartile range 11. Which is more consistent?
Group B, because its interquartile range is smaller, so the middle half of its values is closer together.
Q13Why is the interquartile range often more useful than the range?
The range uses only the largest and smallest values, so one unusual value distorts it. The interquartile range uses the middle half of the data.
Q14The last cumulative frequency in a table for 80 values is 68. What has gone wrong?
An addition in the running total is wrong. The last cumulative frequency must equal the total, which is 80.
0 of 14 marked as known

Exam-style questions

7 questions, 16 marks. Write your answer, then reveal the mark scheme and tick each point you actually made. Answering honestly here is what makes the rest of the site useful.

Write downAO12 marks
The times taken by 80 students to complete a puzzle have cumulative frequencies t≤10: 8, t≤20: 16, t≤30: 36, t≤40: 52, t≤50: 68 and t≤60: 80, where t is in minutes. Write down the number of students in the class 30<t≤40 and the number of students in the class 50<t≤60.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B152−36=16 students in 30<t≤40not checked yet
  • B180−68=12 students in 50<t≤60not checked yet
Examiner tip: A cumulative frequency tells you how many values are at or below a boundary. To recover one class, subtract the cumulative frequency of the class before it.
CalculateAO23 marks
The cumulative frequency curve for the 80 students is drawn through the points (10,8), (20,16), (30,36), (40,52), (50,68) and (60,80). Estimate the median time and the interquartile range from the curve.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A1median ≈32.5 minutes and interquartile range ≈45−22=23 minutesnot checked yet
Examiner tip: Find the position on the cumulative frequency axis first, then go across to the curve and down to the axis. A reading within 1 minute of these values is accepted.
CalculateAO22 marks
For the same 80 students, the cumulative frequency curve passes through the point (40,52), where 40 is in minutes. Calculate the number of students who took more than 40 minutes.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A180−52=28not checked yet
Examiner tip: The curve gives the number at or below the value. Subtract from the total to get the number above it.
Work outAO23 marks
A second class of 60 students sat the same puzzle. Their cumulative frequency curve has a median of 34 minutes and a lower quartile of 21 minutes. Work out the number of students in this class who took between 21 and 34 minutes.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • M1
  • A130−15=15 studentsnot checked yet
Examiner tip: The lower quartile and the median cut off the first quarter and the first half of the data, so the values between them are one quarter of the total.
StateAO22 marks
Group A has a median time of 32.5 minutes and an interquartile range of 23 minutes. Group B has a median time of 29 minutes and an interquartile range of 11 minutes. State, with a reason, which group's times are more consistent.

Mark scheme — tick each point you actually made

  • B1
  • B1
Examiner tip: 'More consistent' means less spread, and the measure of spread being quoted here is the interquartile range. Naming the group earns one mark and the reason earns the other.
StateAO11 mark
The 90th percentile of the times of the 80 students is 52 minutes. State the number of students whose time was 52 minutes or less.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • B190100×80=72 studentsnot checked yet
Examiner tip: A percentile is a percentage of the total frequency, so 90% of 80 is 72. The other 8 students took longer than 52 minutes.
ConstructAO13 marks
The frequency table for the 80 students is 0<t≤10: 8, 10<t≤20: 8, 20<t≤30: 20, 30<t≤40: 16, 40<t≤50: 16 and 50<t≤60: 12, where t is in minutes. Construct the cumulative frequency table, and state the number of students who took more than 30 minutes.
Write a number, a fraction such as 3/4, or an expression such as 3x+2.

Mark scheme — tick each point you actually made

  • M1
  • A1
  • A180−36=44 students took more than 30 minutesnot checked yet
Examiner tip: Check the last cumulative frequency against the total of 80 before you use the table. The number above a boundary is the total minus the cumulative frequency at that boundary.

Exam technique for this topic

  • Plot at the upper class boundary, never at the midpoint. Write the boundaries out as a row first, so that the midpoint is not the number sitting in front of you when you come to plot.
  • Build the cumulative frequency column before you draw anything, and check that its last entry equals the total. Every reading you take from the curve depends on that column being right, and a single addition error moves the whole curve.
  • Draw the guide lines for the median and for both quartiles on the diagram. They usually earn a mark of their own, and they show that an unusual reading was taken from the graph rather than guessed.
  • Give the answer with its unit, to the accuracy the graph supports - the nearest minute, or the nearest 0.5 of a unit. An answer of 32.5473 cannot have been read from a curve and reads as though it came out of a calculator.
  • When the question says 'estimate', any reading within about 1 of the mark scheme's figure scores. When it asks about a value that is one of the class boundaries, no estimation is involved and the answer is exact.

Why students lose marks here

A student wroteI plotted each cumulative frequency at the midpoint of its class.
Why it loses marksThe cumulative frequency for 20<t≤30 counts everyone who took up to 30 minutes, so it belongs at 30, the upper class boundary. Plotting at 25 shifts the curve half a class width to the left and every reading comes out too low.
The answer that scoresPlot the point at the upper class boundary: (30,36), not (25,36).
A student wroteThe median is 30 minutes, because the median is in the class 20<t≤30.
Why it loses marksNaming the class the median falls in is not the median. The question asks for a value, read from the curve at position 40, and that value is about 32.5 minutes.
The answer that scoresRead across from 40 on the cumulative frequency axis to the curve and down to the horizontal axis, giving about 32.5 minutes.
A student wroteThe interquartile range is 45 minutes.
Why it loses marks45 minutes is the upper quartile. The interquartile range is a difference between two quartiles, not a value from the curve, so 45 on its own is only half of the answer.
The answer that scoresInterquartile range =45−22=23 minutes.
A student wrote28 students took 40 minutes or less, because 52 is the number who took more than 40 minutes.
Why it loses marksThe curve reads 52 at 40 minutes, and that reading is the number at or below 40 minutes. The 28 is what is left over, so the two numbers have been swapped round.
The answer that scores52 students took 40 minutes or less, and 80−52=28 took more than 40 minutes.
A student wroteI joined the plotted points with straight lines using a ruler.
Why it loses marksThe syllabus asks for a smooth curve. A series of straight segments changes the readings, and the biggest changes are in the middle of the data - exactly where the median and the quartiles are taken.
The answer that scoresDraw one freehand smooth curve through the points, rising steadily and flattening towards the total at the right-hand end.