The median
The median is the middle number. To calculate the median of any set of numbers, you need to write the numbers in order.
To find the median number:
- Put all the numbers in numerical order
- If there is an odd number of results, the median is the middle number
- If there is an even number of results, the median will be halfway between the two central numbers
Finding the median with an odd number of results
Question
Find the median of this set of numbers.
21, 23, 27, 19, 24, 22, 24
Answer
Put the numbers in numerical order
19, 21, 22, 23, 24, 24, 27
Find the middle number
19, 21, 22, 23, 24, 24, 27
The median is 23
Question
Find the median of this set of numbers
4, 6, 8, 3, 8, 4, 7
Arrange the numbers in order.
3, 4, 4, 6, 7, 8, 8
(The median is the fourth number)
The median is 6
Finding the median with an even number of results
To find the median of numbers: 5, 11, 12, 4, 8, 21
Put the results in order: 4, 5, 8, 11, 12, 21
Find the two numbers in the middle: 4, 5, 8, 11, 12, 21
We need to find the value which is halfway between them.
The median is therefore: \((8+11)\div 2 = 9.5\)
Question
Find the median of this set of numbers
16, 21, 13, 14, 18, 12, 20, 18, 21, 14
Arrange the numbers in order.
12, 13, 14, 14, 16, 18, 18, 20, 21, 21 (The median is between the 5th and 6th numbers.
The median is halfway between 16 and 18.
The median is 17.
Finding the median from a frequency table
Here are Kieran's results in a frequency table.
| Number of tracks on album | Frequency |
| 9 | 1 |
| 10 | 4 |
| 11 | 3 |
| 12 | 3 |
| 13 | 0 |
| 14 | 1 |
| Number of tracks on album | 9 |
|---|---|
| Frequency | 1 |
| Number of tracks on album | 10 |
|---|---|
| Frequency | 4 |
| Number of tracks on album | 11 |
|---|---|
| Frequency | 3 |
| Number of tracks on album | 12 |
|---|---|
| Frequency | 3 |
| Number of tracks on album | 13 |
|---|---|
| Frequency | 0 |
| Number of tracks on album | 14 |
|---|---|
| Frequency | 1 |
From the table, we can find the total number of albums:
\(1 + 4 + 2 + 3 + 0 + 1 = 12\) albums
As the results are in a table, they are already ordered for us. In this case, as there are 12 results. The median is between the 6th and 7th result.
We look at the frequency column and determine when the cumulative frequency passes the 6th and 7th results.(There is an explanation of cumulative frequency on page 2)
The first row has cumulative frequency 1.
The second row has cumulative frequency 5.
The third row has cumulative frequency 8.
The third row passes the 6th and 7th results so the median must be in there.
Median is 11 tracks.
In general: if there are \(n\) results, the median will be \((n+1)\div2\) result.
For example:
For 5 numbers, the median is the (5 + 1) ÷ 2 = 3rd result
For 6 numbers, the median is the (6 + 1) ÷ 2 = 3.5th result (between the 3rd and 4th).
Question
Find the median number of tracks on Suzie's albumss.
| Number of tracks on albums | Frequency |
| 6 | 3 |
| 7 | 0 |
| 8 | 2 |
| 9 | 1 |
| 10 | 3 |
| 11 | 4 |
| 12 | 2 |
| Number of tracks on albums | 6 |
|---|---|
| Frequency | 3 |
| Number of tracks on albums | 7 |
|---|---|
| Frequency | 0 |
| Number of tracks on albums | 8 |
|---|---|
| Frequency | 2 |
| Number of tracks on albums | 9 |
|---|---|
| Frequency | 1 |
| Number of tracks on albums | 10 |
|---|---|
| Frequency | 3 |
| Number of tracks on albums | 11 |
|---|---|
| Frequency | 4 |
| Number of tracks on albums | 12 |
|---|---|
| Frequency | 2 |
Suzie has 15 albums, so the median is the 8th result \(\div 2\). (remember we can use \((15 +1)\div 2)\).
The cumulative frequency passes the 8th album at the fifth row.
The median is 10.
Remember, when you are working out the median:
- Put the results in numerical order (in a frequency table this will already be done)
- Count the total amount of results and add one
- Divide this by 2 to find the position of the middle result
- Find the middle result in the numerically ordered list or frequency table
- You will then have the median of the set of results