Solve |x − 2| = 4

Absolute value equation, worked out line by line the way a teacher would write it.

Answer

Solutionsx = −2, x = 6

Step-by-step solution

7 steps
  1. 1 Given
    \left|{x - 2}\right| = 4

    Solve for x.

  2. 2 Split into two cases: the expression inside the bars is either 4 or -4
    x - 2 = 4\quad \text{or} \quad x - 2 = -4
  3. 3 Case 1
    x - 2 = 4
  4. 4 Add 2 to both sides
    x = 6

    Move the constant terms to the right.

  5. 5 Case 2
    x - 2 = -4
  6. 6 Add 2 to both sides
    x = -2

    Move the constant terms to the right.

  7. 7 Check
    \begin{aligned}x = -2:\quad 4 = 4\quad\checkmark\\ x = 6:\quad 4 = 4\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
−244✓
644✓
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.