2018 AMC 10A Problem 12
How many ordered pairs of real numbers satisfy the following system of equations?
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 we get . So once we know , we know .
2. When is positive? is or more exactly when . And itself changes sign at . So the line splits into three pieces:
- : here and ;
- : here and ;
- : here and .
3. Open the outer absolute value. means is either or .
4. Piece . Here and , so .
- gives ; gives . Neither is negative, so no solutions here.
5. Piece . Here and , so .
- gives , so .
- gives , so .
- Both values are in the range, so we get and .
6. Piece . Here and , so .
- gives , so . This is in range.
- gives , which is not bigger than . Rejected (it is the point we already found).
7. Check the last one. : , and . Good.
There are ordered pairs: , , .
The answer is .
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 to , 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, is two rays: starting at and starting at , both going up and to the right at slope . Flipping these over both axes gives eight rays. The line goes through and . It touches the ray start , crosses the ray from at , and crosses a ray in the top-left quarter at . Below the -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, . The second equation says or .
Along the line, exactly when , so the signs of and split the line into just three pieces.
Region (so ): . Setting gives or , neither negative. No solutions.
Region (so ): . Setting gives or , both in range. Solutions and .
Region (so ): . Setting gives or ; only is in range. Solution .
Quick check of : and . Three ordered pairs in all.
The answer is .
Review in the AoPS books
- Introduction to Algebra, Chapter 20: Special Functions (§20.2, §20.5)
- Introduction to Algebra, Chapter 5: Multi-Variable Linear Equations (§5.2, §5.3, §5.6)
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.2)
- Introduction to Algebra, Chapter 15: More Inequalities (§15.1, §15.3, §15.4)
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.