Sub topic 3
The Median: The Middle Value
What the median measures
Assume you can sort numbers, work with fractions and decimals, and solve a simple average. The median is the middle value of a data set after the values have been arranged in increasing order.
The median describes the center by position rather than by adding every value. This makes it less affected by an unusually large or small value than the mean.
Finding the median
First, sort the data. Then count the values.
- If the data set has an odd number of values, the median is the single middle value.
- If the data set has an even number of values, the median is the mean of the two middle values.
For an odd-sized list, the position of the median is:
\frac{n+1}{2}where \(n\) is the number of values.
For an even-sized list, the middle positions are:
\frac{n}{2} \quad \text{and} \quad \frac{n}{2}+1Odd number of values
Consider:
3,\ 8,\ 2,\ 10,\ 6Sort the values:
2,\ 3,\ 6,\ 8,\ 10There are five values, so the median is in position:
\frac{5+1}{2}=3The third value is 6. Therefore, the median is 6.
Even number of values
Consider:
9,\ 4,\ 12,\ 3,\ 7,\ 10Sort the values:
3,\ 4,\ 7,\ 9,\ 10,\ 12There are six values. The middle positions are:
\frac{6}{2}=3
\quad \text{and} \quad
\frac{6}{2}+1=4The two middle values are 7 and 9, so:
\text{median}=\frac{7+9}{2}=8The median does not have to be one of the original values. In this example, 8 is not in the data set.
| Number of values | Median rule | Example |
|---|---|---|
| Odd | Use the one middle value | \(2, 5, 9\) gives median \(5\) |
| Even | Average the two middle values | \(2, 5, 9, 12\) gives median \(7\) |
How changes affect the median
If the same constant is added to every value, the median increases by that constant. For example, adding 4 to every value increases the median by 4.
If every value is multiplied by a positive constant, the median is multiplied by that constant. If every value is multiplied by a negative constant, the order reverses, but the median is still multiplied by that constant.
Adding one value requires more care. A value below the current median may lower the median, a value above it may raise the median, and a value near the center may leave the median unchanged. The number of values also changes from odd to even or from even to odd.
Common GRE traps
- Using the unsorted list: The third listed value is not necessarily the median.
- Forgetting the even-case average: Two middle values must be averaged.
- Confusing median and mean: The median uses position; the mean uses the total divided by the count.
- Assuming the median must be in the data: With an even number of values, the median can lie between two values.
- Ignoring repeated values: Repeated values occupy separate positions. In \(1, 2, 2, 2, 9\), the median is 2.
Exercise
The five values \(4, x, 8, 10, 12\) have a median of 8. What values of \(x\) make this possible?
Show answer
Any \(x\) such that \(x \leq 8\) makes the sorted list's third value 8. If \(x\) is greater than 8, the median may change depending on its position.
Exercise
What is the median of \(14, 2, 9, 5, 20, 8\)?
Show answer
Sort the values: \(2, 5, 8, 9, 14, 20\). The median is \((8+9)/2=8.5\).