Line engraving of Gerolamo Cardano in profile, inside an oval frame with his name in Latin, by C. Ammon the younger, 1652
Unit 02 · All masterclasses · 75 min

Polynomials and Their Roots

Division, the factor theorem, Viète's formulas, and the cubic
Image: Wellcome Collection, via Wikimedia Commons, CC BY 4.0

Polynomials in one variable and the theorems that govern their roots: division with remainder, the factor theorem and why a polynomial of degree n has at most n roots, Viète's formulas, the rational root theorem, Cardano's formula for the cubic, and Newton's method, with the honest statement that for degree 5 no formula exists.

Preview: the beginning of the unit

Unit 1 ended with the quadratic equation, solved by completing the square as al-Khwarizmi did twelve centuries ago. The natural next question is what happens one degree up, and then in general: which numbers make \(x^3 - 6x^2 + 11x - 6\) or \(x^5 - 6x + 3\) equal to zero, how many such numbers there can be, how roots and coefficients depend on each other, and whether a formula like the quadratic one exists at all. The answers were found between 1225 and 1824, and the search for them produced most of the algebra in this program. This unit collects what can be said about the roots of a polynomial with school algebra and a little patience with long division.

1 Polynomials

A polynomial in the variable \(x\) is an expression of the form \[ f(x) = a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0 , \] where the numbers \(a_0, a_1, \ldots, a_n\) are the coefficients. In this unit the coefficients are rational numbers or real numbers, and everything proved here holds for both; Unit 7 shows that most of it holds in far more general number systems. If \(a_n \neq 0\), the polynomial has degree \(n\), written \(\deg f = n\), and \(a_n\) is its leading coefficient. A polynomial with leading coefficient 1 is called monic. For example, \(x^3 - 6x^2 + 11x - 6\) is monic of degree 3, and \(2x^3 - 3x^2 + 4x - 6\) has degree 3 and leading coefficient 2. A non-zero constant such as \(5\) is a polynomial of degree 0. The zero polynomial, whose coefficients are all 0, is given no degree and is treated separately whenever it matters.

Two polynomials are equal when all their coefficients agree. Polynomials are added by adding the coefficients of equal powers and multiplied by expanding the product and collecting equal powers, by the laws of arithmetic of Unit 1. The degrees behave as follows: \begin{equation} \deg(f + g) \le \max(\deg f, \deg g), \qquad \deg(fg) = \deg f + \deg g . \label{eq:degrees} \end{equation} The first statement is an inequality because the leading terms may cancel, as in \((x^2 + x) + (-x^2 + 1) = x + 1\). The second is an equality because the leading term of the product is the product \(a_n b_m x^{n+m}\) of the leading terms, and the number \(a_n b_m\) is not zero, since a product of two non-zero rational or real numbers is never zero. This small fact will carry the main theorem of Section 3.

A number \(r\) is a root of \(f\) if \(f(r) = 0\). The quadratic formula of Unit 1 says that \(x^2 + bx + c\) has the roots \(-b/2 \pm \sqrt{b^2/4 - c}\) as long as \(b^2 \ge 4c\). Roots depend on the number system in which they are sought: \(x^2 - 2\) has the two real roots \(\pm\sqrt{2}\) and no rational root, and \(x^2 + 1\) has no real root at all. In this unit a root means a real root unless rational numbers are named, and a polynomial may have fewer roots than its degree; Unit 3 enlarges the number system until this deficiency disappears.

The full unit is part of the program

Want to see a complete unit first? Unit 3, Complex Numbers, is free to read.