Measuring Spread: Range, Interquartile Range, Variance and Standard Deviation | Analysis and Approaches IB Maths notes
Free preview: Measuring Spread: Range, Interquartile Range, Variance and Standard Deviation
Range and Interquartile Range
Analysis and approaches and Applications and interpretation: SL and HL (common content, SL 4.2 and SL 4.3)
Let's start with why an average is not enough. You can choose between two bus routes. Both take 30 minutes on average. Route A always takes 28 to 32 minutes. Route B sometimes takes 15 and sometimes 50. Which would you pick for an exam morning? The averages are the same, but the routes are not.
- Two classes can have the same mean mark.
- But one class can have marks all close together, while the other has marks everywhere.
- A measure of spread (or dispersion) tells us how spread out the values are.

Following the graph
- Both sets have mean 10 (the dashed line).
- Set A is bunched between 8 and 12, so its spread is small.
- Set B runs from 2 to 18, so its spread is much larger. Its standard deviation (4.9) is much bigger than A's (1.1).
Range and interquartile range
- Range = largest value − smallest value.
- It is easy, but it depends only on the two most extreme values, so one outlier changes it a lot.
- Interquartile range (IQR) = .
- It is the spread of the middle 50% of the data, so it is not affected by extreme values.
💡 In plain words
- Range: from the very bottom to the very top.
- IQR: how wide the middle half is, once the top quarter and bottom quarter are ignored.
Recipe: quartiles from raw data
- Put the data in order. Why: quartiles are positions, like the median.
- Find the median. If n is odd, leave the median itself out of both halves. Why: it belongs to neither half.
- is the median of the lower half. is the median of the upper half. Why: a quarter of the data is then below and a quarter above .
👀 Watch me do it: 3, 5, 6, 8, 9, 10, 12, 13, 15, 18, 25 (n = 11)
| What I write | Why I do it |
|---|---|
| Median: the 6th value, 10. | Step 2: position . |
| Lower half 3, 5, 6, 8, 9 gives . | Step 3: the 10 is left out of both halves because n is odd. |
| Upper half 12, 13, 15, 18, 25 gives . | Middle of the five values above the median. |
| IQR = 15 − 6 = 9. Range = 25 − 3 = 22. | Notice the 25: it stretches the range a lot but does not change the IQR. |

What the picture shows
- The middle half of the data sits between Q1 = 6 and Q3 = 15, so the IQR is 9.
- The range runs from 3 all the way to 25, so it is 22.
- Only the 25 is far from the rest. It stretches the range a lot, but the IQR does not move.
💡 Another rule you may see
Some textbooks use this rule: work out n ÷ 4. If it is not a whole number, round up and take that value; if it is whole, take halfway between that value and the next. Here 11 ÷ 4 = 2.75, so is the 3rd value, 6, the same answer. For 3n ÷ 4 = 8.25 use the 9th value, 15.
✏️ YOUR TURN 1
Try this first:
Find the range and IQR of 2, 4, 4, 5, 7, 8, 9, 11, 12, 14.
Answer:
- n = 10 (even), so the median is halfway between the 5th and 6th: .
- Lower half 2, 4, 4, 5, 7: . Upper half 8, 9, 11, 12, 14: .
- IQR = 11 − 4 = 7. Range = 14 − 2 = 12.
Variance and Standard Deviation
The IQR uses only two values. Now we want a spread that uses every value. The natural idea: how far, on average, is each value from the mean?
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Collecting and summarising data (SL 4.1–4.3)
- Populations, Samples and the Census: Why We Sample
- Random Sampling Methods: Simple Random, Systematic and Stratified
- Quota, Opportunity, Cluster and Self-Selected Samples, and Choosing a Method
- Types of Data and the Mean, Median and Mode
- Grouped Data: Estimating the Mean, Median, Quartiles and Percentiles
- Measuring Spread: Range, Interquartile Range, Variance and Standard Deviation
- Cumulative Frequency Diagrams and Box Plots
- Histograms, Frequency Density and the Shape of a Distribution
- Outliers, Cleaning Data and Choosing How to Present It
- Coding Data: Linear Changes to the Mean and Standard Deviation
What's inside for this topic
10 teacher notes, 74 practice questions, 39 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: Grouped Data: Estimating the Mean, Median, Quartiles and Percentiles Next note: Cumulative Frequency Diagrams and Box Plots