5.2 Zeros & Polynomial Equations

Drawing by Bauce and Rouget Drawing by Bauce and Rouget

Introduction

As the smoke cleared on the morning of May 30, 1832, young Évariste Galois lay mortally wounded on the ground, having been shot in the stomach. Though only 20 years old, Galois had earned a reputation not only as a brilliant mathematician, but also as a reckless political activist who had threatened the life of the French king and been arrested for carrying loaded weapons during a protest in Paris.

No one knows for sure why Galois was involved the duel. Some say that he was defending the honor of a young lady or that he was the victim of a government conspiracy. All we know is that he feared for his life and spent the night before the duel writing farewell letters to close friends.

In one of those letters Galois famously described a new mathematical theory that revealed the hidden framework of polynomials.

Zeros of Polynomials

In the last section we saw that x-intercepts are real number solutions to the polynomial equation $p(x)=0$ and that they are simple to find if the polynomial has been factored. The factor theorem told us that $x=c$ is an x-intercept if and only if $(x-c)$ is a factor If the polynomial isn't factored, then solving $p(x)=0$ can be challenging.

Throughout history efforts have been made to find formulas that will produce the zeros of polynomials. The Indian mathematician Brahmagupta is generally credited as being the first to publish a description of the quadratic formula in 628 AD, though the roots of the solution go back thousands of years. The quadratic formula gives the two zeros of any 2nd degree polynomial.

In the 1500's, Niccolò Tartaglia, one of the most gifted mathematicians in Italy, found a general process for solving all cubic equations. Within a few years a fellow Italian by the name of Lodovico Ferrari found a way to find the zeros of all 4th degree polynomials.

The work of Tartaglia and Ferrari showed there are always 3 solutions to every 3rd degree polynomial and 4 solutions to every 4th degree polynomial. Following that pattern, it would be reasonable to expect that a polynomial with a degree of $n$ always has $n$ zeros.

If you made that assumption, you'd be in good company. In 1799, Carl Friedrich Gauss, arguably the greatest mathematician in history, proved that result as a consequence of his Fundamental Theorem of Algebra.

While the proof is very complicated and beyond the scope of this text, what the Fundamental Theorem of Algebra says is actually very simple. In essence, Gauss showed that a polynomial whose degree is $n$ will always have exactly $n$ zeros. Some of the zeros might involve imaginary numbers, some may be repeated, but there will always be $n$ zeros total.

For instance, since $p(x)=2x^4-3x+8$ is a $4th$ degree polynomial, we know that it has exactly $4$ zeros.

QUICK CHECK

  1. How many total zeros does $p(x)=-3x^6+x^{2}-9x$ have?

    Answer
    It is a 6th degree polynomial, so it must have 6 zeros.

  2. How many total zeros does $p(x)=5x^{3}-4$ have?

    Answer
    It is a 3rd degree polynomial, so it must have 3 zeros.

Galois Theory

Gauss showed that for an polynomial of degree $n$ there will always be $n$ solutions to the equation $p(x)=0$. He did not, however, come up with a formula to find all of those solutions. And there's a very good reason he didn't.

In the early 1800's, Galois' notes and letters, together with the work of his equally tragic contemporary Niels Henrik Abel Abel was a young Norwegian mathematician struggling to find steady income so he could marry his fiancée. He died, unwed, at the age of 26 from tuberculosis. Two days later a letter arrived offering a post at the University of Berlin. , showed that it is impossible to find a general algebraic formula (ie. a formula involving only addition, subtraction, multiplication, division, powers and roots) for the zeros of a polynomial if the degree is higher than 4.

In other words, we cannot count on using a formula to find the zeros of a polynomial if its degree is higher than 4. In fact, since the formulas for the cubic and quartic are impractical, the only polynomial formula you'll likely need to remember is the quadratic formula.

Instead of using complicated formulas, we will use a combination of graphical, algebraic, and numerical methods to find the zeros of polynomials. And since graphs help us estimate the number and location of any real zeros as well as the number of imaginary zeros, it is preferable to study the graph of a polynomial first.

Finding Possible Zeros

Since the real zeros of a polynomial correspond to the x-intercepts of its graph, we can sometimes identify them with just by looking.

For instance, the graph of $p(x)=x^5-5x^{3}+4x$, shown here, appears to have x-intercepts at $x=-2$, $x=-1$, $x=0$, $x=1$ and $x=2$.

But what if a graph isn't available or if the graph is difficult to read? For example, the cubic polynomial $p(x)=3x^{3}+8x^{2}+3x-2$ appears to have zeros when $x=-2$ and $x=-1$ the location of third zero is not clear.

It might be $\frac{1}{4}$ or $\frac{1}{3}$ or maybe it's some irrational number like $\sqrt{\frac{1}{8}}$. We simply can't tell just by looking.

Luckily, there is a nice tool called the rational zeros theorem that allows us to make a list of numbers that might be zeros. Take a look at the table below and see if you can spot the (color-coded) pattern yourself.

Notice that the numerators of each zero are factors of the constant term and the denominators are factors of the leading coefficient.

If a polynomial with integer coefficients has a rational zero, then the rational zeros theorem says this pattern will always occur. Which means we can use that pattern to reverse engineer a list of fractions that might be zeros.

Let's test this and find all the fractions that might be zeros of $p(x)=\color{blue}{3}x^{3}+8x^{2}+3x\color{red}{-2}$.

The constant term is $\color{red}{-2}$, which can be divided evenly by $\color{red}{\pm 1, \thinspace \pm 2}$, so those are its factors.

The factors of the leading coefficient $\color{blue}{3}$ are $\color{blue}{\pm 1, \thinspace \pm 3}$.

Putting those together, our list of fractions that might be zeros is

[ \pm \frac{\color{red}{1}}{\color{blue}{1}}, \thinspace \pm \frac{\color{red}{2}}{\color{blue}{1}}, \pm \frac{\color{red}{1}}{\color{blue}{3}}, \thinspace \pm \frac{\color{red}{2}}{\color{blue}{3}} ]

Notice that the two zeros we spotted from the graph, $x=-2$ and $x=-1$, are in this list. If our missing third zero is a fraction, then the rational zeros theorem guarantees that it is in this list. The theorem does not however, guarantee that the missing zero is a fraction.

QUICK CHECK

Consider the polynomial $p(x)=\color{blue}{5}x^2+3x+\color{red}{6}$.

  1. List all the factors of the constant term $\color{red}{6}$.

    Answer
    $\color{red}{6}$ can be divided evenly by $\color{red}{\pm 1, \thinspace \pm 2, \thinspace \pm 3, \thinspace \pm 6}$ , so those are its factors.

  2. List all the factors of the leading coefficient $\color{blue}{5}$.

    Answer
    $\color{blue}{5}$ can be divided evenly by $\color{blue}{\pm 1, \thinspace \pm 5}$ , so those are its factors.

  3. List all the fractions with numerators that are factors of $\color{red}{6}$ and denominators that are factors of $\color{blue}{5}$.

    Answer
    There are sixteen combinations. [ \pm \frac{\color{red}{1}}{\color{blue}{1}}, \thinspace \pm \frac{\color{red}{2}}{\color{blue}{1}}, \thinspace \pm \frac{\color{red}{3}}{\color{blue}{1}}, \thinspace \pm \frac{\color{red}{6}}{\color{blue}{1}} ] and [ \pm \frac{\color{red}{1}}{\color{blue}{5}}, \thinspace \pm \frac{\color{red}{2}}{\color{blue}{5}}, \thinspace \pm \frac{\color{red}{3}}{\color{blue}{5}}, \thinspace \pm \frac{\color{red}{6}}{\color{blue}{5}} ]

Verifying Zeros

You'll recall that the real zeros of a polynomial are real numbers that are solutions to the equation $p(x)=0$. Graphically they correspond to the x-intercepts of its graph.

For instance, the graph of $p(x)=x^5-5x^{3}+4x$, shown here, appears to have x-intercepts at $x=-2$, $x=-1$, $x=0$, $x=1$ and $x=2$.

But how do we know if these really are the zeros? Maybe the true values are slightly different. To verify that those values really are zeros we must check to see if $p(x)=0$ for each one. With $x=-2$, for example,

[ \begin{align} p(-2) &= (-2)^5-5(-2)^3+4(-2) \newline &=-32+40-8 \newline &=0 \end{align} ]

so we can be confident that $x=-2$ truly is a zero.

QUICK CHECK

  1. Verify that $x=-1$, $x=0$, $x=1$ and $x=2$ are each zeros of $p(x)=x^5-5x^{3}+4x$.
    Answer
    [ \begin{align} p(-1)&=(-1)^5-5(-1)^3+4(-1) \newline &=-1+5-4 \newline &=0 \newline \newline p(0)&=(0)^5-5(0)^3+4(0) \newline &=0-0+0 \newline &=0 \newline \newline p(1)&=(1)^5-5(1)^3+4(1) \newline &=1-5+4 \newline &=0 \newline \newline p(2)&=(2)^5-5(2)^3+4(2) \newline &=32-40+8 \newline &=0 \end{align} ]

Finding Rational Zeros of a Polynomial

Rational Zeros Example 1

Let's return to the polynomial $p(x)=\color{blue}{3}x^{3}+8x^{2}+3x\color{red}{-2}$ and see how the rational zeros theorem helps us identify its zeros. Since the leading coefficient is $\color{blue}{3}$ and the constant term is $\color{red}{-2}$, we know that the numerators and denominators of possible rational zeros must be

This means that all rational zeros of $p(x)=\color{blue}{3}x^{3}+8x^{2}+3x\color{red}{-2}$ can be found in the following list.

We can see from the graph that $-1$ and $-2$ are zeros, and both appear in this list.

Judging from the graph, if the third zero is a rational number then it is either $\frac{\color{red}{1}}{\color{blue}{3}}$ or $\frac{\color{red}{2}}{\color{blue}{3}}$.

To see if either of these are the zeros we put the into the function and see if the result is zero. We'll start with $\frac{\color{red}{1}}{\color{blue}{3}}$.

[ \begin{align} p\left(\frac{\color{red}{1}}{\color{blue}{3}}\right)&=3\left(\frac{\color{red}{1}}{\color{blue}{3}}\right)^{3}+8\left(\frac{\color{red}{1}}{\color{blue}{3}}\right)^2+3\left(\frac{\color{red}{1}}{\color{blue}{3}}\right)-2 \newline &=3\left(\frac{1}{27}\right)+8\left(\frac{1}{9}\right)+1-2 \newline &= \frac{3}{27}+\frac{8}{9}-1 \newline &= \frac{1}{9} + \frac{8}{9}-1 \newline &= \frac{9}{9} - 1 \newline &= 1 - 1 \newline &= 0 \end{align} ]

Since $p\left(\frac{\color{red}{1}}{\color{blue}{3}}\right)=0$ we know that $\frac{\color{red}{1}}{\color{blue}{3}}$ is the third zero of the polynomial. There's no need to check $\frac{\color{red}{2}}{\color{blue}{3}}$ because this polynomial only has three zeros.

Rational Zeros Example 2

Let's use a graph and the rational zeros theorem to see if $p(x)=\color{blue}{6}x^2+7x\color{red}{-5}$ has any rational zeros.

With a leading coefficient of $\color{blue}{6}$ and a constant term of $\color{red}{-5}$, we know that all rational zeros, if there are any, must be in the following list.

With the help of the graph we can narrow this list down to $\frac{ \color{red}{1} } { \color{blue}{2} }$, $\frac{\color{red}{1}}{\color{blue}{3}}$ and $\frac{\color{red}{-5}}{\color{blue}{3}}$, since the other values are not near the x-intercepts.

Now we need to check each one, beginning with $x=\frac{\color{red}{1}}{\color{blue}{2}}$.

[ \begin{align} p\left(\frac{\color{red}{1}}{\color{blue}{2}}\right) &= 6\left(\frac{\color{red}{1}}{\color{blue}{2}}\right)^2+7\left(\frac{\color{red}{1}}{\color{blue}{2}}\right)-5 \newline &=\frac{6}{4}+\frac{7}{2}-5 \newline &=0 \end{align} ]

We've found one zero! Let's keep going and check $x=\frac{\color{red}{1}}{\color{blue}{3}}$.

[ \begin{align} p\left(\frac{\color{red}{1}}{\color{blue}{3}}\right) &= 6\left(\frac{\color{red}{1}}{\color{blue}{3}}\right)^2+7\left(\frac{\color{red}{1}}{\color{blue}{3}}\right)-5 \newline &=\frac{6}{9}+\frac{7}{3}-5 \newline &=2 \end{align} ]

Since this is not $0$, we move on to our last option, $x=\frac{\color{red}{-5}}{\color{blue}{3}}$.

[ \begin{align} p\left(\frac{\color{red}{-5}}{\color{blue}{3}}\right) &= 6\left(\frac{\color{red}{-5}}{\color{blue}{3}}\right)^2+7\left(\frac{\color{red}{-5}}{\color{blue}{3}}\right)-5 \newline &=\frac{150}{9}-\frac{35}{3}-5 \newline &=0 \end{align} ]

From this it's clear that $\frac{ \color{red}{1} } { \color{blue}{2} }$ and $\frac{\color{red}{-5}}{\color{blue}{3}}$ are both zeros of our polynomial. And since the Fundamental Theorem of Algebra says that a second degree polynomial has exactly two zeros, we know we have found all of the solutions.

Finding Real Zeros of a Polynomial

Real Zeros Example 1

There are two other tools we have at our disposal that we shouldn't forget about. For example, the possible rational zeros of $p(x)=\color{blue}{1}x^2-\color{red}{3}$ are

[ \pm \frac{\color{red}{1}}{\color{blue}{1}}, \thinspace \pm \frac{\color{red}{3}}{\color{blue}{1}} ]

but the graph does not have x-intercepts at $\pm 1$ or at $\pm 3$.

It's important remember that the Rational Zeros Theorem only gives us a list of rational numbers that might be zeros. If none of them work then the zeros are not fractions.

In this case the two zeros are irrational numbers and can be found with the Quadratic Formula.

[ \begin{align} x &= \frac{-b\pm\sqrt{b^2-4ac}}{2a} \newline &= \frac{-(0)\pm\sqrt{(0)^2-4(\color{blue}{1})(\color{red}{-3})}}{2\color{blue}{(1)}} \newline &= \frac{\pm\sqrt{12}}{2} \newline &= \frac{\pm2\sqrt{3}}{2} \newline &= \pm \sqrt{3} \newline \end{align} ]

So the first tool we shouldn't forget about is the Quadratic Formula.

Real Zeros Example 2

The second tool that is often helpful is synthetic division. Consider, for instance the polynomial $p(x)=\color{blue}{6}x^3+7x^2-16x\color{red}{-12}$. The list of possible rational zeros is huge.

[ \pm \frac{\color{red}{1}}{\color{blue}{1}}, \thinspace \pm \frac{\color{red}{2}}{\color{blue}{1}},\thinspace \pm \frac{\color{red}{3}}{\color{blue}{1}},\thinspace \pm \frac{\color{red}{4}}{\color{blue}{1}},\thinspace\pm \frac{\color{red}{6}}{\color{blue}{1}},\thinspace \pm \frac{\color{red}{12}}{\color{blue}{1}} ]

[ \pm \frac{\color{red}{1}}{\color{blue}{2}}, \thinspace \pm \frac{\color{red}{2}}{\color{blue}{2}},\thinspace \pm \frac{\color{red}{3}}{\color{blue}{2}},\thinspace \pm \frac{\color{red}{4}}{\color{blue}{2}},\thinspace \pm \frac{\color{red}{6}}{\color{blue}{2}},\thinspace \pm \frac{\color{red}{12}}{\color{blue}{2}} ]

[ \pm \frac{\color{red}{1}}{\color{blue}{3}}, \thinspace \pm \frac{\color{red}{2}}{\color{blue}{3}},\thinspace \pm \frac{\color{red}{3}}{\color{blue}{3}},\thinspace \pm \frac{\color{red}{4}}{\color{blue}{3}},\thinspace \pm \frac{\color{red}{6}}{\color{blue}{3}},\thinspace \pm \frac{\color{red}{12}}{\color{blue}{3}} ]

[ \pm \frac{\color{red}{1}}{\color{blue}{6}}, \thinspace \pm \frac{\color{red}{2}}{\color{blue}{6}},\thinspace \pm \frac{\color{red}{3}}{\color{blue}{6}},\thinspace \pm \frac{\color{red}{4}}{\color{blue}{6}},\thinspace \pm \frac{\color{red}{6}}{\color{blue}{6}},\thinspace \pm \frac{\color{red}{12}}{\color{blue}{6}} ]

By eliminating duplicate values like $\frac{\color{red}{1}}{\color{blue}{1}}$ and $\frac{\color{red}{2}}{\color{blue}{2}}$ and looking at the graph

we can trim this list down significantly, but there are still five numbers to check (listed here in numerical order).

[ \frac{\color{red}{-2}}{\color{blue}{1}}, \thinspace \frac{\color{red}{-2}}{\color{blue}{3}}, \thinspace \frac{\color{red}{-1}}{\color{blue}{2}}, \thinspace \frac{\color{red}{-1}}{\color{blue}{3}}, \thinspace \frac{\color{red}{3}}{\color{blue}{2}}]

Earlier we plugged the values into the polynomial to check each one. While that always works, synthetic division can also be used. To show how this works we'll pick $\frac{\color{red}{-2}}{\color{blue}{1}}=-2$ out of our list and do synthetic division.

Since the remainder is $0$ we know that $\left(x-\frac{\color{red}{-2}}{\color{blue}{1}}\right)$ is a factor of the polynomial, which also means that $\frac{\color{red}{-2}}{\color{blue}{1}}$ is a zero.

Anytime we do synthetic division and end with a remainder of $0$ then we have found a zero of the polynomial.

Additionally, any other real zeros must be inside the quotient $6x^2-5x-6$ and could be found by the quadratic formula. But since our list of rational zeros was so small, it may be preferable to check the remaining three numbers by synthetic division before resorting to the quadratic formula.

Starting with $\frac{\color{red}{-2}}{\color{blue}{3}}$, the synthetic division tells us that it is a zero.

Since $\frac{\color{red}{-2}}{\color{blue}{3}}$ is a zero, there's no need to check $\frac{\color{red}{-1}}{\color{blue}{2}}$ and $\frac{\color{red}{-1}}{\color{blue}{3}}$, but we should still look at $\frac{\color{red}{3}}{\color{blue}{2}}$.

We conclude that the three zeros of our polynomial are $-2$, $\thinspace \frac{\color{red}{-2}}{\color{blue}{3}} \thinspace$ and $\thinspace \frac{\color{red}{3}}{\color{blue}{2}}$.

Finding Complex Zeros of a Polynomial

Complex Zeros Example 1

The process we have developed can also find imaginary zeros. This time we'll examine $p(x)=\color{blue}{3} x^{3}-14 x^{2}+23 x\color{red}{-10}$.

This is a third degree polynomial so it must have three zeros. We can tell right away from the graph that it only has one real zero, so there must be two that are imaginary.

If that real zero is a rational number, then we can find it using the Rational Zeros Theorem by examining the list of fractions that might be zeros.

[ \pm \frac{\color{red}{1}}{\color{blue}{1}}, \thinspace \pm \frac{\color{red}{2}}{\color{blue}{1}},\thinspace \pm \frac{\color{red}{5}}{\color{blue}{1}},\thinspace \pm \frac{\color{red}{10}}{\color{blue}{1}}]

[ \pm \frac{\color{red}{1}}{\color{blue}{3}}, \thinspace \pm ,\thinspace \pm \frac{\color{red}{5}}{\color{blue}{3}},\thinspace \pm \frac{\color{red}{10}}{\color{blue}{3}}]

Out of that list $\frac{\color{red}{2}}{\color{blue}{3}}$ appears to be out best choice, so we'll use synthetic division to check it.

Because the remainder is $0$ we know for sure that $\frac{\color{red}{2}}{\color{blue}{3}}$ is a zero.

That takes care of our one real zero, but what about the two that are imaginary? Those are inside the quotient $3x^{2}-12x+15$ and we'll get them with the quadratic formula.

[ \begin{align} x &= \frac{-b\pm\sqrt{b^2-4ac}}{2a} \newline &= \frac{-(-12)\pm\sqrt{(-12)^2-4(3)(15)}}{2(3)} \newline &= \frac{12 \pm\sqrt{-36}}{6} \newline &= \frac{12 \pm 6i}{6} \newline &= 2 \pm i \newline \end{align} ]

The two imaginary zeros are $2+i$ and $2-i$ and we have now found all three of the complex zeros of our polynomial.

Complex Zeros Example 2

Our final example $p(x)=x^4 + x^3 - x^2 + x -2$ is a fourth degree polynomial with a very short list of possible rational zeros. The choices are $\pm 1$ and $\pm 2$ and a graph quickly shows us that $-2$ and $1$ are the likely candidates.

As before we'll check one of these by synthetic division, starting with $-2$.

This tells us that $-2$ is a zero, but we still have three more to find. The key is to remember that all the other zeros must be in the quotient $x^3-x^2+x-1$. So now we focus on the quotient and repeat the process.

If $x^3-x^2+x-1$ has a rational zero then it is in our original list, so let's try $1$.

Since the remainder is zero, we know $1$ is a zero of the polynomial. The final two zeros must be inside this new quotient $x^2+1$ and we'll use the quadratic formula to get them out.

[ \begin{align} x &= \frac{-b\pm\sqrt{b^2-4ac}}{2a} \newline &= \frac{-(0)\pm\sqrt{(0)^2-4(1)(1)}}{2(1)} \newline &= \frac{\pm\sqrt{-4}}{2} \newline &= \frac{\pm 2i}{2} \newline &= \pm i \newline \end{align} ]

We add these two imaginary numbers to our list and can finally say that the four complex zeros of $p(x)=x^4 + x^3 - x^2 + x -2$ are $-2, \thinspace 1, \thinspace, -i \thinspace$ and $\thinspace i$.

Summary

Let's take a moment to summarize the process that we have developed. Given a polynomial, we can attempt to find its complex (real and imaginary) zeros by working through the following steps.

  1. Use the Rational Zeros Theorem to list all possible fractions that might be zeros.
  2. Trim down that list by looking at a graph and eliminating any values that are not reasonably close to the x-intercepts.
  3. Check the remaining values either by testing if $p(x)=0$ or by performing synthetic division and seeing if the remainder is zero.
  4. Repeat the process for the other zeros or, if the quotient is a 2nd degree polynomial, apply the quadratic formula.

Looking Ahead

While the process outlined here will work for all the exercises in the homework, it is far from being a universal method that will work for every polynomial. For most problems, in fact, it is not possible to find exact zeros, so we have to find approximations. There is even an entire field of modern math (numerical analysis) dedicated to, among other things, constructing algorithms for finding zeros of equations. And many practical applications in physics, chemistry, engineering, etc. rely on those computational methods.

In the next section we get a brief glimpse of a few ways polynomials end up being used in the real world.

Creative Commons LicenseThis work copyrighted by Nolan Mitchell under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Source files are available at https://github.com/duragauge/duragauge.github.io.

You can also download a PDF copy of the entire book here. The PDF was last updated on January 21, 2024, and may not reflect changes to the online content made after that date.