/en-tutor-prep-alevel-maths-representation-of-data-histogram-quartiles-standard-deviation/
/en-tutor-prep-alevel-maths-representation-of-data-histogram-quartiles-standard-deviation/
General Inquiry: info@TutorZone.com.hk
Office Hours: Monday to Saturday - 9:00 AM to 6:00 PM
WhatsApp Monday to Sunday - 24 hours
Hotline: +852 6828 1809
Instant Support: +852 9061 3106

A-Level Maths: Paper 5 Representation of Data with Histograms, Quartiles and Standard Deviation (Tutor Guide)

A-Level Maths: Paper 5 Representation of Data with Histograms, Quartiles and Standard Deviation (Tutor Guide)

  • 2026-11-29

The marks lost in statistics are usually lost in the drawing, not the arithmetic: unequal class widths still plotted at frequency height, or a standard deviation divided by n minus one out of habit. This lesson locks two sentences first, histogram height is frequency density and this paper divides by n, then builds quartiles and the outlier test on top.

Objectives — By the end students can: (1) take eight values, 12, 15, 15, 18, 20, 22, 25 and 33, and get mean 20, sigma x squared 3516, variance 39.5 and standard deviation 6.28; (2) explain why 9709 divides by n; (3) read off median 19, Q1 15, Q3 23.5 and interquartile range 8.5, and use the 1.5 rule to show 33 is not an outlier with a fence of 36.25; (4) compute frequency densities for unequal widths, 1.8 for 18 in a width of 10 and 0.2 for 4 in a width of 20; (5) use the coding y equals (x minus 20) over 5 to convert variance and standard deviation back.

01 Prerequisites (3-minute check)

If any of these fails, fix it before the lesson starts.

Skill Quick check Pass mark
Mean What is the mean of 3, 5, 7 and 9 Six, from adding all values and dividing by the count
Sum of squares What is sigma x squared for those values 9 plus 25 plus 49 plus 81 equals 164
Median What is the median of 1, 3, 8 and 9 5.5, the mean of the two middle values
Percentiles Which percentile is the median The 50th, with quartiles at the 25th and 75th

02 Lesson flow (60 minutes)

Time Stage Tutor does Student does
0-6 min Quick check Two questions on the mean and the sum of squares, collect the integration homework Answer 6 and 164
6-20 min Scene 1: mean, variance and standard deviation Two totals give 20 and 6.28 Get 39.5 and 6.28
20-34 min Scene 2: quartiles and the box plot Q1, Q3, the interquartile range and the fence Get 15, 23.5, 8.5 and 36.25
34-46 min Scene 3: histograms and coding Frequency density and coded variance Get 0.6, 1.8, 1.2, 0.2 and 1.58
46-54 min Question routines The six fixed routines and their layout Work one question with all units shown
54-60 min Exit check Three quick questions, set the homework Independently, books closed

03 Teaching script (read it out)

Scene 1: Mean, variance and standard deviation, three expressions that check each other

Write the eight values on the board: 12, 15, 15, 18, 20, 22, 25, 33. First the total, sigma x equals 160, divided by 8 gives a mean of 20. Then sigma x squared equals 3516, and stress that every value is squared separately rather than squaring the total and dividing, which only works when every value equals the mean. The variance is sigma x squared over n minus the mean squared, 439.5 minus 400 equals 39.5, and the standard deviation is its root, 6.28.
Name the 9709 convention explicitly: divide by n, not by n minus 1. Other courses use the sample formula, but this paper and its mark scheme use n, so a student who writes over 7 gets 45.14 and loses the accuracy marks. Say it twice, because tutoring often teaches the other version.
Then a coding example: let y equal (x minus 20) over 5. The coded mean is 0, the coded variance is 39.5 over 25 equals 1.58, and the coded standard deviation is 6.28 over 5 equals 1.26. Ask why divide by 25: every value shrank five times and variance is a squared quantity, so it shrinks by five squared. That rule is exactly what is needed when comparing two data sets such as height and weight.
Student task: change 33 to 35, recompute the totals, mean and standard deviation, and say which changed most.

A line you can read out: “Variance is a squared quantity: scale the data by k and the variance scales by k squared while the standard deviation scales by k.”

Scene 2: Quartiles and the box plot, the positions between the numbers

Start from the definition and the routine: sort the data, split at the median, then take the median of each half. With eight values the median is the mean of the fourth and fifth, (18 plus 20) over 2 equals 19; the lower half 12, 15, 15, 18 gives Q1 equals 15, and the upper half 20, 22, 25, 33 gives Q3 equals 23.5. The interquartile range is 8.5.
Then the outlier test: the upper fence is Q3 plus 1.5 interquartile ranges, 23.5 plus 12.75 equals 36.25, and the lower fence is 15 minus 12.75 equals 2.25. The largest value 33 and the smallest 12 both sit inside, so there is no outlier. Make the point that an outlier is not a value that looks big, it is a value beyond a fence.
Sketch the box plot from the five numbers 12, 15, 19, 23.5 and 33. Ask for the shape in one sentence: the right tail is longer, so the distribution is positively skewed. That qualitative line is worth a mark or two every year.
Compare representations: a stem and leaf keeps every original value, a box plot shows the median and spread at a glance, a back to back stem and leaf compares two groups on one stem, and a histogram suits large continuous data but loses individual values. When a question asks which representation is most suitable, the answer must be tied to the purpose, not just a preference.
Student task: change 12 to 2, recompute the lower fence and decide whether it is an outlier.

A line you can read out: “An outlier is not a feeling, it is a comparison with Q1 minus 1.5 IQR and Q3 plus 1.5 IQR.”

Scene 3: Histograms and cumulative frequency, unequal widths demand frequency density

Start with the classic error: four classes with frequencies 6, 18, 12 and 4 and widths 10, 10, 10 and 20. Plotted at frequency height, the last class looks as tall as the 20 to 30 class although it holds only 4 items. The correct height is frequency density, frequency divided by width, giving 0.6, 1.8, 1.2 and 0.2. Ask what the area of a bar means: the frequency, which is exactly why the height is divided by the width.
Then estimate the median from a cumulative frequency curve. The total is 40, so half is 20; the cumulative count is 6 at 10 and 24 at 20, so interpolate inside that class: 14 more of the 18 in a width of 10, giving 10 plus 10 times 14 over 18 equals about 17.8. Emphasise that this is an estimate, because the graph assumes the data are spread evenly inside each class.
Finally the division of labour: for percentiles use the cumulative frequency curve, for density comparisons the histogram, for original values the stem and leaf, for spread and skew the box plot. A question asking which representation is best is asking which answers the purpose.
Student task: change the last class to 30 to 40 with 4 items, recompute the density and describe how the shape changes.

A line you can read out: “Histogram height is frequency density, not frequency; the area equals the frequency, which is why unequal widths must be divided.”

04 Question types and worked steps

Type Example Steps Answer
Mean and standard deviation Sigma x equals 160, sigma x squared equals 3516, n equals 8 1 divide the total by n; 2 variance from sigma x squared over n minus mean squared; 3 take the root 20 and 6.28
Quartiles Same data, find Q1, Q3 and the interquartile range 1 sort; 2 split at the median; 3 median of each half; 4 subtract 15, 23.5 and 8.5
Outlier test Decide whether 33 is an outlier 1 compute the upper fence; 2 compare the maximum; 3 state it in words Fence 36.25, so it is not an outlier
Unequal width histogram Frequencies 6, 18, 12, 4 with widths 10, 10, 10, 20 1 divide each frequency by its width; 2 draw the bars; 3 note that area equals frequency 0.6, 1.8, 1.2 and 0.2
Coding y equals (x minus 20) over 5, with the standard deviation of x equal to 6.28 1 divide the standard deviation by 5; 2 divide the variance by 25; 3 keep the original units 1.26 and 1.58
Median by interpolation 40 values, cumulative 6 at 10 and 24 at 20 1 find half the total; 2 interpolate inside the class; 3 write about About 17.8
Sanity check (teach this): Four checks. First, the standard deviation is below the range: the range here is 21 against 6.28, so a value like 25 means the squaring was done on the total instead of each value. Second, Q1 is below the median which is below Q3, and the interquartile range is below the range; any other order means the sorted positions are wrong. Third, frequency density may be a decimal such as 0.2, so four integer heights usually mean the division by width was skipped. Fourth, a coded standard deviation is always smaller when the data are divided by a number; a larger value means the scale was multiplied.

05 Independent practice (3 questions)

Question Answer What to watch
For 4, 7, 7, 9 and 13, find the mean, variance and standard deviation with division by n. Sigma x equals 40 and the mean is 8; sigma x squared equals 364, variance 72.8 minus 64 equals 8.8, standard deviation 2.97 Write both totals before dividing, and avoid rounding early
A data set has median 15, Q1 11 and Q3 21; find the interquartile range and the fences, then decide whether 45 is an outlier. Interquartile range 10, upper fence 36, so 45 is an outlier Give both fences; a question about outliers expects the value to be identified
Frequencies 8, 12, 15 and 5 with widths 5, 5, 10 and 10, find the frequency densities. 1.6, 2.4, 1.5 and 0.5 Divide by the width of each class, and note the total area equals 40

06 Common mistakes and what to say

Mistake Student writes Say this
Dividing by n minus 1 variance equals 3516 over 7 minus 400 “9709 divides by n, so 3516 over 8; your version gives 45.14, which the mark scheme will not accept.”
Plotting frequency as histogram height the 30 to 50 class drawn as tall as the 20 to 30 class “Height is frequency density: 4 over 20 equals 0.2, not 4; frequency height makes wide classes look crowded.”
Judging outliers by eye 33 is far from the rest, so it is an outlier “There must be a fence: Q3 plus 1.5 IQR equals 36.25, and 33 is inside it, so it is not an outlier.”
Scaling variance the wrong way in coding y equals (x minus 20) over 5 so the variance is multiplied by 25 “Shrinking the data by 5 divides the variance by 25; multiplying gives 987.5, obviously larger than the original.”

07 Homework (paper, section and question numbers)

08 Exit check (last 5 minutes)

Question Answer Decision
Does 9709 divide the standard deviation by n or n minus 1 By n, in both the formula and the mark scheme Dividing by n minus 1 belongs to another course
What does histogram height represent Frequency density, frequency over class width, because area equals frequency Answering frequency is the fatal error in unequal width questions
How is an outlier decided By comparison with Q1 minus 1.5 IQR and Q3 plus 1.5 IQR Saying only that it looks far away earns nothing

09 Tutor FAQ

Why does this paper divide by n when statistics books divide by n minus 1?

Because 9709 treats the data as a population, so the formula is the population standard deviation with n in the denominator. Dividing by n minus 1 is the unbiased estimator for a sample and belongs to another specification. The mark scheme fixes n, so the class should be consistent; a student who learned the other version outside should be told that n is the accepted one here, even though the numbers differ only slightly.

Must frequency density always be computed?

Always, because a histogram is read by area, not height. If every class has the same width, using the frequency as height merely multiplies all heights by the same constant, so the shape is unchanged and the step can be skipped. The moment widths differ, such as a final class of 20 against others of 10, skipping it misleads, and that difference is exactly what the question is testing.

What is the difference between a box plot and a cumulative frequency curve?

A box plot gives five numbers, minimum, Q1, median, Q3 and maximum, and is best for comparing groups. A cumulative frequency curve gives the whole distribution and allows any percentile to be estimated, but requires interpolation. When a question gives data in classes, the median is estimated from the curve; when it gives individual values, sort and read it directly. Mixing the two cases is a common slip.

Find a tutor — freeTutor Registration →

A TutorZone lesson-prep guide. Written by the TutorZone team; questions and lesson flow are original and are not taken from any school or publisher material.

Join as a tutor or coach — academic, music, sports, arts, STEM. Free to register. See how it works →