Skip to content
Marlbridge

Revision Notes

Cambridge O Level Statistics: Frequency polygons and histograms (4040) – Revision Notes

Condensed revision notes on frequency polygons, histograms and frequency density for Cambridge O Level Statistics, with a quick self-test and answers.

Subject
Statistics
Level
O LEVELS
Topic
Frequency polygons and histograms
Updated

Aligned to Cambridge O Level Statistics (4040), For examination in 2025-2027. Official specification .

Syllabus page (what it covers and how it is assessed): Cambridge O Level Statistics.

Syllabus points this page covers

4040

  • 3.2 Representation in frequency polygons and histograms

Found an error? Report a correction.

Need help with this topic? Request a free trial class for O Level Statistics (4040).

These notes condense section 3.2, representation in frequency polygons and histograms, of the Cambridge O Level Statistics (4040) syllabus for examination in 2025, 2026 and 2027. For full explanations and longer worked examples read the study guide; then test yourself with the practice set. Course pages: the Cambridge O Level Statistics hub and the printable checklist. If you are unsure which topics need most work, try the free 10-minute diagnostics.

Key facts at a glance

Item Rule
Boundary (whole-number classes such as 15–19) 14.5 and 19.5
Boundary (classes such as 15 ≤ x < 20) 15 and 20
Class width Upper boundary − lower boundary
Midpoint (Lower boundary + upper boundary) ÷ 2
Frequency density Frequency ÷ class width
Frequency of a bar Frequency density × class width (the bar’s area)
Polygon points (midpoint, frequency), plus a zero point either side
Histogram bars Touch each other, drawn on boundaries

Frequency polygon: method in steps

  1. Write the midpoint of every class.
  2. Add the empty class before the first and after the last, each with frequency 0, and find their midpoints.
  3. Plot (midpoint, frequency) for all of them.
  4. Join with straight lines using a ruler. No curves.
  5. Label axes, with units, and give a title.

Use a polygon to compare two distributions on one pair of axes. If the samples differ in size, compare proportions, not raw frequencies.

Worked reminder

Distance d (km) 0 ≤ d < 2 2 ≤ d < 4 4 ≤ d < 6 6 ≤ d < 8
Frequency 7 16 11 4

Midpoints 1, 3, 5, 7. Empty classes before and after have midpoints −1 and 9. Plot:

(-1, 0)  (1, 7)  (3, 16)  (5, 11)  (7, 4)  (9, 0)

The first zero point can fall at a negative value when the data start at 0. That is allowed; it is only a closing point.

Histogram, equal widths: method in steps

  1. Convert the classes to boundaries.
  2. Mark the boundaries on a continuous horizontal axis.
  3. Draw bars from boundary to boundary with no gaps.
  4. Make each height the frequency. Label the vertical axis “Frequency”.

Histogram, unequal widths: method in steps

  1. Find each class width from the boundaries.
  2. Divide frequency by width to get frequency density.
  3. Draw each bar from boundary to boundary at that height.
  4. Label the vertical axis “Frequency density” with its unit, for example “pupils per km”.

Worked reminder

Distance travelled to school by 108 pupils:

Distance (km) 0–<1 1–<2 2–<4 4–<8
Frequency 20 34 30 24
Width 1 1 2 4
Frequency density 20 34 15 6

The 4–<8 class has 24 pupils, but its bar is only 6 high, because those pupils are spread across 4 km. Check: 20 + 34 + 30 + 24 = 108.

Reading from a histogram

To find Do this
Frequency in a bar Density × width
Total Add all the bar areas
Modal class Class with the greatest frequency density
Frequency in part of a class Density × the part of the width wanted (assumes even spread, so it is an estimate)
Missing bar Total − known frequencies, then ÷ width for the height
Height from a scale Find density per cm from a bar you know, then scale

From the table above, estimate how many pupils travel under 3 km:

0 to 2 km:  20 + 34 = 54
2 to 3 km:  1 × 15  = 15
Estimate:   54 + 15 = 69 pupils

Two more worked reminders

Missing bar

A histogram of 90 items has three bars: 0–<5 with density 4, 5–<15 with density 3.2, and a third bar over 15–<30 whose height is unknown. Find the height.

0–<5:    4 × 5   = 20
5–<15:   3.2 × 10 = 32
Third:   90 − 20 − 32 = 38
Height:  38 ÷ 15 = 2.53 (3 s.f.)

Keep the height as a fraction (38/15) in later working if you need it, and round only the final answer.

Comparing two groups with different sizes

Group P has 50 items and group Q has 200. In the class 10–<20, P has 10 and Q has 60.

P: 10 ÷ 50  = 0.20 (20%)
Q: 60 ÷ 200 = 0.30 (30%)

Q has the larger proportion in that class even though both counts are different sizes. On a polygon, plotting proportions puts the two lines on a fair footing.

Wording to use in answers

  • “Frequency density = frequency ÷ class width” before any calculation, so the method is visible.
  • “Area of bar = frequency” when reading a frequency from a histogram.
  • “Assuming the values are evenly spread within the class” when estimating for part of a class.
  • “The modal class is the one with the greatest frequency density” for unequal widths.
  • “Midpoints are used because each class is represented by its central value.”

Polygon versus histogram: must-know distinctions

  • Polygon: points at midpoints, joined by straight lines. Histogram: bars on boundaries.
  • Histogram bars touch; bar-chart bars are separate. Histograms are for continuous or grouped data on a number line.
  • Equal widths: height = frequency. Unequal widths: height = frequency density, area = frequency.
  • Height of a bar is not the number of items when widths are unequal. The area is.
  • Class limits are the printed values; class boundaries remove the gaps. Use boundaries for widths and bars.
  • Modal class in a histogram: highest density, not necessarily highest frequency.

Checklist before you hand in a diagram

  • Horizontal axis has an even scale, and the first and last values you need are marked.
  • Polygon points sit exactly above midpoints, not above limits.
  • Polygon starts and ends on the horizontal axis.
  • Histogram bars share edges, and every edge is a boundary.
  • Vertical axis says what it measures and gives units.
  • For unequal widths, total of density × width equals the total frequency in the table.
  • Your estimates are labelled as estimates.

Quick self-test

  1. A class is written 15–19 (whole numbers). State its boundaries and midpoint.
  2. What is the midpoint of the class 2.0 ≤ x < 2.5?
  3. A polygon is drawn for classes 20–<30, 30–<40, 40–<50, 50–<60 and 60–<70. At which two x-values are the zero-frequency points plotted?
  4. A class 15 ≤ x < 25 has frequency 35. Find its frequency density.
  5. A class 5 ≤ x < 8 has frequency density 4. Find its frequency.
  6. A bar of width 20 has height 0.65 on a frequency density axis. What frequency does it represent?
  7. The class 10 ≤ x < 20 has frequency 30. Estimate how many items lie between 10 and 14, assuming an even spread.
  8. Class A has width 10 and frequency 24. Class B has width 5 and frequency 15. Which has the greater frequency density, and which is the modal class of the two?
  9. Should the bars of a histogram of continuous data have gaps between them?
  10. A histogram has a bar for 0–<2 of density 6 and a bar for 2–<6 of density 3.5. Find the total frequency of the two bars.
  11. Why are polygon points plotted at midpoints and not at class limits?
  12. Two samples have 40 and 120 items. Why can the second polygon look much taller even if the distributions are alike?

Answers

  1. Boundaries 14.5 and 19.5, midpoint 17.
  2. 2.25.
  3. At x = 15 and x = 75.
  4. Width 10, so 35 ÷ 10 = 3.5.
  5. Width 3, so 4 × 3 = 12.
  6. 0.65 × 20 = 13.
  7. 4 × (30 ÷ 10) = 12.
  8. A: 24 ÷ 10 = 2.4. B: 15 ÷ 5 = 3. B has the greater density, so B is the modal class of the two.
  9. No. Continuous classes meet at their boundaries, so the bars touch.
  10. 6 × 2 = 12 and 3.5 × 4 = 14, so the total is 26.
  11. The midpoint stands for the whole class; a limit would be at one end of it and shift the shape.
  12. The larger sample has more items in every class. Compare proportions instead.

Where marks are usually lost

  • Using printed limits for whole-number classes instead of boundaries, so widths and midpoints are wrong.
  • Forgetting the two closing points of a polygon, or joining them with a curve.
  • Drawing histogram bars with gaps, or bars that do not start and end at boundaries.
  • Using frequency as height for unequal widths, so the wide classes look the biggest.
  • Labelling the vertical axis “Frequency” when it is frequency density.
  • Calling a tall bar “the biggest class” without checking its width.
  • Giving an estimate for part of a class as an exact count.
  • Dividing by the count of whole numbers in a class label (10 for 30–39 is right, but 9 from 39 − 30 is wrong) instead of the boundary width.
  • Leaving off a title, axis labels or units, so the diagram does not communicate on its own.

Official syllabus

Cambridge O Level Statistics 4040, syllabus for examination in 2025, 2026 and 2027, published by Cambridge University Press & Assessment. These notes follow section 3.2.

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.

Subjects (optional, up to 6)

Choose a qualification to see its subjects.

Related resources

Related articles

Studying this with a teacher

Working through Statistics O LEVELS?

This page is free and stays free. If you would rather be taught it, Marlbridge runs Statistics classes one-to-one and in small groups of up to 15, online in your own time zone. The first trial class is free. WhatsApp replies within an hour (8am–11pm Pakistan time, every day); email the same day.