2012 AMC 12A Problem 25

Below is the professionally curated solution for Problem 25 of the 2012 AMC 12A, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2012 AMC 12A solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:floor and ceiling functionscounting intersections

Difficulty rating: 2720

25.

Let f(x)=2{x}1f(x) = |2\{x\} - 1| where {x}\{x\} denotes the fractional part of x.x. The number nn is the smallest positive integer such that the equation nf(xf(x))=xnf(xf(x)) = x has at least 20122012 real solutions x.x. What is n?n?

Note: the fractional part of xx is a real number y={x},y = \{x\}, such that 0y<10 \le y \lt 1 and xyx - y is an integer.

3030

3131

3232

6262

6464

Solution:

Since 0f(x)1,0 \le f(x) \le 1, every solution lies in [0,n].[0, n]. The function ff is a triangular wave of period 1,1, and g(x)=xf(x)g(x) = xf(x) is monotonic on each half-integer interval, mapping it onto an interval on which f(g(x))f(g(x)) oscillates.

Counting the oscillations, on the intervals [a,a+12)[a, a + \tfrac12) and [a+12,a+1)[a + \tfrac12, a+1) the curve y=f(g(x))y = f(g(x)) meets the line y=xny = \tfrac{x}{n} a total of 2a2a and 2(a+1)2(a+1) times. Summing over a=0,,n1a = 0, \ldots, n-1 gives a=0n1(2a+2(a+1))=2n2\sum_{a=0}^{n-1}\bigl(2a + 2(a+1)\bigr) = 2n^2 real solutions.

The smallest nn with 2n220122n^2 \ge 2012 is n=32,n = 32, since 2312=19222 \cdot 31^2 = 1922 and 2322=2048.2 \cdot 32^2 = 2048.

Thus, the correct answer is C.

Problem 25 in Other Years