Cumulative Frequency Diagrams and Box Plots | Analysis and Approaches IB Maths notes
Free preview: Cumulative Frequency Diagrams and Box Plots
Cumulative Frequency Diagrams
Analysis and approaches and Applications and interpretation: SL and HL (common content, SL 4.2)
In the last notes you found the median of grouped data by calculation. That works, but every new question (the 30th value, the 90th percentile, how many under 15 cm?) needs a new calculation. What if one graph could answer them all? Let's build it.
- Cumulative frequency is a running total of the frequencies.
- It tells you how many values are less than a given value.
- A cumulative frequency diagram plots these running totals. From it you can read the median, quartiles and percentiles of grouped data.
Example. The lengths of 80 leaves were measured.
| Length, l (cm) | |||||
|---|---|---|---|---|---|
| Frequency | 6 | 14 | 28 | 22 | 10 |
| Cumulative frequency | 6 | 20 | 48 | 70 | 80 |
| Plot at l = | 4 | 8 | 12 | 16 | 20 |
Recipe: drawing the diagram
- Add a cumulative frequency row: keep adding the frequencies. Why: each total is how many values lie below the end of that class.
- Plot each total at the upper class boundary. Why: 6 leaves are shorter than 4 cm, and we only know that once we reach 4 cm. So plot (4, 6).
- Start at (lower boundary, 0): here (0, 0), since no leaf is shorter than 0 cm.
- Join the points with straight lines (or a smooth curve). Straight lines give the same answers as linear interpolation.

Following the graph
- Each cumulative frequency is plotted at the upper class boundary: (4, 6), (8, 20), (12, 48), (16, 70), (20, 80), after starting at (0, 0).
- n = 80, so read across at 80 ÷ 4 = 20, 80 ÷ 2 = 40 and 3 × 80 ÷ 4 = 60, then down to the length axis.
- cm, median ≈ 10.9 cm, cm. So the IQR ≈ 14.2 − 8.0 = 6.2 cm.

What the picture shows
- On the right, the points sit at the upper ends of the classes, starting with (4, 6). The median reads as 10.9 cm.
- On the left, the same totals are plotted at the midpoints, so the curve sits 2 cm too far left and the median comes out at 8.9 cm.
- A running total is only complete at the end of its class, so always plot at the upper class boundary.
👀 Watch me do it: check the graph's median by calculation
| What I write | Why I do it |
|---|---|
| Median position: . | n ÷ 2 for grouped data. |
| 40 lies between 20 (at 8 cm) and 48 (at 12 cm). | So the median is in . |
| cm | The straight line between the points does exactly this calculation. |
| Matches the graph. | A quick check like this catches a misread scale. |
📝 Common mistakes
Plotting at the midpoint instead of the upper boundary is the most common error. Also, read the question: "how many leaves are longer than 15 cm?" means read the graph at 15 cm and then subtract from 80.
✏️ YOUR TURN 1
Try this first:
The heights of 50 plants are grouped: 0–10 cm: 4, 10–20: 11, 20–30: 20, 30–40: 10, 40–50: 5 (classes ). (a) List the points to plot. (b) Estimate the median and quartiles using straight lines between the points.
Answer:
- (a) Cumulative: 4, 15, 35, 45, 50. Points (0, 0), (10, 4), (20, 15), (30, 35), (40, 45), (50, 50).
- (b) Median: position 25, between 15 and 35: cm.
- : position 12.5: cm. : position 37.5: cm.
Box Plots
A cumulative frequency graph holds a lot of information. Often we only want five key numbers, drawn so we can see the shape at a glance. That's a box plot.
- A box plot (box-and-whisker diagram) is a picture of the five-number summary: smallest value, , median, and largest value.
- It is drawn against a scale, like a number line.
- The box runs from to , with a line at the median.
- So the box holds the middle 50% of the data, and its length is the IQR.
- The whiskers run from the box out to the smallest and largest values that are not outliers.
- Any outlier (an unusually extreme value) is marked separately with a cross.
- The IB rule for outliers: more than 1.5 × IQR below Q₁ or above Q₃ (see the outliers note).
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Collecting and summarising data (SL 4.1–4.3)
- Populations, Samples and the Census: Why We Sample
- Random Sampling Methods: Simple Random, Systematic and Stratified
- Quota, Opportunity, Cluster and Self-Selected Samples, and Choosing a Method
- Types of Data and the Mean, Median and Mode
- Grouped Data: Estimating the Mean, Median, Quartiles and Percentiles
- Measuring Spread: Range, Interquartile Range, Variance and Standard Deviation
- Cumulative Frequency Diagrams and Box Plots
- Histograms, Frequency Density and the Shape of a Distribution
- Outliers, Cleaning Data and Choosing How to Present It
- Coding Data: Linear Changes to the Mean and Standard Deviation
What's inside for this topic
10 teacher notes, 74 practice questions, 39 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Measuring Spread: Range, Interquartile Range, Variance and Standard Deviation Next note: Histograms, Frequency Density and the Shape of a Distribution