Fundamental Theorem of Algebra

Every polynomial equation of degree nn has exactly nn complex roots (counting multiplicity) — this guarantees solutions always exist.

degP=n    P has n complex roots\deg P = n \implies P \text{ has } n \text{ complex roots}

Solve a problem with Fundamental Theorem of Algebra

Type the problem. The solver will use Fundamental Theorem of Algebra where Fundamental Theorem of Algebra is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Fundamental Theorem of Algebra takes
PP
nn
Fundamental Theorem of Algebra
SymbolMeaning
PPA polynomial — a sum of terms like x2+3x5x^2 + 3x - 5. Each term is a constant times a power of xx. If PP is written as P(x)=2x3+5x1P(x) = 2x^3 + 5x - 1, then PP is the function, and P(x)P(x) is its value at xx.
nnThe degree of the polynomial — the highest power of xx that appears with a nonzero coefficient. For x36x2+11x6x^3 - 6x^2 + 11x - 6, the degree is 3 because the highest power is x3x^3. If you confuse degree with leading coefficient, you will miscount the number of roots.

When to use it

Reach for this when you need to know how many roots a polynomial must have, or when you're trying to factor and want to verify you've found them all.

Level

Usually taught in: Algebra II

Worked examples

1. Solve a cubic with three distinct real roots

Problem

Solve x36x2+11x6=0x^3 - 6x^2 + 11x - 6 = 0 for xx.
  1. P(1)=16+116=0P(1) = 1 - 6 + 11 - 6 = 0

    Test x=1x = 1 by substituting into the polynomial. Since P(1)=0P(1) = 0, we know x=1x = 1 is a root.

  2. x36x2+11x6=(x1)(x25x+6)x^3 - 6x^2 + 11x - 6 = (x-1)(x^2-5x+6)

    Factor out (x1)(x-1) using synthetic division or polynomial long division.

  3. x25x+6=(x2)(x3)x^2 - 5x + 6 = (x-2)(x-3)

    Factor the quadratic by finding two numbers that multiply to 6 and add to 5-5: those are 2-2 and 3-3.

  4. (x1)(x2)(x3)=0(x-1)(x-2)(x-3) = 0

    Write the complete factorization of the original polynomial.

  5. x=1 or x=2 or x=3x = 1 \text{ or } x = 2 \text{ or } x = 3

    Set each factor equal to zero to find the three roots.

Answer: x=1 or x=2 or x=3x = 1 \text{ or } x = 2 \text{ or } x = 3

A degree-3 polynomial must have exactly 3 roots (counting multiplicity) by the Fundamental Theorem. In this case, all three are distinct real roots. We found them by testing to identify one root, then factoring completely.

2. Solve a cubic with negative and fractional roots

Problem

Solve 2x3+3x28x12=02x^3 + 3x^2 - 8x - 12 = 0 for xx.
  1. 2x3+3x28x12=(2x3+3x2)+(8x12)2x^3 + 3x^2 - 8x - 12 = (2x^3 + 3x^2) + (-8x - 12)

    Group the terms into two pairs to find a common factor.

  2. =x2(2x+3)4(2x+3)= x^2(2x + 3) - 4(2x + 3)

    Factor x2x^2 from the first group and 4-4 from the second group.

  3. =(x24)(2x+3)= (x^2 - 4)(2x + 3)

    Factor out the common binomial (2x+3)(2x + 3) from both terms.

  4. =(x2)(x+2)(2x+3)= (x-2)(x+2)(2x+3)

    Recognize that x24x^2 - 4 is a difference of squares and factor it as (x2)(x+2)(x-2)(x+2).

  5. x=2 or x=2 or x=32x = 2 \text{ or } x = -2 \text{ or } x = -\frac{3}{2}

    Set each factor equal to zero: x2=0x - 2 = 0 gives x=2x = 2, x+2=0x + 2 = 0 gives x=2x = -2, and 2x+3=02x + 3 = 0 gives x=32x = -\frac{3}{2}.

Answer: x=2 or x=2 or x=32x = 2 \text{ or } x = -2 \text{ or } x = -\frac{3}{2}

This cubic has degree 3, so the Fundamental Theorem guarantees exactly 3 roots. By factoring using grouping, we found all three: two integers and one fraction. The presence of negative and fractional roots shows that the theorem applies regardless of the type of root.

3. Phone plan: find data usage from the bill

Problem

A phone plan charges a $20 monthly fee plus $4 per gigabyte of data. Customers who use limited data receive a loyalty discount of x2x^2 dollars, where xx is the number of gigabytes used. If your total bill for the month is $23, how many gigabytes of data did you use?
  1. 20+4xx2=2320 + 4x - x^2 = 23

    Write the equation for the total bill: base fee ($20) plus data charges ($4x) minus discount ($x^2$) equals the total ($23).

  2. x2+4x+2023=0-x^2 + 4x + 20 - 23 = 0

    Subtract 23 from both sides to set the equation equal to zero.

  3. x2+4x3=0-x^2 + 4x - 3 = 0

    Simplify: 2023=320 - 23 = -3.

  4. x24x+3=0x^2 - 4x + 3 = 0

    Multiply both sides by 1-1 to make the leading coefficient positive.

  5. (x1)(x3)=0(x-1)(x-3) = 0

    Factor the quadratic by finding two numbers that multiply to 3 and add to 4-4: those are 1-1 and 3-3.

  6. x=1 or x=3x = 1 \text{ or } x = 3

    Set each factor equal to zero: x1=0x - 1 = 0 gives x=1x = 1 GB, and x3=0x - 3 = 0 gives x=3x = 3 GB.

Answer: x=1 gigabyte or x=3 gigabytesx = 1 \text{ gigabyte or } x = 3 \text{ gigabytes}

The quadratic equation has degree 2, so by the Fundamental Theorem, it has exactly 2 roots. Both roots are real and positive, so both represent valid data usage. A customer could have used either 1 GB or 3 GB to generate a $23 bill.

Common mistakes

Where Fundamental Theorem of Algebra usually goes wrong
Answer came out wrong
The polynomial x38x^3 - 8 has only one root, which is 2.
Factor completely: x38=(x2)(x2+2x+4)x^3 - 8 = (x-2)(x^2+2x+4). The cubic formula or the quadratic formula on x2+2x+4=0x^2 + 2x + 4 = 0 gives two complex roots: x=1±i3x = -1 \pm i\sqrt{3}. So there are 3 roots total.
The polynomial x2+4x^2 + 4 has no roots.
Solve x2+4=0x^2 + 4 = 0 by rearranging: x2=4x^2 = -4, so x=±2ix = \pm 2i. The polynomial has exactly 2 complex roots.
The polynomial (x3)2(x+1)=0(x-3)^2(x+1) = 0 has 2 roots.
This polynomial has degree 3 (when expanded), so it has exactly 3 roots counting multiplicity: x=3x = 3 (with multiplicity 2) and x=1x = -1 (with multiplicity 1).
The mistakeWhy it is wrongThe fix
The polynomial x38x^3 - 8 has only one root, which is 2.This counts only real roots and ignores the Fundamental Theorem, which guarantees that a degree-3 polynomial has exactly 3 roots total, including complex ones.Factor completely: x38=(x2)(x2+2x+4)x^3 - 8 = (x-2)(x^2+2x+4). The cubic formula or the quadratic formula on x2+2x+4=0x^2 + 2x + 4 = 0 gives two complex roots: x=1±i3x = -1 \pm i\sqrt{3}. So there are 3 roots total.
The polynomial x2+4x^2 + 4 has no roots.This assumes only real roots exist. The Fundamental Theorem guarantees that every polynomial has roots in the complex numbers.Solve x2+4=0x^2 + 4 = 0 by rearranging: x2=4x^2 = -4, so x=±2ix = \pm 2i. The polynomial has exactly 2 complex roots.
The polynomial (x3)2(x+1)=0(x-3)^2(x+1) = 0 has 2 roots.This counts only distinct root values, not multiplicity. The Fundamental Theorem counts each occurrence of a repeated root separately.This polynomial has degree 3 (when expanded), so it has exactly 3 roots counting multiplicity: x=3x = 3 (with multiplicity 2) and x=1x = -1 (with multiplicity 1).

Tips and when to use something else

  • The Fundamental Theorem guarantees nn roots exist, but doesn't tell you what they are. Use the Rational Root Theorem or Factor Theorem to find them.
  • A repeated root counts as multiple roots: the factor (x3)2(x-3)^2 means x=3x = 3 appears twice, so it counts as 2 roots, not 1.
  • If a real polynomial of degree nn has fewer than nn real roots, the remaining roots must be complex conjugate pairs.
  • For polynomial equations you can't factor by hand, use the Remainder Theorem to test candidate rational roots, or switch to the quadratic formula for degree 2.

Frequently asked questions

Does the Fundamental Theorem of Algebra really mean every polynomial has a solution?
Yes, but only in the complex numbers (which include real numbers). A real polynomial like x2+1=0x^2 + 1 = 0 has no real solutions, but it does have two complex solutions: x=±ix = \pm i. The theorem guarantees a solution always exists if you allow complex numbers.
How many roots does a polynomial really have?
A polynomial of degree nn has exactly nn roots when you count multiplicity and include complex roots. For example, (x2)3=0(x-2)^3 = 0 has degree 3 and exactly 3 roots (all equal to 2, counted three times). Without multiplicity, it has one distinct root.
Can a polynomial of degree 5 have only 2 real roots?
Yes. A degree-5 polynomial has exactly 5 roots total (by the Fundamental Theorem), but some can be real and others complex. For instance, x5xx^5 - x factors as x(x1)(x+1)(x2+1)x(x-1)(x+1)(x^2+1), giving 3 real roots (0, 1, 1-1) and 2 complex roots (±i\pm i).
What if I can't factor the polynomial—does the theorem still apply?
Yes, absolutely. The Fundamental Theorem applies to all polynomials, whether they factor nicely or not. Even if you can't find the roots by hand, they still exist in the complex numbers. You can use numerical methods, graphing, or formulas to approximate them.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18