Solve x³ − 13x − 12 = 0

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

Answer

Solutionsx = −3, x = −1, x = 4

Step-by-step solution

11 steps
  1. 1 Given
    x^{3} - 13 x - 12 = 0

    Solve for x.

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

    Move the constant terms to the right.

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

    Move the constant terms to the right.

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

    Substituting each solution back makes both sides equal.

Check by substitution

xLeft sideRight side
−300✓
−100✓
400✓
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.