Solve x³ + 2x² − x − 2 = 0

Polynomial equation, worked out line by line the way a teacher would write it.

Answer

Solutionsx = −2, x = −1, x = 1

Step-by-step solution

11 steps
  1. 1 Given
    x^{3} + 2 x^{2} - x - 2 = 0

    Solve for x.

  2. 2 Rational root theorem: any rational root is ±(divisor of 2)/(divisor of 1)
    x \in \{ -1,\; 1,\; -2,\; 2 \}
  3. 3 Test the candidates: x = -1 makes the polynomial 0, so (x + 1) is a factor
    2 \left(-1\right)^{2} - 2 - -1 + \left(-1\right)^{3} = 0
  4. 4 Divide the polynomial by (x + 1) (synthetic division)
    \left(x + 1\right) \left(x^{2} + x - 2\right) = 0
  5. 5 This is a quadratic in standard form ax² + bx + c = 0
    a = 1,\quad b = 1,\quad c = -2
  6. 6 Factor the trinomial: find two numbers whose product is c = -2 and whose sum is b = 1
    (-1) \cdot 2 = -2,\qquad (-1) + 2 = 1
  7. 7 Write the factored form
    \left(x - 1\right) \left(x + 2\right) = 0
  8. 8 Zero product property: a product is 0 only when one of its factors is 0
    x - 1 = 0\quad \text{or} \quad x + 2 = 0
  9. 9 Add 1 to both sides
    x = 1

    Move the constant terms to the right.

  10. 10 Subtract 2 from both sides
    x = -2

    Move the constant terms to the right.

  11. 11 Check
    \begin{aligned}x = -2:\quad 0 = 0\quad\checkmark\\ x = -1:\quad 0 = 0\quad\checkmark\\ x = 1:\quad 0 = 0\quad\checkmark\end{aligned}

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
−200✓
−100✓
100✓
Open this problem in the solver

Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.