Equation Solver Calculator

Solve an equation and see which method was used and why.

Linear, quadratic, absolute value or polynomial (up to degree 6) in one letter.

Try

Result

You entered∣2x−3∣=7\left|2x - 3\right| = 7

x=−2,  x=5\displaystyle x = -2, \; x = 5

Decimal

−2,5\displaystyle -2, 5
Show the work
  1. Kind of equation

    This is an absolute value equation: the unknown sits inside absolute value bars. That decides which method is used.

  2. Absolute value equals a number

    ∣A∣=B|A| = B means that AA is BB units from zero, so AA is either BB or −B-B. Write one equation for each possibility.

    Using A=B∨A=−BA = B \lor A = -B

    2x−3=72x−3=−7\begin{gathered} 2x - 3 = 7 \\ 2x - 3 = -7 \end{gathered}
  3. Solve the first case

    Set the expression inside the bars equal to the right-hand side, then collect the xx terms and divide by the coefficient.

    2x−3=72x=10x=5\begin{gathered} 2x - 3 = 7 \\ 2x = 10 \\ x = 5 \end{gathered}
  4. 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.

    2x−3=−72x=−4x=−2\begin{gathered} 2x - 3 = -7 \\ 2x = -4 \\ x = -2 \end{gathered}
  5. 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.

    x=−2 ⁣: ∣−7∣=7=7x=5 ⁣: ∣7∣=7=7\begin{gathered} x = -2\colon\ \left|-7\right| = 7 = 7 \\ x = 5\colon\ \left|7\right| = 7 = 7 \end{gathered}
  6. Result

    So x=−2x = -2 and x=5x = 5 are the solutions.

Worked examples