2022 AMC 10B Problem 24

Attempt Problem 24 of the 2022 AMC 10B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2022 AMC 10B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

24.

Consider functions ff that satisfy ∣f(x)−f(y)∣≤12∣x−y∣|f(x)-f(y)|\leq \dfrac{1}{2}|x-y| for all real numbers xx and y.y. Of all such functions that also satisfy the equation f(300)=f(900),f(300) = f(900), what is the greatest possible value of the following expression? f(f(800))−f(f(400))f(f(800))-f(f(400))
25 25
50 50
100 100
150 150
200 200
Answer: B
Concepts:functioninequalityextremal argument
Small hint:
After proving the upper bound, give a piecewise-linear function that attains it
Big hint:
Use the contraction condition twice on each side of f(300)=f(900)f(300)=f(900)
Solution:
Applying the contraction inequality twice gives ∣f(f(400))−f(f(300))∣≤12∣f(400)−f(300)∣≤25, \begin{aligned} &|f(f(400))-f(f(300))|\\ &\quad\le\frac12|f(400)-f(300)|\\ &\quad\le25, \end{aligned} and similarly ∣f(f(800))−f(f(900))∣≤25.|f(f(800))-f(f(900))|\le25.
Set M=f(f(300))=f(f(900)).M=f(f(300))=f(f(900)). The triangle inequality now yields ∣f(f(800))−f(f(400))∣≤∣f(f(800))−M∣+∣M−f(f(400))∣≤50. \begin{aligned} &|f(f(800))-f(f(400))|\\ &\quad\le|f(f(800))-M|\\ &\qquad+|M-f(f(400))|\\ &\quad\le50. \end{aligned}
To attain the bound, define ff by linear interpolation through the points (300,600),(400,550),(550,575),(650,625),(800,650),(900,600).\begin{gathered}(300,600),(400,550),(550,575),\\ (650,625),(800,650),(900,600).\end{gathered} and set f(x)=600f(x)=600 for x≤300x\leq300 or x≥900.x\geq900. Every segment has slope with absolute value at most 12,\dfrac12, so the contraction condition holds. In particular, f(300)=f(900)=600,f(300)=f(900)=600, f(400)=550,f(400)=550, and f(800)=650.f(800)=650. Hence f(f(400))=f(550)=575,f(f(400))=f(550)=575, while f(f(800))=f(650)=625,f(f(800))=f(650)=625, giving the difference 50.50.
Thus, the answer is B .
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.