Gauss's Lemma (Polynomial)
Statement
Let be a UFD and its fraction field. A polynomial is primitive if the ideal generated by its coefficients equals (equivalently, no prime of divides all coefficients).
Gauss's Lemma (content form): The product of two primitive polynomials is primitive.
Gauss's Lemma (irreducibility form): A primitive polynomial is irreducible over if and only if it is irreducible over .
In particular, if is primitive and has no factorisation over , it has no factorisation over either.
Visualization
Primitive part extraction. Given , extract the content:
f(x) = 2x^2 + 4x + 6
= 2 · (x^2 + 2x + 3)
^^ ^^^^^^^^^^^^
content primitive part
Content: . Primitive part: (coefficients have ).
Product of primitives stays primitive. Let and , both primitive.
| Prime | all coeffs of ? | all coeffs of ? | all coeffs of ? |
|---|---|---|---|
| No () | No | No ( is odd) | |
| No | No | No | |
| any | No | No | No |
No prime divides all coefficients of , so is primitive.
Proof Sketch
-
Content is multiplicative. For , define of all coefficients. The key identity is up to units.
-
Primitive times primitive. If and are primitive and is any prime, reduce and modulo . Since is an integral domain (as is prime), . So does not divide all coefficients of .
-
Irreducibility transfer. If is primitive and over , clear denominators: write , with primitive. Then , and taking contents: . So is a unit, meaning is a factorisation in .
-
Contrapositive. If is irreducible over , then any -factorisation descends to an -factorisation — but one factor must be a unit in , hence a unit in too. So is irreducible over .
Connections
Gauss's Lemma is the bridge that makes Eisenstein's CriterionEisenstein's CriterionA prime-divisibility condition on coefficients that certifies irreducibility of a polynomial over ℤ or any UFD.Read more → work over : one proves irreducibility over and Gauss transfers it. The result generalises to any UFD, and UFDs arise from the chain PID Implies UFDPID Implies UFDEvery principal ideal domain is a unique factorisation domain: elements factor uniquely into irreducibles up to units and order.Read more →.
Lean4 Proof
-- Mathlib: IsPrimitive.irreducible_iff_irreducible_map_fraction_map
-- in Mathlib.RingTheory.Polynomial.GaussLemma
open Polynomial in
/-- Gauss's Lemma: a primitive polynomial over ℤ is irreducible iff
its image in ℚ[X] is irreducible. -/
theorem gauss_lemma_int (p : ℤ[X]) (hp : p.IsPrimitive) :
Irreducible p ↔ Irreducible (p.map (algebraMap ℤ ℚ)) :=
hp.irreducible_iff_irreducible_map_fraction_mapReferenced by
- Eisenstein's CriterionRing Theory
- PID Implies UFDRing Theory