Math Lab
Home/Class VII/Ch 13/Median (middle value)

Median (middle value)

The median is the value that lies right in the middle of a sorted list.

Idea

To find the median:

  1. Sort the list from smallest to largest (or largest to smallest).
  2. If the count nn is odd, the median is the value at position n+12\tfrac{n+1}{2}.
  3. If nn is even, the median is the mean of the two middle values at positions n2\tfrac{n}{2} and n2+1\tfrac{n}{2}+1.

Example: 5,8,3,7,65, 8, 3, 7, 6. Sort: 3,5,6,7,83, 5, 6, 7, 8. Odd count (55), middle is the 33rd value: median =6= 6.

Example: 10,6,8,410, 6, 8, 4. Sort: 4,6,8,104, 6, 8, 10. Even count (44), middle two are 66 and 88. Median =6+82=7= \tfrac{6+8}{2} = 7.

Why median? The median is the "50%50\% value" , half the data is below it, half is above. Unlike the mean, it is not pulled by outliers. Adding a value of 100100 to 1,2,3,41, 2, 3, 4 changes the mean drastically but the median only slightly.

Median is good for income data, house prices, anything skewed.

Worked examples

Example 1. Find the median of 4,9,6,1,54, 9, 6, 1, 5.

Sort: 1,4,5,6,91, 4, 5, 6, 9. Middle value (3rd): 55.

Example 2. Find the median of 10,15,20,25,30,3510, 15, 20, 25, 30, 35.

Sort (already): 10,15,20,25,30,3510, 15, 20, 25, 30, 35. Middle two: 20,2520, 25. Median =22.5= 22.5.

Example 3. Five exam scores: 80,90,70,60,8580, 90, 70, 60, 85. Median?

Sort: 60,70,80,85,9060, 70, 80, 85, 90. Median: 8080.

Example 4. Add the value 10001000 to the list in Example 3. How do the mean and median change?

Before: mean was 60+70+80+85+905=77\tfrac{60+70+80+85+90}{5} = 77, median was 8080. After adding 10001000 (six values): mean =385+10006230.83= \tfrac{385+1000}{6} \approx 230.83. Median: sort 60,70,80,85,90,100060, 70, 80, 85, 90, 1000; middle two are 80,8580, 85; median =82.5= 82.5. Mean shot up; median changed only a little.

Try it yourself

  1. Median of 7,3,9,1,57, 3, 9, 1, 5.
  2. Median of 8,4,2,6,10,128, 4, 2, 6, 10, 12.
  3. Find median of 11,13,14,17,20,2511, 13, 14, 17, 20, 25.
  4. Marks: 35,50,60,75,100,10035, 50, 60, 75, 100, 100. Median?
  5. Median of 11 to 99.
  6. List 2,4,6,8,10,12,142, 4, 6, 8, 10, 12, 14 , median?
  7. Median vs mean for 1,2,3,4,5,1001, 2, 3, 4, 5, 100.
  8. List 3,5,5,8,9,113, 5, 5, 8, 9, 11. Median?

Activity

Collect heights (in cm) of 1010 classmates. Sort the list. Find the median. Compare with the mean.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Median
5 questions · pick the best answer
Q1

Median of 1,4,5,6,91, 4, 5, 6, 9:

Q2

Median of 2,4,6,82, 4, 6, 8:

Q3

Median of 10,15,20,25,30,3510, 15, 20, 25, 30, 35:

Q4

For median we must first:

Q5

Median is preferred over mean when data has: