Absolute Value Equation Calculator
Solve an equation with absolute value bars and see both cases worked.
Type bars with the | key, such as |2x - 3| = 7 or |x + 1| = |2x - 4|.
Result
You entered
Decimal
Show the work
Absolute value equals a number
means that is units from zero, so is either or . Write one equation for each possibility.
Using
Solve the first case
Set the expression inside the bars equal to the right-hand side, then collect the terms and divide by the coefficient.
Solve the second case
Set the expression inside the bars equal to the opposite of the right-hand side, then solve in the same way.
Check each solution
Substitute each candidate into the original equation. An absolute value is never negative, so a candidate that makes the right-hand side negative does not work; the one that fails is extraneous and is dropped.
Result
So is the only solution.
Worked examples
Absolute value equals a number, Solve the first case
Isolate the absolute value, Absolute value equals a number
Absolute value equals a number, Solve the first case
Absolute value equals a number, Solve the first case
Absolute value equals a number, Solve the first case
Absolute value equals a number, Solve the first case