Solve x³ + 5x² − 4x − 20 = 0

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

Answer

Solutionsx = −5, x = −2, x = 2

Step-by-step solution

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

    Solve for x.

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

    Move the constant terms to the right.

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

    Move the constant terms to the right.

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

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
−500✓
−200✓
200✓
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.