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
Isolate the absolute value
Subtract the plain number and divide by the number multiplying the bars, so that the absolute value stands alone on one side.
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 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