Algebra 2Polynomial Functions4 of 4
Polynomial Functions · 4

The Fundamental Theorem of Algebra

When we solve a polynomial equation, we need to know how many roots we are looking for so we know when we have found them all.

1

The Fundamental Theorem of Algebra

The Fundamental Theorem of Algebra says that a polynomial of degree n\howmany{n} has exactly n\howmany{n} complex roots when we count each root with its multiplicity.

The Fundamental Theorem of Algebra
x1−3=0x^{\howmany{1}} - 3 = 0
x=3x = 3
x2−5x+6=0x^{\howmany{2}} - 5x + 6 = 0
x=2,  x=3x = 2,\; x = 3
x3−6x2+11x−6=0x^{\howmany{3}} - 6x^2 + 11x - 6 = 0
x=  ?x = \;?
Polynomial of degree n  ⟹  exactly n complex roots,counting multiplicity\displaystyle \begin{gathered} \text{Polynomial of degree } \howmany{n} \\ \implies \text{exactly } \howmany{n} \text{ complex roots,} \\ \text{counting multiplicity} \end{gathered}

A graph can make it look like roots are missing whenever two or more roots land on the same spot or leave the real number line to become complex numbers. Before looking at how those roots hide, let's see why the highest power of xx has to match the number of roots in the first place.

2

Why the Degree Equals the Number of Roots

The theorem guarantees that every nonconstant polynomial can be written as a nonzero constant times linear factors over the complex numbers. To see why the degree counts the roots, we can look at those factors. Each factor (x−r)(x - \rootval{r}) gives the root r\rootval{r}, and repeated factors count toward that root’s multiplicity.

Why the Degree Equals the Number of Roots
(x−2)(x−5)(x+1)=0(x - \rootval{2})(x - \rootval{5})(x + \rootval{1}) = 0
2\rootval{2}
5\rootval{5}
−1\rootval{-1}

Multiplying three linear factors together brings three xx's into the leading term, so three roots automatically produce x3x^{\howmany{3}}:

(x−2)(x−5)(x+1)⏟3 linear factors  ⟹  3 roots\displaystyle \underbrace{(x - \rootval{2})(x - \rootval{5})(x + \rootval{1})}_{\howmany{3} \text{ linear factors} \implies \howmany{3} \text{ roots}} =x3⏟degree 3−6x2+3x+10\displaystyle = \underbrace{x^{\howmany{3}}}_{\text{degree } \howmany{3}} - 6x^2 + 3x + 10 =0\displaystyle = 0
3

Repeated Roots and Multiplicity

If every factor gives a root, why does a quadratic like x2−6x+9=0\poly{x^2 - 6x + 9} = 0 touch the xx-axis only once?

Repeated Roots and Multiplicity
(x−2)(x−3)=0(x - \rootval{2})(x - 3) = 0
22
33
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
multiplicity 1\text{multiplicity } \htmlClass{lc-green}{1}
(1 root)(\htmlClass{lc-green}{1} \text{ root})
−2-2
multiplicity 2\text{multiplicity } \htmlClass{lc-green}{2}
(2 roots)(\htmlClass{lc-green}{2} \text{ roots})
11
multiplicity 3\text{multiplicity } \htmlClass{lc-green}{3}
(3 roots)(\htmlClass{lc-green}{3} \text{ roots})
44

For the polynomial below, the factors give multiplicities 1\howmany{1}, 2\howmany{2}, and 3\howmany{3}. Their exponents add up to its degree:

(x+2)1⏟crosses: 1 root⋅(x−1)2⏟bounces: 2 roots⋅(x−4)3⏟flattens: 3 roots=x1+2+3+…=x6+…\displaystyle \begin{aligned} &\underbrace{(x + 2)^{\howmany{1}}}_{\text{crosses: } \howmany{1} \text{ root}} \cdot \underbrace{(x - 1)^{\howmany{2}}}_{\text{bounces: } \howmany{2} \text{ roots}} \cdot \underbrace{(x - 4)^{\howmany{3}}}_{\text{flattens: } \howmany{3} \text{ roots}} \\[2em] &\quad = x^{\howmany{1} + \howmany{2} + \howmany{3}} + \dots \\ &\quad = x^{\howmany{6}} + \dots \end{aligned}

For a cubic polynomial with three real roots, moving two roots to the same spot produces a double root and a bounce. Moving all three to the same spot produces a triple root and a flattened crossing. The total number of linear factors stays at three.

Stacking roots on the same spot changes how the graph meets the x-axis, while the total number of factors and the degree stay the same.
4

Complex and Irrational Conjugate Pairs

Now what happens when a curve lifts off the xx-axis completely, like x2+4=0\poly{x^2 + 4} = 0, leaving no xx-intercepts at all?

Complex and Irrational Conjugate Pairs
x2+4=0\poly{x^2 + 4} = 0
x2+4\poly{x^2 + 4}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}

As this parabola rises above the xx-axis, its two roots become a nonreal conjugate pair a+bi\centre{a} + \step{bi} and a−bi\centre{a} - \step{bi}. Their linear factors multiply to a quadratic with real coefficients.

As a parabola rises above the x-axis, its two roots become a nonreal conjugate pair whose linear factors multiply to a quadratic with real coefficients.

Whenever a polynomial has real coefficients (no ii's in the equation), any complex root automatically comes with its partner that has the opposite sign on the imaginary part:

a+bi is a root  ⟹  a−bi⏟complex conjugate is also a root\displaystyle \centre{a} + \step{bi} \text{ is a root} \implies \underbrace{\centre{a} - \step{bi}}_{\text{complex conjugate}} \text{ is also a root}

For a polynomial with rational coefficients, suppose a root has the form a+b\centre{a} + \step{\sqrt{b}}, where a\centre{a} and b\step{b} are rational, b>0\step{b} > 0, and b\step{\sqrt{b}} is irrational. Then its conjugate a−b\centre{a} - \step{\sqrt{b}} must also be a root:

a+b is a root  ⟹  a−b⏟irrational conjugate is also a root\displaystyle \centre{a} + \step{\sqrt{b}} \text{ is a root} \implies \underbrace{\centre{a} - \step{\sqrt{b}}}_{\text{irrational conjugate}} \text{ is also a root}
5

Counting Real and Imaginary Roots from a Graph

Putting multiplicity and conjugate pairs together lets us count real and nonreal roots. Here, “imaginary roots” means complex roots with a nonzero imaginary part. All root counts include multiplicity.

Example: You are given f(x)=x5−3x4+⋯+12\poly{f(x) = x^{\howmany{5}} - 3x^4 + \dots + 12}, whose graph crosses straight through the xx-axis once at a root of multiplicity 1\howmany{1} and bounces off the xx-axis once at a root of multiplicity 2\howmany{2}. How many total roots, real roots, and imaginary roots does f(x)\poly{f(x)} have, counting multiplicity?

Counting Real and Imaginary Roots from a Graph
f(x)=x5−3x4+⋯+12\poly{f(x) = x^{\howmany{5}} - 3x^4 + \dots + 12}
1\howmany{1}
2\howmany{2}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
Text solution
Read the total roots from the degreeThe highest power of xx gives the total number of roots before we look at the graph.
Degree 5  ⟹  5 total roots\displaystyle \text{Degree } \howmany{5} \implies \howmany{5} \text{ total roots}
Count real roots on the xx-axis using multiplicityAdd 1\howmany{1} for the straight crossing and 2\howmany{2} for the bounce where two roots are at the same spot.
1 (crossing)+2 (bounce)\displaystyle \howmany{1} \text{ (crossing)} + \howmany{2} \text{ (bounce)} =3 real roots\displaystyle = \howmany{3} \text{ real roots}
Subtract to find the imaginary rootsAny roots not represented by an xx-intercept are nonreal complex roots, which we are calling imaginary roots.
5 total−3 real\displaystyle \howmany{5} \text{ total} - \howmany{3} \text{ real} =2 imaginary roots\displaystyle = \howmany{2} \text{ imaginary roots}

So f(x)\poly{f(x)} has 55 total roots: 33 real roots on the xx-axis and 22 imaginary roots off the axis as a conjugate pair.

A degree-5\howmany{5} polynomial can start with five distinct real roots. Two of them can merge and become a nonreal conjugate pair while the other three remain real. The total number of roots stays at 55.

When a bend lifts off the x-axis, two real roots merge and turn into a pair of imaginary roots, keeping the total at 5.
6

Writing a Polynomial from Given Roots

Now we work in the opposite direction: given a polynomial's roots, we multiply their (x−root)(x - \rootval{\text{root}}) factors to write the expanded polynomial of least degree. When two factors are conjugates, grouping (x−a)\centre{(x - a)} inside both lets us multiply them in one step using the difference of squares:

(A−B)(A+B)\displaystyle (\centre{A} - \step{B})(\centre{A} + \step{B}) =A2−B2\displaystyle = \centre{A}^2 - \step{B}^2

First, a polynomial built from a real root and a complex root.

Example: Write a polynomial of least degree with real coefficients and leading coefficient 11 that has roots at x=4x = 4 and x=1+2ix = \centre{1} + \step{2i}.

Writing a Polynomial from Complex Roots
real coefficientsleading coefficient 1 \displaystyle \small\begin{gathered} \text{real coefficients} \\ \text{leading coefficient } 1 \end{gathered}\,
x\displaystyle x =4,x\displaystyle = 4, \qquad x =1+2i \displaystyle = \centre{1} + \step{2i}\,
polynomial\displaystyle \text{polynomial} =  ?\displaystyle = \;?
Text solution
Include the complex conjugate and write the linear factorsSince the coefficients are real, 1+2i\centre{1} + \step{2i} comes with its conjugate 1−2i\centre{1} - \step{2i}, giving three factors in total.
(x−4)(x−(1+2i))(x−(1−2i))\displaystyle \begin{aligned} &(x - 4) \\ &\quad \big(x - (\centre{1} + \step{2i})\big)\big(x - (\centre{1} - \step{2i})\big) \end{aligned}
Regroup and multiply the conjugate pair by difference of squaresDistributing the minus sign gives (x−1)\centre{(x - 1)} in both complex factors, and subtracting (2i)2=−4\step{(2i)^2} = \step{-4} turns into +4+ \step{4}.
(x−4)((x−1)−2i)((x−1)+2i)=(x−4)((x−1)2−(2i)2)=(x−4)(x2−2x+1−4i2)=(x−4)(x2−2x+5)\displaystyle \begin{aligned} &(x - 4) \\ &\quad \big(\centre{(x - 1)} - \step{2i}\big)\big(\centre{(x - 1)} + \step{2i}\big) \\ &\quad = (x - 4)\big({\centre{(x - 1)}}^2 - \step{(2i)^2}\big) \\ &\quad = (x - 4)(x^2 - 2x + 1 - \step{4i^2}) \\ &\quad = (x - 4)(x^2 - 2x + 5) \end{aligned}
Multiply by the remaining real factorDistribute x−4x - 4 across the quadratic and combine like terms.
(x−4)(x2−2x+5)=x3−2x2+5x−4x2+8x−20=x3−6x2+13x−20\displaystyle \begin{aligned} &(x - 4)(x^2 - 2x + 5) \\ &\quad = x^3 - 2x^2 + 5x \\ &\quad \qquad - 4x^2 + 8x - 20 \\ &\quad = x^3 - 6x^2 + 13x - 20 \end{aligned}

So the polynomial of least degree with real coefficients is x3−6x2+13x−20x^3 - 6x^2 + 13x - 20.

Now a root with a square root.

Example: Write a polynomial of least degree with rational coefficients and leading coefficient 11 that has roots at x=−2x = -2 and x=3+5x = \centre{3} + \step{\sqrt{5}}.

Writing a Polynomial from Irrational Roots
rational coefficientsleading coefficient 1 \displaystyle \small\begin{gathered} \text{rational coefficients} \\ \text{leading coefficient } 1 \end{gathered}\,
x\displaystyle x =−2,x\displaystyle = -2, \qquad x =3+5 \displaystyle = \centre{3} + \step{\sqrt{5}}\,
polynomial\displaystyle \text{polynomial} =  ?\displaystyle = \;?
Text solution
Include the irrational conjugate and write the linear factorsBecause the coefficients are rational, 3+5\centre{3} + \step{\sqrt{5}} requires its conjugate 3−5\centre{3} - \step{\sqrt{5}} so the radical cancels out.
(x+2)(x−(3+5))(x−(3−5))\displaystyle \begin{aligned} &(x + 2) \\ &\quad \big(x - (\centre{3} + \step{\sqrt{5}})\big)\big(x - (\centre{3} - \step{\sqrt{5}})\big) \end{aligned}
Regroup and multiply the radical pair by difference of squaresGrouping (x−3)\centre{(x - 3)} clears the radical in one step, and since (5)2=5\step{(\sqrt{5})^2} = \step{5} has no ii, subtracting (5)2\step{(\sqrt{5})^2} stays −5- \step{5}.
(x+2)((x−3)−5)((x−3)+5)=(x+2)((x−3)2−(5)2)=(x+2)(x2−6x+9−5)=(x+2)(x2−6x+4)\displaystyle \begin{aligned} &(x + 2) \\ &\quad \big(\centre{(x - 3)} - \step{\sqrt{5}}\big)\big(\centre{(x - 3)} + \step{\sqrt{5}}\big) \\ &\quad = (x + 2)\big({\centre{(x - 3)}}^2 - \step{(\sqrt{5})^2}\big) \\ &\quad = (x + 2)(x^2 - 6x + 9 - \step{5}) \\ &\quad = (x + 2)(x^2 - 6x + 4) \end{aligned}
Multiply by the remaining linear factorDistribute x+2x + 2 across the quadratic and combine like terms.
(x+2)(x2−6x+4)=x3−6x2+4x+2x2−12x+8=x3−4x2−8x+8\displaystyle \begin{aligned} &(x + 2)(x^2 - 6x + 4) \\ &\quad = x^3 - 6x^2 + 4x \\ &\quad \qquad + 2x^2 - 12x + 8 \\ &\quad = x^3 - 4x^2 - 8x + 8 \end{aligned}

So the polynomial of least degree with rational coefficients is x3−4x2−8x+8x^3 - 4x^2 - 8x + 8.

Watch the sign on −B2-\step{B}^2 when you use difference of squares: with a complex root, −(bi)2=−b2i2=+b2-\step{(bi)^2} = -\step{b^2i^2} = +\step{b^2} flips to addition, whereas with a square root, −(b)2=−b-\step{(\sqrt{b})^2} = -\step{b} stays subtraction.

7

Finding All the Roots of a Polynomial

Now suppose we are given an expanded polynomial of degree 3\howmany{3} or 4\howmany{4} and need to find all of its roots. Because the quadratic formula only works on degree 2\howmany{2}, our goal is to find enough factors to divide the polynomial down to a quadratic.

For a cubic equation, dividing out the linear factor for one root leaves a quadratic. When the polynomial has integer coefficients and leading coefficient 11, any rational root is an integer that divides the constant term.

Example: Find all the roots of x3−4x2+9x−10=0\poly{x^{\howmany{3}} - 4x^2 + 9x - 10} = 0.

Finding All the Roots of a Cubic
x3−4x2+9x−10=0\poly{x^{\howmany{3}} - 4x^2 + 9x - 10} = 0
Text solution
Test factors of the constant term to find one rational rootChecking the factors ±1,±2,±5,±10\pm 1, \pm 2, \pm 5, \pm 10 of −10-10 shows that x=2x = 2 makes the equation zero, so (x−2)(x - 2) is a factor.
23−4(2)2+9(2)−10\displaystyle 2^3 - 4(2)^2 + 9(2) - 10 =8−16+18−10\displaystyle = 8 - 16 + 18 - 10 =0\displaystyle = 0
Divide out the factor (x−2)(x - 2) to get the remaining quadraticSynthetic division with 22 on the coefficients 1,−4,9,−10\poly{1, -4, 9, -10} leaves the quotient x2−2x+5x^2 - 2x + 5 with remainder 0\leftover{0}.
(x−2)(x2−2x+5)\displaystyle (x - 2)(x^2 - 2x + 5) =0\displaystyle = 0
Solve the quadratic for the remaining two rootsCompleting the square on x2−2x+5=0x^2 - 2x + 5 = 0 gives the complex conjugate pair.
(x−1)2+4=0(x−1)2=−4x−1=±2ix=1±2i\displaystyle \begin{aligned} {\centre{(x - 1)}}^2 + \leftover{4} &= 0 \\ {\centre{(x - 1)}}^2 &= \leftover{-4} \\ \centre{x - 1} &= \pm \step{2i} \\ x &= \centre{1} \pm \step{2i} \end{aligned}

So the three roots of the cubic equation are x=2x = 2, x=1+2ix = 1 + 2i, and x=1−2ix = 1 - 2i.

For a degree-4\howmany{4} equation, dividing out two linear factors or one quadratic factor leaves a quadratic. With real coefficients, a given nonreal complex root supplies its conjugate. With rational coefficients, a root such as 3+5\centre{3} + \step{\sqrt{5}} also supplies its conjugate.

Example: Find all the roots of x4−7x3+21x2−37x+30=0\poly{x^{\howmany{4}} - 7x^3 + 21x^2 - 37x + 30} = 0, given that 1+2i\centre{1} + \step{2i} is a root.

Finding All the Roots Given One Complex Root
x4−7x3+21x2−37x+30=0\poly{x^{\howmany{4}} - 7x^3 + 21x^2 - 37x + 30} = 0
given root: 1+2i\text{given root: } \centre{1} + \step{2i}
x=  ?x = \;?
Text solution
Pair the given complex root with its conjugate to build a quadratic factorSince 1+2i\centre{1} + \step{2i} is a root, 1−2i\centre{1} - \step{2i} is also a root, and multiplying their factors gives a real quadratic we can divide by cleanly.
((x−1)−2i)((x−1)+2i)=(x−1)2−(2i)2=x2−2x+5\displaystyle \begin{aligned} &\big(\centre{(x - 1)} - \step{2i}\big)\big(\centre{(x - 1)} + \step{2i}\big) \\ &\quad = {\centre{(x - 1)}}^2 - \step{(2i)^2} \\ &\quad = x^2 - 2x + 5 \end{aligned}
Divide the degree-4\howmany{4} polynomial by the quadratic factorPolynomial long division of x4−7x3+21x2−37x+30\poly{x^4 - 7x^3 + 21x^2 - 37x + 30} by x2−2x+5x^2 - 2x + 5 gives a remainder of 0\leftover{0} and a quadratic quotient.
(x2−2x+5)(x2−5x+6)\displaystyle (x^2 - 2x + 5)(x^2 - 5x + 6) =0\displaystyle = 0
Solve the quotient quadratic for the last two rootsFactoring the quotient x2−5x+6=0x^2 - 5x + 6 = 0 gives the remaining roots.
(x−2)(x−3)=0x=2,x=3\displaystyle \begin{aligned} (x - 2)(x - 3) &= 0 \\ x = 2, \quad x &= 3 \end{aligned}

So the four roots of the degree-44 equation are x=1+2ix = 1 + 2i, x=1−2ix = 1 - 2i, x=2x = 2, and x=3x = 3.

Key concepts

Here is how all the pieces fit together when you work with polynomial roots.

Putting It All Together
P(x)=c (x−r1)(x−r2)⋯(x−rn)P(x) = c\,(x - \rootval{r_1})(x - \rootval{r_2})\cdots(x - \rootval{r_n})
c≠0,    rj complexc \ne 0, \;\; \rootval{r_j} \text{ complex}
degree n→n roots\text{degree } \howmany{n} \to \howmany{n} \text{ roots}
counting multiplicity\text{counting multiplicity}
8

Practice

1

The graph of a polynomial with leading coefficient 11 crosses straight through the xx-axis at x=−3x = -3, bounces off the xx-axis at x=2x = 2, and flattens out while crossing the xx-axis at x=5x = 5, with no other xx-intercepts and no imaginary roots. The multiplicities at these intercepts are 11, 22, and 33, respectively. Write the polynomial in factored form and state its degree.

Match each xx-intercept to its factor (x−root)(x - \rootval{\text{root}}) and use how the curve touches the axis to pick the exponent on each factor. Warning: Watch the signs inside (x−root)(x - \text{root}) and add the exponents on the factors to find the degree. Forgetting to flip the signs or simply counting the three intercepts gives (x−3)(x+2)2(x+5)3(x - 3)(x + 2)^2(x + 5)^3 or degree 33 instead of 1+2+3=61 + 2 + 3 = 6.

(x+3)(x−2)2(x−5)3(x + 3)(x - 2)^2(x - 5)^3, degree 66
2

The graph of f(x)=x8−5x7+⋯+18f(x) = x^8 - 5x^7 + \dots + 18 crosses straight through the xx-axis once, bounces off the xx-axis once, and flattens out while crossing the xx-axis once. The multiplicities at these intercepts are 11, 22, and 33, respectively. How many total roots, real roots (counting multiplicity), and imaginary roots does f(x)f(x) have?

Read the total roots from the highest power of xx, then add up the multiplicities at the crossing, the bounce, and the flattened crossing before subtracting. Warning: Don't count each xx-intercept as a single real root. Counting 1+1+1=31 + 1 + 1 = 3 real roots gives 8−3=58 - 3 = 5 imaginary roots, which is impossible because imaginary roots must come in conjugate pairs.

88 total roots, 66 real roots, and 22 imaginary roots
3

Write a polynomial of least degree with real coefficients and leading coefficient 11 that has roots at x=3x = 3 and x=2+3ix = 2 + 3i.

Since the coefficients are real, include the conjugate partner of 2+3i\centre{2} + \step{3i} first, then regroup the complex factors as ((x−2)−3i)((x−2)+3i)\big(\centre{(x - 2)} - \step{3i}\big)\big(\centre{(x - 2)} + \step{3i}\big). Warning: When squaring 3i3i in (x−2)2−(3i)2(x - 2)^2 - (3i)^2, remember that i2=−1i^2 = -1 flips the subtraction into +9+ 9; writing 4−9=−54 - 9 = -5 instead of 4+9=134 + 9 = 13 gives x2−4x−5x^2 - 4x - 5 and leads to x3−7x2+7x+15x^3 - 7x^2 + 7x + 15.

x3−7x2+25x−39x^3 - 7x^2 + 25x - 39
4

Write a polynomial of least degree with rational coefficients and leading coefficient 11 that has roots at x=1x = 1 and x=4−3x = 4 - \sqrt{3}.

Pair 4−3\centre{4} - \step{\sqrt{3}} with its irrational conjugate and multiply those two factors first using (x−4)2−(3)2{\centre{(x - 4)}}^2 - \step{(\sqrt{3})^2}. Warning: Unlike i2i^2, squaring 3\sqrt{3} gives positive 33 with no sign flip, so 16−(3)216 - (\sqrt{3})^2 stays 16−3=1316 - 3 = 13; adding 33 as you would with complex numbers gives x2−8x+19x^2 - 8x + 19 and leads to x3−9x2+27x−19x^3 - 9x^2 + 27x - 19.

x3−9x2+21x−13x^3 - 9x^2 + 21x - 13
5

Find all the roots of x3−x2−x−15=0x^3 - x^2 - x - 15 = 0.

Test factors of −15-15 to find one integer root first, then divide out its factor so you are left with a quadratic equation. Warning: After finding the root x=3x = 3 (which gives the factor x−3x - 3), put +3+3 rather than −3-3 in the synthetic division box, and when solving (x+1)2=−4(x + 1)^2 = -4, subtract 11 from both sides. Forgetting to flip the sign on 11 gives 1±2i1 \pm 2i instead of −1±2i-1 \pm 2i.

x=3x = 3, x=−1+2ix = -1 + 2i, and x=−1−2ix = -1 - 2i
6

Find all the roots of x4−6x3+11x2−2x−10=0x^4 - 6x^3 + 11x^2 - 2x - 10 = 0, given that 2+i2 + i is a root.

Pair 2+i\centre{2} + \step{i} with its conjugate to build a real quadratic factor first, then use polynomial long division to reduce the degree-44 equation to a quadratic. Warning: When solving the quotient quadratic x2−2x−2=0x^2 - 2x - 2 = 0 by completing the square, adding 11 to turn x2−2xx^2 - 2x into (x−1)2(x - 1)^2 means adding 11 to the right side of x2−2x=2x^2 - 2x = 2 as well; forgetting to add that 11 gives (x−1)2=2(x - 1)^2 = 2 and leads to 1±21 \pm \sqrt{2}.

x=2+ix = 2 + i, x=2−ix = 2 - i, x=1+3x = 1 + \sqrt{3}, and x=1−3x = 1 - \sqrt{3}