2005 AMC 12A Problem 20

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

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

20.

For each xx in [0,1],[0, 1], define f(x)={2x,0≤x≤12,2−2x,12<x≤1. f(x) = \begin{cases} 2x, & 0 \le x \le \tfrac{1}{2},\\ 2 - 2x, & \tfrac{1}{2} \lt x \le 1. \end{cases} Let f[2](x)=f(f(x)),f^{[2]}(x) = f(f(x)), and f[n+1](x)=f[n](f(x))f^{[n+1]}(x) = f^{[n]}(f(x)) for each integer n≥2.n \ge 2. For how many values of xx in [0,1][0, 1] is f[2005](x)=12?f^{[2005]}(x) = \tfrac{1}{2}?
00
20052005
40104010
200522005^2
220052^{2005}
Answer: E
Concepts:functionrecursion
Small hint:
Let g(n)g(n) be the number of solutions of f[n](x)=12;f^{[n]}(x) = \tfrac{1}{2}; find a recursion for g(n)g(n)
Big hint:
Because ff maps each of [0,12][0, \tfrac12] and [12,1][\tfrac12, 1] onto all of [0,1],[0, 1], each solution splits into two, giving g(n)=2 g(n−1)g(n) = 2\,g(n-1)
Solution:
Let g(n)g(n) count the solutions of f[n](x)=12f^{[n]}(x) = \tfrac{1}{2} in [0,1].[0, 1]. Since ff maps each of the two halves [0,12][0, \tfrac12] and [12,1][\tfrac12, 1] onto all of [0,1],[0, 1], every solution of f[n−1](y)=12f^{[n-1]}(y) = \tfrac12 comes from two values of xx (one in each half).
The boundary value x=12x = \tfrac12 satisfies f[n](12)=f[n−1](1)=0≠12,f^{[n]}(\tfrac12) = f^{[n-1]}(1) = 0 \ne \tfrac12, so no solutions are lost, giving g(n)=2 g(n−1).g(n) = 2\,g(n-1).
Since g(1)=2,g(1) = 2, we conclude g(2005)=22005.g(2005) = 2^{2005}.
Thus, the correct answer is E.
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.