Skip to main content

Section 6.4 Irreducible Polynomials

A nonconstant polynomial \(f(x) \in F[x]\) is irreducible over a field \(F\) if \(f(x)\) cannot be expressed as a product of two polynomials \(g(x)\) and \(h(x)\) in \(F[x]\text{,}\) where the degrees of \(g(x)\) and \(h(x)\) are both smaller than the degree of \(f(x)\text{.}\) Irreducible polynomials function as the “prime numbers” of polynomial rings.

Example 6.18.

The polynomial \(x^2 - 2 \in {\mathbb Q}[x]\) is irreducible since it cannot be factored any further over the rational numbers. Similarly, \(x^2 + 1\) is irreducible over the real numbers.

Example 6.19.

The polynomial \(p(x) = x^3 + x^2 + 2\) is irreducible over \({\mathbb Z}_3[x]\text{.}\) Suppose that this polynomial was reducible over \({\mathbb Z}_3[x]\text{.}\) By the division algorithm there would have to be a factor of the form \(x - a\text{,}\) where \(a\) is some element in \({\mathbb Z}_3[x]\text{.}\) Hence, it would have to be true that \(p(a) = 0\text{.}\) However,

\begin{align*} p(0) & = 2\\ p(1) & = 1\\ p(2) & = 2\text{.} \end{align*}

Therefore, \(p(x)\) has no zeros in \({\mathbb Z}_3\) and must be irreducible.

Proof.

Suppose that

\begin{equation*} p(x) = \frac{b_0}{c_0} + \frac{b_1}{c_1} x + \cdots + \frac{b_n}{c_n} x^n\text{,} \end{equation*}

where the \(b_i\)'s and the \(c_i\)'s are integers. We can rewrite \(p(x)\) as

\begin{equation*} p(x) = \frac{1}{c_0 \cdots c_n} (d_0 + d_1 x + \cdots + d_n x^n)\text{,} \end{equation*}

where \(d_0, \ldots, d_n\) are integers. Let \(d\) be the greatest common divisor of \(d_0, \ldots, d_n\text{.}\) Then

\begin{equation*} p(x) = \frac{d}{c_0 \cdots c_n} (a_0 + a_1 x + \cdots + a_n x^n)\text{,} \end{equation*}

where \(d_i = d a_i\) and the \(a_i\)'s are relatively prime. Reducing \(d /(c_0 \cdots c_n)\) to its lowest terms, we can write

\begin{equation*} p(x) = \frac{r}{s}(a_0 + a_1 x + \cdots + a_n x^n)\text{,} \end{equation*}

where \(\gcd(r,s) = 1\text{.}\)

Proof.

By Lemma 6.20, we can assume that

\begin{align*} \alpha(x) & = \frac{c_1}{d_1} (a_0 + a_1 x + \cdots + a_m x^m ) = \frac{c_1}{d_1} \alpha_1(x)\\ \beta(x) & = \frac{c_2}{d_2} (b_0 + b_1 x + \cdots + b_n x^n) = \frac{c_2}{d_2} \beta_1(x)\text{,} \end{align*}

where the \(a_i\)'s are relatively prime and the \(b_i\)'s are relatively prime. Consequently,

\begin{equation*} p(x) = \alpha(x) \beta(x) = \frac{c_1 c_2}{d_1 d_2} \alpha_1(x) \beta_1(x) = \frac{c}{d} \alpha_1(x) \beta_1(x)\text{,} \end{equation*}

where \(c/d\) is the product of \(c_1/d_1\) and \(c_2/d_2\) expressed in lowest terms. Hence, \(d p(x) = c \alpha_1(x) \beta_1(x)\text{.}\)

If \(d = 1\text{,}\) then \(c a_m b_n = 1\) since \(p(x)\) is a monic polynomial. Hence, either \(c=1\) or \(c = -1\text{.}\) If \(c = 1\text{,}\) then either \(a_m = b_n = 1\) or \(a_m = b_n = -1\text{.}\) In the first case \(p(x) = \alpha_1(x) \beta_1(x)\text{,}\) where \(\alpha_1(x)\) and \(\beta_1(x)\) are monic polynomials with \(\deg \alpha(x) = \deg \alpha_1(x)\) and \(\deg \beta(x) = \deg \beta_1(x)\text{.}\) In the second case \(a(x) = -\alpha_1(x)\) and \(b(x) = -\beta_1(x)\) are the correct monic polynomials since \(p(x) = (-\alpha_1(x))(- \beta_1(x)) = a(x) b(x)\text{.}\) The case in which \(c = -1\) can be handled similarly.

Now suppose that \(d \neq 1\text{.}\) Since \(\gcd(c, d) = 1\text{,}\) there exists a prime \(p\) such that \(p \mid d\) and \(p \notdivide c\text{.}\) Also, since the coefficients of \(\alpha_1(x)\) are relatively prime, there exists a coefficient \(a_i\) such that \(p \notdivide a_i\text{.}\) Similarly, there exists a coefficient \(b_j\) of \(\beta_1(x)\) such that \(p \notdivide b_j\text{.}\) Let \(\alpha_1'(x)\) and \(\beta_1'(x)\) be the polynomials in \({\mathbb Z}_p[x]\) obtained by reducing the coefficients of \(\alpha_1(x)\) and \(\beta_1(x)\) modulo \(p\text{.}\) Since \(p \mid d\text{,}\) \(\alpha_1'(x) \beta_1'(x) = 0\) in \({\mathbb Z}_p[x]\text{.}\) However, this is impossible since neither \(\alpha_1'(x)\) nor \(\beta_1'(x)\) is the zero polynomial and \({\mathbb Z}_p[x]\) is an integral domain. Therefore, \(d=1\) and the theorem is proven.

Proof.

Let \(p(x)\) have a zero \(a \in {\mathbb Q}\text{.}\) Then \(p(x)\) must have a linear factor \(x - a\text{.}\) By Gauss's Lemma, \(p(x)\) has a factorization with a linear factor in \({\mathbb Z}[x]\text{.}\) Hence, for some \(\alpha \in {\mathbb Z}\)

\begin{equation*} p(x) = (x - \alpha)( x^{n - 1} + \cdots - a_0 / \alpha )\text{.} \end{equation*}

Thus \(a_0 /\alpha \in {\mathbb Z}\) and so \(\alpha \mid a_0\text{.}\)

Example 6.23.

Let \(p(x) = x^4 - 2 x^3 + x + 1\text{.}\) We shall show that \(p(x)\) is irreducible over \({\mathbb Q}[x]\text{.}\) Assume that \(p(x)\) is reducible. Then either \(p(x)\) has a linear factor, say \(p(x) = (x - \alpha) q(x)\text{,}\) where \(q(x)\) is a polynomial of degree three, or \(p(x)\) has two quadratic factors.

If \(p(x)\) has a linear factor in \({\mathbb Q}[x]\text{,}\) then it has a zero in \({\mathbb Z}\text{.}\) By Corollary 6.22, any zero must divide 1 and therefore must be \(\pm 1\text{;}\) however, \(p(1) = 1\) and \(p(-1)= 3\text{.}\) Consequently, we have eliminated the possibility that \(p(x)\) has any linear factors.

Therefore, if \(p(x)\) is reducible it must factor into two quadratic polynomials, say

\begin{align*} p(x) & = (x^2 + ax + b )( x^2 + cx + d )\\ & = x^4 + (a + c)x^3 + (ac + b + d)x^2 + (ad + bc)x + bd\text{,} \end{align*}

where each factor is in \({\mathbb Z}[x]\) by Gauss's Lemma. Hence,

\begin{align*} a + c & = - 2\\ ac + b + d & = 0\\ ad + bc & = 1\\ bd & = 1\text{.} \end{align*}

Since \(bd = 1\text{,}\) either \(b = d = 1\) or \(b = d = -1\text{.}\) In either case \(b = d\) and so

\begin{equation*} ad + bc = b( a + c ) = 1\text{.} \end{equation*}

Since \(a + c = -2\text{,}\) we know that \(-2b = 1\text{.}\) This is impossible since \(b\) is an integer. Therefore, \(p(x)\) must be irreducible over \({\mathbb Q}\text{.}\)

Proof.

By Gauss's Lemma, we need only show that \(f(x)\) does not factor into polynomials of lower degree in \({\mathbb Z}[x]\text{.}\) Let

\begin{equation*} f(x) = (b_rx^r + \cdots + b_0)(c_s x^s + \cdots + c_0 ) \end{equation*}

be a factorization in \({\mathbb Z}[x]\text{,}\) with \(b_r\) and \(c_s\) not equal to zero and \(r, s \lt n\text{.}\) Since \(p^2\) does not divide \(a_0 = b_0 c_0\text{,}\) either \(b_0\) or \(c_0\) is not divisible by \(p\text{.}\) Suppose that \(p \notdivide b_0\) and \(p \mid c_0\text{.}\) Since \(p \notdivide a_n\) and \(a_n = b_r c_s\text{,}\) neither \(b_r\) nor \(c_s\) is divisible by \(p\text{.}\) Let \(m\) be the smallest value of \(k\) such that \(p \notdivide c_k\text{.}\) Then

\begin{equation*} a_m = b_0 c_m + b_1 c_{m - 1} + \cdots + b_m c_0 \end{equation*}

is not divisible by \(p\text{,}\) since each term on the right-hand side of the equation is divisible by \(p\) except for \(b_0 c_m\text{.}\) Therefore, \(m = n\) since \(a_i\) is divisible by \(p\) for \(m \lt n\text{.}\) Hence, \(f(x)\) cannot be factored into polynomials of lower degree and therefore must be irreducible.

Example 6.25.

The polynomial

\begin{equation*} f(x) = 16 x^5 - 9 x^4 + 3x^2 + 6 x - 21 \end{equation*}

is easily seen to be irreducible over \({\mathbb Q}\) by Eisenstein's Criterion if we let \(p = 3\text{.}\)

Eisenstein's Criterion is more useful in constructing irreducible polynomials of a certain degree over \({\mathbb Q}\) than in determining the irreducibility of an arbitrary polynomial in \({\mathbb Q}[x]\text{:}\) given an arbitrary polynomial, it is not very likely that we can apply Eisenstein's Criterion. The real value of Theorem 6.24 is that we now have an easy method of generating irreducible polynomials of any degree.

Subsection 6.4.1 Ideals in \(F\lbrack x \rbrack\)

Let \(F\) be a field. Recall that a principal ideal in \(F[x]\) is an ideal \(\langle p(x) \rangle\) generated by some polynomial \(p(x)\text{;}\) that is,

\begin{equation*} \langle p(x) \rangle = \{ p(x) q(x) : q(x) \in F[x] \}\text{.} \end{equation*}
Example 6.26.

The polynomial \(x^2\) in \(F[x]\) generates the ideal \(\langle x^2 \rangle\) consisting of all polynomials with no constant term or term of degree \(1\text{.}\)

Proof.

Let \(I\) be an ideal of \(F[x]\text{.}\) If \(I\) is the zero ideal, the theorem is easily true. Suppose that \(I\) is a nontrivial ideal in \(F[x]\text{,}\) and let \(p(x) \in I\) be a nonzero element of minimal degree. If \(\deg p(x)= 0\text{,}\) then \(p(x)\) is a nonzero constant and 1 must be in \(I\text{.}\) Since 1 generates all of \(F[x]\text{,}\) \(\langle 1 \rangle = I = F[x]\) and \(I\) is again a principal ideal.

Now assume that \(\deg p(x) \geq 1\) and let \(f(x)\) be any element in \(I\text{.}\) By the division algorithm there exist \(q(x)\) and \(r(x)\) in \(F[x]\) such that \(f(x) = p(x) q(x) + r(x)\) and \(\deg r(x) \lt \deg p(x)\text{.}\) Since \(f(x), p(x) \in I\) and \(I\) is an ideal, \(r(x) = f(x) - p(x) q(x)\) is also in \(I\text{.}\) However, since we chose \(p(x)\) to be of minimal degree, \(r(x)\) must be the zero polynomial. Since we can write any element \(f(x)\) in \(I\) as \(p(x) q(x)\) for some \(q(x) \in F[x]\text{,}\) it must be the case that \(I = \langle p(x) \rangle\text{.}\)

Example 6.28.

It is not the case that every ideal in the ring \(F[x,y]\) is a principal ideal. Consider the ideal of \(F[x, y]\) generated by the polynomials \(x\) and \(y\text{.}\) This is the ideal of \(F[x, y]\) consisting of all polynomials with no constant term. Since both \(x\) and \(y\) are in the ideal, no single polynomial can generate the entire ideal.

Proof.

Suppose that \(p(x)\) generates a maximal ideal of \(F[x]\text{.}\) Then \(\langle p(x) \rangle\) is also a prime ideal of \(F[x]\text{.}\) Since a maximal ideal must be properly contained inside \(F[x]\text{,}\) \(p(x)\) cannot be a constant polynomial. Let us assume that \(p(x)\) factors into two polynomials of lesser degree, say \(p(x) = f(x) g(x)\text{.}\) Since \(\langle p(x) \rangle\) is a prime ideal one of these factors, say \(f(x)\text{,}\) is in \(\langle p(x) \rangle\) and therefore be a multiple of \(p(x)\text{.}\) But this would imply that \(\langle p(x) \rangle \subset \langle f(x) \rangle\text{,}\) which is impossible since \(\langle p(x) \rangle\) is maximal.

Conversely, suppose that \(p(x)\) is irreducible over \(F[x]\text{.}\) Let \(I\) be an ideal in \(F[x]\) containing \(\langle p(x) \rangle\text{.}\) By Theorem 6.27, \(I\) is a principal ideal; hence, \(I = \langle f(x) \rangle\) for some \(f(x) \in F[x]\text{.}\) Since \(p(x) \in I\text{,}\) it must be the case that \(p(x) = f(x) g(x)\) for some \(g(x) \in F[x]\text{.}\) However, \(p(x)\) is irreducible; hence, either \(f(x)\) or \(g(x)\) is a constant polynomial. If \(f(x)\) is constant, then \(I = F[x]\) and we are done. If \(g(x)\) is constant, then \(f(x)\) is a constant multiple of \(I\) and \(I = \langle p(x) \rangle\text{.}\) Thus, there are no proper ideals of \(F[x]\) that properly contain \(\langle p(x)\rangle\text{.}\)

Subsection 6.4.2 Historical Note

Throughout history, the solution of polynomial equations has been a challenging problem. The Babylonians knew how to solve the equation \(ax^2 + bx + c = 0\text{.}\) Omar Khayyam (1048–1131) devised methods of solving cubic equations through the use of geometric constructions and conic sections. The algebraic solution of the general cubic equation \(ax^3 + bx^2 + cx + d = 0\) was not discovered until the sixteenth century. An Italian mathematician, Luca Pacioli (ca. 1445–1509), wrote in Summa de Arithmetica that the solution of the cubic was impossible. This was taken as a challenge by the rest of the mathematical community.

Scipione del Ferro (1465–1526), of the University of Bologna, solved the “depressed cubic,”

\begin{equation*} ax^3 + cx + d = 0\text{.} \end{equation*}

He kept his solution an absolute secret. This may seem surprising today, when mathematicians are usually very eager to publish their results, but in the days of the Italian Renaissance secrecy was customary. Academic appointments were not easy to secure and depended on the ability to prevail in public contests. Such challenges could be issued at any time. Consequently, any major new discovery was a valuable weapon in such a contest. If an opponent presented a list of problems to be solved, del Ferro could in turn present a list of depressed cubics. He kept the secret of his discovery throughout his life, passing it on only on his deathbed to his student Antonio Fior (ca. 1506–?).

Although Fior was not the equal of his teacher, he immediately issued a challenge to Niccolo Fontana (1499–1557). Fontana was known as Tartaglia (the Stammerer). As a youth he had suffered a blow from the sword of a French soldier during an attack on his village. He survived the savage wound, but his speech was permanently impaired. Tartaglia sent Fior a list of 30 various mathematical problems; Fior countered by sending Tartaglia a list of 30 depressed cubics. Tartaglia would either solve all 30 of the problems or absolutely fail. After much effort Tartaglia finally succeeded in solving the depressed cubic and defeated Fior, who faded into obscurity.

At this point another mathematician, Gerolamo Cardano (1501–1576), entered the story. Cardano wrote to Tartaglia, begging him for the solution to the depressed cubic. Tartaglia refused several of his requests, then finally revealed the solution to Cardano after the latter swore an oath not to publish the secret or to pass it on to anyone else. Using the knowledge that he had obtained from Tartaglia, Cardano eventually solved the general cubic

\begin{equation*} a x^3 + bx^2 + cx + d = 0\text{.} \end{equation*}

Cardano shared the secret with his student, Ludovico Ferrari (1522–1565), who solved the general quartic equation,

\begin{equation*} a x^4 + b x^3 + cx^2 + d x + e = 0\text{.} \end{equation*}

In 1543, Cardano and Ferrari examined del Ferro's papers and discovered that he had also solved the depressed cubic. Cardano felt that this relieved him of his obligation to Tartaglia, so he proceeded to publish the solutions in Ars Magna (1545), in which he gave credit to del Ferro for solving the special case of the cubic. This resulted in a bitter dispute between Cardano and Tartaglia, who published the story of the oath a year later.

Reading Questions 6.4.3 Reading Questions

1.

Is the polynomial \(p(x) = 2x^2 - 4\) irreducible? Briefly explain.

2.

Can every monic polynomial that is not irreducible be factored into two monic polynomials each with smaller degree?

3.

What, if anything, does Eisenstein's Criterion tell us about the polynomial \(p(x) = x^3 + 6x^2 + 9x + 12\text{?}\) What about the polynomial \(q(x) = x^3 + 6x^2 + 12x + 9\text{?}\) What about \(f(x) = x^3 + 6x^2 + 12x + 36\text{?}\)

4.

After reading the section, what questions do you still have? Write at least one well formulated question (even if you think you understand everything).

Exercises 6.4.4 Practice Problems

1.

True or false: \(3x+ 9\) is irreducible in \(\Q[x]\text{.}\)

2.

Factor \(x+2\) in \(\Z_6[x]\) into two degree 1 polynomials. Does this mean that \(x+2\) is not irreducible?

3.

Factor the polynomial \(x^5 - 6x^3 - 6x^2 - 7x - 6\) over \(\Q\) into irreducible factors (and explain how you know the irreducible factors are irreducible).

4.

Factor the polynomial \(x^5 + x^4 + 3x^3 + 3x^2 + 2x + 2\) completely over \(\Z_5\text{.}\)

5.

Factor \(4x^7 + 10x^4 - 15x^2 + 5\) completely over \(\Q\) (and explain how you know the irreducible factors are irreducible).

6.

Give an example of a polynomial with integer coefficients which has no roots in \(\Q\) but is not irreducible in \(\Q[x]\text{.}\) Explain how you know your example works.

7.

Give an example of a polynomial with integer coefficients that is irreducible but that you can't use Eisenstein's criterion to prove is irreducible.

Exercises 6.4.5 Collected Homework

1.

Explain how you know each of the following polynomials are irreducible in the given ring. Reference the appropriate theorem when appropriate.

  1. \(f(x) = x^3 + 3x^2 + 4x + 5\) in \(\Q[x]\text{.}\)

  2. \(g(x) = x^2 + 3x + 5\) in \(\Z_7[x]\text{.}\)

  3. \(h(x) = x^5 + 6x^4 + 9x^2 + 3\) in \(\Q[x]\text{.}\)

2.

You cannot apply Eisenstein's criterion to the polynomial \(p(x) = x^3 - 3x + 1\text{.}\) However, we can apply it to \(p(x+c)\) for a carefully picked value of \(c\text{.}\)

  1. Prove that for any polynomial \(p(x)\) and any constant \(c\text{,}\) if \(p(x+c)\) is irreducible, then so is \(p(x)\)

  2. For \(p(x) = x^3 - 3x + 1\text{,}\) prove that \(p(x+2)\) is irreducible.

Hint.

For part (a), prove the contrapositive.