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 has exactly n complex roots when we count each root with its multiplicity.
The Fundamental Theorem of Algebra
Polynomial of degree n⟹exactly n complex roots,counting multiplicity
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 x 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) gives the root r, and repeated factors count toward that root’s multiplicity.
Why the Degree Equals the Number of Roots
Multiplying three linear factors together brings three x's into the leading term, so three roots automatically produce x3:
3 linear factors⟹3 roots(x−2)(x−5)(x+1)=degree 3x3−6x2+3x+10=0
3
Repeated Roots and Multiplicity
If every factor gives a root, why does a quadratic like x2−6x+9=0 touch the x-axis only once?
Repeated Roots and Multiplicity
For the polynomial below, the factors give multiplicities 1,2, and 3. Their exponents add up to its degree:
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 x-axis completely, like x2+4=0, leaving no x-intercepts at all?
Complex and Irrational Conjugate Pairs
As this parabola rises above the x-axis, its two roots become a nonreal conjugate pair a+bi and a−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 i'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⟹complex conjugatea−bi is also a root
For a polynomial with rational coefficients, suppose a root has the form a+b, where a and b are rational, b>0, and b is irrational. Then its conjugate a−b must also be a root:
a+b is a root⟹irrational conjugatea−b 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, whose graph crosses straight through the x-axis once at a root of multiplicity 1 and bounces off the x-axis once at a root of multiplicity 2. How many total roots, real roots, and imaginary roots does f(x) have, counting multiplicity?
Counting Real and Imaginary Roots from a Graph
Text solution
Read the total roots from the degreeThe highest power of x gives the total number of roots before we look at the graph.
Degree 5⟹5 total roots
Count real roots on the x-axis using multiplicityAdd 1 for the straight crossing and 2 for the bounce where two roots are at the same spot.
1 (crossing)+2 (bounce)=3 real roots
Subtract to find the imaginary rootsAny roots not represented by an x-intercept are nonreal complex roots, which we are calling imaginary roots.
5 total−3 real=2 imaginary roots
So f(x) has 5 total roots: 3 real roots on the x-axis and 2 imaginary roots off the axis as a conjugate pair.
A degree-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 5.
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) factors to write the expanded polynomial of least degree. When two factors are conjugates, grouping (x−a) inside both lets us multiply them in one step using the difference of squares:
(A−B)(A+B)=A2−B2
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 1 that has roots at x=4 and x=1+2i.
Writing a Polynomial from Complex Roots
real coefficientsleading coefficient 1
x=4,x=1+2i
polynomial=?
Text solution
Include the complex conjugate and write the linear factorsSince the coefficients are real, 1+2i comes with its conjugate 1−2i, giving three factors in total.
(x−4)(x−(1+2i))(x−(1−2i))
Regroup and multiply the conjugate pair by difference of squaresDistributing the minus sign gives (x−1) in both complex factors, and subtracting (2i)2=−4 turns into +4.
So the polynomial of least degree with real coefficients is x3−6x2+13x−20.
Now a root with a square root.
Example: Write a polynomial of least degree with rational coefficients and leading coefficient 1 that has roots at x=−2 and x=3+5.
Writing a Polynomial from Irrational Roots
rational coefficientsleading coefficient 1
x=−2,x=3+5
polynomial=?
Text solution
Include the irrational conjugate and write the linear factorsBecause the coefficients are rational, 3+5 requires its conjugate 3−5 so the radical cancels out.
(x+2)(x−(3+5))(x−(3−5))
Regroup and multiply the radical pair by difference of squaresGrouping (x−3) clears the radical in one step, and since (5)2=5 has no i, subtracting (5)2 stays −5.
Multiply by the remaining linear factorDistribute x+2 across the quadratic and combine like terms.
(x+2)(x2−6x+4)=x3−6x2+4x+2x2−12x+8=x3−4x2−8x+8
So the polynomial of least degree with rational coefficients is x3−4x2−8x+8.
Watch the sign on −B2 when you use difference of squares: with a complex root, −(bi)2=−b2i2=+b2 flips to addition, whereas with a square root, −(b)2=−b stays subtraction.
7
Finding All the Roots of a Polynomial
Now suppose we are given an expanded polynomial of degree 3 or 4 and need to find all of its roots. Because the quadratic formula only works on degree 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 1, any rational root is an integer that divides the constant term.
Example: Find all the roots of x3−4x2+9x−10=0.
Finding All the Roots of a Cubic
Text solution
Test factors of the constant term to find one rational rootChecking the factors ±1,±2,±5,±10 of −10 shows that x=2 makes the equation zero, so (x−2) is a factor.
23−4(2)2+9(2)−10=8−16+18−10=0
Divide out the factor (x−2) to get the remaining quadraticSynthetic division with 2 on the coefficients 1,−4,9,−10 leaves the quotient x2−2x+5 with remainder 0.
(x−2)(x2−2x+5)=0
Solve the quadratic for the remaining two rootsCompleting the square on x2−2x+5=0 gives the complex conjugate pair.
(x−1)2+4(x−1)2x−1x=0=−4=±2i=1±2i
So the three roots of the cubic equation are x=2,x=1+2i, and x=1−2i.
For a degree-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 also supplies its conjugate.
Example: Find all the roots of x4−7x3+21x2−37x+30=0, given that 1+2i is a root.
Finding All the Roots Given One Complex Root
Text solution
Pair the given complex root with its conjugate to build a quadratic factorSince 1+2i is a root, 1−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
Divide the degree-4 polynomial by the quadratic factorPolynomial long division of x4−7x3+21x2−37x+30 by x2−2x+5 gives a remainder of 0 and a quadratic quotient.
(x2−2x+5)(x2−5x+6)=0
Solve the quotient quadratic for the last two rootsFactoring the quotient x2−5x+6=0 gives the remaining roots.
(x−2)(x−3)x=2,x=0=3
So the four roots of the degree-4 equation are x=1+2i,x=1−2i,x=2, and x=3.
Key concepts
Here is how all the pieces fit together when you work with polynomial roots.
Putting It All Together
8
Practice
1
The graph of a polynomial with leading coefficient 1 crosses straight through the x-axis at x=−3, bounces off the x-axis at x=2, and flattens out while crossing the x-axis at x=5, with no other x-intercepts and no imaginary roots. The multiplicities at these intercepts are 1,2, and 3, respectively. Write the polynomial in factored form and state its degree.
Match each x-intercept to its factor (x−root) and use how the curve touches the axis to pick the exponent on each factor. Warning: Watch the signs inside (x−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 or degree 3 instead of 1+2+3=6.
(x+3)(x−2)2(x−5)3, degree 6
2
The graph of f(x)=x8−5x7+⋯+18 crosses straight through the x-axis once, bounces off the x-axis once, and flattens out while crossing the x-axis once. The multiplicities at these intercepts are 1,2, and 3, respectively. How many total roots, real roots (counting multiplicity), and imaginary roots does f(x) have?
Read the total roots from the highest power of x, then add up the multiplicities at the crossing, the bounce, and the flattened crossing before subtracting. Warning: Don't count each x-intercept as a single real root. Counting 1+1+1=3 real roots gives 8−3=5 imaginary roots, which is impossible because imaginary roots must come in conjugate pairs.
8 total roots, 6 real roots, and 2 imaginary roots
3
Write a polynomial of least degree with real coefficients and leading coefficient 1 that has roots at x=3 and x=2+3i.
Since the coefficients are real, include the conjugate partner of 2+3i first, then regroup the complex factors as ((x−2)−3i)((x−2)+3i).Warning: When squaring 3i in (x−2)2−(3i)2, remember that i2=−1 flips the subtraction into +9; writing 4−9=−5 instead of 4+9=13 gives x2−4x−5 and leads to x3−7x2+7x+15.
x3−7x2+25x−39
4
Write a polynomial of least degree with rational coefficients and leading coefficient 1 that has roots at x=1 and x=4−3.
Pair 4−3 with its irrational conjugate and multiply those two factors first using (x−4)2−(3)2.Warning: Unlike i2, squaring 3 gives positive 3 with no sign flip, so 16−(3)2 stays 16−3=13; adding 3 as you would with complex numbers gives x2−8x+19 and leads to x3−9x2+27x−19.
x3−9x2+21x−13
5
Find all the roots of x3−x2−x−15=0.
Test factors of −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=3 (which gives the factor x−3), put +3 rather than −3 in the synthetic division box, and when solving (x+1)2=−4, subtract 1 from both sides. Forgetting to flip the sign on 1 gives 1±2i instead of −1±2i.
x=3,x=−1+2i, and x=−1−2i
6
Find all the roots of x4−6x3+11x2−2x−10=0, given that 2+i is a root.
When solving the quotient quadratic x2−2x−2=0 by completing the square, adding 1 to turn x2−2x into (x−1)2 means adding 1 to the right side of x2−2x=2 as well; forgetting to add that 1 gives (x−1)2=2 and leads to 1±2.
Pair 2+i with its conjugate to build a real quadratic factor first, then use polynomial long division to reduce the degree-4 equation to a quadratic. Warning: When solving the quotient quadratic x2−2x−2=0 by completing the square, adding 1 to turn x2−2x into (x−1)2 means adding 1 to the right side of x2−2x=2 as well; forgetting to add that 1 gives (x−1)2=2 and leads to 1±2.