Education

Absolute Value Equation Calculator

Solve absolute value equations by isolating the absolute value, splitting into positive and negative branches, and checking whether the equation has two, one, or no real solutions.

absolute-value-equation
Solve equations in the form A|Bx + C| + D = E. This covers common homework problems like |2x - 3| + 5 = 12.
Solution
Isolated absolute value
Equivalent equations
Check

Why absolute value equations usually split into two equations

An absolute value equation is really a distance question. If |x| = 5, then x can be 5 or -5 because both numbers are 5 units from zero. For a linear expression inside absolute value bars, the same idea applies: isolate the absolute value first, then set the inside expression equal to the positive and negative version of the right side.

OpenStax’s College Algebra text explains that an absolute value equation is solved by writing two related equations after the absolute value is isolated. This calculator follows that classroom method and also catches the no-solution case when the isolated absolute value would have to equal a negative number.

Worked example

Solve: |2x - 3| + 5 = 12 Subtract 5: |2x - 3| = 7 Split into two equations: 2x - 3 = 7 or 2x - 3 = -7 Solve each: 2x = 10 or 2x = -4 x = 5 or x = -2 Solution: x = 5 or x = -2

Both answers should be checked in the original equation. For x = 5, the inside expression is 7. For x = -2, the inside expression is -7. The absolute value of both is 7, so both values work.

How many solutions can an absolute value equation have?

CaseExampleResult
Two solutions|x - 2| = 5x = 7 or x = -3
One solution|x - 2| = 0x = 2
No solution|x - 2| = -5Impossible

Common mistakes students make

The biggest mistake is splitting too early. You must isolate the absolute value expression before creating the positive and negative equations. For example, |2x - 3| + 5 = 12 should become |2x - 3| = 7 before splitting. Another common mistake is writing only the positive equation and forgetting the negative branch.

Common questions

  • First isolate the absolute value expression. Then set the inside expression equal to the positive value and the negative value. Solve both equations and check both answers in the original equation. The check is important because mistakes often happen when moving constants or when the equation has extra terms outside the absolute value bars.
  • An absolute value measures distance from zero, and two different numbers can be the same distance from zero. For example, 6 and -6 both have an absolute value of 6. That is why |expression| = k usually becomes expression = k or expression = -k when k is positive.
  • Yes. If the isolated absolute value expression equals a negative number, there is no real solution. For example, |x + 4| = -3 has no solution because absolute value cannot be negative. A calculator should detect this instead of trying to force an answer.
  • Yes. If the isolated equation becomes |expression| = 0, there is only one branch because expression = 0 and expression = -0 are the same equation. For example, |2x - 8| = 0 gives x = 4.
  • Absolute value often represents distance, error, tolerance, or difference from a target. A statement like |x - 10| = 2 means x is exactly 2 units away from 10, so x can be 8 or 12. This distance meaning is why absolute value equations naturally produce two possible values.
  • The most common mistake is splitting before isolating the absolute value. If the problem is 3|x - 1| + 4 = 19, you must first subtract 4 and divide by 3. Only after you get |x - 1| = 5 should you write x - 1 = 5 or x - 1 = -5.
  • Yes. Checking both solutions is a good habit because algebra mistakes can introduce wrong answers. Substitute each solution into the original equation, not just the simplified branch equation. If both sides match, the solution is valid.
  • This calculator focuses on the common classroom form A|Bx + C| + D = E. Equations with two absolute value expressions, such as |x - 2| = |3x + 1|, need a different case-based method and should be handled by a separate calculator.