Absolute Value Equation & Inequality Calculator

Solve |ax + b| = c and the inequalities |ax + b| < c, ≤, >, ≥ (also k|ax + b| + d = c) with steps and the answer in interval notation.

Usually 1. For −½|4x − 5| + 3 < 0 enter k = −0.5.
Usually 0. For |3x − 5| − 4 = 6 enter d = −4.

Results

Solution
−2 ≤ x ≤ 4
Interval notation
[−2, 4]
Steps
|x − 1| ≤ 3 “Less than” means x − 1 lies between −3 and 3: −3 ≤ x − 1 ≤ 3. Solve for x: −2 ≤ x ≤ 4.

How it’s calculated

The absolute value |A| is the distance of A from 0, so it is never negative. For c > 0:

|ax + b| = c → ax + b = c or ax + b = −c (two solutions) |ax + b| < c → −c < ax + b < c (one interval between) |ax + b| > c → ax + b < −c or ax + b > c (two outer pieces)

First isolate the absolute value: with k|ax + b| + d (sign) c, subtract d and divide by k. Dividing an inequality by a negative k reverses its sign.

Special cases. If the right-hand side is negative, |ax + b| = c and |ax + b| < c have no solution, while |ax + b| > c is true for every x. If it is 0, |ax + b| = 0 has the single solution ax + b = 0.

Example: |x − 1| ≤ 3 means −3 ≤ x − 1 ≤ 3. Add 1 throughout: −2 ≤ x ≤ 4, or [−2, 4] in interval notation. An equation example: |6x + 4| = 8 splits into 6x + 4 = 8 (x = 2/3) and 6x + 4 = −8 (x = −2).

Frequently asked questions

Why does an absolute value equation usually have two solutions?

Because two numbers have the same distance from 0: |A| = 8 when A = 8 or A = −8. Solve both linear equations to get both answers.

What if the right-hand side is negative?

An absolute value is never negative, so |ax + b| = −9 has no solution and |ax + b| < −9 has none either. |ax + b| > −9 is true for every x.

How do I tell “between” from “outside” answers?

Less than (< or ≤) gives one interval between two numbers. Greater than (> or ≥) gives two pieces pointing away from each other, joined with “or” (∪ in interval notation).

How do I enter |3x − 5| − 4 = 6?

Choose the equation type, then k = 1, a = 3, b = −5, d = −4 and c = 6. It isolates |3x − 5| = 10 and gives x = 5 or x = −5/3.

Embed this calculator

Add this free calculator to your own website. Copy the code below into your page’s HTML:

Need this calculator branded, changed or built around your own prices?See custom business solutions →

Sources

Formulas are taken from the free public references above. Results are provided “as is” for informational and educational purposes only. See our disclaimer.

Added · Last updated · How we check our calculators

Spotted a mistake or missing option? Report a problem· Suggest a calculator