The two branches give distinct roots.
Absolute Value Equation Solver
Split the equation. Follow both cases. See and verify every real solution.
Build your equation
Real coefficientsSpecial cases & input notes
Negative c gives no solution. For a = 0, check the constant statement |b| = c. Finite decimal entries are interpreted exactly; at most 60 significant digits per entry and exponents −100 to 100. Input fractions such as 1/3 are not supported, but exact fractional answers are. Plot coordinates are approximate.
When c > 0 and a ≠ 0, solve ax + b = c and ax + b = −c, then check both answers.
Two distinct solutions · both verified in the original equation.
Exact solution values
Your roots on the number line
Equal-unit scaleThe roots are equally far from the center. The solution set contains just the two marked points.
Case 1 · positive branch
ax + b = cCase 2 · negative branch
ax + b = −cSubstitution checks use the exact roots before any displayed rounding.
Why are there two answers?
Two intersections. One equation.
The V-shaped graph y = |2x + 3| meets the horizontal line y = 5 twice: once at x = −4 and once at x = 1.
For c ≥ 0; solve by division only when a ≠ 0.
Understand every possible outcome
Check c, then aThe branches coincide: x = −b/a.
The equation cannot be satisfied.
The statement is true for every x.
Formula & interpretation
For a ≠ 0 and c ≥ 0, the roots lie around −b/a, at a distance c/|a| from that center.
If a = 0, check the constant statement |b| = c instead. If c < 0, stop: an absolute value cannot be negative.
Frequently asked questions
Why do we use two equations?
For a nonnegative c, a quantity with magnitude c can be c or −c. When c=0 these are the same value.
Can this equation have one solution?
Yes. If a is nonzero and c=0, its unique solution is x=−b/a.
What if the coefficient a is zero?
The variable disappears. If |b|=c, all real x satisfy the equation. Otherwise there is no solution.
Is every point between the roots a solution?
No. An equality |ax+b|=c gives only its root points when a is nonzero. A filled interval would describe an inequality instead.
Sources & Reference Guides
Independent educational references · No institutional endorsement or expert review claimed.
Split the equation. Follow both cases. See and verify every real solution.