Histograms and frequency density
Build understanding through illustrated explanations, independent practice and worked solutions.
Learn the idea. Explain the method.
20 illustrated learning pages connect explanations, worked examples and short independent checks.
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.
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.
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.
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.
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.
Check your understanding
Calculate the frequency density for every class. State the units of frequency density.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
30 pages · 30 questions · work at your own pace
Browser saving stays on this device. Save a response file to keep a separate copy or load it on another device.
Prefer to work on paper?
Download the same practice book for printing or offline use.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
