Worked examples
The question
Question: draw the histogram for 0-10: 5, 10-30: 12, 30-60: 9.
frequency density: 0-10: 5, 10-30: 12, 30-60: 9
The classes are not the same width.
So the bars cannot just be as high as the frequency.
1 Class widths
A table: each class and its frequency.
The width of a class is its end minus its start: 10, 20, 30.
2 Frequency density
Frequency density is the frequency divided by the width: 5 ÷ 10 = 0.5, 12 ÷ 20 = 0.6, 9 ÷ 30 = 0.3.
The rule for the height of each bar.
frequency density = frequencyclass width
Careful!
With different widths, a wide bar as high as its frequency would look too big.
Its area must be the frequency.
Careful: bar height = frequency density, not frequency
3 Draw the bars
Across: the classes.
Up: the frequency density.
Each bar goes across its whole class and up to its density: 0.5 for the first.
Now the area of each bar shows its frequency.
4 Check
Let's check: width times height gives back each frequency: 5, 12, 9.
So the bars are right!
10 × 0.5 = 5, 20 × 0.6 = 12, 30 × 0.3 = 9
Let's look back.
First: class widths.
Then: frequency density.
Then: draw the bars.
Last: check.
Answer frequency density = frequencyclass width
▶ Watch it solved
The question
Question: draw the histogram for 10-20: 7, 20-25: 9, 25-30: 12, 30-50: 8.
frequency density: 10-20: 7, 20-25: 9, 25-30: 12, 30-50: 8
The classes are not the same width.
So the bars cannot just be as high as the frequency.
1 Class widths
A table: each class and its frequency.
The width of a class is its end minus its start: 10, 5, 5, 20.
2 Frequency density
Frequency density is the frequency divided by the width: 7 ÷ 10 = 0.7, 9 ÷ 5 = 1.8, 12 ÷ 5 = 2.4, 8 ÷ 20 = 0.4.
The rule for the height of each bar.
frequency density = frequencyclass width
Careful!
With different widths, a wide bar as high as its frequency would look too big.
Its area must be the frequency.
Careful: bar height = frequency density, not frequency
3 Draw the bars
Across: the classes.
Up: the frequency density.
Each bar goes across its whole class and up to its density: 0.7 for the first.
Now the area of each bar shows its frequency.
4 Check
Let's check: width times height gives back each frequency: 7, 9, 12, 8.
So the bars are right!
10 × 0.7 = 7, 5 × 1.8 = 9, 5 × 2.4 = 12, 20 × 0.4 = 8
Let's look back.
First: class widths.
Then: frequency density.
Then: draw the bars.
Last: check.
Answer frequency density = frequencyclass width
▶ Watch it solved
The question
Question: draw the histogram for 0-30: 12, 30-40: 14, 40-45: 9, 45-60: 6.
frequency density: 0-30: 12, 30-40: 14, 40-45: 9, 45-60: 6
The classes are not the same width.
So the bars cannot just be as high as the frequency.
1 Class widths
A table: each class and its frequency.
The width of a class is its end minus its start: 30, 10, 5, 15.
2 Frequency density
Frequency density is the frequency divided by the width: 12 ÷ 30 = 0.4, 14 ÷ 10 = 1.4, 9 ÷ 5 = 1.8, 6 ÷ 15 = 0.4.
The rule for the height of each bar.
frequency density = frequencyclass width
Careful!
With different widths, a wide bar as high as its frequency would look too big.
Its area must be the frequency.
Careful: bar height = frequency density, not frequency
3 Draw the bars
Across: the classes.
Up: the frequency density.
Each bar goes across its whole class and up to its density: 0.4 for the first.
Now the area of each bar shows its frequency.
4 Check
Let's check: width times height gives back each frequency: 12, 14, 9, 6.
So the bars are right!
30 × 0.4 = 12, 10 × 1.4 = 14, 5 × 1.8 = 9, 15 × 0.4 = 6
Let's look back.
First: class widths.
Then: frequency density.
Then: draw the bars.
Last: check.
Answer frequency density = frequencyclass width
▶ Watch it solved