Skip to content

Absolute Value Equation Solver

Type an equation such as |2x − 3| = 7 and see both cases worked out, with each answer checked in the original equation.

Your problem will appear here as you type.

How to use the absolute value equation solver

  1. Type the equation using | | for absolute value, or abs(x).
  2. Press Solve. The solver splits it into the positive and negative cases.
  3. Check the steps, since an answer that fails the original equation is discarded.

What absolute value means

The absolute value |a| is the distance of a from zero, so it is never negative: |5| = 5 and |−5| = 5. When an equation says |expression| = k, the expression is either k or −k. That is where the two cases come from.

The two-case method

  1. Isolate the absolute value so it stands alone on one side.
  2. If the other side is negative, there is no solution, because an absolute value cannot be negative.
  3. Otherwise write two equations: expression = k and expression = −k.
  4. Solve both and check each answer in the original.

Example

Solve |2x − 3| = 7

  1. Case 1: 2x − 3 = 7, so 2x = 10 and x = 5.
  2. Case 2: 2x − 3 = −7, so 2x = −4 and x = −2.
  3. Check x = 5: |10 − 3| = 7. Check x = −2: |−4 − 3| = 7.

Answer: x = 5 or x = −2

Example: when there is nothing to solve

|x + 4| = −2 has no solution, since no number has a negative distance from zero. The solver reports this directly rather than producing two false answers.

Absolute value on both sides

For |a| = |b| the two cases are a = b and a = −b. For example |x − 1| = |2x + 3| gives x − 1 = 2x + 3, so x = −4, and x − 1 = −2x − 3, so x = −2/3.

Frequently asked questions

How is |x − 3| < 5 different from |x − 3| = 5?

The inequality describes a whole interval, −2 < x < 8, not two separate points. Use the inequality solver for that.

Other calculators