Eisenstein’s irreducibility criterion

There exists a criterion to determine whether a polynomial of arbitrary degree is irreducible over ℚ.

Proposition 5.7.1. (Eisenstein’s irreducibility criterion). Consider a polynomial f(x) = a0 + a1 x + ··· + an xn ∈ ℤ[x]. Let p be a prime number such that

  1. pan

  2. p| ai,  ∀i = 0,...,n−1

  3. p2a0

Then f(x) is irreducible over ℚ.

Proof. By Gauss theorem it is sufficient to prove that f(x) is irreducible over ℤ. Assume by contradiction that f(x) = g(x)h(x), with

g(x) = b0 + b1x + ··· + brxr,   h(x) = c0 + c1 + ··· + csxs

polynomials with integer coefficients of degree r < n and s < n respectively. Then r + s = n and b0c0 = a0 Notice that p | b0 and p | c0 cannot hold simultaneously, or else we would have p2| a0. So assume that p divides, say, b0 but not c0 Notice that p cannot divide all the bis, or else p would divide all the ais, contradicting the hypothesis.□

Notice that Eisenstein’s criterion gives a sufficient condition for irreducibility, but not a necessary one.

Example 5.7.2. It is quite evident that the Eisenstein criterion implies that the polynomial x5 + 5x + 5 is irreducible in ℤ[x], by using p = 7. But note that the criterion does not directly apply to the polynomial x5 + 5x + 4. However, you will discover with the next proposition how to apply the criterion to show that this is in fact an irreducible polynomial.

If Eisenstein’s criterion does not directly apply to a polynomial, it might nevertheless be possible to apply it after having suitably modified the polynomial. Given a constant α, it is for instance possible to consider, rather than the polynomial f(x), a new polynomial f(xα) or, for α ≠ 0, or the polynomial f(x/α), by observing that f(x) ∈ R[x] is irreducible over the field R if and only if f(xα) and f(x/α) with α ∈ 𝕂 are as well.

Lemma 5.7.3. Let p(x) in R[x] with aR. The application

Tp: R[x] ⟶ R[x]
f(x) ⟼ f(p(x))

is a ring homorphism. It is a ring isomorphism for p(x) = xa and therefore,

f(x) irreducible over R  ⇐⇒  f(xα) is irreducible over R

Analogously for p(x) = x / a, with a ≠ 0,

f(x) irreducible over R  ⇐⇒  f(x / α) is irreducible over R

Proof. We must prove that the mapping is a homomorphism, i.e. it preserves the operations between polynomials:

Tp(f(x) + g(x)) = f(p(x)) + g(p(x)) = Tp(f(x)) + Tp(g(x))
Tp(f(x) ⋅ g(x)) = f(p(x)) ⋅ g(p(x)) = Tp(f(x)) ⋅ Tp(g(x))

then Tp is a ring homomorphism. Tp is an isomorphism for the case p(x) = xa but Tp are non-surjective for p constant or for deg(p) ≥ 2: say p(x) = xd + (lower-degree terms), then for any nonconstant rn xn + ... + r1 x + r0 in R[x], substituting p(x) in for x in there gives rn x(dn) + (lower-degree terms). In particular this image can never be x so it is not surjective.  □

For example, Eisenstein’s criterion cannot be applied to x2 + 1, but substituting x + 1 for x gives another proof that x2 + 1 is irreducible over ℚ As an application of this idea, we prove the following result:

Example 5.7.4. If p is a prime number, the polynomial xp−1 + xp−2 + ··· + x2 + x + 1 is irreducible over ℚ. Note first that

x p 1 + x p 2 + + x 2 + x + 1 = x p 1 x 1

So, substituting x + 1 for x, we get

( x + 1 ) p 1 + ( x + 1 ) p 2 + + ( x + 1 ) 2 + ( x + 1 ) + 1 = ( x + 1 ) p 1 ( x + 1 ) 1 = k = 0 p ( p k ) x p k 1 x = x p 1 + ( p 1 ) x p 2 + ( p 2 ) x p 3 + + p

We may now apply Eisenstein’s criterion with respect to the prime p, and prove that the original polynomial is irreducible over ℚ. □

Completing Example 5.7.4. We are now able to show that x5 + 5x + 4 is irreducible over ℚ; Substituting x + 1 for x, we get

(x + 1)5 + 5(x + 1) + 4 = x5 + 5x4 + 10x3 + 10x2 + 10x + 10

we can chose p = 5 and apply Eisenstein criterion to prove its irreducibility.  ■

Another method, which is practical only when the degree of the polynomial under consideration is not too large, amounts to looking directly for a factorization. For instance, if f(x) is a polynomial (that we may always suppose primitive and with integer coefficients) of degree 5 and if we have previously checked that the polynomial has no rational roots, then, if f(x) is reducible, it may only decompose as the product of a degree two polynomial and a degree three one. So, writing down the factors with indeterminate coefficients and equating the coefficients of the polynomial and those of the product, we obtain a system and we are interested in its integer solutions: indeed, as we know, we may always reduce to a factorization in ℤ[x]. If the system is not compatible, then the original polynomial is irreducible.

Example 5.7.5. Prove that x4 + 1 is irreducible over ℚ.
The polynomial has clearly no rational roots, so it may only factor into the product of two quadratic polynomials. Keeping in mind that the leading coefficient of the product is the product of the leading coefficients, and the constant term of the product is the product of the constant terms of the factors, we may write

x4 + 1 = (x2 + ax ± 1) (x2 + bx ± 1)

where we pick either both plus signs or both minus signs. So by expressing the product (picking +1) we have

x4 + bx3 + x2 + ax3 + abx2 + ax + x2 + bx + 1 = x4 + x3(a+b) + x2(ab + 2)

We must then have

a + b = 0

ab = ±2

which does not admit integer solutions (By Gauss lemma you can take a, b to be integers). Notice that, over ℝ, x4 + 1 factors as x4 + 1 = (x2 + √2x + 1)(x2 − √2x + 1). This method is not at all computationally efficient: in particular, it becomes more and more infeasible as the degree of the polynomial increases.
A more elegan method consists in employing Eisentein criterion by applying the automorphism ℚ[x] ⟶ ℚ[x] given by f(x) ⟼ f(x + 1).

(x + 1)4+ 1 = x4+ 4x3 + 6x2 + 4x + 2

Every coefficient other than the leading one is divisible by 2 and the constant term isn’t divisble by 22, so Eisenstein’s criterion tells us that x4 + 4x3 + 6x2 + 4x + 2 is irreducible and by Lemma 5.7.3 the original polynomial as well.  ■

Another useful method is the following.

Theorem 5.7.6. (Mod p Irreducibility Test). Let f(x) in ℤ[x], with degree n > 0. Let p be a prime such that pan. Reduce the coefficients modulo a prime number p, that is to say, consider the polynomial f(x) as having coefficients in ℤp. Denote by (x) ∈ ℤp[x] the new polynomial, which we shall call the reduction of f(x) modulo p. If f(x) is reudicble over ℚ then (x) is reducible over ℤp, or the contrapositive

if (x) is irreducible over ℤp for some pan, ⇒ f(x) irreducible over ℚ.

Proof. If f(x) in ℤ[x] is re­ducible over ℚ, then by Gauss Theorem f(x) = g(x)h(x) with g(x), h(x) ℤ[x], with deg(g), deg (h) < n . The reduction of both g(x) and h(x) modulo p leads to (x) and (x), so (x) = (x) (x). If pan, then p does not divide the leading coefficients, so (x) still has degree n in ℤp[x], and (x) and (x) have lower degree than n. So (x) is reducible in ℤp[x].  □

The reduction modulo p of f, can be seen as the action of the homomorphism π : ℤ[x] ⟶ (ℤ/pℤ)[x] for which f(x) is not in the kernel, (f(x) is in the kernel iff every coefficient of f(x) is divisible by p.
If π(f) is irreducible in (ℤ/pℤ)[x] then f(x) is irreducible in ℤ[x]. As ℤ/pℤ has p elements, the number of polynomials of any fixed degree with coefficients in ℤ/pℤ) is finite. This can make it easy to prove that a polynomial is irreducible in (ℤ/pℤ)[x]. Be careful to note, however, that there exist polynomials that are irreducible in ℤ[x] but are reducible modulo p for all primes p, so the theorem above does not have a viable converse statement.

Nota bene.The converse of the theorem is not true, i.e. it is not the case that if, for some p, (x) is reducible over ℤp, then f(x) is reducible over ℚ. We have seen that x4 + 1 is irreducible over ℚ, though reducible over ℤ2; indeed, x4 + 1 = (x2 + 1)(x2 + 1) in ℤ2[x].  ■

Since, the irreducibility test in ℤp[x] is finite, since there are only finitely many possible factors of the polynomial, thus working modulo p is convenient and not computationally expensive

Example 5.7.7. Let f(x) = 21x3 −3x2 + 2x + 9. Then, over ℤ2, we have f(x) = x3 + x2 + 1 and, since (0) = 1 and (1) = 1, we see that f(x) is irreducible over ℤ2. Thus, f(x) is irreducible over ℚ. Notice that, over ℤ3, f(x) = 2x is irreducible, but we may not apply 5.7.6 as 3|21, to con­clude that f(x) is irreducible over ℚ. □

Example 5.7.8. Let 5x4 −2x3 + 9x − 1. If we consider it as a polynomial with coefficients in ℤ2, the polynomial is x4 + x + 1. This polynomial has no roots in ℤ2, so, if it factors, it does so into the product of two second degree factors: that is, we would get

x4 + x + 1 = (x2 + ax + 1)(x2 + bx + 1),

or

x4 + x + 1 = x4 + (a + b)x3 + abx2 + (a + b)x + 1,

which is clearly impossible. So x4 + x + 1 is irreducible over ℤ2, which implies that the original polynomial is irreducible over ℚ. □

Methods to study the irreducibility of a polynomial over ℚ

«Irreducibility of polynomials in ℚ Index Irreducibility of polynomials on ℚ»