Free Algebra Solver
Absolute value

Absolute value equation calculator

See the complete positive and negative case split with exact solutions.

Interpreted as: |2x - 3| = 7 (Solve) Ready
Examples
Solution

Step-by-step working

Your solution will appear here

Choose an operation and run it to see exact working, verification, and available visuals.

Absolute value guide

Solve both branches of an absolute value equation

An absolute value equation solver with steps treats absolute value as distance from zero. Once the absolute-value expression is isolated, a positive target normally creates two linear cases. This guide shows when two, one, or no real solutions are possible.

What does absolute value mean?

The absolute value |u| is the distance from u to zero on the real number line, so it is never negative. Both 7 and −7 have absolute value 7. That symmetry explains why |A| = B usually splits into A = B or A = −B when B is positive.

If the target B is zero, only A = 0 is needed because the two branches are identical. If B is negative, there is no real solution: a distance cannot equal a negative number. This classification should happen before solving the inner linear expression.

Positive target
|A| = B, B > 0 ⇒ A = B or A = −B
Zero target
|A| = 0 ⇒ A = 0
Negative target
|A| = B, B < 0 ⇒ no real solution

How to solve an absolute value equation step by step

The absolute-value bars must be isolated before the case split. If a coefficient or constant remains outside, undo those operations first while preserving equality.

  1. Simplify both sides and isolate the entire absolute-value expression.
  2. Inspect the target: negative means no real solution; zero creates one linear case; positive creates two cases.
  3. For a positive target, solve the positive branch A = B.
  4. Solve the negative branch A = −B as a separate linear equation.
  5. Substitute every candidate into the original absolute-value equation and remove any invalid value.

Keep the negative branch grouped. Writing A = −B means the complete right-hand expression changes sign, not just one term inside A. The calculator labels each branch so the two paths remain easy to audit.

Worked example: |2x − 3| = 7

Because 7 is positive, create two cases. Positive branch: 2x − 3 = 7, so 2x = 10 and x = 5. Negative branch: 2x − 3 = −7, so 2x = −4 and x = −2.

Check x = 5: |2(5) − 3| = |7| = 7. Check x = −2: |2(−2) − 3| = |−7| = 7. Both candidates satisfy the original equation, so the complete solution set is {−2, 5}.

Why the absolute-value term must be isolated first

For 2|x − 1| + 3 = 11, splitting immediately would use the wrong target. Subtract 3 to obtain 2|x − 1| = 8, then divide by 2 to get |x − 1| = 4. Only then create x − 1 = 4 or x − 1 = −4, producing x = 5 or x = −3.

Operations outside the bars affect the distance value, while terms inside define what is being measured. Isolating the bars separates those roles and makes the case logic valid.

Two solutions, one solution, or no solution

A positive target can produce two distinct solutions when the inner expression is genuinely linear. A zero target produces one solution because the positive and negative cases coincide. A negative target produces no real solution. Degenerate inner expressions can also change the count, which is why classification matters.

Absolute-value inequalities use a related distance idea but require interval reasoning and are outside this focused equation workflow. Do not replace = with < or > and assume the same two-equation split.

Common absolute-value equation mistakes

Stopping after the positive branch loses a valid solution. Splitting before isolating the bars uses the wrong distance. Accepting a negative target ignores the definition of absolute value. Finally, a candidate must be checked in the original equation because later transformations may hide a transcription mistake.

Use the branch headings as a checklist: target classified, positive case solved, negative case solved, and both candidates verified.

Frequently asked questions

Concise answers about the method, notation, checks, and calculator limits.

Why can an absolute value equation have two answers?

Two numbers can be the same positive distance from zero, so the inner expression can equal the positive or negative target.

Can absolute value equal a negative number?

No over the real numbers. Absolute value represents a nonnegative distance.

What happens when the right side is zero?

The inner expression must equal zero, so the two usual branches collapse into one case.

Should I split into cases immediately?

Only after the absolute-value expression is isolated on one side of the equation.

How do I check the two solutions?

Substitute each value into the original equation and evaluate the expression inside the bars before taking absolute value.

Does this tool solve absolute-value inequalities?

This page is focused on supported linear absolute-value equations. Inequalities require a different interval workflow.

Math keypad

Solve mode

Use the keypad below or tap the expression to use your phone keyboard.

Keyboard tips

Ctrl + Enter
Run the selected operation
^
Enter a power, such as x^2
sqrt(
Calculate an exact or simplified square root
a:b
Separate quantities in a ratio
12, 18
Separate integers in an LCM and GCD calculation
@ x =
Assign x when evaluating an expression
y =
Enter a polynomial function to graph
|
Wrap an absolute-value expression