Absolute value: equations and inequalities
|x| as a distance from zero, |x − a| as a distance from a, the two cases of |ax + b| = c, and why |x| < c is a strip and |x| > c is two rays.
First, the rules
Absolute value is a distance
|x| is how far x is from 0, never negative. |x − a| is how far x is from a. Read every equation and inequality below as a sentence about distance and it becomes obvious.
|−7| = 7, |7| = 7, |0| = 0.
A strip between two points.
Two rays, pointing away from a. The word is OR, never AND.
See it
Distance from a
Slide the centre a and the distance c. "Less than" shades the strip, "greater than" shades the two rays, "equal" marks the two endpoints.
Step by step
Worked examples
Two cases
equationSolve |2x − 5| = 7.
Ask yourself: What is 7 units away from 0? Both 7 and −7. So what can 2x − 5 be?
Show the solution
- Case 1: 2x − 5 = 7 ⇒ 2x = 12 ⇒ x = 6.
- Case 2: 2x − 5 = −7 ⇒ 2x = −2 ⇒ x = −1.
- Check both: |12 − 5| = 7 ✓, |−2 − 5| = 7 ✓.
Answer x ∈ {−1, 6}
Strip and rays
inequalitiesSolve (a) |x − 3| < 4 and (b) |x + 1| ≥ 2.
Ask yourself: Say each one in words: (a) "x is less than 4 away from 3"; (b) "x is at least 2 away from −1".
Show the solution
- (a) Within 4 of 3: 3 − 4 < x < 3 + 4, i.e. −1 < x < 7.
- (b) |x + 1| = |x − (−1)|: at least 2 away from −1, in either direction: x ≤ −3 or x ≥ 1.
- On the number line (a) is one strip with open ends, (b) is two rays with filled ends.
Answer (a) −1 < x < 7 (b) x ≤ −3 or x ≥ 1
Absolute values on both sides
|u| = |v|Solve |3x − 1| = |x + 5|.
Ask yourself: Two numbers have the same absolute value when they are equal or opposite.
Show the solution
- Equal: 3x − 1 = x + 5 ⇒ 2x = 6 ⇒ x = 3.
- Opposite: 3x − 1 = −(x + 5) ⇒ 4x = −4 ⇒ x = −1.
- Check: x = 3 gives |8| = |8| ✓; x = −1 gives |−4| = |4| ✓.
Answer x ∈ {−1, 3}
Practice: absolute value
0 / 0Equations with two cases, strips and rays — choose the solution set. Your best score is kept in this browser only.
About this lesson
Absolute value explained as distance: |x| = x or −x, |x − a| as the distance between x and a, properties of absolute value, solving |ax + b| = c by two cases, inequalities |ax + b| < c (between) and |ax + b| > c (outside), and reading the solution on a number line you can move. Worked examples and practice.
Part of Learn mathematics · Grade 9 · Algebra. Check a number with the scientific calculator or draw a function with the function plotter. Everything on this page runs in your browser; nothing you type is sent or stored, and your practice score stays in this browser only. Spotted an error? Tell us.