2019 AMC 10B Problem 13
What is the sum of all real numbers for which the median of the numbers and is equal to the mean of those five numbers?
Show solution without answering
Key insight
The median is 6, x, or 8, depending on where x falls. Solve median = mean in each case, then keep only answers that really fall in that case.
Solution
The mean is easy to write down, but the median depends on where lands in the list. So split into cases.
The mean is
The median is the middle (third) number once the five numbers are in order.
- is or less. For example, with the list is . The middle number is . Set the mean equal to : , so . Is at most ? Yes. Keep it.
- is between and . For example, with the list is . The middle number is itself. Set : , so . But is not between and . Throw it out.
- is or more. For example, with the list is . The middle number is . Set the mean equal to : , so . But is not or more. Throw it out.
Check : the list has median and mean . They match.
Only one value works, so the sum of all such is .
The answer is .
Why this works
When the rule for something (here, which number is the median) changes depending on , you have to split into cases. Each case gives an equation, but its answer only counts if it actually lands in that case. Two of the three answers here fail that check, and the wrong choices and are exactly those failed answers.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
The mean is . The median depends on where sits relative to and .
Case : the ordered list is or , so the median is . Then gives , which is indeed . Valid.
Case : the median is itself. Then gives , , which is not between and . Rejected.
Case : the median is . Then gives , which is not . Rejected.
The only solution is , so the sum of all solutions is .
The answer is .
Review in the AoPS books
- Prealgebra, Chapter 13: Data and Statistics
- Introduction to Algebra, Chapter 3: One-Variable Linear Equations (§3.3, §3.4)
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.2)
- Introduction to Algebra, Chapter 7: Proportion (§7.4)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.