1983 AIME Problem 2

Attempt Problem 2 of the 1983 AIME 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 1983 AIME solutions, or check the answer key.

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

2.

Let f(x)=∣x−p∣+∣x−15∣f(x)=|x-p|+|x-15| +∣x−p−15∣,{}+|x-p-15|, where 0<p<15.0<p<15. Determine the minimum value taken by f(x)f(x) for xx in the interval p≤x≤15.p\leq x\leq15.
Answer: 15
Concepts:absolute valueoptimization
Small hint:
Determine the sign of each expression inside an absolute value on the given interval
Big hint:
On p≤x≤15,p\leq x\leq15, simplify f(x)f(x) to a decreasing linear function
Solution:
Since p≤x≤15,p\leq x\leq15, we have ∣x−p∣=x−p,∣x−15∣=15−x,∣x−p−15∣=p+15−x. \begin{aligned} |x-p|&=x-p,\\ |x-15|&=15-x,\\ |x-p-15|&=p+15-x. \end{aligned} Hence f(x)=30−x.f(x)=30-x. This is minimized at the right endpoint x=15,x=15, where its value is 15.15.
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.