Median Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Median.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

The median is the middle value of an ordered data set โ€” half of the values are above it and half are below it.

Half the values are below, half are above. The true 'middle.'

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: Sort the data and the median is the value standing in the exact middle, with half below and half above.

Common stuck point: The procedure for median is the easy part; the trap is finding the middle of the unsorted list. Asking "After sorting the data smallest to largest, what value sits exactly in the middle?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: After sorting the data smallest to largest, what value sits exactly in the middle?

Worked Examples

Example 1

easy
Find the median of {3,7,1,9,5}\{3, 7, 1, 9, 5\}.

Answer

Median=5\text{Median} = 5

First step

1
Sort the data in ascending order: {1,3,5,7,9}\{1, 3, 5, 7, 9\}.

Full solution

  1. 2
    Since n=5n = 5 (odd), the median is the middle value at position 5+12=3\frac{5+1}{2} = 3.
  2. 3
    The third value is 55.
For an odd number of data points, the median is the middle value after sorting. The median is robust against outliers, unlike the mean.

Example 2

medium
Find the median of {12,4,7,19,3,15}\{12, 4, 7, 19, 3, 15\}.

Example 3

easy
In a class of 11 students, what position (rank) does the median occupy in sorted order?

Example 4

medium
Data set {x,4,6,9,12}\{x, 4, 6, 9, 12\} is already sorted with median 66. What constraint does this place on xx?

Example 5

medium
A data set has 9 values with median 5050. What is the median of {x/2:xโˆˆdata}\{x/2 : x \in \text{data}\}?

Example 6

medium
What is the median of the first 10 positive integers?

Example 7

hard
Three students have ages 12,14,1612, 14, 16 (median 1414). A fourth student joins, making the group's median 13.513.5. Find the fourth student's age.

Example 8

hard
A class has 21 quiz scores sorted as s1โ‰คs2โ‰คโ‹ฏโ‰คs21s_1 \le s_2 \le \dots \le s_{21} with median s11=80s_{11} = 80. The teacher adds 4 perfect scores of 100100. Express the new median in terms of the original scores.

Example 9

hard
A data set of 7 distinct positive integers has median 1010 and the smallest value is 33. Is the mean bounded above?

Example 10

challenge
Show that among any nn distinct real numbers x1,โ€ฆ,xnx_1, \dots, x_n, the median minimizes the sum of absolute deviations f(c)=โˆ‘iโˆฃxiโˆ’cโˆฃf(c) = \sum_i |x_i - c|.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Find the median of {22,8,15,31,10,18,27}\{22, 8, 15, 31, 10, 18, 27\}.

Example 2

medium
The ordered data set {2,5,8,x,14,18}\{2, 5, 8, x, 14, 18\} has median 10.510.5. Find xx.

Example 3

easy
Find the median of 3,7,53, 7, 5.

Example 4

easy
Find the median of 10,2,8,4,610, 2, 8, 4, 6.

Example 5

easy
Find the median of 4,84, 8.

Example 6

easy
Find the median of 1,2,3,4,5,61, 2, 3, 4, 5, 6.

Example 7

easy
Find the median of 9,9,99, 9, 9.

Example 8

easy
Find the median of 12,15,11,1412, 15, 11, 14.

Example 9

easy
Find the median of 20,5,1320, 5, 13.

Example 10

easy
Find the median of 7,1,7,3,97, 1, 7, 3, 9.

Example 11

medium
A data set sorted is 4,6,x,104, 6, x, 10 and its median is 77. Find xx.

Example 12

medium
Scores are 82,90,76,88,94,7982, 90, 76, 88, 94, 79. Find the median.

Example 13

medium
A list has values 5,8,12,15,205, 8, 12, 15, 20. Add the value 100100. How does the median change?

Example 14

medium
The median of 3,7,11,x3, 7, 11, x is 99 (set is already sorted). Find xx.

Example 15

medium
Find the median of the first eight positive even numbers.

Example 16

medium
A class of 7 students has ages 11,12,12,13,13,13,4011,12,12,13,13,13,40 (a teacher included). Find the median age.

Example 17

medium
Two data sets are combined: {2,4,6}\{2,4,6\} and {8,10}\{8,10\}. Find the median of the combined set.

Example 18

medium
In 5,9,9,12,15,185, 9, 9, 12, 15, 18, find both the median and state whether it equals any data value.

Example 19

medium
A data set of 9 numbers has median 2020. If every value is increased by 55, what is the new median?

Example 20

challenge
A sorted set of 6 distinct integers has median 1010. The two middle values are consecutive integers. What are they?

Example 21

challenge
Five distinct positive integers have median 66 and mean 88. What is the largest possible value in the set?

Example 22

challenge
A set of nn numbers (nn even) has median mm. You append the single value mm. Is the new median still mm? Explain.

Example 23

easy
Find the median of {4,1,7}\{4, 1, 7\}.

Example 24

easy
Find the median of {15,11,13,19,17}\{15, 11, 13, 19, 17\}.

Example 25

easy
Find the median of {100,50,75}\{100, 50, 75\}.

Example 26

easy
Find the median of {โˆ’3,โˆ’1,0,2,5}\{-3, -1, 0, 2, 5\}.

Example 27

medium
Find the median of the data set {12,4,18,9,7,14,2}\{12, 4, 18, 9, 7, 14, 2\}.

Example 28

medium
Eight test scores are 72,85,91,68,77,88,94,8072, 85, 91, 68, 77, 88, 94, 80. Find the median.

Example 29

medium
A data set of 10 numbers has median 1515. If every value is decreased by 77, find the new median.

Example 30

medium
Six house prices in a neighborhood are (in thousands of dollars): 250,290,310,305,280,1500250, 290, 310, 305, 280, 1500. Compute median and mean; which better represents the typical price?

Example 31

medium
A set of 12 numbers has median 3030. You append the value 3030 to the set. What is the new median?

Example 32

hard
A set of 5 positive integers has median 77 and mean 77. Give one example of such a set and explain why the median and mean being equal is consistent here.

Example 33

hard
In the sorted set {3,5,7,x,11,13}\{3, 5, 7, x, 11, 13\} with median 99, find xx.

Example 34

hard
What is the median of the integers from 11 to 100100?

Example 35

challenge
Two data sets each of size 5 have medians 88 and 1212. When combined (size 10), what range of medians is possible?