Solve x³ + 3x² − 2x − 6 = 0
Polynomial equation, worked out line by line the way a teacher would write it.
Answer
| Solutions | x = −3, x = −√2, x = √2 |
Step-by-step solution
9 steps-
1 Givenx^{3} + 3 x^{2} - 2 x - 6 = 0
Solve for x.
-
2 Rational root theorem: any rational root is ±(divisor of 6)/(divisor of 1)
If a polynomial with whole-number coefficients has a root p/q in lowest terms, then p divides the constant term and q divides the leading coefficient. That gives a short list of candidates to test, instead of guessing.
x \in \{ -1,\; 1,\; -2,\; 2,\; -3,\; 3,\; -6,\; 6 \} -
3 Test the candidates: x = -3 makes the polynomial 0, so (x + 3) is a factor
If substituting a number makes the polynomial 0, the factor theorem says that (x + 3) is a factor. Dividing it out leaves a polynomial one degree lower, which is easier to solve.
3 \left(-3\right)^{2} - 6 - 2 \left(-3\right) + \left(-3\right)^{3} = 0 -
4 Divide the polynomial by (x + 3) (synthetic division)
Dividing by the factor just found splits the polynomial into that factor times a polynomial one degree lower. Synthetic division is a shortcut for this long division that only works with the coefficients.
\left(x + 3\right) \left(x^{2} - 2\right) = 0 -
5 This is a quadratic in standard form ax² + bx + c = 0
Every quadratic equation can be arranged as ax² + bx + c = 0. Reading off a = 1, b = 0 and c = -2, signs included, shows which method fits: factoring, taking a square root or the quadratic formula.
a = 1,\quad b = 0,\quad c = -2 -
6 There is no x term, so isolate x²x^{2} = 2
-
7 Take the square root of both sides — remember both signs
A number and its negative give the same result when raised to an even power: 3² = 9 and (−3)² = 9. So if something squared equals k, that something is √k or −√k. Forgetting the minus sign loses a solution.
x = \pm \sqrt{2} -
8 Solutionsx = \sqrt{2}\quad \text{or} \quad x = - \sqrt{2}
-
9 Check\begin{aligned}x = -3:\quad 0 = 0\quad\checkmark\\ x = - \sqrt{2}:\quad 0 = 0\quad\checkmark\\ x = \sqrt{2}:\quad 0 = 0\quad\checkmark\end{aligned}
Substituting each solution back makes both sides equal.
Check by substitution
| x | Left side | Right side | |
|---|---|---|---|
| −3 | 0 | 0 | ✓ |
| −√2 | 0 | 0 | ✓ |
| √2 | 0 | 0 | ✓ |
Change a number or try your own problem: the solver works it out the same way, with a graph and hint mode.