AMC 10 Step by Step

2021 AMC Fall 10A Problem 16

P16-20~4 minPrint

The graph of f(x)=∣⌊x⌋∣−∣⌊1−x⌋∣f(x) = |\lfloor x \rfloor| - |\lfloor 1 - x \rfloor| is symmetric about which of the following? (Here ⌊x⌋\lfloor x \rfloor is the greatest integer not exceeding xx .)

Log in to save your progress.
Show solution without answering

Key insight

Plot some values: f is 0 between whole numbers, 1 at 1, 2, 3, ... and -1 at 0, -1, -2, .... The dots pair up around (1/2, 0).

Solution

The floor function looks scary, so start by plugging in numbers and drawing the graph.

1. Whole numbers. For a whole number xx, both floors just give back the number:
- f(0)=∣0∣−∣1∣=−1f(0) = |0| - |1| = -1
- f(1)=∣1∣−∣0∣=1f(1) = |1| - |0| = 1
- f(2)=∣2∣−∣−1∣=2−1=1f(2) = |2| - |{-1}| = 2 - 1 = 1
- f(−1)=∣−1∣−∣2∣=1−2=−1f(-1) = |{-1}| - |2| = 1 - 2 = -1
- f(3)=3−2=1f(3) = 3 - 2 = 1 and f(−2)=2−3=−1f(-2) = 2 - 3 = -1.

The pattern: f=1f = 1 at 1,2,3,…1, 2, 3, \ldots and f=−1f = -1 at 0,−1,−2,…0, -1, -2, \ldots
2. Numbers between whole numbers. Try x=2.3x = 2.3: ⌊2.3⌋=2\lfloor 2.3 \rfloor = 2 and ⌊1−2.3⌋=⌊−1.3⌋=−2\lfloor 1 - 2.3 \rfloor = \lfloor -1.3 \rfloor = -2. So f(2.3)=2−2=0f(2.3) = 2 - 2 = 0. Try x=−0.6x = -0.6: ⌊−0.6⌋=−1\lfloor -0.6 \rfloor = -1 and ⌊1.6⌋=1\lfloor 1.6 \rfloor = 1, so f=1−1=0f = 1 - 1 = 0. In general, when xx is not a whole number, the two floors are opposites, so f(x)=0f(x) = 0.
3. The graph. It is the xx-axis with the whole-number points moved: dots at height 11 above x=1,2,3,…x = 1, 2, 3, \ldots and dots at height −1-1 below x=0,−1,−2,…x = 0, -1, -2, \ldots
4. Find the center. Pair the dots up: (1,1)(1, 1) with (0,−1)(0, -1), (2,1)(2, 1) with (−1,−1)(-1, -1), (3,1)(3, 1) with (−2,−1)(-2, -1), and so on. Each pair has midpoint (12,0)\left(\frac12, 0\right). Turning the graph halfway around that point swaps each pair, and the flat part along the xx-axis turns into itself. So the graph is symmetric about (12,0)\left(\frac12, 0\right).
5. Rule out the rest.
- yy-axis: f(1)=1f(1) = 1 but f(−1)=−1f(-1) = -1. Fails.
- Line x=1x = 1: f(0)=−1f(0) = -1 but f(2)=1f(2) = 1. Fails.
- Origin: a graph symmetric about a point on the xx-axis must have f=0f = 0 there, but f(0)=−1f(0) = -1. Fails.
- Point (1,0)(1, 0): the same reason, since f(1)=1f(1) = 1. Fails.

The answer is (D) the point (12,0)\boxed{\textbf{(D)}\ \text{the point }\left(\frac12, 0\right)}.

Why this works

The formula pairs xx with 1−x1 - x. Replacing xx by 1−x1 - x swaps the two parts, and since they are subtracted, the value flips sign: f(1−x)=−f(x)f(1 - x) = -f(x). The numbers xx and 1−x1 - x are mirror images around 12\frac12, and a flipped sign means a half-turn around the point (12,0)\left(\frac12, 0\right). When a formula mixes xx and c−xc - x, check what happens when you swap them.

Alternative approach

Do the swap directly. Replace xx by 1−x1 - x:
f(1−x)=∣⌊1−x⌋∣−∣⌊x⌋∣=−f(x).f(1 - x) = |\lfloor 1 - x \rfloor| - |\lfloor x \rfloor| = -f(x).
So the point (x,y)(x, y) on the graph always comes with the point (1−x,−y)(1 - x, -y). These two points have midpoint (12,0)\left(\frac12, 0\right), which is exactly symmetry about that point.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

The two terms of ff are built from xx and 1−x1 - x, and the substitution x↦1−xx \mapsto 1 - x exchanges these two expressions. So
f(1−x)=∣⌊1−x⌋∣−∣⌊1−(1−x)⌋∣=∣⌊1−x⌋∣−∣⌊x⌋∣=−f(x).f(1 - x) = |\lfloor 1 - x \rfloor| - |\lfloor 1 - (1 - x) \rfloor| = |\lfloor 1 - x \rfloor| - |\lfloor x \rfloor| = -f(x).

A graph is symmetric about the point (a,0)(a, 0) exactly when f(2a−x)=−f(x)f(2a - x) = -f(x) for all xx. Here 2a=12a = 1, so a=12a = \tfrac12: the graph is symmetric about (12,0)\left(\tfrac12, 0\right).

To rule out the other choices, compute a few values: f(−1)=−1f(-1) = -1, f(0)=−1f(0) = -1, f(1)=1f(1) = 1, f(2)=1f(2) = 1. The yy-axis fails since f(−1)≠f(1)f(-1) \ne f(1); the origin fails since f(0)≠0f(0) \ne 0; the line x=1x = 1 fails since f(0)≠f(2)f(0) \ne f(2); and the point (1,0)(1, 0) fails since point symmetry about (a,0)(a, 0) forces f(a)=0f(a) = 0, but f(1)=1f(1) = 1.

The answer is (D) the point (12,0)\boxed{\textbf{(D)}\ \text{the point }\left(\frac12, 0\right)}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.