Skip to content
Algebra · Chapter 18

Mean, Median, Mode

Three ways to describe the middle of a list: the mean is a balance point, the median sits in the middle, the mode is the crowd favorite. Then the geometric, harmonic and quadratic means, and how they line up.

You'll need
open on YouTube
18.0a0%

Mean, Median and Mode

In this section you will be able to find a mean, median and mode, turn a mean into a sum, and split a median problem into cases.

Add the number 1 to a set and its mean drops by 13. Add 2001 instead and the mean rises by 27. How many numbers are in the set, and what is their mean?

The mean is a balance point: put a weight at every number and the see-saw balances at the mean. The median is the middle of the sorted list. The mode is the value that shows up most often.

Look: a mean is really a sum in disguise. Sum == mean ×\times count. Most contest problems about means become easy once you write down the sums.

The median is different. It only cares about order, so a median problem usually splits into cases: where does the unknown fall in the sorted list?

Exploreplay first, formulas later

5 values: mean 9.4, median 8, mode none, range 13; x = 12; median ≠ mean

4681217
Mean 9.4Median 8Mode noneRange 13

x=12x = 12

median ≠ mean

Drag the highlighted dot x, or tap it and use ◀ ▶ (or the arrow keys). The other dots stay put.

5 values, x = 12, mean 9.4, median 8, mode none, range 13, median ≠ mean

Name it

Definition 18.0.1 · Mean/Average

Mean=average of all terms=sum of all termsnumber of terms\text{Mean} = \text{average of all terms} = \frac{\text{sum of all terms}}{\text{number of terms}}

Turned around: sum=mean×number of terms\text{sum} = \text{mean} \times \text{number of terms}. Most mean problems are really sum problems.

Fulcrum at 3: left pull 1, right pull 9, tips right

left 1 vs right 9The see-saw tips right.

Fulcrum at 3: left pull 1, right pull 9, tips right

Definition 18.0.2 · Median

After arranging the numbers in increasing or decreasing order:

  • If the number of terms is odd, the median is the middle number.
  • If the number of terms is even, the median is the average of the middle two numbers.

Definition 18.0.3 · Mode

Mode=most common term(s)\text{Mode} = \text{most common term(s)}

Watch itpredict, then reveal

Example 18.1

AIME

A finite set S\mathcal{S} of distinct real numbers has the following properties: the mean of S∪{1}\mathcal{S} \cup \{1\} is 1313 less than the mean of S\mathcal{S}, and the mean of S∪{2001}\mathcal{S} \cup \{2001\} is 2727 more than the mean of S\mathcal{S}. Find the mean of S\mathcal{S}.

Mean balance (its total is revealed at the end of the example)

before 10 → after 8The mean moves by -2.

Mean 10 before the new number joins, 8 after: it moves by -2

  1. 1

    Warm up on the see-saw: a block of 44 numbers with mean 1010, and a new number 00 joins them. What is the new mean?

    Predict first:
open on YouTube

Example 18.2

AMC 10

What is the sum of all real numbers xx for which the median of the numbers 4,6,8,17,4, 6, 8, 17, and xx is equal to the mean of those five numbers?

Data dots (its total is revealed at the end of the example)

4681217
Mean 9.4Median 8Mode noneRange 13

x=12x = 12

median ≠ mean

Drag the highlighted dot x, or tap it and use ◀ ▶ (or the arrow keys). The other dots stay put.

5 values, x = 12, mean 9.4, median 8, mode none, range 13, median ≠ mean

  1. 1

    What is the mean of the five numbers, in terms of xx?

    Predict first:
open on YouTube

Example 18.3

AMC 10

When the mean, median, and mode of the list

10,2,5,2,4,2,x10, 2, 5, 2, 4, 2, x

are arranged in increasing order, they form a non-constant arithmetic progression. What is the sum of all possible real values of xx?

Data dots (its total is revealed at the end of the example)

22245810
Mean 33/7 ≈ 4.71Median 4Mode 2Range 8

x=8x = 8

not a non-constant arithmetic progressionIn increasing order: Mode 2 ≤ Median 4 ≤ Mean 33/7 ≈ 4.71

Drag the highlighted dot x, or tap it and use ◀ ▶ (or the arrow keys). The other dots stay put.

7 values, x = 8, mean 33/7 ≈ 4.71, median 4, mode 2, range 8, not a non-constant arithmetic progression

  1. 1

    What is the mode, whatever xx is?

    Predict first:
open on YouTube

Try it

Problem 18.1.6(additional)

AMC 10

The numbers 3,5,7,a,3, 5, 7, a, and bb have an average (arithmetic mean) of 1515. What is the average of aa and bb?

Problem 18.1.3

AMC 10/12

Ms. Blackwell gives an exam to two classes. The mean of the scores of the students in the morning class is 8484, and the afternoon class's mean score is 7070. The ratio of the number of students in the morning class to the number of students in the afternoon class is 34\frac{3}{4}. What is the mean of the scores of all the students?

Problem 18.1.7(additional)

AMC 10

The mean, median, and mode of the 77 data values 60,100,x,40,50,200,9060, 100, x, 40, 50, 200, 90 are all equal to xx. What is the value of xx?

7 values: mean 660/7 ≈ 94.29, median 90, mode none, range 160; x = 120; mean, median and mode are not all equal

40506090100120200
Mean 660/7 ≈ 94.29Median 90Mode noneRange 160

x=120x = 120

mean, median and mode are not all equal

Drag the highlighted dot x, or tap it and use ◀ ▶ (or the arrow keys). The other dots stay put.

7 values, x = 120, mean 660/7 ≈ 94.29, median 90, mode none, range 160, mean, median and mode are not all equal

Contest cornerreal contest problems

Problem 18.1.1

AMC 10

The quiz scores of a class with k>12k > 12 students have a mean of 88. The mean of a collection of 1212 of these quiz scores is 1414. What is the mean of the remaining quiz scores in terms of kk?

Problem 18.1.4

AMC 10/12

In the following list of numbers, the integer nn appears nn times in the list for 1≤n≤2001 \le n \le 200.

1,2,2,3,3,3,4,4,4,4,…,200,200,…,2001, 2, 2, 3, 3, 3, 4, 4, 4, 4, \ldots, 200, 200, \ldots, 200

What is the median of the numbers in this list?

Problem 18.1.5

AMC 12

Last academic year Yolanda and Zelda took different courses that did not necessarily administer the same number of quizzes during each of the two semesters. Yolanda's average on all the quizzes she took during the first semester was 33 points higher than Zelda's average on all the quizzes she took during the first semester. Yolanda's average on all the quizzes she took during the second semester was 1818 points higher than her average for the first semester and was again 33 points higher than Zelda's average on all the quizzes Zelda took during her second semester. Which one of the following statements cannot possibly be true?

Click a choice or type its letter (A–E).

Problem 18.1.8(additional)

AMC 12

Every high school in the city of Euclid sent a team of 33 students to a math contest. Each participant in the contest received a different score. Andrea's score was the median among all students, and hers was the highest score on her team. Andrea's teammates Beth and Carla placed 3737th and 6464th, respectively. How many schools are in the city?

Problem 18.1.9(additional)

AMC 10

What is the median of the following list of 40404040 numbers?

1,2,3,…,2020,12,22,32,…,202021, 2, 3, \ldots, 2020, 1^2, 2^2, 3^2, \ldots, 2020^2

Problem 18.1.11(additional)

AMC 10

Melanie computes the mean μ\mu, the median MM, and the modes of the 365365 values that are the dates in the months of 20192019. Thus her data consist of 1212 11s, 1212 22s, …\ldots, 1212 2828s, 1111 2929s, 1111 3030s, and 77 3131s. Let dd be the median of the modes. Which of the following statements is true?

Click a choice or type its letter (A–E).

Checkpoint for section 18.0a

Get 2 of 3 right to master this section. One try each, no hints.
1

Five numbers have a mean of 1212. Four of them are 8,10,15,8, 10, 15, and 1717. What is the fifth number?

2

What is the median of 7,2,9,4,11,67, 2, 9, 4, 11, 6?

3

The numbers 2,3,3,x,82, 3, 3, x, 8 have a mean of 44. What is their median?

18.0b0%

Other Means

In this section you will be able to compute geometric, harmonic and quadratic means, and see why QM ≥ AM ≥ GM ≥ HM.

The arithmetic mean of two numbers is a two-digit integer. Reverse its digits and you get their geometric mean. How far apart are the two numbers?

The ordinary mean adds. The geometric mean multiplies and then takes a root. The harmonic mean averages the reciprocals. The quadratic mean averages the squares.

Look at the semicircle: the radius is the arithmetic mean a+b2\frac{a+b}{2}, and the half-chord at the split is the geometric mean ab\sqrt{ab}. A half-chord can never be longer than the radius, so AM≥GM\text{AM} \ge \text{GM}. They are equal only when the split is at the center: a=ba = b.

Exploreplay first, formulas later

a = 4, b = 9: QM 6.96 ≥ AM 6.5 ≥ GM 6 ≥ HM 5.54

a4
b9
QM > AM > GM > HM

Drag the split point P along the diameter (or focus it and use the arrow keys).

a = 4, b = 9: QM 6.96 ≥ AM 6.5 ≥ GM 6 ≥ HM 5.54

Name it

Definition 18.0.5 · Geometric Mean

The geometric mean of the positive numbers a1,a2,a3,…,ana_1, a_2, a_3, \ldots, a_n is

a1×a2×a3×⋯×ann\sqrt[n]{a_1 \times a_2 \times a_3 \times \cdots \times a_n}

Definition 18.0.6 · Harmonic Mean

The harmonic mean of the positive numbers a1,a2,a3,…,ana_1, a_2, a_3, \ldots, a_n is

11a1+1a2+⋯+1ann=n1a1+1a2+⋯+1an\frac{1}{\dfrac{\frac{1}{a_1} + \frac{1}{a_2} + \cdots + \frac{1}{a_n}}{n}} = \frac{n}{\frac{1}{a_1} + \frac{1}{a_2} + \cdots + \frac{1}{a_n}}

In words: the reciprocal of the average of the reciprocals.

Definition 18.0.7 · Quadratic Mean

The quadratic mean (root mean square) of a1,a2,a3,…,ana_1, a_2, a_3, \ldots, a_n is

a12+a22+a32+⋯+an2n\sqrt{\frac{a_1^2 + a_2^2 + a_3^2 + \cdots + a_n^2}{n}}

For positive numbers, QM≥AM≥GM≥HM\text{QM} \ge \text{AM} \ge \text{GM} \ge \text{HM}, with equality exactly when all the numbers are equal (Chapter 40 proves it).

Contest cornerreal contest problems

Problem 18.1.13(additional)

AMC 10

The arithmetic mean of two distinct positive integers xx and yy is a two-digit integer. The geometric mean of xx and yy is obtained by reversing the digits of the arithmetic mean. What is ∣x−y∣|x - y|?

a = ?, b = ?: AM 65 ≥ GM 56

AM > GM

a = ?, b = ?: AM 65 ≥ GM 56

Checkpoint for section 18.0b

Get 2 of 3 right to master this section. One try each, no hints.
1

What is the geometric mean of 44 and 2525?

2

What is the harmonic mean of 33 and 66?

3

For two different positive numbers, which of these four means is always the smallest?

Click a choice or type its letter (A–E).
18.1

Practice Problems

In this section you will be able to mix sums, medians and modes on harder contest problems.

Four tougher problems: two are sum puzzles, two ask how far a mode can be pushed. When a problem says “largest” or “least”, build the extreme list.

Want every problem from this chapter on one page? Open the problem set.

Contest cornerreal contest problems

Problem 18.1.2

AMC 10

This problem also appears in the book as 15.1.3.

Suppose that SS is a finite set of positive integers. If the greatest integer in SS is removed from SS, then the average value (arithmetic mean) of the integers remaining is 3232. If the least integer in SS is also removed, then the average value of the integers remaining is 3535. If the greatest integer is then returned to the set, the average value of the integers rises to 4040. The greatest integer in the original set SS is 7272 greater than the least integer in SS. What is the average value of all the integers in the set SS?

Problem 18.1.10(additional)

AMC 10

A list of 20182018 positive integers has a unique mode, which occurs exactly 1010 times. What is the least number of distinct values that can occur in the list?

Problem 18.1.12(additional)

AIME

Let SS be a list of positive integers—not necessarily distinct—in which the number 6868 appears. The average (arithmetic mean) of the numbers in SS is 5656. However, if 6868 is removed, the average of the remaining numbers drops to 5555. What is the largest number that can appear in SS?

Problem 18.1.14(additional)

AIMEChallenge

A sample of 121121 integers is given, each between 11 and 10001000 inclusive, with repetitions allowed. The sample has a unique mode (most frequent value). Let DD be the difference between the mode and the arithmetic mean of the sample. What is the largest possible value of ⌊D⌋\lfloor D \rfloor? (For real xx, ⌊x⌋\lfloor x \rfloor is the greatest integer less than or equal to xx.)