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
Two quantities have the same absolute value exactly when they are equal or opposite. 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 would fail if the right-hand side came out negative; here every candidate holds.
Result
So and are the solutions.
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