Skip to main content

Section 5.4 Irreducibility Criteria

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, \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), \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), \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), \end{equation*}

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

By Lemma 5.15, 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), \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), \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.

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 ). \end{equation*}

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

Suppose that \(p(x)\) factors into non-constant polynomials. Because \(p(x)\) has degree \(2\) or \(3\text{,}\) one of the factors must be linear and so \(p(x)\) has a zero. By Corollary 5.17, this zero is an integer dividing \(a_0\text{,}\) which contradicts our assumption.

Corollary 5.18 gives a way to completely determine whether a monic polynomial \(p(x)\) of degree \(2\) or \(3\) is irreducible. There are only finitely many integer divisors of the constant term of \(p(x)\text{.}\) If one of these divisors is a zero of \(p(x)\text{,}\) then it has a linear factor and is not irreducible. If none of them are zeros, then \(p(x)\) is irreducible by Corollary 5.18.

Example 5.19.

Let \(p(x) = x^3 - 2x + 3\text{.}\) By Corollary 5.18, in order to tell if \(p(x)\) is irreducible, we check whether any of the integer divisors of the constant term \(3\) are zeros of \(p(x)\text{:}\)

\begin{align*} p(-3) &= -27 + 6 + 3 = -18\\ p(-1) &= -1 + 2 + 3 = 4\\ p(1) &= 1 - 2 + 3 = 2\\ p(3) &= 27 - 6 + 3 = 24 \end{align*}

Since none of these divisors are zeros of \(p(x)\text{,}\) it is an irreducible polynomial.

Example 5.20.

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 5.17, 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, \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. \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. \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{.}\)

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 5.22.

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 5.21 is that we now have an easy method of generating irreducible polynomials of any degree.

Our final irreducibility criterion uses modular arithmetic. In Example 4.19, we saw the homomorphism \(\phi_p\colon \mathbb Z \rightarrow \mathbb Z_p\) taking the equivalence class modulo \(p\text{.}\) Here, we take \(p\) to be a prime. In addition, there is a homomorphism \(\psi_p\colon \mathbb Z[x] \rightarrow \mathbb Z_p[x]\) by taking the equivalence class of each coefficient of the polynomial. Our next theorem uses this reduction homomorphism.

We prove the contrapositive. Suppose that \(f(x)\) factors into two polynomials as

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

where \(r, s > 0\text{.}\) By Theorem 5.16, we can assume that the coefficients \(b_r, \cdots, b_0, c_s, \cdots, c_0\) are all integers. Then applying the modulo \(p\) homomorphism,

\begin{equation*} \psi_p(f) = (\phi_p(b_r) x^r + \cdots + \phi_p(b_0))(\phi_p(c_s) x^s + \cdots + \phi_p(c_0))\text{.} \end{equation*}

Since \(p\) does not divide the leading coefficient \(a_n = b_r c_s\text{,}\) then it does not divide the leading coefficients \(b_r\) or \(c_s\text{.}\) Therefore, \(\phi_p(b_r) x^r + \cdots + \phi_p(b_0)\) and \(\phi_p(c_s) x^s + \cdots + \phi_p(c_0)\) are non-constant polynomials. Thus, \(\psi_p(f)\) is not irreducible in \(\mathbb Z_p[x]\text{.}\)

Theorem 5.23 gives a criterion for irreducibility of integer polynomials, but it isn't much use unless we know how to prove that a polynomial in \(\mathbb Z_p[x]\) is irreducible. However, there are only finitely many polynomials in \(\mathbb Z_p[x]\) of a given degree, so we can just do trial division by all of them.

Example 5.24.

Let \(f(x) = x^4 + 2x^3 - 2x^2 + 3x - 7\text{.}\) Modulo \(p=2\text{,}\) \(\psi_2(f) = x^4 + x + 1\text{.}\) If \(\psi_2(f)\) factors into non-constant polynomials, then at least one of those factors has degree \(2\) or less. But, \(\psi_2(f)\) doesn't have a linear factor because \(0\) and \(1\) are not zeros. We next need to try degree 2 polynomials, and of these only the irreducible ones. There are \(4\) monic degree 2 polynomials in \(\mathbb Z_2[x]\text{.}\) Of these, two have \(x\) as a factor: \(x^2\) and \(x^2+x\text{.}\) A third has \(1\) as a zero: \(x^2+1\text{.}\) Therefore, \(x^2+x+1\) is the only degree 2 irreducible polynomial in \(\mathbb Z_2[x]\text{.}\) We can divide \(\psi_2(f)\) by \(x^2+x+1\) with remainder to get:

\begin{equation*} \psi_2(f) = x^4+x+1 = (x^2+x)(x^2+x+1) + 1\text{.} \end{equation*}

Therefore, \(\psi_2(f)\) is not divisible by \(x^2+x+1\) and so irreducible.

In Example 5.24, we showed that \(x^4 + x + 1\) is an irreducible polynomial in \(\mathbb Z_2[x]\text{.}\) If we had any other integer polynomial \(g\) which was congruent to \(x^4 + x + 1\) modulo 2, then we would also know that \(g\) was irreducible. For this reason, it is useful to know the irreducible polynomials in finite fields. Here is a complete list of the irreducible polynomials in \(\mathbb Z_2[x]\) up to degree \(4\text{,}\) which can easily be confirmed by checking for zeros and using trial division, as in Example 5.24:

\begin{align*} x && x^3 + x + 1 && x^4 + x^3 + 1\\ x + 1 && x^3 + x^2 + 1 && x^4 + x + 1\\ x^2 + x + 1 && && x^4 + x^3 + x^2 + x + 1 \end{align*}