Eisenstein's criterion
Statement
Let \( f(x) = a_n x^n + a_{n-1}x^{n-1} + \cdots + a_1 x + a_0 \in \mathbb{Z}[x] \) with \( n \geq 1 \) and \( a_n \neq 0 \). Suppose there exists a prime \( p \) such that: (i) \( p \nmid a_n \); (ii) \( p \mid a_i \) for every \( i = 0,1,\dots,n-1 \); and (iii) \( p^2 \nmid a_0 \). Then \( f \) is irreducible in \( \mathbb{Q}[x] \). If, in addition, \( f \) is primitive (its coefficients have no common factor), then \( f \) is irreducible in \( \mathbb{Z}[x] \).
Why it matters
Deciding irreducibility of an integer polynomial is, in general, hard: there is no simple formula analogous to the discriminant test for degree \( 2 \). Eisenstein's criterion gives a fast, purely arithmetic sufficient condition — divisibility data at a single prime — that certifies irreducibility over \( \mathbb{Q} \) without any computation of roots or factorisations. It is the standard tool for producing explicit irreducible polynomials of arbitrary degree, and it underlies the irreducibility of the cyclotomic polynomial \( \Phi_p(x) \), a cornerstone computation in Galois theory used to construct field extensions of every prescribed prime degree.
Its proof is also a template: reduction modulo \( p \) turns a question in the infinite ring \( \mathbb{Z}[x] \) into a question in the finite, well-understood ring \( \mathbb{F}_p[x] \), a technique ("reduce mod \( p \) and exploit unique factorisation there") that recurs throughout algebraic number theory.
Hypotheses
Proof
Result
Reading. If some prime divides every coefficient of \(f\) except the leading one, and its square does not divide the constant term, then \(f\) cannot be split into two lower-degree integer (equivalently rational) polynomials.
Scope. Applies to any \(f\in\mathbb{Z}[x]\) of degree \(\geq1\); it is a one-directional sufficient condition, not a characterisation — many irreducible polynomials satisfy the criterion at no prime. It also applies verbatim, with the same proof, over any polynomial ring \(R[x]\) where \(R\) is a UFD, \(p\) is a prime element of \(R\), and "irreducible over \(\mathrm{Frac}(R)\)" replaces "irreducible over \(\mathbb{Q}\)".
Corollaries & converses
- Existence of irreducibles of every degree over \(\mathbb{Q}\): \(x^n - p\) satisfies Eisenstein at \(p\) for any prime \(p\) and any \(n\geq1\), so \(\mathbb{Q}\) has field extensions of every degree, e.g. via \(\sqrt[n]{p}\).
- Cyclotomic corollary: for \(p\) prime, \(\Phi_p(x) = 1+x+\cdots+x^{p-1}\) is irreducible over \(\mathbb{Q}\), proved by applying Eisenstein at \(p\) to the shifted polynomial \(\Phi_p(x+1)\) (see Worked Example 2).
- Shift invariance: if \(f(x+c)\) is Eisenstein at \(p\) for some \(c\in\mathbb{Z}\), then \(f\) is irreducible, since \(x\mapsto x+c\) is a ring automorphism of \(\mathbb{Q}[x]\) preserving irreducibility.
- Converse fails: the criterion is not necessary. \(x^2+x+1\) is irreducible over \(\mathbb{Q}\) but Eisenstein at no prime (its only prime candidate for the constant term is \(1\), which no prime divides). Irreducibility must then be checked by other means (e.g. no rational root, by the rational root theorem, for a degree \(\leq3\) polynomial).
- Not preserved under permuting coefficients: Eisenstein-at-\(p\) for \(f\) says nothing about the reverse polynomial \(x^n f(1/x)\) in general, although in fact reversal does preserve the Eisenstein condition here since it only permutes which coefficient is "leading" versus "constant" — a fact worth verifying rather than assuming.
Fails without
- Drop \(p\nmid a_n\): \(f(x) = 4x^2+2x+2 = 2(2x^2+x+1)\) with \(p=2\): \(2\mid a_1=2,\ 2\mid a_0=2\), \(4\nmid a_0\), but \(2\mid a_2=4\) too. The polynomial is not primitive, and after removing the content the reduced polynomial \(2x^2+x+1\) need not itself be tested this way; more sharply, treat \(f(x)=2x^2+2x+2\) directly: it is imprimitive and reducible in \(\mathbb{Z}[x]\) as \(2\cdot(x^2+x+1)\), illustrating why (i) is needed to keep \(\deg\pi(f)=n\) in Step 3.
- Drop \(p^2\nmid a_0\): \(f(x) = x^2+4x+4 = (x+2)^2\), reducible, yet with \(p=2\): \(2\mid a_1=4\), \(2\nmid a_2=1\); only condition (iii) fails since \(4\mid a_0=4\). This is a genuine reducible polynomial that satisfies (i) and (ii) but not (iii), confirming the necessity of (iii).
- Drop \(p\mid a_i\) for some single lower \(i\): \(f(x) = x^2+x+2\) with \(p=2\): \(2\mid a_0=2\) and \(2\nmid a_2=1\), but \(2\nmid a_1=1\), so condition (ii) fails at \(i=1\). Here \(f\) happens to be irreducible (discriminant \(1-8=-7\lt0\), no real root), so this does not exhibit reducibility directly, but the proof mechanism (Step 5's conclusion that \(\pi(g),\pi(h)\) are pure monomials) genuinely requires every lower coefficient, not just the constant term, to vanish mod \(p\); a clean reducible instance is \(f(x)=x^2+3x+2=(x+1)(x+2)\) with \(p=2\): \(2\mid a_0=2\) but \(2\nmid a_1=3\), and indeed \(f\) is reducible while failing (ii).
Common errors
- Testing only the constant term for divisibility by \(p\), forgetting to check every coefficient \(a_0,\dots,a_{n-1}\) strictly below the leading one.
- Concluding "no prime works, therefore \(f\) is reducible" — Eisenstein is only a sufficient condition; failure of the test proves nothing about reducibility.
- Forgetting to try a shift \(f(x+c)\) (or \(f(x-c)\)) when \(f\) itself is not directly Eisenstein at any prime, as with \(\Phi_p(x)\), which requires the substitution \(x\mapsto x+1\) before the criterion applies.
- Applying the criterion to a non-primitive polynomial and reading off irreducibility over \(\mathbb{Z}\) directly, without factoring out the content first (irreducibility over \(\mathbb{Z}\) for an imprimitive polynomial is automatically false, since the content itself is a nontrivial non-unit factor).
- Misapplying the criterion with \(p\) dividing the leading coefficient \(a_n\) as well — condition (i) explicitly forbids this, and allowing it breaks the degree count in Step 3 of the proof.
Discussion
Eisenstein's criterion was published by Gotthold Eisenstein in 1850, though the essential idea — that reduction modulo a prime can force a factorisation to degenerate — traces its logical DNA back to Gauss's work on cyclotomy and to Theodor Schönemann, who stated a very similar result slightly earlier. Its enduring importance is less about the criterion itself than about the method: passing from \(\mathbb{Z}[x]\) to \(\mathbb{F}_p[x]\) converts an intractable-looking factorisation question into one in a ring with unique factorisation and finitely many low-degree polynomials, a strategy that reappears throughout algebraic number theory (e.g. in criteria for irreducibility of minimal polynomials, and in the study of how primes split in ring extensions).
The criterion's most celebrated application is to the \(p\)-th cyclotomic polynomial \(\Phi_p(x)=\frac{x^p-1}{x-1}\), which is not visibly Eisenstein in its own coordinates but becomes so after the substitution \(x\mapsto x+1\) (Worked Example 2). This single computation is the standard route to proving \([\mathbb{Q}(\zeta_p):\mathbb{Q}] = p-1\), the starting point for the Galois-theoretic study of the regular \(p\)-gon and of cyclotomic fields.
A more structural way to see the theorem is via the \(p\)-adic Newton polygon: the hypotheses say precisely that the Newton polygon of \(f\) with respect to the \(p\)-adic valuation is a single segment from \((0,1)\) to \((n,0)\) of slope \(-1/n\), and a classical fact about Newton polygons (that a segment of slope with denominator \(n\) in lowest terms forces irreducible factors' degrees to be multiples of that denominator) reproduces Eisenstein's conclusion as the special case where the whole polygon is one primitive segment. This reframing is what generalises the criterion to arbitrary discrete valuations, not just the prime-\(p\) integer valuation.
Common misconception: students sometimes believe Eisenstein's criterion determines irreducibility over \(\mathbb{Z}\) and \(\mathbb{Q}\) as genuinely different statements needing separate proof from scratch; in fact the entire bridge between the two is Gauss's Lemma, invoked once in Step 1, and for primitive polynomials the two notions of irreducibility coincide exactly.
Worked examples
Reading. The criterion applies directly with \(p=5\); no further factorisation of \(g\) into rational polynomials of positive degree exists.
Reading. The \(p\)-th cyclotomic polynomial cannot be factored over \(\mathbb{Q}\); consequently \([\mathbb{Q}(\zeta_p):\mathbb{Q}]=p-1\) where \(\zeta_p=e^{2\pi i/p}\).
Scope. This argument is specific to prime index \(p\); for composite \(n\), \(\Phi_n(x)\) is still irreducible over \(\mathbb{Q}\) but the proof requires different (non-Eisenstein) techniques.
Problems
- Determine whether \(f(x) = x^4 + 2x^3 + 2x^2 + 2x + 2\) is irreducible over \(\mathbb{Q}\), justifying fully.
Solution
Take \(p=2\). Coefficients: \(a_4=1\) (\(2\nmid1\)); \(a_3=2,a_2=2,a_1=2\), all divisible by \(2\); \(a_0=2\), and \(4\nmid2\). All three Eisenstein hypotheses hold at \(p=2\), and \(f\) is primitive (leading coefficient \(1\)). By Eisenstein's criterion, \(f\) is irreducible over \(\mathbb{Q}\). - Show that \(f(x) = 5x^3 - 6x^2 + 12x - 18\) is irreducible over \(\mathbb{Q}\).
Solution
The content of \(f\) is \(\gcd(5,6,12,18)=1\), so \(f\) is primitive. Take \(p=3\): \(a_3=5\) (\(3\nmid5\)); \(a_2=-6,a_1=12,a_0=-18\), all divisible by \(3\); check \(a_0=-18\), and \(9\nmid18\) since \(18/9=2\) — wait, \(9\mid18\) is true (\(18=2\cdot9\)), so condition (iii) fails at \(p=3\). Try \(p=2\) instead: \(a_3=5\) (\(2\nmid5\)); \(a_2=-6,a_1=12,a_0=-18\), all divisible by \(2\); \(a_0=-18\), and \(4\nmid18\) (since \(18/4\) is not an integer). All three conditions hold at \(p=2\), so by Eisenstein's criterion \(f\) is irreducible over \(\mathbb{Q}\). - Let \(f(x) = x^3 + 4x^2 + 2\). Determine all primes \(p\) for which Eisenstein's criterion applies, and state the conclusion.
Solution
Coefficients: \(a_3=1,a_2=4,a_1=0,a_0=2\). For the criterion we need a prime \(p\) with \(p\nmid a_3=1\) (automatic for every prime, since no prime divides \(1\) — wait, this must be checked: \(p\mid1\) is impossible for any prime, so condition (i) always holds here), \(p\mid a_2=4\) and \(p\mid a_1=0\) (automatic, every prime divides \(0\)) and \(p\mid a_0=2\), with \(p^2\nmid a_0=2\). Candidates dividing both \(4\) and \(2\): only \(p=2\). Check: \(2\mid4\) yes, \(2\mid0\) yes, \(2\mid2\) yes, and \(4\nmid2\) yes. So \(p=2\) is the unique prime for which the criterion applies, and it succeeds: \(f\) is irreducible over \(\mathbb{Q}\). - Explain why Eisenstein's criterion cannot be used directly to show \(f(x)=x^4+1\) is irreducible over \(\mathbb{Q}\), then find a substitution that makes the criterion apply, and complete the proof.
Solution
Directly: coefficients are \(1,0,0,0,1\). For any prime \(p\), condition (ii) requires \(p\) to divide the coefficients of \(x^3,x^2,x^1\), all zero, which is automatic, but condition (iii) requires \(p^2\nmid a_0=1\), which holds for every prime since no prime square divides \(1\) — yet condition (ii) also silently requires checking \(a_0=1\) is divisible by \(p\), and no prime divides \(1\). So no prime satisfies (ii) at the constant term, and the criterion fails to apply directly. Substitute \(x\mapsto x+1\): \((x+1)^4+1 = x^4+4x^3+6x^2+4x+2\). Test \(p=2\): \(a_4=1\) (\(2\nmid1\)); \(a_3=4,a_2=6,a_1=4\), all divisible by \(2\); \(a_0=2\), and \(4\nmid2\). All hypotheses hold at \(p=2\), so \((x+1)^4+1\) is irreducible over \(\mathbb{Q}\) by Eisenstein's criterion. Since \(x\mapsto x+1\) is an automorphism of \(\mathbb{Q}[x]\), any nontrivial factorisation of \(f(x)=x^4+1\) would transport to one of \((x+1)^4+1\), which does not exist; hence \(f\) is irreducible over \(\mathbb{Q}\). - Give a polynomial \(f\in\mathbb{Z}[x]\) of degree \(4\) that is reducible over \(\mathbb{Q}\) but satisfies conditions (i) and (ii) of Eisenstein's criterion at some prime \(p\) while condition (iii) genuinely fails; exhibit an explicit factorisation.
Solution
Construct \(f\) directly as a product: \(f(x) = (x^2+2)(x^2+2x+2) = x^4+2x^3+4x^2+8x+4\). Test \(p=2\): (i) \(a_4=1\), so \(2\nmid a_4\), holds; (ii) \(a_3,a_2,a_1=2,4,8\) are all divisible by \(2\), holds; (iii) \(a_0=4=2^2\), so \(4\mid a_0\), and condition (iii) fails, exactly as required. The explicit factorisation \(f(x)=(x^2+2)(x^2+2x+2)\) exhibits reducibility directly, confirming that dropping only condition (iii) among the three is enough for reducible examples to exist even while (i) and (ii) hold.