Histograms
In a minute
A shows grouped data as touching bars, where the area of each bar shows how many values are in its class. The height of a bar is its : the frequency divided by the class width. This stops a wide class looking bigger than it really is.
You'll be able to
- Work out the frequency density of each class in a .
- Draw a histogram for classes of different widths.
- Read frequencies from a histogram, including an estimate for part of a class.
- Find bar heights or a missing frequency when heights are given in centimetres or a bar is missing.
Before you start2 quick questions on what this builds on
Revise first: 9.3 Averages and measures of spread
Frequency density and drawing a histogram
A can have of different widths. Then a bar chart of the frequencies misleads you.
Say people wait between and minutes, and wait between and minutes. The first are packed into minutes. The second are spread over minutes. A fair picture makes the first bar taller.
Why does dividing by the width work? Area width height class width frequency.
Try it first, then reveal one step at a time.
- Find each class width, upper boundary minus lower: , , and .
- Divide each frequency by its width: , , and .
- The largest frequency density is , so the bar is the tallest.
- The class has the most students, . But they are spread over minutes, so its bar is low.
1. Work out each class width and frequency density. Two extra columns in the table keep this tidy.
2. Draw a continuous scale for the data along the horizontal axis. Label the vertical axis "Frequency density".
3. Draw each bar from its lower class boundary to its upper one, as tall as its frequency density. The bars touch, with no gaps.
Try it first, then reveal one step at a time.
- Class widths: , , and .
- Frequency densities: , , and .
- The tallest bar is , so run the vertical axis from to . Label it "Frequency density".
- Draw four touching bars: to at height , to at , to at , and to at .
- Check one bar by its area: , the frequency in the table.
Reading frequencies from a histogram
Reading a histogram reverses the drawing. The area of a bar is the frequency of its class.
Before you read any heights, work out what one small square on each axis is worth.
Try it first, then reveal one step at a time.
- Each small square up is . Read the heights: , , and .
- Multiply each height by its class width: , , and .
- Add the frequencies: .
For part of a class, assume its values are spread evenly across the class. Then use the width of just that part. The answer is an estimate.
Try it first, then reveal one step at a time.
- Only part of the class is above . Assume its apples are spread evenly across the class.
- The part from to has width and height . That gives apples.
- All of the class is above : apples.
- Add: . This is only an estimate, because you don't know where the apples lie inside a class.
Heights in centimetres and missing bars
Some questions give bar heights in centimetres, not on a frequency density scale. The heights are still in proportion to the frequency densities.
1. Use the bar you know. Centimetres for unit of frequency density its height its frequency density.
2. Work out the frequency density of each other class.
3. Multiply each frequency density by the centimetres for unit.
Try it first, then reveal one step at a time.
- Known bar: width , so frequency density . It is drawn cm tall.
- So unit of frequency density is cm.
- The other frequency densities: , and .
- Heights: cm, cm and cm.
If a bar is missing but you know the total frequency, find the other frequencies first. What is left belongs to the missing class.
Try it first, then reveal one step at a time.
- Frequencies of the drawn bars: , and .
- These add to , so the missing class holds people.
- Its width is , so its frequency density is .
- Draw the bar from to at height , touching the bars on each side.
Common mistakes
- Drawing each bar with the frequency as its height. Divide each frequency by its class width first, so wide classes don't look too big.
- Reading a bar's height as its frequency. The frequency is the area: height class width.
- Scaling bar heights in centimetres by the frequencies. Scale by the frequency densities, because the class widths differ.
Exam tips
- When you complete a table or draw a histogram, write each frequency density, such as . Correct frequency densities can still earn marks if a bar is drawn wrongly.
- "Calculate an estimate" for part of a class needs the width of that part times the bar's height, such as . Show that product.
- When heights are in centimetres, first work out the centimetres for 1 unit of frequency density from the bar you know. Show that step, as it is usually worth a method mark.
- After you read frequencies from a histogram, check that they add to any total the question gives.
Key takeaways
Practise this
38 past-paper questions on 9.7 in the 0580 Extended bank, each with a mark scheme and a worked explanation.