30% off your first 3 months

Get the deal

Absolute value equations

The absolute value of a number is its distance from zero, so it is never negative: ∣5∣=5|5| = 5 and ∣−5∣=5|-5| = 5.

Guide 3 of 12
A number line from minus 4 to 8 with a white dot at 2. Two blue arcs of length 5 jump from 2 to 7 and from 2 to minus 3, where there are blue dots.−4−3−2−1012345678
|x − 2| = 5. The two numbers 5 steps from 2: 7 and −3.

Why it works. ∣x−2∣|x - 2| is the distance between x and 2 on the number line. There are always two numbers at a given distance from 2, one on each side, so you get two equations: the inside equals 5 or the inside equals −5-5.


Move it yourself

Slide x: the readout is its distance from 2. Find every x that is 5 away.

A number line from minus 4 to 8 with a white dot at 2. Two blue arcs of length 5 jump from 2 to 7 and from 2 to minus 3, where there are blue dots.−4−3−2−1012345678

Your turn

Solve ∣2x+1∣=9|2x + 1| = 9.

Or just show the answer

x=4x = 4 or x=−5x = -5

2x+1=92x + 1 = 9 gives x=4x = 4, and 2x+1=−92x + 1 = -9 gives x=−5x = -5. Check: ∣9∣=9|9| = 9 and ∣−9∣=9|-9| = 9.


Watch out for

  • Mistake 1. Struck through: |x − 2| = 5 → x = 7; written over it: x = 7 or x = −3.

    Dropping the bars and keeping one answer: only x=7x = 7.

    Each distance has two numbers. Write both cases.

  • Mistake 2. Struck through: |x| + 3 = 8 → x + 3 = ±8; written over it: |x| = 5 → x = ±5.

    Splitting before the bars are alone: from ∣x∣+3=8|x| + 3 = 8, writing x+3=8x + 3 = 8 or x+3=−8x + 3 = -8.

    Get ∣x∣=5|x| = 5 first, then x=5x = 5 or x=−5x = -5.

  • Mistake 3. Struck through: |x| = −4 → x = ±4; written over it: |x| = −4: none.

    Solving ∣x∣=−4|x| = -4 and getting x=4x = 4 or x=−4x = -4.

    A distance is never negative, so there is no solution.


Stuck on your own homework?

Open DuckyHelper and say it out loud. It sees your screen, so it works through your own problem with you and draws it, like the board above.

“Show me on a number line why this absolute value equation has two answers.”

Plus is $14 a month for your first 3 months. DuckyHelper is an app for Mac (Apple silicon, macOS 14 or later), Windows and Linux.


Read the whole guide as text

The absolute value of a number is its distance from zero, so it is never negative: ∣5∣=5|5| = 5 and ∣−5∣=5|-5| = 5. That is why an equation like ∣x∣=5|x| = 5 has two answers, 5 and −5-5. To solve one, get the absolute value alone, then split it into two equations.

Worked example

Solve ∣x−2∣=5|x - 2| = 5.

  1. The absolute value is already alone. What is inside is 5 away from 0, so it is 5 or −5-5.
    x−2=5orx−2=−5x - 2 = 5 \quad\text{or}\quad x - 2 = -5
  2. Add 2 in each one.
    x=7orx=−3x = 7 \quad\text{or}\quad x = -3
  3. Check both: ∣7−2∣=5|7 - 2| = 5 and ∣−3−2∣=∣−5∣=5|-3 - 2| = |-5| = 5.

Answer: x=7x = 7 or x=−3x = -3

Algebra 1: all 12 guides
Questions and jobs

Do anything

Ask it a question or hand it a job, in any app.

Doing jobs for you is in the Mac app. Asking works on Mac, Windows and Linux.