2010 AMC 12A Problem 22

Attempt Problem 22 of the 2010 AMC 12A 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 2010 AMC 12A solutions, or check the answer key.

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

22.

What is the minimum value of f(x)=∣x−1∣+∣2x−1∣+∣3x−1∣+⋯+∣119x−1∣? \begin{gathered} f(x) = |x-1|+|2x-1| \\ {}+|3x-1|+\cdots+|119x-1|? \end{gathered}
4949
5050
5151
5252
5353
Answer: A
Concepts:absolute valueoptimizationsummation
Small hint:
ff is piecewise linear with corners at x=1k;x=\tfrac1k; the minimum is where its slope turns from negative to positive
Big hint:
On [1m,1m−1]\left[\tfrac1m,\tfrac1{m-1}\right] the slope is 7140−(m−1)m;7140-(m-1)m; find where it vanishes
Solution:
The function ff is piecewise linear with breakpoints at x=1k.x=\tfrac1k. On the interval [1m,1m−1]\left[\tfrac1m,\tfrac1{m-1}\right] its slope is ∑k=m119k−∑k=1m−1k=7140−(m−1)m, \begin{aligned} &\sum_{k=m}^{119}k \\ &\quad {}-\sum_{k=1}^{m-1}k=7140-(m-1)m, \end{aligned} where 7140=119⋅1202.7140=\tfrac{119\cdot120}{2}.
This slope is zero when (m−1)m=7140,(m-1)m=7140, i.e. m=85,m=85, so the minimum occurs at the right endpoint x=184.x=\tfrac1{84}.
There, terms with k≤84k\le84 contribute 84−k84\tfrac{84-k}{84} and terms with k≥85k\ge85 contribute k−8484,\tfrac{k-84}{84}, so f(184)=348684+63084=41.5+7.5=49. \begin{aligned} f\left(\tfrac1{84}\right) &= \frac{3486}{84}+\frac{630}{84} \\ &= 41.5+7.5=49. \end{aligned}
Thus, A is the correct answer.
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.