IGCSE / O LEVEL · MATHEMATICS · LESSON 9.7

Histograms and frequency density

Build understanding through illustrated explanations, independent practice and worked solutions.

Unit 09 · Statistics5 learning modulesIGCSE Extended / O Level
UNDERSTAND

Learn the idea. Explain the method.

20 illustrated learning pages connect explanations, worked examples and short independent checks.

Download learning sheet PDF ↓
01Compare area with bar height

Further study — Extended / O Level. Explain the need for density when class widths differ and connect rectangle area to frequency.

Use the rectangle area for a count

On a density histogram, frequency equals class width multiplied by frequency density. The tallest bar has the greatest density; it need not contain the most observations when widths differ. Calculate areas before comparing class frequencies. Use both calibrated axes.

Worked example

The four frequencies are width×density=[16, 48, 24, 64]. The last class has area 16×4=64, the greatest count. The second bar is tallest but has only 48 observations; height measures density.

Height alone does not count observations

A wide, shorter bar can have a larger area than a narrow, taller one.

Read areas on the calibrated histogram

Check your understanding

Which class contains the greatest number of observations? Calculate its frequency and explain why choosing the tallest bar would give the wrong class.

Read areas on the calibrated histogram
02Explain equal-height unequal-area bars

Further study — Extended / O Level. Explain the need for density when class widths differ and connect rectangle area to frequency.

Equal heights can have unequal frequencies

Bars at the same density have equal height, but their frequencies depend on width. Compare width times height. If one equally tall rectangle is four times as wide, it has four times the area and therefore four times the frequency.

Worked example

Both densities are 4. First frequency=4×4=16; last=16×4=64. The last class is four times as wide, so its area and frequency are four times as large.

Compare areas on the same scales

Equal-height reasoning is valid only after checking that both bars share the same calibrated axes.

Read areas on the calibrated histogram

Check your understanding

The first and last bars have equal heights. Calculate both frequencies and their ratio(last: first). Explain why equal heights do not mean equal numbers of observations.

Read areas on the calibrated histogram
03Calculate density from class width

Further study — Extended / O Level. Divide frequency by class width and keep the horizontal/vertical scales consistent.

Divide by the actual class width

Subtract the lower boundary from the upper boundary to find class width. Frequency density equals frequency divided by this width. Calculate each class separately, especially where widths differ. Density units are observations per measurement unit.

Worked example

Use frequency÷class width: 16/0.4=40, 48/0.8=60, 24/1.2=20, 64/1.6=40. Units are observations per measurement unit. Each reverse product density×width recovers its class frequency.

Do not reverse the operation

Multiplying frequency by width does not produce frequency density.

Correct density = frequency / width

Check your understanding

Calculate the frequency density for every class. State the units of frequency density.

Complete the density column
04Correct multiplication instead of division

Further study — Extended / O Level. Divide frequency by class width and keep the horizontal/vertical scales consistent.

Audit a density calculation

A student may incorrectly multiply a class frequency by its width. Recalculate width from the boundaries, then divide frequency by width. Check the units: observations divided by measurement units gives observations per unit. The completed histogram must use the corrected densities.

Worked example

Use frequency÷class width: 16/4=4, 48/8=6, 24/12=2, 64/16=4. Units are observations per measurement unit. The student multiplied when division was required; their values have the wrong units.

Use a reverse check

Multiply each corrected density by its width to recover the original frequency.

Correct density = frequency / width

Check your understanding

The student calculated each density by multiplying frequency by width. Correct all four densities, explain the error and state the correct density units.

Student proposal — wrong density operation
05Construct unequal-width bars

Further study — Extended / O Level. Construct a histogram from a grouped table and recover class frequencies from areas.

Draw contiguous bars on continuous axes

Use the class boundaries on the horizontal measurement axis and frequency density on the vertical axis. Each rectangle spans its full class width and rises to the calculated density. Adjacent non-empty classes touch. A zero-frequency class has no raised bar but keeps its interval.

Worked example

Class widths are 4, 8, 12, 16. Divide frequency by width to get heights 4, 6, 2, 4. Draw each rectangle across its full interval with no artificial gaps. A zero class leaves its interval empty.

Keep an empty interval visible

Do not close up the horizontal scale when one class has zero observations.

Completed density histogram

Check your understanding

The continuous class frequencies are [6, 14): 64; [14, 30): 192; [30, 54): 96; [54, 86): 256. Draw the histogram on the prepared axes. Use frequency density and keep every class interval.

Prepared unequal-class histogram axes
06Recover frequencies from a histogram

Further study — Extended / O Level. Construct a histogram from a grouped table and recover class frequencies from areas.

Recover frequencies from the rectangles

For each class, read the horizontal width and vertical density. Their product is that class frequency. Add all class areas for the total number of observations. Include an empty class with frequency zero; do not treat a blank interval as a missing category.

Worked example

Multiply each class width by its density: 4×4=16, 8×6=48, 12×2=24, 16×4=64. Add the four areas for total 152. A zero-height class has frequency 0.

A labelled scale matters

You cannot read a frequency directly from a density-axis height unless the class has unit width.

Read areas on the calibrated histogram

Check your understanding

Recover the frequency of every class from the histogram and find the total number of observations. Show how width and density are used.

Read areas on the calibrated histogram
07Calibrate an unknown vertical scale

Further study — Extended / O Level. Use a known class or total to infer an unknown density scale, frequency or class width.

Calibrate the unknown density scale

If the vertical numbers are only height units, use one known class frequency and width to find its true density. Divide that density by the displayed height to find the density represented by one height unit. Apply the same conversion to every bar.

Worked example

First width=4; true first density=16/4=4. Its displayed height is 2, so one height unit represents 4/2=2 observations per unit. Multiply all displayed heights by 2; then the second area is 8×6=48. Sum all areas for total 152.

One scale applies to the whole histogram

Changing the conversion from one bar to another would make their areas incomparable.

Calibrated frequency-density scale

Check your understanding

The first class contains 64 observations. The displayed vertical numbers are height units, not calibrated densities. Find the density represented by one height unit, then find the second-class frequency and sample total.

Uncalibrated vertical density scale
08Recover an unknown class boundary

Further study — Extended / O Level. Use a known class or total to infer an unknown density scale, frequency or class width.

Recover width before the boundary

Rearrange density=frequency/width to obtain width=frequency/density. Then add this positive width to the known lower boundary to find the upper boundary. Keep the same measurement units and the stated interval convention.

Worked example

Width=frequency/density=15/3=5 units. Upper boundary b=lower boundary+width=2+5=7 units. Width measures the interval length; b locates the endpoint.

A boundary is not a width

The width is the distance between endpoints; the upper endpoint also depends on where the class starts.

Recovered class boundary

Check your understanding

The class begins at 6 units and ends at unknown b. Its frequency is 35 and density is 5 observations per unit. Find the width and b, and explain the difference.

Find the missing upper boundary
09Estimate below a within-class threshold

Further study — Extended / O Level. Make a proportional within-class estimate when appropriate and state its distribution assumption.

State a model for a partial class

Grouped data do not show where individual observations lie inside a class. For this estimate, assume they are uniformly spread within each class. Multiply the class frequency by the selected width divided by the full class width, then add any fully included classes.

Worked example

The first class contributes 16. The selected fraction of the second class is(10−6)/8=1/2, contributing 1/2×48=24. Estimated count=40; percentage≈26.3%. This uses the stated uniform-within-class assumption.

An estimate is not an exact recount

Without the within-class assumption, the grouped table does not determine a partial-class count.

Selected region under a uniform-class model

Check your understanding

Assume observations are uniformly spread within each class. Estimate the number with x<22 and its percentage of the sample. State why the grouped data alone do not give an exact count.

Selected region under a uniform-class model
10Estimate across several classes

Further study — Extended / O Level. Make a proportional within-class estimate when appropriate and state its distribution assumption.

Split a selected interval at class boundaries

Assume observations are uniformly spread within each class. For a selection crossing several classes, calculate the included part of each rectangle and add the areas. Whole included classes contribute their full frequencies. Divide by the whole sample total for an estimated percentage.

Worked example

Take half of the second class, all of the third, and one quarter of the fourth:½×48+24+¼×64=64. Divide by total 152 for≈42.1%. These are estimates under a uniform-within-class model.

Use the selected width in each class

A single fraction of the entire histogram is generally wrong when densities differ.

Selected region under a uniform-class model

Check your understanding

Assume a uniform spread within each class. Estimate the number and percentage with 22≤x<62. Explain how the selected interval is split across the classes.

Selected region under a uniform-class model
APPLY · YOUR ONLINE WORKBOOK

Think it through. Make it your own.

Write directly on the original practice pages. Complete drawing and diagram tasks on paper. Use the stated dimensions and compare your full drawing with the worked solution; typed notes alone do not demonstrate it. Your responses are saved in this browser. Choose Check answers for colour feedback and an answer score. Compare written explanations and diagrams with the worked answers to complete your self-review.

Histograms and frequency density

30 pages · 30 questions · work at your own pace

Opening your workbook…
Opening the original PDF pages…
Page 1 of 30

Browser saving stays on this device. Save a response file to keep a separate copy or load it on another device.

Clear this workbook?

This clears your responses saved in this browser. Save a response file first if you want to keep a copy.

Prefer to work on paper?

Download the same practice book for printing or offline use.

Download practice book PDF ↓
CHECK YOUR UNDERSTANDING

A fresh attempt. A clearer next step.

Try 10 fresh questions independently. After submission, review which answers are correct and compare your written reasoning with the worked explanations.

REVIEW · VIEW ONLINE

Find the step that makes the difference.

Compare your working with the answers and explanations below. Test solutions open after submission.

Learning checks

L01 · Compare area with bar height

[54, 86): 256 observations

The four frequencies are width×density=[64, 192, 96, 256]. The last class has area 32×8=256, the greatest count. The second bar is tallest but has only 192 observations; height measures density.

Worked solution diagram: Read areas on the calibrated histogram
L02 · Explain equal-height unequal-area bars

First 64; last 256; ratio 4: 1

Both densities are 8. First frequency=8×8=64; last=32×8=256. The last class is four times as wide, so its area and frequency are four times as large.

Worked solution diagram: Read areas on the calibrated histogram
L03 · Calculate density from class width

Densities 8, 12, 4, 8 observations per unit

Use frequency÷class width: 64/8=8, 192/16=12, 96/24=4, 256/32=8. Units are observations per measurement unit. Each reverse product density×width recovers its class frequency.

Worked solution diagram: Correct density = frequency / width
L04 · Correct multiplication instead of division

Densities 8, 12, 4, 8 observations per unit

Use frequency÷class width: 64/8=8, 192/16=12, 96/24=4, 256/32=8. Units are observations per measurement unit. The student multiplied when division was required; their values have the wrong units.

Worked solution diagram: Correct density = frequency / width
L05 · Construct unequal-width bars

Density heights 8, 12, 4, 8; bars span the given class boundaries

Class widths are 8, 16, 24, 32. Divide frequency by width to get heights 8, 12, 4, 8. Draw each rectangle across its full interval with no artificial gaps. A zero class leaves its interval empty.

Worked solution diagram: Completed density histogram
L06 · Recover frequencies from a histogram

Frequencies 64, 192, 96, 256; total 608

Multiply each class width by its density: 8×8=64, 16×12=192, 24×4=96, 32×8=256. Add the four areas for total 608. A zero-height class has frequency 0.

Worked solution diagram: Read areas on the calibrated histogram
L07 · Calibrate an unknown vertical scale

1height unit=4 observations per unit; second 192; total 608

First width=8; true first density=64/8=8. Its displayed height is 2, so one height unit represents 8/2=4 observations per unit. Multiply all displayed heights by 4; then the second area is 16×12=192. Sum all areas for total 608.

Worked solution diagram: Calibrated frequency-density scale
L08 · Recover an unknown class boundary

Width 7 units; b=13 units

Width=frequency/density=35/5=7 units. Upper boundary b=lower boundary+width=6+7=13 units. Width measures the interval length; b locates the endpoint.

Worked solution diagram: Recovered class boundary
L09 · Estimate below a within-class threshold

Estimated count 160; percentage≈26.3%

The first class contributes 64. The selected fraction of the second class is(22−14)/16=1/2, contributing 1/2×192=96. Estimated count=160; percentage≈26.3%. This uses the stated uniform-within-class assumption.

Worked solution diagram: Selected region under a uniform-class model
L10 · Estimate across several classes

Estimated count 256; percentage≈42.1%

Take half of the second class, all of the third, and one quarter of the fourth:½×192+96+¼×256=256. Divide by total 608 for≈42.1%. These are estimates under a uniform-within-class model.

Worked solution diagram: Selected region under a uniform-class model

Practice and mixed review

P01 · Worked solution

[12, 20): 16 observations

The four frequencies are width×density=[4, 12, 6, 16]. The last class has area 8×2=16, the greatest count. The second bar is tallest but has only 12 observations; height measures density.

Worked solution diagram: Read areas on the calibrated histogram
P02 · Worked solution

[40, 64): 144 observations

The four frequencies are width×density=[36, 108, 54, 144]. The last class has area 24×6=144, the greatest count. The second bar is tallest but has only 108 observations; height measures density.

Worked solution diagram: Read areas on the calibrated histogram
P03 · Worked solution

First 4; last 16; ratio 4: 1

Both densities are 2. First frequency=2×2=4; last=8×2=16. The last class is four times as wide, so its area and frequency are four times as large.

Worked solution diagram: Read areas on the calibrated histogram
P04 · Worked solution

First 36; last 144; ratio 4: 1

Both densities are 6. First frequency=6×6=36; last=24×6=144. The last class is four times as wide, so its area and frequency are four times as large.

Worked solution diagram: Read areas on the calibrated histogram
P05 · Worked solution

Densities 2, 3, 1, 2 observations per unit

Use frequency÷class width: 4/2=2, 12/4=3, 6/6=1, 16/8=2. Units are observations per measurement unit. Each reverse product density×width recovers its class frequency.

Worked solution diagram: Correct density = frequency / width
P06 · Worked solution

Densities 60, 90, 30, 60 observations per unit

Use frequency÷class width: 36/0.6=60, 108/1.2=90, 54/1.8=30, 144/2.4=60. Units are observations per measurement unit. Each reverse product density×width recovers its class frequency.

Worked solution diagram: Correct density = frequency / width
P07 · Worked solution

Densities 2, 3, 1, 2 observations per unit

Use frequency÷class width: 4/2=2, 12/4=3, 6/6=1, 16/8=2. Units are observations per measurement unit. The student multiplied when division was required; their values have the wrong units.

Worked solution diagram: Correct density = frequency / width
P08 · Worked solution

Densities 6, 9, 3, 6 observations per unit

Use frequency÷class width: 36/6=6, 108/12=9, 54/18=3, 144/24=6. Units are observations per measurement unit. The student multiplied when division was required; their values have the wrong units.

Worked solution diagram: Correct density = frequency / width
P09 · Worked solution

Density heights 2, 3, 1, 2; bars span the given class boundaries

Class widths are 2, 4, 6, 8. Divide frequency by width to get heights 2, 3, 1, 2. Draw each rectangle across its full interval with no artificial gaps. A zero class leaves its interval empty.

Worked solution diagram: Completed density histogram
P10 · Worked solution

Density heights 6, 9, 0, 6; bars span the given class boundaries

Class widths are 6, 12, 18, 24. Divide frequency by width to get heights 6, 9, 0, 6. Draw each rectangle across its full interval with no artificial gaps. A zero class leaves its interval empty.

Worked solution diagram: Completed density histogram
P11 · Worked solution

Frequencies 4, 12, 6, 16; total 38

Multiply each class width by its density: 2×2=4, 4×3=12, 6×1=6, 8×2=16. Add the four areas for total 38. A zero-height class has frequency 0.

Worked solution diagram: Read areas on the calibrated histogram
P12 · Worked solution

Frequencies 36, 108, 0, 144; total 288

Multiply each class width by its density: 6×6=36, 12×9=108, 18×0=0, 24×6=144. Add the four areas for total 288. A zero-height class has frequency 0.

Worked solution diagram: Read areas on the calibrated histogram
P13 · Worked solution

1height unit=1 observations per unit; second 12; total 38

First width=2; true first density=4/2=2. Its displayed height is 2, so one height unit represents 2/2=1 observations per unit. Multiply all displayed heights by 1; then the second area is 4×3=12. Sum all areas for total 38.

Worked solution diagram: Calibrated frequency-density scale
P14 · Worked solution

1height unit=3 observations per unit; second 108; total 342

First width=6; true first density=36/6=6. Its displayed height is 2, so one height unit represents 6/2=3 observations per unit. Multiply all displayed heights by 3; then the second area is 12×9=108. Sum all areas for total 342.

Worked solution diagram: Calibrated frequency-density scale
P15 · Worked solution

Width 4 units; b=4 units

Width=frequency/density=8/2=4 units. Upper boundary b=lower boundary+width=0+4=4 units. Width measures the interval length; b locates the endpoint.

Worked solution diagram: Recovered class boundary
P16 · Worked solution

Width 6 units; b=10 units

Width=frequency/density=24/4=6 units. Upper boundary b=lower boundary+width=4+6=10 units. Width measures the interval length; b locates the endpoint.

Worked solution diagram: Recovered class boundary
P17 · Worked solution

Estimated count 7; percentage≈18.4%

The first class contributes 4. The selected fraction of the second class is(3−2)/4=1/4, contributing 1/4×12=3. Estimated count=7; percentage≈18.4%. This uses the stated uniform-within-class assumption.

Worked solution diagram: Selected region under a uniform-class model
P18 · Worked solution

Estimated count 117; percentage≈34.2%

The first class contributes 36. The selected fraction of the second class is(19−10)/12=3/4, contributing 3/4×108=81. Estimated count=117; percentage≈34.2%. This uses the stated uniform-within-class assumption.

Worked solution diagram: Selected region under a uniform-class model
P19 · Worked solution

Estimated count 16; percentage≈42.1%

Take half of the second class, all of the third, and one quarter of the fourth:½×12+6+¼×16=16. Divide by total 38 for≈42.1%. These are estimates under a uniform-within-class model.

Worked solution diagram: Selected region under a uniform-class model
P20 · Worked solution

Estimated count 144; percentage≈42.1%

Take half of the second class, all of the third, and one quarter of the fourth:½×108+54+¼×144=144. Divide by total 342 for≈42.1%. These are estimates under a uniform-within-class model.

Worked solution diagram: Selected region under a uniform-class model
R01 · Worked solution

[96, 152): 784 observations

The four frequencies are width×density=[196, 588, 294, 784]. The last class has area 56×14=784, the greatest count. The second bar is tallest but has only 588 observations; height measures density.

Worked solution diagram: Read areas on the calibrated histogram
R02 · Worked solution

Densities 14, 21, 7, 14 observations per unit

Use frequency÷class width: 196/14=14, 588/28=21, 294/42=7, 784/56=14. Units are observations per measurement unit. Each reverse product density×width recovers its class frequency.

Worked solution diagram: Correct density = frequency / width
R03 · Worked solution

Density heights 14, 21, 0, 14; bars span the given class boundaries

Class widths are 14, 28, 42, 56. Divide frequency by width to get heights 14, 21, 0, 14. Draw each rectangle across its full interval with no artificial gaps. A zero class leaves its interval empty.

Worked solution diagram: Completed density histogram
R04 · Worked solution

1height unit=7 observations per unit; second 588; total 1862

First width=14; true first density=196/14=14. Its displayed height is 2, so one height unit represents 14/2=7 observations per unit. Multiply all displayed heights by 7; then the second area is 28×21=588. Sum all areas for total 1862.

Worked solution diagram: Calibrated frequency-density scale
R05 · Worked solution

Estimated count 490; percentage≈26.3%

The first class contributes 196. The selected fraction of the second class is(40−26)/28=1/2, contributing 1/2×588=294. Estimated count=490; percentage≈26.3%. This uses the stated uniform-within-class assumption.

Worked solution diagram: Selected region under a uniform-class model
R06 · Worked solution

First 196; last 784; ratio 4: 1

Both densities are 14. First frequency=14×14=196; last=56×14=784. The last class is four times as wide, so its area and frequency are four times as large.

Worked solution diagram: Read areas on the calibrated histogram
R07 · Worked solution

Densities 14, 21, 7, 14 observations per unit

Use frequency÷class width: 196/14=14, 588/28=21, 294/42=7, 784/56=14. Units are observations per measurement unit. The student multiplied when division was required; their values have the wrong units.

Worked solution diagram: Correct density = frequency / width
R08 · Worked solution

Frequencies 196, 588, 0, 784; total 1568

Multiply each class width by its density: 14×14=196, 28×21=588, 42×0=0, 56×14=784. Add the four areas for total 1568. A zero-height class has frequency 0.

Worked solution diagram: Read areas on the calibrated histogram
R09 · Worked solution

Width 10 units; b=22 units

Width=frequency/density=80/8=10 units. Upper boundary b=lower boundary+width=12+10=22 units. Width measures the interval length; b locates the endpoint.

Worked solution diagram: Recovered class boundary
R10 · Worked solution

Estimated count 784; percentage≈42.1%

Take half of the second class, all of the third, and one quarter of the fourth:½×588+294+¼×784=784. Divide by total 1862 for≈42.1%. These are estimates under a uniform-within-class model.

Worked solution diagram: Selected region under a uniform-class model

Paxa Scholar Mathematics supports lasting understanding for IGCSE / O Level study. These original resources are independent of Cambridge. Confirm examination requirements with your school. Independent mathematics review is pending.