How it works

An absolute value equation |ax + b| = c asks: which x make the inside equal to c, or to −c? That splits into two plain linear equations, ax + b = c and ax + b = −c, and each one solves like any linear equation.

The count of answers depends on c. When c > 0 there are usually two solutions. When c = 0 the inside must be zero and there is exactly one. When c < 0 there is no solution at all, because an absolute value is never negative. This page works all three cases with exact fractions.

Worked example

Try it with these numbers

The result card above already shows this example — change any field and hit Solve.

FAQ

Quick answers

Why do absolute value equations have two solutions?

Because |X| = c means X = c or X = −c. For |2x − 4| = 6 the inside can be 6, giving x = 5, or −6, giving x = −1. Both are checked on this page by substitution.

Can an absolute value equation have no solution?

Yes. If c is negative, like |x + 1| = −2, nothing works: an absolute value is always zero or positive. The solver reports 'No solution' instead of forcing algebra that cannot work.

When is there only one solution?

When c = 0. An absolute value is zero only when the expression inside is zero, so |x + 3| = 0 collapses to one equation, x + 3 = 0, with one answer, x = −3.

Related solvers

Keep going

Every calculator on one page: all mathplum calculators.