Last updated: June 06, 2026
Math 3 views 0 likes

Absolute Value Equation Calculator

Solve absolute value equations of the form |ax + b| = c. Finds all real solutions with step-by-step working, handles one solution, two solutions, and no-solution cases.

Alpha Calculators Team

Created by

Alpha Calculators Team

Editorial Team

Absolute Value Equation Calculator

Enter your values and the result updates automatically.

Solution
Step-by-step working Show calculations
0
3 views
Link copied

Overview

Calculator overview

An absolute value equation has the form |ax + b| = c. Because the absolute value of any expression is always non-negative, the equation can have zero, one, or two real solutions depending on the value of c. This calculator finds all solutions and shows every step.

Handwritten math equations in a notebook for solving algebra problems

How to Use This Calculator

  1. 1

    Enter the coefficient a of x inside the absolute value bars. Use 1 if there is no explicit coefficient.

  2. 2

    Enter the constant b added inside the absolute value. Use 0 if there is none.

  3. 3

    Enter the right-hand side c. If c is negative, the equation has no real solution.

  4. 4

    Read the solutions and the step-by-step working below.

How to Solve Absolute Value Equations

The key property of absolute value is |expression| = k means expression = k or expression = −k (when k > 0). This splits one equation into two linear equations.

When k = 0, both cases give the same equation (expression = 0), so there is exactly one solution.

When k < 0, there is no solution because an absolute value can never be negative.

Solution Method

For the equation |ax + b| = c:

If c < 0: no real solution

If c = 0: ax + b = 0, so x = −b / a (one solution)

If c > 0: ax + b = c → x₁ = (c − b) / a, and ax + b = −c → x₂ = (−c − b) / a

Worked Example: |x − 3| = 5

Here a = 1, b = −3, c = 5. Since c > 0, there are two solutions.

Case 1: x − 3 = 5 → x = 8

Case 2: x − 3 = −5 → x = −2

Check x = 8: |8 − 3| = |5| = 5 ✓

Check x = −2: |−2 − 3| = |−5| = 5 ✓

The solution set is {−2, 8}.

Worked Example: |2x + 1| = 7

a = 2, b = 1, c = 7. Two solutions.

Case 1: 2x + 1 = 7 → 2x = 6 → x = 3

Case 2: 2x + 1 = −7 → 2x = −8 → x = −4

Check x = 3: |2(3) + 1| = |7| = 7 ✓

Check x = −4: |2(−4) + 1| = |−7| = 7 ✓

The solution set is {−4, 3}.

Solution Cases Summary

Condition Number of solutions Example
c < 0 No solution |x + 2| = −3 → none
c = 0 One solution |x + 4| = 0 → x = −4
c > 0, gives two distinct values Two solutions |x − 3| = 5 → x = 8 or x = −2
c > 0, a = 0 and |b| = c All real x (identity) |0·x + 5| = 5 → always true
c > 0, a = 0 and |b| ≠ c No solution |0·x + 3| = 5 → never true

Absolute Value on a Number Line

|x − h| = r describes all points whose distance from h on the number line equals r. The two solutions x = h + r and x = h − r are symmetric about h.

For |x − 3| = 5, the center is h = 3 and the radius is r = 5. The solutions x = 8 and x = −2 are each exactly 5 units from 3.

This geometric interpretation explains why c < 0 has no solution (negative distance is meaningless) and c = 0 has exactly one solution (both solutions collapse to the center point).

This calculator solves absolute value equations of the form |ax + b| = c. Enter the coefficients and the right-hand side to get all solutions instantly, with a full breakdown of each step.

FAQ

Frequently asked questions

How do you solve |x - 3| = 5?
Split into two cases: x − 3 = 5 → x = 8, and x − 3 = −5 → x = −2. The solutions are x = 8 and x = −2. Check: |8 − 3| = |5| = 5 ✓ and |−2 − 3| = |−5| = 5 ✓.
What is the solution to |2x + 1| = 7?
Two solutions. Case 1: 2x + 1 = 7 → 2x = 6 → x = 3. Case 2: 2x + 1 = −7 → 2x = −8 → x = −4. Solutions: x = 3 and x = −4.
What is the solution to |3x - 6| = 9?
Two solutions. Case 1: 3x − 6 = 9 → 3x = 15 → x = 5. Case 2: 3x − 6 = −9 → 3x = −3 → x = −1. Solutions: x = 5 and x = −1.
How do you solve |x| = 4?
Two solutions: x = 4 and x = −4. The absolute value strips the sign, so both 4 and −4 have absolute value 4.
What is the solution to |2x - 4| = 0?
Exactly one solution: x = 2. When the right-hand side is zero, the only solution is 2x − 4 = 0, giving x = 2.
How many solutions does |x + 4| = 0 have?
One solution: x = −4. Setting x + 4 = 0 gives x = −4. Zero on the right-hand side means both cases merge into one.
Does |x + 2| = -3 have a solution?
No. An absolute value is always greater than or equal to zero, so it can never equal a negative number. The equation has no real solution.
What is the solution to |5x + 10| = 15?
Two solutions. Case 1: 5x + 10 = 15 → 5x = 5 → x = 1. Case 2: 5x + 10 = −15 → 5x = −25 → x = −5. Solutions: x = 1 and x = −5.
How do you check the solution of an absolute value equation?
Substitute each solution back into the original equation and verify that both sides are equal. For |2x + 1| = 7 with x = 3: |2(3) + 1| = |7| = 7 ✓. With x = −4: |2(−4) + 1| = |−7| = 7 ✓.
Can an absolute value equation have more than two solutions?
Not for the form |ax + b| = c with a single absolute value — this always yields at most two solutions. Equations with two or more absolute value expressions can have more solutions.