Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Find All Roots of a Polynomial

A polynomial of degree nn has exactly nn roots, counted with multiplicity and including complex ones. Peel off rational roots one by one with the rational root test and synthetic division, and solve whatever quadratic is left with the formula.

Recognize the task

"Find all zeros", "find all real and complex roots", "factor completely over the complex numbers", "state each root with its multiplicity": x4−x3−7x2+x+6x^4 - x^3 - 7x^2 + x + 6, x3−1x^3 - 1, x3−3x+2x^3 - 3x + 2.
The count comes from the Fundamental Theorem of Algebra; multiplicity and real versus complex roots are in the roots lesson.

Steps

StepOn x4−x3−7x2+x+6x^4 - x^3 - 7x^2 + x + 6
1Count the roots. Degree nn gives nn roots with multiplicity (number of roots).degree 44: four roots
2Find a rational root. Rational root test.f(1)=1−1−7+1+6=0f(1) = 1 - 1 - 7 + 1 + 6 = 0
3Divide it out and repeat on the quotient. Synthetic division; the same root may work again (multiplicity).x3−7x−6x^3 - 7x - 6;   x=−1\;x = -1 works: x2−x−6x^2 - x - 6
4Solve the final quadratic. Factor, or the quadratic formula for irrational or complex roots.(x−3)(x+2)(x - 3)(x + 2)
5List every root with its multiplicity and check the count. Complex roots of real polynomials come in conjugate pairs.1,−1,3,−21, -1, 3, -2: four roots ✓

Worked examples

Example 1 · complex roots

conjugate pair
x3−1=(x−1)(x2+x+1)x^3 - 1 = (x - 1)(x^2 + x + 1)
difference of cubes
x=1, −1±i32x = 1,\ \frac{-1 \pm i\sqrt{3}}{2}
quadratic formula, Δ=−3\Delta = -3

Example 2 · a repeated root

multiplicity 2
x3−3x+2x^3 - 3x + 2: f(1)=0f(1) = 0, quotient x2+x−2=(x+2)(x−1)x^2 + x - 2 = (x + 2)(x - 1)
11 appears again
x=1x = 1 (multiplicity 22), x=−2x = -2
three roots counted

Example 3 · the trace

four real roots
x4−x3−7x2+x+6=(x−1)(x+1)(x−3)(x+2)x^4 - x^3 - 7x^2 + x + 6 = (x - 1)(x + 1)(x - 3)(x + 2)
x=1,−1,3,−2x = 1, -1, 3, -2

See it happen

Real roots are where the graph meets the xx-axis: crossing at a simple root, touching and turning back at a double one. Complex roots leave no mark on the real graph at all, which is why counting by degree is the only way to know when you are done.

Common mistakes

Stopping at the real roots

✗ x3−1x^3 - 1 has one root, 11
✓ three roots: 11 and two complex ones

Missing a repeated root

✗ x3−3x+2x^3 - 3x + 2: roots 11 and −2-2, "only two"
✓ 11 is a double root; test a found root again on the quotient

Dividing the original instead of the quotient

✗ testing the second root on the degree-4 polynomial again
✓ continue on the quotient; it is one degree lower