2014 AMC 12A Problem 24

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

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

24.

Let f0(x)=x+∣x−100∣f_0(x)=x+|x-100| −∣x+100∣,-|x+100|, and for n≥1,n\ge1, let fn(x)=∣fn−1(x)∣−1.f_n(x)=|f_{n-1}(x)|-1. For how many values of xx is f100(x)=0?f_{100}(x)=0?
299299
300300
301301
302302
303303
Answer: C
Concepts:absolute valuerecursioncounting intersections
Small hint:
If f0(x)=±kf_0(x)=\pm k for a nonnegative integer k,k, then fk(x)=0f_k(x)=0 and afterward the values cycle 0,−1,0,−1,…0,-1,0,-1,\ldots
Big hint:
So f100(x)=0f_{100}(x)=0 needs f0(x)=2kf_0(x)=2k with −50≤k≤50-50\le k\le50; graph f0f_0 and count intersections with each line y=2ky=2k
Solution:
If fn−1(x)=±k,f_{n-1}(x)=\pm k, then fn(x)=k−1.f_n(x)=k-1. So if f0(x)=±kf_0(x)=\pm k for a nonnegative integer k,k, then fk(x)=0,f_k(x)=0, after which the sequence alternates 0,−1,0,…0,-1,0,\ldots Thus f100(x)=0f_{100}(x)=0 exactly when f0(x)=2kf_0(x)=2k for some integer −50≤k≤50.-50\le k\le50.
Now f0(x)=x+∣x−100∣f_0(x)=x+|x-100| −∣x+100∣-|x+100| equals x+200x+200 for x<−100,x\lt-100, −x-x for −100≤x<100,-100\le x\lt100, and x−200x-200 for x≥100.x\ge100. Its graph is piecewise linear with turning points (−100,100)(-100,100) and (100,−100).(100,-100).
A line y=2ky=2k meets this graph three times for −49≤k≤49-49\le k\le49 and twice for k=±50.k=\pm50. The total is 99⋅3+2⋅2=301.99\cdot3+2\cdot2=301.
Thus, the correct answer is C.
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.