Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 10 Maths Advanced Single Variable and Bivariant Statistics

Quartiles and Inter Quartile Range

20 practice questions 1 video lesson Theory + worked examples

Quartiles split ordered data into four equal parts. The median is the middle score, the lower quartile \(Q_1\) is the middle of the lower half and the upper quartile \(Q_3\) is the middle of the upper half. The interquartile range, \(Q_3-Q_1\), measures the spread of the middle 50% of the scores. This is NSW Year 10 Advanced maths (NESA outcome MA5‑DAT‑C‑01).

You will find five-number summaries and the IQR from lists, stem-and-leaf plots, column graphs and frequency tables, with odd and even numbers of scores. You will compare range and IQR when there is an extreme value, see what a 10% rise does to the IQR, and compare two food trucks and two classes. Harder questions find missing scores from a given summary, mean or IQR, and find the quartiles of 1 to \(n\). It is part of Year 10 Advanced Single Variable and Bivariant Statistics.

Practice 20 questions
Practice questions

Every question with a fully worked solution.

Start practising
Watch 1 video(s)
  • Quartiles and Inter Quartile Range - Video - Median, Quartiles and Interquartile Range Watch
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

The quartiles split ordered data into four roughly equal groups. The interquartile range, \(\text{IQR} = Q_3 - Q_1\), is the spread of the middle half of the data, so unlike the range it is not affected by a few extreme scores. This Year 10 Advanced maths page covers the five-number summary from lists, stem-and-leaf plots and frequency tables, what the quartiles say about percentages, and problems with unknown scores.

For data written in order: the median \(Q_2\) is the middle score. The lower quartile \(Q_1\) is the median of the lower half and the upper quartile \(Q_3\) is the median of the upper half. With an odd number of scores, leave the median out of both halves.

The five-number summary is: minimum, \(Q_1\), median, \(Q_3\), maximum.

The range \(=\) maximum \(-\) minimum measures the spread of all the data. The interquartile range \(= Q_3 - Q_1\) measures the spread of the middle \(50\%\). A small IQR means the middle scores are bunched together (consistent).

About \(25\%\) of scores lie below \(Q_1\), \(50\%\) below the median and \(75\%\) below \(Q_3\).

Quartiles of 11 ordered scoresEleven scores 2, 3, 5, 6, 8, 9, 11, 12, 14, 16, 19 as dots on a number line. The median 9 is the 6th score. It is left out of both halves; the lower half 2 to 8 has middle score 5, which is Q1, and the upper half 11 to 19 has middle score 14, which is Q3. 02468101214161820 Q₁ median Q₃ lower half (5 scores) upper half (5 scores)
Order the scores, find the median, then find the middle of each half. With an odd number of scores the median belongs to neither half.
The four quarters of the dataA box plot from 4 to 38 with Q1 12, median 18 and Q3 26. Each of the four sections, minimum to Q1, Q1 to median, median to Q3 and Q3 to maximum, holds about 25 percent of the scores. The interquartile range spans the middle 50 percent, from Q1 to Q3. 0510152025303540 25% 25% 25% 25% IQR = Q₃ βˆ’ Q₁ (middle 50%)
The quartiles cut the ordered data into four groups of roughly equal size. The IQR measures the spread of the middle half and ignores the extremes.
\[\text{IQR} = Q_3 - Q_1 \qquad\qquad \text{range} = \text{max} - \text{min} \qquad\qquad \text{median position} = \dfrac{n + 1}{2}\]
IQR=Q3−Q1
Number of scoresMedian\(Q_1\)\(Q_3\)
\(n = 15\)8th4th12th
\(n = 12\)6.5th (6th and 7th)3.5th (3rd and 4th)9.5th (9th and 10th)
\(n = 21\)11th5.5th (5th and 6th)16.5th (16th and 17th)
Changing every score. Adding \(c\) to every score leaves the IQR unchanged. Multiplying every score by \(k\) multiplies the IQR by \(k\): a \(5\%\) rise multiplies it by \(1.05\).
Percentages. If \(Q_1 = 40\) for \(300\) people, about \(75\%\), or \(225\) people, scored more than \(40\), and about \(150\) scored between \(Q_1\) and \(Q_3\). With many repeated values the split is only approximate, so count from the data when you can.

Finding the quartiles

  1. Order the scores from smallest to largest (negative numbers first) and count them.
  2. Median: the middle score, or the average of the two middle scores.
  3. Split into lower and upper halves. If \(n\) is odd, the median is in neither half.
  4. \(Q_1\) and \(Q_3\): the median of each half.
  5. IQR \(= Q_3 - Q_1\). Give units.

From a table or graph

  1. Running totals: write the cumulative frequencies, then find the class or value that contains each required position.
  2. Combine data sets by listing all the scores together in one order before finding new quartiles.
  3. Range or IQR? If there is an outlier, the IQR is the better measure of spread; the range changes a lot when the outlier is removed.
  4. Unknown scores: write \(Q_1\), \(Q_3\) or the median in terms of the unknowns, use the mean for a total, and solve the equations.
Example 1 β€” Odd number of scores
The numbers of customers at a food van on \(15\) evenings were
\[31,\ 24,\ 18,\ 27,\ 35,\ 22,\ 29,\ 40,\ 19,\ 26,\ 33,\ 21,\ 28,\ 45,\ 25\]
Find the five-number summary, the range and the IQR.
Solution

Order the data:

\[18,\ 19,\ 21,\ \underline{22},\ 24,\ 25,\ 26,\ \boxed{27},\ 28,\ 29,\ 31,\ \underline{33},\ 35,\ 40,\ 45\]

The median is the \(\dfrac{15 + 1}{2} = 8\)th score, \(27\). Leave it out: each half has \(7\) scores and its middle is the \(4\)th.

\(Q_1\)\(=\)\(22 \quad (\text{4th of } 18, \ldots, 26)\)
\(Q_3\)\(=\)\(33 \quad (\text{4th of } 28, \ldots, 45)\)

Five-number summary: \(\boldsymbol{18,\ 22,\ 27,\ 33,\ 45}\).

\(\text{range}\)\(=\)\(45 - 18 = \boldsymbol{27}\)
\(\text{IQR}\)\(=\)\(33 - 22 = \boldsymbol{11}\)
IQR=Q3−Q1=33−22=11
Example 2 β€” Even number of scores, from a stem-and-leaf plot
The stem-and-leaf plot shows the best long jumps, in metres, of \(12\) athletes.
StemLeaf
\(4\)\(1\ \ 3\ \ 4\ \ 6\ \ 6\ \ 8\)
\(5\)\(0\ \ 1\ \ 3\ \ 5\ \ 8\)
\(6\)\(2\)

Key: \(4\,|\,1 = 4.1\) m

Find the median, \(Q_1\), \(Q_3\) and the IQR.
Solution

With \(12\) scores the median is halfway between the \(6\)th and \(7\)th. Each half then has \(6\) scores, so each quartile is halfway between the \(3\)rd and \(4\)th of its half.

\(\text{median}\)\(=\)\(\dfrac{4.8 + 5.0}{2} = \boldsymbol{4.9}~\text{m}\)
\(Q_1\)\(=\)\(\dfrac{4.4 + 4.6}{2} = \boldsymbol{4.5}~\text{m}\)
\(Q_3\)\(=\)\(\dfrac{5.3 + 5.5}{2} = \boldsymbol{5.4}~\text{m}\)
\(\text{IQR}\)\(=\)\(5.4 - 4.5 = \boldsymbol{0.9}~\text{m}\)
Q1=4.4+4.62

Count leaves carefully: the \(3\)rd and \(4\)th leaves on stem \(4\) are \(4\) and \(6\).

Example 3 β€” Quartiles from a frequency table
\(40\) students recorded their number of siblings.
Siblings\(0\)\(1\)\(2\)\(3\)\(4\)\(5\)
Frequency\(7\)\(12\)\(10\)\(6\)\(3\)\(2\)

(i) Find \(Q_1\), the median, \(Q_3\) and the IQR.
(ii) What percentage of the students have more siblings than \(Q_3\)?
Solution

(i) Running totals: \(7,\ 19,\ 29,\ 35,\ 38,\ 40\). Each half has \(20\) students.

\(Q_1\)\(=\)\(\text{average of 10th and 11th} = \boldsymbol{1} \quad (7 < 10,\ 11 \le 19)\)
\(\text{median}\)\(=\)\(\text{average of 20th and 21st} = \boldsymbol{2} \quad (19 < 20,\ 21 \le 29)\)
\(Q_3\)\(=\)\(\text{average of 30th and 31st} = \boldsymbol{3} \quad (29 < 30,\ 31 \le 35)\)
\(\text{IQR}\)\(=\)\(3 - 1 = \boldsymbol{2}\)

(ii) More than \(3\) siblings: \(3 + 2 = 5\) students.

\(\dfrac{5}{40} \times 100\%\)\(=\)\(\boldsymbol{12.5\%}\)
540×100%=12.5%

This is not \(25\%\): with repeated values, the quarters are only approximately equal.

Example 4 β€” Unknown scores
Eight scores, in order, are \(3,\ 6,\ a,\ 10,\ 13,\ b,\ 18,\ 22\). The IQR is \(9\) and the mean is \(12\). Find \(a\) and \(b\).
Solution

Each half has \(4\) scores, so \(Q_1\) is halfway between the \(2\)nd and \(3\)rd scores and \(Q_3\) between the \(6\)th and \(7\)th.

\(Q_1\)\(=\)\(\dfrac{6 + a}{2},\quad Q_3 = \dfrac{b + 18}{2}\)
\(\dfrac{b + 18}{2} - \dfrac{6 + a}{2}\)\(=\)\(9\)
\(b + 12 - a\)\(=\)\(18\)
\(b - a\)\(=\)\(6 \quad (1)\)

The mean gives the total: \(8 \times 12 = 96\). The known scores add to \(72\).

\(72 + a + b\)\(=\)\(96\)
\(a + b\)\(=\)\(24 \quad (2)\)
\((1) + (2):\quad 2b\)\(=\)\(30\)
\(b\)\(=\)\(15,\quad a = 9\)

Check: \(3, 6, 9, 10, 13, 15, 18, 22\) is in order; \(Q_1 = 7.5\), \(Q_3 = 16.5\), IQR \(= 9\ \checkmark\). So \(\boldsymbol{a = 9}\), \(\boldsymbol{b = 15}\).

b−a=6,a+b=24

Common pitfalls

Order the data first. Quartiles of an unordered list are meaningless. Negative values come first: \(-3.1\) is smaller than \(-2.8\).
Leave out the median when n is odd. With \(11\) scores each half has \(5\), not \(6\).
A quartile is a value, not a position. Answer \(Q_1 = 22\), not \(Q_1 = 4\)th.
IQR is a single number. Write IQR \(= 33 - 22 = 11\), not "\(22\) to \(33\)".
Adding the same amount does not change the spread. Every rent up by \(\$20\) leaves the IQR the same; every rent up by \(10\%\) multiplies it by \(1.1\).

Frequently asked questions

How do you find the lower and upper quartiles?

Put the scores in order and find the median. Split the data into a lower half and an upper half, leaving out the median if there is an odd number of scores. Q1 is the median of the lower half and Q3 is the median of the upper half.

What is the interquartile range?

It is the upper quartile minus the lower quartile. It measures the spread of the middle 50 percent of the data.

Why is the IQR better than the range?

The range uses only the two most extreme scores, so one outlier can make it very large. The IQR ignores the top and bottom quarters, so it is not affected by outliers.

What is a five-number summary?

The minimum, the lower quartile, the median, the upper quartile and the maximum. It is the information needed to draw a box plot.

How do you find quartiles from a frequency table?

Write the running totals of the frequencies. Work out the positions of the median and quartiles, then find which score contains each position.