AMC 10 Step by Step

2004 AMC 10A Problem 4

P1-10~1 minPrint

What is the value of xx if ∣x−1∣=∣x−2∣|x-1|=|x-2| ?

Log in to save your progress.
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 ∣x−1∣|x - 1| is the distance on the number line between xx and 11. In the same way, ∣x−2∣|x - 2| is the distance between xx and 22.
2. The equation says these two distances are the same. The only point that is equally far from 11 and from 22 is the point exactly halfway between them:
x=1+22=32.x = \frac{1+2}{2} = \frac32.
3. Check: ∣32−1∣=12\left|\tfrac32 - 1\right| = \tfrac12 and ∣32−2∣=12\left|\tfrac32 - 2\right| = \tfrac12. They match.

The answer is (D) 32\boxed{\textbf{(D)}\ \frac32}.

Why this works

The absolute value of a difference, ∣a−b∣|a - b|, is the distance between aa and bb. So an equation like ∣x−p∣=∣x−q∣|x - p| = |x - q| asks for the point equally far from pp and qq, 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: x−1=x−2x - 1 = x - 2 would mean −1=−2-1 = -2, which is false.
  • Opposite: x−1=−(x−2)=2−xx - 1 = -(x - 2) = 2 - x. Then 2x=32x = 3, so x=32x = \tfrac32.
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, ∣x−1∣|x-1| measures how far xx is from 11, and ∣x−2∣|x-2| measures how far xx is from 22. The equation says these distances are equal, so xx sits exactly halfway between 11 and 22:
x=1+22=32.x = \frac{1+2}{2} = \frac32.

Check: ∣32−1∣=12\left|\tfrac32 - 1\right| = \tfrac12 and ∣32−2∣=12\left|\tfrac32 - 2\right| = \tfrac12.

The answer is (D) 32\boxed{\textbf{(D)}\ \frac32}.

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.