AMC 10 Step by Step

2018 AMC 10A Problem 12

P11-15~5 minPrint

How many ordered pairs of real numbers (x,y)(x,y) satisfy the following system of equations? x+3y=3∣∣x∣−∣y∣∣=1\begin{align*} x+3y&=3 \\ \big||x|-|y|\big|&=1 \end{align*}

Log in to save your progress.
Show solution without answering

Key insight

Write x using y from the line. The line then splits into three stretches where x and y keep their signs, and each stretch gives simple equations.

Solution

Absolute values are hard to work with until you know whether the inside is positive or negative. The line lets us decide that.

1. Use the line. From x+3y=3x + 3y = 3 we get x=3−3yx = 3 - 3y. So once we know yy, we know xx.
2. When is xx positive? x=3−3yx = 3 - 3y is 00 or more exactly when y≤1y \le 1. And yy itself changes sign at 00. So the line splits into three pieces:
- y<0y < 0: here x>0x > 0 and y<0y < 0;
- 0≤y≤10 \le y \le 1: here x≥0x \ge 0 and y≥0y \ge 0;
- y>1y > 1: here x<0x < 0 and y>0y > 0.
3. Open the outer absolute value. ∣∣x∣−∣y∣∣=1\big||x| - |y|\big| = 1 means ∣x∣−∣y∣|x| - |y| is either 11 or −1-1.
4. Piece y<0y < 0. Here ∣x∣=3−3y|x| = 3 - 3y and ∣y∣=−y|y| = -y, so ∣x∣−∣y∣=3−3y+y=3−2y|x| - |y| = 3 - 3y + y = 3 - 2y.
- 3−2y=13 - 2y = 1 gives y=1y = 1; 3−2y=−13 - 2y = -1 gives y=2y = 2. Neither is negative, so no solutions here.
5. Piece 0≤y≤10 \le y \le 1. Here ∣x∣=3−3y|x| = 3 - 3y and ∣y∣=y|y| = y, so ∣x∣−∣y∣=3−4y|x| - |y| = 3 - 4y.
- 3−4y=13 - 4y = 1 gives y=12y = \tfrac12, so x=32x = \tfrac32.
- 3−4y=−13 - 4y = -1 gives y=1y = 1, so x=0x = 0.
- Both yy values are in the range, so we get (32,12)\left(\tfrac32, \tfrac12\right) and (0,1)(0, 1).
6. Piece y>1y > 1. Here ∣x∣=3y−3|x| = 3y - 3 and ∣y∣=y|y| = y, so ∣x∣−∣y∣=2y−3|x| - |y| = 2y - 3.
- 2y−3=12y - 3 = 1 gives y=2y = 2, so x=−3x = -3. This is in range.
- 2y−3=−12y - 3 = -1 gives y=1y = 1, which is not bigger than 11. Rejected (it is the point we already found).
7. Check the last one. (−3,2)(-3, 2): −3+6=3-3 + 6 = 3, and ∣3−2∣=1\big|3 - 2\big| = 1. Good.

There are 33 ordered pairs: (32,12)\left(\tfrac32, \tfrac12\right), (0,1)(0,1), (−3,2)(-3,2).

The answer is (C) 3\boxed{\textbf{(C)}\ 3}.

Why this works

An absolute value becomes an ordinary expression once you know the sign of what is inside. Plugging in the line first ties the sign of xx to yy, so instead of many sign cases you get just three stretches of the line, each with a simple linear equation. Always check that each answer really falls in the stretch you assumed.

Alternative approach

Draw it. In the top-right quarter of the plane, ∣∣x∣−∣y∣∣=1\big||x| - |y|\big| = 1 is two rays: x−y=1x - y = 1 starting at (1,0)(1, 0) and y−x=1y - x = 1 starting at (0,1)(0, 1), both going up and to the right at slope 11. Flipping these over both axes gives eight rays. The line x+3y=3x + 3y = 3 goes through (3,0)(3, 0) and (0,1)(0, 1). It touches the ray start (0,1)(0,1), crosses the ray from (1,0)(1,0) at (32,12)\left(\tfrac32, \tfrac12\right), and crosses a ray in the top-left quarter at (−3,2)(-3, 2). Below the xx-axis the line moves away from the rays and never meets them. Three points.

Concise solution

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

From the first equation, x=3−3yx = 3 - 3y. The second equation says ∣x∣−∣y∣=1|x| - |y| = 1 or ∣x∣−∣y∣=−1|x| - |y| = -1.

Along the line, x≥0x \ge 0 exactly when y≤1y \le 1, so the signs of xx and yy split the line into just three pieces.

Region y<0y < 0 (so x>0x > 0): ∣x∣−∣y∣=(3−3y)+y=3−2y|x| - |y| = (3 - 3y) + y = 3 - 2y. Setting 3−2y=±13 - 2y = \pm 1 gives y=1y = 1 or y=2y = 2, neither negative. No solutions.

Region 0≤y≤10 \le y \le 1 (so x≥0x \ge 0): ∣x∣−∣y∣=3−3y−y=3−4y|x| - |y| = 3 - 3y - y = 3 - 4y. Setting 3−4y=±13 - 4y = \pm 1 gives y=12y = \tfrac12 or y=1y = 1, both in range. Solutions (32,12)\left(\tfrac32, \tfrac12\right) and (0,1)(0, 1).

Region y>1y > 1 (so x<0x < 0): ∣x∣−∣y∣=(3y−3)−y=2y−3|x| - |y| = (3y - 3) - y = 2y - 3. Setting 2y−3=±12y - 3 = \pm 1 gives y=2y = 2 or y=1y = 1; only y=2y = 2 is in range. Solution (−3,2)(-3, 2).

Quick check of (−3,2)(-3, 2): ∣∣−3∣−∣2∣∣=1\big||-3| - |2|\big| = 1 and −3+6=3-3 + 6 = 3. Three ordered pairs in all.

The answer is (C) 3\boxed{\textbf{(C)}\ 3}.

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.