Skip to content

Absolute Value Equation Solver (|ax + b| = c)

Solve |ax + b| = c for x. Enter coefficients a, b, and c to get both solutions — or see why no real solution exists when c is negative.

Inputs

Equation

|a\,x + b| = c

Results

Enter a value to see results.

Solutions

\begin{aligned} x_1 &= \dfrac{c - b}{a} \\ &= \dfrac{(7) - (-3)}{2} = ? \end{aligned}
\begin{aligned} x_2 &= \dfrac{-c - b}{a} \\ &= \dfrac{-(7) - (-3)}{2} = ? \end{aligned}

Solution

\begin{aligned} x_1 &= \dfrac{c - b}{a} \\ &= \dfrac{(7) - (-3)}{2} = ? \end{aligned}

Result

Absolute value is always ≥ 0, so |ax + b| = c has no real solution when c < 0. Try a non-negative value for c.

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?