The formula this page uses
|x| = x when x ≥ 0, |x| = −x when x < 0
Solve absolute value problems with clear steps, notation, and a final check.
Evaluate the governing formula locally in your browser. Define each known quantity once, then change values to test another case instantly.
Choose an example or enter a formula.
No calculations yet.
|x| = x when x ≥ 0, |x| = −x when x < 0
The equation
No, because it measures distance. That is why |x − 3| = −5 has no solution at all: no number can sit −5 units away from 3. If your working produces a negative on the right-hand side, stop and write 'no solution'.
Because two different numbers share every distance except zero. Anything 9 units from zero is either 9 or −9, so each equation splits into two ordinary equations. The single exception is |something| = 0, which has one answer.
|x| < 5 means 'closer to zero than 5', which is one connected stretch: −5 < x < 5. |x| > 5 means 'further from zero than 5', which is two disconnected pieces: x < −5 or x > 5.
Only when a and b share a sign. |3 + 5| = 8 and |3| + |5| = 8 agree, but |3 + (−5)| = 2 while |3| + |−5| = 8. The left side is never bigger, which is known as the triangle inequality.