Skip to main content

1997 AIME Problem 13

Problem 13 of 15HarderAlgebraGeometry

Let SS be the set of points in the Cartesian plane that satisfy ∣∣∣x∣−2∣−1∣+∣∣∣y∣−2∣−1∣=1. \begin{aligned} &\Bigl|\bigl||x| - 2\bigr| - 1\Bigr| \\ &\quad {}+ \Bigl|\bigl||y| - 2\bigr| - 1\Bigr| = 1. \end{aligned} If a model of SS were built from wire of negligible thickness, then the total length of wire required would be ab,a\sqrt{b}, where aa and bb are positive integers and bb is not divisible by the square of any prime number. Find a+b.a + b.

Your answer

Integer from 0 to 999
Show solution

Solution

Let f(t)=∣ ∣∣t∣−2∣−1 ∣,f(t) = \bigl|\,||t| - 2| - 1\,\bigr|, so the equation is f(x)+f(y)=1.f(x) + f(y) = 1. The function ff is even, and for t≥0:t \ge 0: on [0,2],[0, 2], ∣∣t∣−2∣−1=(2−t)−1||t| - 2| - 1 = (2 - t) - 1 =1−t,= 1 - t, so f(t)=∣t−1∣;f(t) = |t - 1|; on [2,4],[2, 4], f(t)=∣t−3∣;f(t) = |t - 3|; and for t>4,t \gt 4, f(t)=t−3>1,f(t) = t - 3 \gt 1, which is too large. So on the relevant range, f(t)=∣t−a∣f(t) = |t - a| where a∈{−3,−1,1,3}a \in \{-3, -1, 1, 3\} is the nearest of those four values to t.t. Therefore SS is the union of the 1616 taxicab circles ∣x−a∣+∣y−b∣=1,a,b∈{−3,−1,1,3}, \begin{aligned} &|x - a| + |y - b| = 1, \\ &\qquad a, b \in \{-3, -1, 1, 3\}, \end{aligned} which meet only at isolated points. Each is a square (diamond) with diagonal 2,2, hence side 2\sqrt{2} and perimeter 42.4\sqrt{2}. The total length is 16⋅42=642,16 \cdot 4\sqrt{2} = 64\sqrt{2}, so a+b=64+2=66.a + b = 64 + 2 = 66.
AoPS wiki

Tagged: absolute value · coordinate geometry · perimeter

More practice