Skip to main content

Grades 8-10Free, no account needed

Absolute value equation calculator

Solve |ax + b| = c exactly, including coincident roots and constant equations, with substitution checks and a distance model.

All calculators

Try your problem

Zero makes a constant equation.
Include the sign inside the absolute value.
c >= 0. Paste: absolute(2,-3,5).

Your calculations stay in this browser. No input history is saved.

Supported inputs and limits

Exact rational inputs, at most 40 characters each; magnitude <= 10000 and reduced numerator/denominator <= 1000000. Engine syntax supports integers, fractions, mixed numbers, up to 9 finite decimal places, and repeating decimals with prefix/block <= 6 digits; engine raw-number caps also apply. c must be nonnegative. Derived fractions stay exact; diagram positions are approximate. Paste absolute(a,b,c), at most 200 characters, with integer, finite-decimal or integer-fraction arguments only.

Understand the method

For |2x - 3| = 5, points -1 and 4 lie 5/2 units either side of the center 3/2 on a number line.

Absolute value measures distance from zero. If |u| = c and c is nonnegative, u can equal c or -c. Apply this to u = ax + b: subtract b in each signed branch and divide by a only when a is nonzero. When c is zero, both branches give the same solution, not two distinct roots.

For nonzero a, the same equation describes distance from the center -b/a: |x - (-b/a)| = c/|a|. The two preimages are equally far from this center even when a is negative. If a is zero, the left side is the fixed number |b|, so every real x works when |b| = c and none works otherwise. Check proposed roots in the original absolute value.

Worked examples

Read the reasoning, or load an example into the calculator.

Two signed branches

2x - 3 = 5 gives x = 4; 2x - 3 = -5 gives x = -1. Both inner values have absolute value 5.

A single zero-distance root

|-3x + 6| = 0 forces the inner expression to zero, giving x = 2 once. The two branches coincide.

An identity with no variable term

|0x - 7/2| = 7/2 is true for every real x because its left side is always 7/2.

A constant contradiction

|0x + 2| = 3 asks 2 to equal 3. No choice of x can change that, so the solution set is empty.

Try it without the calculator

Three questions for practice, not a graded school assessment. Your answers stay on this page and are not saved.

1. What solves |x - 2| = 3?
2. How many distinct roots does |4x + 8| = 0 have?
3. What solves |0x - 4| = 4?

Original Testinar learning content. This local preview is awaiting final review before publication.

Page UP