2004 AMC 10A Problem 4
What is the value of if ?
Show solution without answering
Key insight
The distance from x to 1 equals the distance from x to 2, so x is exactly halfway between 1 and 2, which is 3/2.
Solution
1. The expression is the distance on the number line between and . In the same way, is the distance between and .
2. The equation says these two distances are the same. The only point that is equally far from and from is the point exactly halfway between them:
3. Check: and . They match.
The answer is .
Why this works
The absolute value of a difference, , is the distance between and . So an equation like asks for the point equally far from and , which is their midpoint. Thinking of distances is quicker and safer than splitting into cases.
Alternative approach
Two numbers have the same absolute value when they are equal or when one is the negative of the other.
- Equal: would mean , which is false.
- Opposite: . Then , so .
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
On the number line, measures how far is from , and measures how far is from . The equation says these distances are equal, so sits exactly halfway between and :
Check: and .
The answer is .
Review in the AoPS books
- Introduction to Algebra, Chapter 20: Special Functions (§20.2, §20.5)
- Introduction to Algebra, Chapter 15: More Inequalities (§15.1, §15.3, §15.4)
- Intermediate Algebra, Chapter 12: Inequalities (§12.3, §12.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.