Algebra · real student question

Solve |2 - x| = |-8|.

Question

Solve

2x=8|2-x|=|-8|

Step-by-step solution

  1. Simplify the right side. An absolute value of a plain number is just its size:

    8=82x=8|-8|=8\qquad\Longrightarrow\qquad |2-x|=8

    The right side is now a positive constant, which guarantees solutions exist (had it been negative, there would be none).

  2. Interpret the equation as a distance. 2x=x2|2-x|=|x-2| is the distance from xx to 22 on the number line, so the equation asks for the points exactly 88 units from 22. There must be exactly two — one on each side.

  3. Split into two cases. Removing an absolute value means the inside is either +8+8 or 8-8:

    Case 1: 2x=8x=6x=6\textbf{Case 1: } 2-x=8\qquad\Longrightarrow\qquad -x=6\qquad\Longrightarrow\qquad x=-6

  4. Solve the second case.

    Case 2: 2x=8x=10x=10\textbf{Case 2: } 2-x=-8\qquad\Longrightarrow\qquad -x=-10\qquad\Longrightarrow\qquad x=10

    In both cases the final division by 1-1 flips the sign — the step most often fumbled.

  5. Confirm with the distance picture. Going 88 units left from 22 lands on 6-6, and 88 units right lands on 1010 ✓. The two solutions are symmetric about 22, as they must be, and their midpoint 6+102=2\tfrac{-6+10}{2}=2 recovers the centre.

  6. Verify by substitution. At x=6x=-6: 2(6)=8=8|2-(-6)|=|8|=8 ✓. At x=10x=10: 210=8=8|2-10|=|-8|=8 ✓. A scan of 40014001 points from 20-20 to 2020 finds these two values and no others ✓.

Answer

x=6orx=10x=-6\quad\text{or}\quad x=10

Need to solve a different problem like this? Open the solver →