2021 AMC 10B Problem 19
Suppose that is a finite set of positive integers. If the greatest integer in is removed from , then the average value (arithmetic mean) of the integers remaining is . If the least integer in is also removed, then the average value of the integers remaining is . If the greatest integer is then returned to the set, the average value of the integers rises to . The greatest integer in the original set is greater than the least integer in . What is the average value of all the integers in the set ?
Show solution without answering
Key insight
Removing the greatest or the least leaves n − 1 numbers either way. Those two totals differ by 72 and the averages by 8, so n − 1 = 9.
Solution
An average hides a total, so turn every average into a total: total average how many.
Let have numbers with total , greatest number and least number .
- Remove the greatest. There are numbers left: .
- Remove the least too. There are left: .
- Put the greatest back. Only the least is missing, so there are numbers: .
- Also, .
Step 1: find . Equations 1 and 3 both have numbers, so compare them. Subtract 1 from 3:
Since , we get , so and .
Step 2: find the rest.
- Equation 1: .
- Equation 2: . Comparing with the line above, .
- Then , and .
- Check with equation 3: . Correct.
Step 3: the average. .
The answer is .
Why this works
Averages are hard to combine, but totals just add and subtract. Once every fact is written as a total, look for two facts that use the same number of items. Subtracting them leaves only the difference between the greatest and least, which the problem gives you.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Let have elements with total , greatest element and least element . Turn each average into a sum:
- Remove ( elements): .
- Remove and ( elements): .
- Put back, so only is missing ( elements): .
- .
Subtract (1) from (3): . With (4), , so .
Now (1) gives and (2) gives , so , hence and .
The average of is .
The answer is .
Review in the AoPS books
- Prealgebra, Chapter 13: Data and Statistics
- Introduction to Algebra, Chapter 5: Multi-Variable Linear Equations (§5.2, §5.3, §5.6)
- Intermediate Algebra, Chapter 1: Basic Techniques for Solving Equations (§1.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.