Skip to main content

2021 AIME I Problem 8

Problem 8 of 15IntermediateAlgebraProblem-Solving Techniques

Find the number of integers cc such that the equation ∣∣20∣x∣−x2∣−c∣=21\left|\left|20|x| - x^2\right| - c\right| = 21 has 1212 distinct real solutions.

Your answer

Integer from 0 to 999
Show solution

Solution

Set f(x)=∣20∣x∣−x2∣,f(x) = \left|20|x| - x^2\right|, an even function; the equation says f(x)=c+21f(x) = c + 21 or f(x)=c−21.f(x) = c - 21. For x≥0,x \ge 0, the graph of ff rises from 00 to 100100 on [0,10],[0, 10], falls back to 00 at x=20,x = 20, then increases without bound. So for kk with 0<k<100,0 \lt k \lt 100, the equation f(x)=kf(x) = k has 33 positive solutions, hence 66 solutions in all; for k=100k = 100 it has 4;4; for k>100k \gt 100 it has 2;2; and for k=0k = 0 it has 33 (namely 00 and ±20\pm 20). The two levels c+21c + 21 and c−21c - 21 are distinct, so the only way to reach 1212 solutions is 6+6:6 + 6: both c−21c - 21 and c+21c + 21 must lie strictly between 00 and 100.100. This means c≥22c \ge 22 and c≤78,c \le 78, and every such integer works: there are 78−22+1=5778 - 22 + 1 = 57 values.
AoPS wiki

Tagged: absolute value · function · casework

More practice