## The Fundamental Theorem of Algebra

The fundamental theorem states that every non-constant, single-variable polynomial with complex coefficients has at least one complex root.

### Learning Objectives

Discuss the fundamental theorem of algebra

### Key Takeaways

#### Key Points

• The fundamental theorem of algebra states that every non-constant, single- variable polynomial with complex coefficients has at least one complex root. This includes polynomials with real coefficients, since every real number is a complex number with zero as its coefficient.
• The fundamental theorem is also stated as follows: every non-zero, single-variable, degree $n$ polynomial with complex coefficients has, counted with multiplicity, exactly $n$ roots. The equivalence of the two statements can be proven through the use of successive polynomial division.

#### Key Terms

• multiplicity: the number of values for which a given condition holds

Some polynomials with real coefficients, like $x^2 + 1$, have no real zeros. As it turns out, every polynomial with a complex coefficient has a complex zero. Every polynomial of odd degree with real coefficients has a real zero.

### The Fundamental Theorem

The fundamental theorem of algebra says that every non-constant polynomial in a single variable $z$, so any polynomial of the form

$c_nx^n + c_{n-1}x^{n-1} + \ldots c_0$

where $n > 0$ and $c_n \not = 0$, has at least one complex root.

There are lots of proofs of the fundamental theorem of algebra. However, despite its name, no purely algebraic proof exists, since every proof makes use of the fact that $\mathbb{C}$ is complete.

In particular, since every real number is also a complex number, every polynomial with real coefficients does admit a complex root. For example, the polynomial $x^2 + 1$ has $i$ as a root.

### Alternative Statement

Saying that $x_0$ is a root of a polynomial $f(x)$ is the same as saying that $(x-x_0)$ divides $f(x).$ We say that a root $x_0$ has multiplicity $m$ if $(x-x_0)^m$ divides $f(x)$ but $(x-x_0)^{m+1}$ does not. For example, the polynomial

$x^4(x-i)^3(x+\pi)$

admits one complex root of multiplicity $4$, namely $x_0 = 0$, one complex root of multiplicity $3$, namely $x_1 = i$, and one complex root of multiplicity $1$, namely $x_2 = - \pi$. The sum of the multiplicity of the roots equals the degree of the polynomial, $8$. For non-zero complex polynomials, this turns out to be true in general and follows directly from the fundamental theorem of algebra.

Indeed, a polynomial of degree $0$ takes on the form $c_0$, where $c_0 \not = 0$, and thus has no zeros.

For a general polynomial $f(x)$ of degree $n$, the fundamental theorem of algebra says that we can find one root $x_0$ of $f(x)$. Thus we can factor $f(x)$ as

$f(x) = (x-x_0)f_1(x)$

where $f_1(x)$ is a non-zero polynomial of degree $n-1.$ So if the multiplicities of the roots of $f_1(x)$ add to $n-1$, the multiplicity of the roots of $f$ add to $n$.

So since the property is true for all polynomials of degree $0$, it is also true for all polynomials of degree $1$. And since it is true for all polynomials of degree $1$, it is also true for all polynomials of degree $2$. In general, for any $n \in \mathbb{N}$, we will be able to conclude that the property is true for all polynomials of degree $n.$ Thus the property is true for all polynomials.

Conversely, if the multiplicities of the roots of a polynomial add to its degree, and if its degree is at least $1$ (i.e. it is not constant), then it follows that it has at least one zero.

So an alternative statement of the fundamental theorem of algebra is:

The multiplicities of the complex roots of a nonzero polynomial with complex coefficients add to the degree of said polynomial.

### The Complex Conjugate Root Theorem

The complex conjugate root theorem says that if a complex number $a+bi$ is a zero of a polynomial with real coefficients, then its complex conjugate $a-bi$ is also a zero of this polynomial.

Now suppose our real polynomial admits a root $a+bi$ with $b \not = 0$. By dividing with the real polynomial$(x-(a+bi))(x-(a-bi))=(x-a)^2 +b^2$, we obtain another real polynomial, for which the complex conjugate root theorem again applies. In this way, we see that the total multiplicity of non-real complex roots of a polynomial with real coefficients must always be even.

This last remark, together with the alternative statement of the fundamental theorem of algebra, tells us that the parity of the real roots (counted with multiplicity) of a polynomial with real coefficients must be the same as the parity of the degree of said polynomial. Therefore, a polynomial of even degree admits an even number of real roots, and a polynomial of odd degree admits an odd number of real roots (counted with multiplicity). In particular, every polynomial of odd degree with real coefficients admits at least one real root.

## Finding Polynomials with Given Zeros

To construct a polynomial from given zeros, set $x$ equal to each zero, move everything to one side, then multiply each resulting equation.

### Learning Objectives

Use the zeros of a polynomial to write a polynomial with those zeros

### Key Takeaways

#### Key Points

• A polynomial constructed from $n$ roots will have degree $n$ or less. That is to say, if given three roots, then the highest exponential term needed will be $x^3$.
• Each zero given will end up being one term of the factored polynomial. After finding all the factored terms, simply multiply them together to obtain the whole polynomial.
• Because a polynomial and a polynomial multiplied by a constant have the same roots, every time a polynomial is constructed from given zeros, the general solution includes a constant, shown here as $c$.

#### Key Terms

• polynomial: An expression consisting of a sum of a finite number of terms, each term being the product of a constant coefficient and one or more variables raised to a non-negative integer power, such as $a_n x^n + a_{n-1}x^{n-1} +… + a_0 x^0$. Importantly, because all exponents are positive, it is impossible to divide by $x$.
• zero: Also known as a root, a zero is an $x$ value at which the function of $x$ is equal to $0$.

One type of problem is to generate a polynomial from given zeros. This can be solved using the property that if $x_0$ is a zero of a polynomial, then $(x-x_0)$ is a divisor of this polynomial and vice versa.

We assume that the problem statement is as follows: We are given some zeros. If it is not specified what the multiplicity of the zeros are, we want the zeros to have multiplicity one. There are no other zeros, i.e. if a number is not mentioned in the problem statement, it cannot be a zero of the polynomial we find.

### Degree of the Polynomial

Remember that the degree of a polynomial, the highest exponent, dictates the maximum number of roots it can have. Thus, the degree of a polynomial with a given number of roots is equal to or greater than the number of roots that are given. If we already count multiplicity in this number, than the degree equals the number of roots. For example, if we are given two zeros, then a polynomial of second degree needs to be constructed.

### Solution and Constants

If $x_1, x_2, \ldots x_n$ are the zeros of $f(x)$ and the leading coefficient of $f(x)$ is $1$, then $f(x)$ factorizes as

$f(x)=(x-x_1)(x-x_2)\cdots(x-x_n)$

This already gives us the solution of our problem: an answer to our question is just the product of all factors $(x-x_i)$, where the $x_i$ are the given zeros! However, we see that this polynomial is not unique:

For any nonzero constant $a$, we have that $(af)(x)=af(x)$ factorizes as

$af(x) = a(x-x_1)(x-x_2) \cdots (x-x_n)$

Thus if we find a solution $g(x)$ for our problem, we have actually found infinitely many solutions $cg(x)$, one for every non-zero number $c$.

Thus for given zeros $x_1, x_2, \ldots, x_n$ we find infinitely many solutions

$c(x-x_1)(x-x_2)\cdots (x-x_n)$

For example, if given $a$ and $b$ as zeros, then the resulting initial terms would be a constant $c$ times the two factors that give zeros at the appropriate place:

$c(x-a)(x-b)$

Multiplied out, this gives:

$cx^2-c(a+b)x+abc$

### Example

Given zeros $0$, $1$, and $2$, our general solution is of the form

$cx(x-1)(x-2) = cx^3 - 3cx^2 + 2cx$

In the picture below, the blue graph represents the solution for $c$ equal to $1$. The red graph represents the solution for $c$ equal to $-1/2$.

Example: Two polynomials with the same zeros: Both $f(x)$ and $g(x)$ have zeros $0, 1$ and $2$. They are equal up to a constant. Changing the value and sign of the constant does not change the zeroes, since zero multiplied by any constant is still zero.

## Finding Zeros of Factored Polynomials

The factored form of a polynomial reveals its zeros, which are defined as points where the function touches the $x$-axis.

### Learning Objectives

Use the factored form of a polynomial to find its zeros

### Key Takeaways

#### Key Points

• A polynomial function may have zero, one, or many zeros.
• All polynomial functions of positive, odd order have at least one zero, while polynomial functions of positive, even order may not have a zero.
• Regardless of odd or even, any polynomial of positive order can have a maximum number of zeros equal to its order.

#### Key Terms

• zero: Also known as a root, a zero is an $x$ value at which the function of $x$ is equal to $0$.

The factored form of a polynomial can reveal where the function crosses the $x$-axis. An $x$ -value at which this occurs is called a “zero” or ” root “.

### Number of Zeros of a Polynomial

Consider the factored function:

$f(x)=(x-a_1)(x-a_2)…(x-a_n)$

Each value $a_1,a_2$, and so on is a zero.

A polynomial function may have many, one, or no zeros. All polynomial functions of positive, odd order have at least one zero (this follows from the fundamental theorem of algebra), while polynomial functions of positive, even order may not have a zero (for example $x^4+1$ has no real zero, although it does have complex ones).

Regardless of odd or even, any polynomial of positive order can have a maximum number of zeros equal to its order. For example, a cubic function can have as many as three zeros, but no more. This is known as the fundamental theorem of algebra.

### Example

Consider the function

$f(x)=x^3+2x^2-5x-6$

This can be rewritten in factored form:

$f(x)=(x+3)(x+1)(x-2)$

Replacing $x$ with a value that will make either $(x+3),(x+1)$  or $(x-2)$ zero will result in $f(x)$ being equal to zero. Thus, the zeros for $f(x)$ are at $x=-3,x=-1$ and $x=2.$ This can also be shown graphically:

Cubic function: Graph of the cubic function $f(x) = x^3 + 2x^2 – 5x – 6 = (x+3)(x+1)(x-2).$ We see that its roots equal the negative second coefficients of its first degree factors

### Factoring and zeros

In general, we know from the remainder theorem that $a$ is a zero of $f(x)$ if and only if $x-a$ divides $f(x).$ Thus if we can factor $f(x)$ in polynomials of as small a degree as possible, we know its zeros by looking at all linear terms in the factorization. This is why factorization is so important: to be able to recognize the zeros of a polynomial quickly.

It follows from the fundamental theorem of algebra and a fact called the complex conjugate root theorem, that every polynomial with real coefficients can be factorized into linear polynomials and quadratic polynomials without real roots. Thus if you have found such a factorization of a given function, you can be completely sure what the zeros of that function are.

## Integer Coefficients and the Rational Zeros Theorem

Each solution to a polynomial, expressed as $x= \frac {p}{q}$, must satisfy that $p$ and $q$ are integer factors of $a_0$ and $a_n$, respectively.

### Learning Objectives

Use the Rational Zeros Theorem to find all possible rational roots of a polynomial

### Key Takeaways

#### Key Points

• In algebra, the Rational Zeros Theorem (also known as the Rational Root Theorem, or the Rational Root Test) states a constraint on rational solutions (or roots) of the polynomial equation $a_nx^n+a_{n-1}x^{n-1}+…+a_0=0$ with integer coefficients.
• If $a_0$ and $a_n$ are non-zero, then each rational solution $x$, when written as a fraction $x= \frac {p}{q}$ in lowest terms (i.e., the greatest common divisor of $p$ and $q$ is $1$), satisfies the following: $1$) $p$ is an integer factor of the constant term $a_0$, and $2$) $q$ is an integer factor of the leading coefficient $a_n$.

#### Key Terms

• Euclid’s lemma: One of the fundamental properties of prime numbers. States that if a prime divides the product of two numbers, it must divide at least one of the factors. For example since 133 × 143 = 19019 is divisible by 19, one or both of 133 or 143 must be as well. In fact, 19 × 7 = 133. It is used in the proof of the fundamental theorem of arithmetic.
• coprime: Having no positive integer factors, aside from $1$, in common with one or more specified other positive integers.

One way to find zeros of a polynomial is trial and error. A more efficient way is through the use of the Rational Zero Theorem.

### The Rational Zero Theorem

In algebra, the Rational Zero Theorem, or Rational Root Theorem, or Rational Root Test, states a constraint on rational solutions (also known as zeros, or roots) of the polynomial equation

$a_nx^n+a_{n-1}x^{n-1}+…+a_0=0$

With integer coefficients $a_n,a_{n-1},\ldots,a_0.$

If $a_0$ and $a_n$ are nonzero, then each rational solution $x= \frac {p}{q}$, where $p$ and $q$ are coprime integers (i.e. their greatest common divisor is $1$), satisfies:

• $p$ is a divisor of the constant term $a_0$.
• $q$ is a divisor of the leading coefficient $a_n$.

So $a_0$ must be a multiple of $p$, and $a_n$ must be a multiple of $q$.

Since any integer has only a finite number of divisors, the rational root theorem provides us with a finite number of candidates for rational roots. When given a polynomial with integer coefficients, we can plug in all of these candidates and see whether they are a zero of the given polynomial. Once we have found all the rational zeros (and counted their multiplicity, for example, by dividing using long division ), we know the number of irrational and complex roots.

Since every polynomial with rational coefficients can be multiplied with an integer to become a polynomial with integer coefficients and the same zeros, the Rational Root Test can also be applied for polynomials with rational coefficients.

### Example

For example, every rational solution of the cubic equation

$3x^3-5x^2+5x-2=0$

must be among the numbers symbolically indicated by:

$\pm \frac {1,2}{1,3}$

Cubic function: The cubic function $3x^3-5x^2+5x-2$ has one real root between $0$ and $1$. We can use the Rational Root Test to see whether this root is rational.

i.e. its numerator must divide $2$ and its denominator must divide $3$. This gives the list of possible answers

$1,-1,2,-2,\frac 13, -\frac 13, \frac 23, -\frac 23$

These root candidates can be tested, either by plugging them in directly, or by dividing and checking to see whether there is any remainder, for example using long division. The advantage of this is that once we have found a root, we immediately have found the smaller degree polynomial of which we again wish to find the roots and the rational root theorem will provide us with even fewer candidates for this root. Moreover, once we have established a root, we must use division anyway to check whether it is a multiple root.

The disadvantage is that we have to use long division more often. When there are a lot of zero candidates for a small degree polynomial, we may just want to plug in candidates and only use division when we have found a root.

In our example, we can plug in $x_0=1$ to see that it is not a root. In fact, the left hand value is equal to $1$.

Now we use a little trick: since the constant term of $(x-x_0)^k$ equals $x_0^k$ for all positive integers $k$, we can substitute $x$ by $t+x_0$ to find a polynomial with the same leading coefficient as our original polynomial and a constant term equal to the value of the polynomial at $x_0$. In this case we substitute $x$ with $t+1$ and obtain a polynomial in $t$ with leading coefficient $3$ and constant term $1$. Thus the candidates for zeros in this polynomial in $t$ are

$t=\pm \frac 1{1,3}$

Thus the candidates for roots of the polynomial in $x$ must be one greater than one of these candidates:

$x=1+t=2,0,\frac 43, \frac 23$

Root candidates that do not occur on both lists are ruled out. The list of rational root candidates has thus shrunk to just $x=2$ and $x=2/3$. After checking for these candidates, we see that the only rational root (with multiplicity $1)$ is $2/3$, which can also be seen in the graph above.

## The Rule of Signs

The rule of signs gives an upper bound number of positive or negative roots of a polynomial.

### Learning Objectives

Use the rule of signs to find out the maximum number of positive and negative roots a polynomial has

### Key Takeaways

#### Key Points

• The rule of signs gives us an upper bound number of positive or negative roots of a polynomial. It is not a complete criterion, meaning that it does not tell the exact number of positive or negative roots.
• The rule states that if the terms of a polynomial with real coefficients are ordered by descending variable exponent, then the number of positive roots of the polynomial is either equal to the number of sign differences between consecutive nonzero coefficients, or is less by a multiple of 2.
• As a corollary of the rule, the number of negative roots is the number of sign changes after multiplying the coefficients of odd-power terms by $-1$, or less by a multiple of 2.

#### Key Terms

• sign: positive or negative polarity.
• root: any number which, when plugged into the equation, will produce a zero.

The rule of signs, first described by René Descartes in his work La Géométrie, is a technique for determining the number of positive or negative real roots of a polynomial.

The rule gives us an upper bound number of positive or negative roots of a polynomial. However, it does not tell the exact number of positive or negative roots.

### Positive Roots

In order to find the number of positive roots in a polynomial with only one variable, we must first arrange the polynomial by descending variable exponent. For example, $-x^2 + x^3 + x$ would be written $x^3 - x^2 + x$.

Then, we must count the number of sign differences between consecutive nonzero coefficients. This number, or any number less than it by a multiple of 2, could be the number of positive roots. In the example $x^3 - x^2 + x$, there are two sign changes, after the first and second terms. Thus, there are either two or zero positive roots for this polynomial.

It is important to note that for polynomials with multiple roots of the same value, each of these roots is counted separately.

### Negative Roots

Finding the negative roots is similar to finding the positive roots. The difference is that you must start by finding the coefficients of odd power (for example, $x^3$ or $x^5$, but not $x^2$ or $x^4$). Once you have located them, multiply each by $-1$. Then the procedure is the same; count the number of sign changes between consecutive nonzero coefficients. This number, or any number less than it by a multiple of 2, could be your number of negative roots. Again it is important to note that multiple roots of the same value should be counted separately.

This can also be done by taking the function, $f(x)$, and substituting the $x$ for $-x$, so that we have the function $f(-x)$. The reason we only bother to change the sign of the odd power coefficients is because if we substitute in $-x$ in an even power, it will just become a positive again.

For example: $(-x)^3 = (-x)(-x)(-x) = -x^3$

but $(-x)^2 = (-x)(-x) = x^2$

We can see that the negative signs cancel out for any even power. By only multiplying the odd powered coefficients by $-1$, we are essentially saving ourselves a step.

### Example

Consider the polynomial:

$f(x)=x^3+x^2-x-1$

This function has one sign change between the second and third terms. Therefore it has exactly one positive root. Don’t forget that the first term has a sign, which, in this case, is positive.

Next, we move on to finding the negative roots. Change the exponents of the odd-powered coefficients, remembering to change the sign of the first term. Once you have done this, you have obtained the second polynomial and are ready to find the number of negative roots. This second polynomial is shown below:

$f(-x)=-x^3+x^2+x-1$

This polynomial has two sign changes, after the first and third terms. Therefore, we know that it has at most two negative roots. We know that the number of roots of either sign is the number of sign changes, or a multiple of two less than that. So this polynomial has either $2$ or $0$ negative roots. We can validate this algebraically, as shown below.

First, factor the polynomial:

$f(x)=(x+1)(x+1)(x-1)$.

This simplifies to:

$f(x)=(x+1)^2(x-1)$.

Therefore, the roots are $-1$, $-1$ and $1$.

### Complex Roots

A polynomial of $n^{\text{th}}$ degree has exactly $n$ roots. The minimum number of complex roots is equal to:

$n-(p+q)$

where $n$ is the total number of roots in a polynomial, $p$ is the maximum number of positive roots, and $q$ is the maximum number of negative roots.

### Example

Consider the polynomial:

$f(x) = x^2+b$

To find the positive roots we count the sign changes. For this example, we will assume that $b>0$. Since there are no sign changes, there are no positive roots $(p=0)$. Now we look for negative roots. Since there are no odd powered coefficients, there are no changes to be made before looking for sign changes; therefore, there are no negative roots $(q = 0)$. Now we apply the complex root equation: $n - (p+ q) = 2 - (0 + 0) = 2$. There are 2 complex roots.