Cumulative Frequency Diagrams and Histograms Extended only
This entire note is Extended-only, and it’s the final note of the whole course. Cumulative frequency diagrams reveal the spread of grouped data — the median, quartiles, and interquartile range — while histograms show the true shape of a distribution, even when class widths aren’t equal.
1. Building a Cumulative Frequency Table
A cumulative frequency table runs a “so far” total alongside each class’s upper boundary.
| Score | Frequency | Cumulative Frequency |
|---|---|---|
| 0–20 | 4 | 4 |
| 20–40 | 10 | 14 |
| 40–60 | 20 | 34 |
| 60–80 | 12 | 46 |
| 80–100 | 4 | 50 |
2. Drawing a Cumulative Frequency Diagram
Plot each point at the upper boundary of its class, against the cumulative frequency — then join with a smooth curve (an “ogive”), always starting from (lowest boundary, 0).
3. Estimating the Median, Quartiles and IQR
Median position: 50/2 = 25th value. Reading across from 25 to the curve, then down: median ≈ 51
Lower quartile position: 50/4 = 12.5th value → Q1 ≈ 37
Upper quartile position: 3(50)/4 = 37.5th value → Q3 ≈ 65.8
Interquartile range = Q3 − Q1 = 65.8 − 37 = 28.8
- A cumulative frequency diagram has n=80. Find the positions (not values) used to estimate the median, Q1, and Q3.
- Using a diagram, the median position gives a reading of 42, Q1 gives 28, and Q3 gives 58. Find the interquartile range.
Show answers
- Median: 80/2=40th value. Q1: 80/4=20th value. Q3: 3(80)/4=60th value
- 58−28 = 30
4. Percentiles
A percentile works the same way as a quartile, but divides the data into 100 parts instead of 4. The kth percentile is found at position (k/100) × n.
Position: (90/100) × 50 = 45th value. Reading across from 45 on the cumulative frequency axis to the curve, then down to the score axis gives an estimate of approximately 78.
- Find the position used to estimate the 20th percentile, for n=200.
- Find the position used to estimate the 60th percentile, for n=150.
Show answers
- (20/100)×200 = 40th value
- (60/100)×150 = 90th value
5. Histograms with Equal Class Widths
When all classes have the same width, a histogram looks just like a bar chart — except the bars touch, since the horizontal axis represents a continuous scale with no gaps between classes.
6. Histograms with Unequal Class Widths — Frequency Density
When class widths differ, using raw frequency for the bar height would be misleading (a wide class could look artificially tall just because it covers more ground). Instead, histograms always plot frequency density on the vertical axis.
0–10: 8÷10 = 0.8 10–20: 12÷10 = 1.2 20–40: 18÷20 = 0.9 40–70: 15÷30 = 0.5 70–90: 4÷20 = 0.2
Each bar’s width matches its class width, and its height is the frequency density — so the bar’s area represents the frequency, not the height alone.
Frequency = frequency density × class width = 0.6 × 15 = 9
- A class has frequency 24 and width 8. Find the frequency density.
- A histogram bar has frequency density 1.5 and width 12. Find the frequency.
- A class 30–50 has frequency 16. Find its frequency density.
Show answers
- 24÷8 = 3
- 1.5×12 = 18
- Width = 50−30 = 20. Density = 16÷20 = 0.8
7. Estimating the Mean, Median and Mode from Grouped Data
These use the same estimation methods from the earlier Statistics note — midpoints for the mean, the modal class for the mode — but now you may need to first recover frequencies from a histogram’s frequency densities before calculating.
Modal class: the tallest bar (highest frequency density, not frequency) is 10–20 (density 1.2) — this is the modal class, since it represents the most concentrated group of ages.
Estimated mean: using midpoints 5, 15, 30, 55, 80 with frequencies 8, 12, 18, 15, 4 (total 57):
Mean = (8×5 + 12×15 + 18×30 + 15×55 + 4×80) ÷ 57 = (40+180+540+825+320)/57 = 1905/57 = 33.4 (3 s.f.)
- Explain why the modal class is identified using frequency density, not raw frequency, when class widths are unequal.
- A histogram has classes 0–20 (density 0.4), 20–30 (density 1.1), 30–50 (density 0.3). Find the frequency for each class, then find the total frequency.
Show answers
- A wider class can have a high raw frequency just because it covers more ground, without actually being densely packed — frequency density corrects for this by showing concentration per unit width, which is what “most common” really means.
- 0–20: 0.4×20=8. 20–30: 1.1×10=11. 30–50: 0.3×20=6. Total=8+11+6=25
- Plotting cumulative frequency against the class midpoint instead of the upper boundary.
- Forgetting the cumulative frequency curve must start at (lowest boundary, 0), not at the first plotted data point.
- Using n (not n/2, n/4, or 3n/4) directly as the position when reading off the median or quartiles.
- Plotting raw frequency instead of frequency density on a histogram with unequal class widths — this badly distorts the shape of the distribution.
- Identifying the modal class using bar height on a bar chart-style read, without checking whether the histogram actually has equal class widths first.
8. Quick-Fire Challenge Round
- Cumulative frequency points are plotted at the upper boundary of each class.
- The median position on a cumulative frequency diagram is found at n/2.
- A histogram’s bars always have the same width.
- Frequency density = frequency × class width.
Show answers
- True.
- True.
- False — histogram bar widths can differ, representing different class widths; that’s exactly why frequency density is needed.
- False — frequency density = frequency ÷ class width, not multiplied.
- “For n=60, the median position is found at 60.”
- “A class 20–50 has frequency 12, so its frequency density is 12×30=360.”
- “A histogram’s tallest bar always has the highest frequency.”
Show answers
- Median position is n/2, not n itself: 60/2 = 30th value.
- Frequency density = frequency ÷ class width, not multiplied: 12÷30 = 0.4, not 360.
- Not necessarily — the tallest bar has the highest frequency density; if class widths differ, a shorter, wider bar could represent a larger actual frequency.
9. Mixed Practice — Bringing It All Together
- A cumulative frequency table gives n=120. Find the positions for the median, Q1, and Q3.
- A class has frequency 21 and width 7. Find the frequency density.
- A histogram bar has frequency density 2.4 and width 5. Find its frequency.
- Using the age histogram from Section 6, identify the modal class.
Show answers
- Median: 60th value. Q1: 30th value. Q3: 90th value
- 21÷7 = 3
- 2.4×5 = 12
- 10–20 (highest frequency density, 1.2)
Practice at Home
A final large set to close out the entire course — take it steadily.
- A table has class frequencies 6, 14, 22, 10, 8. Find the cumulative frequency for each class, and state n.
- For the n found in question 1, find the positions for the median, Q1, and Q3.
- A diagram gives a median reading of 46, Q1 of 32, and Q3 of 61. Find the interquartile range.
- Find the position used to estimate the 75th percentile, for n=160.
- Find the position used to estimate the 10th percentile, for n=90.
- A class 0–15 has frequency 18. Find its frequency density.
- A class 40–100 has frequency 24. Find its frequency density.
- A histogram bar has frequency density 0.9 and width 20. Find its frequency.
- A histogram bar has frequency density 3.2 and width 5. Find its frequency.
- A grouped table has classes 0–20 (f=10, midpoint 10), 20–30 (f=15, midpoint 25), 30–60 (f=12, midpoint 45). Find the estimated mean.
- Using the same data, identify the modal class by frequency density (class widths are 20, 10, 30 respectively).
- A school’s cumulative frequency diagram for exam scores (n=200) gives Q1=45, median=58, Q3=72. Find the interquartile range, and explain what this value tells you about the spread of the middle 50% of scores.
- A histogram has classes 0–10 (density 0.5), 10–25 (density 1.4), 25–30 (density 0.8). Find the total number of data values represented across all three classes.
- Explain why a histogram with unequal class widths would give a misleading picture of the data if frequency (instead of frequency density) were plotted directly on the vertical axis — use a specific example with numbers to illustrate your point.
Key Vocabulary Recap
Syllabus Reference
Book a free trial class
Tell us a little about your requirement.