Absolute Value Equation Calculator

Solve equations of the form |ax + b| = c instantly with step-by-step solutions.

Enter the coefficients a, b, and the value c to solve for x. The calculator handles no solution, one solution, and two solutions.

Absolute Value Equation Calculator
Solve equations of the form |ax + b| = c instantly with step-by-step solutions.

About the Absolute Value Equation Calculator

An absolute value equation is a mathematical equation that contains an absolute value expression. The absolute value of a number, written as |x|, represents its distance from zero on the number line. Because distance is always non-negative, |x| is always greater than or equal to zero for any real number x. For example, |5| = 5 and |−5| = 5, because both 5 and −5 are exactly 5 units from zero. This calculator solves equations in the standard form |ax + b| = c, where a is the coefficient of x (which must be non-zero), b is a constant term, c is the value on the right side, and x is the variable to solve for. Understanding when these equations have solutions and how many solutions they have is a fundamental skill in algebra. The solution process depends entirely on the value of c. When c is negative, there is no real solution because an absolute value can never equal a negative number — no matter what x you substitute in, |ax + b| will always be zero or positive. When c is exactly zero, there is precisely one solution: ax + b must equal zero, so x = −b/a. When c is positive, the expression inside the absolute value bars can be either positive or negative while still producing the same absolute value c. This leads to two separate linear equations: ax + b = c and ax + b = −c. Solving both gives x₁ = (c − b)/a and x₂ = (−c − b)/a. Absolute value equations appear throughout mathematics and real-world applications. In engineering and manufacturing, tolerance specifications are often expressed as absolute value equations — for example, |diameter − target| = tolerance bounds the acceptable range of a machined part. In physics, absolute value equations model symmetrical phenomena around equilibrium points. In finance, they describe acceptable deviation from a target value or budget. Temperature control systems use the absolute value form to trigger heating or cooling at specific distances from a set point. A common mistake when solving these equations by hand is forgetting the negative case. Students often solve only ax + b = c and miss the equally valid solution from ax + b = −c. Another frequent error is trying to solve an equation where c < 0, which has no real solution. Always check the value of c first before setting up the two cases. Finally, arithmetic errors when solving the resulting linear equations can be avoided by substituting your answers back into the original equation to verify. This calculator performs all these checks automatically and presents clear, exact results for any combination of a, b, and c you enter.

Absolute Value Equation Examples

Common absolute value equations with solutions showing no solution, one solution, and two solution cases.

EquationSolutionExplanation
|2x − 3| = 7x = 5 or x = −2Two solutions: 2x − 3 = 7 gives x = 5; 2x − 3 = −7 gives x = −2.
|3x + 6| = 0x = −2One solution: c = 0 means 3x + 6 = 0, so x = −2.
|x − 4| = −3No real solutionNo solution: c = −3 < 0. Absolute values are never negative.
|−2x + 4| = 6x = −1 or x = 5Two solutions: −2x + 4 = 6 gives x = −1; −2x + 4 = −6 gives x = 5.

How to Use the Absolute Value Equation Calculator

  1. Enter the coefficient a — the number multiplying x inside the absolute value bars. It must be non-zero.
  2. Enter the constant b — the number added to ax inside the absolute value. It can be any real number including zero.
  3. Enter the value c — the right-hand side of the equation. The sign of c determines how many solutions exist.
  4. Click 'Calculate Solutions'. The calculator checks c and returns no solution, one solution, or two solutions with exact values.
  5. Click 'Reset Calculator' to clear all fields and start a new calculation.

Absolute Value Equation FAQ

How many solutions does an absolute value equation have?
It depends on c. If c < 0, there are no real solutions. If c = 0, there is exactly one solution at x = −b/a. If c > 0, there are typically two solutions given by x = (c − b)/a and x = (−c − b)/a.
Why do absolute value equations sometimes have two solutions?
Because both a positive and a negative value inside the absolute value bars produce the same non-negative result. For example, |5| = 5 and |−5| = 5. So when solving |ax + b| = c with c > 0, both ax + b = c and ax + b = −c are valid, giving two different values of x.
What happens when c is negative?
There is no real solution. The absolute value of any real expression is always ≥ 0, so it can never equal a negative number. An equation like |2x + 1| = −4 has no solution in the real numbers.
Can I use this calculator for |ax + b| = c with fractions or decimals?
Yes. Enter decimal values for a, b, and c. The calculator accepts any real numbers and returns exact decimal results for all solution cases.
What if coefficient a is zero?
If a = 0, the expression inside the absolute value bars becomes a constant (|b| = c), and x drops out. This is no longer a standard absolute value equation in x, which is why a must be non-zero for this calculator.
How do I verify my solution?
Substitute each solution back into the original equation. Replace x with the result and check that the absolute value of the left side equals c. If both sides are equal, the solution is correct.