Contents / Abstract Algebra / Polynomial Rings and Unique Factorization
Chapter 7
Polynomial Rings and Unique Factorization
Degrees add over a domain, and what breaks without it; the division algorithm, remainder and factor theorems, and the bound on the number of roots; Euclidean domains are PIDs and PIDs are UFDs, with a separating example at each gap in the containment chain; irreducible and prime coinciding in a PID; and irreducibility testing by Gauss's lemma, the rational root theorem and Eisenstein's criterion.
Introduction
The integers are the ring everybody learns arithmetic in, and the Fundamental Theorem of Arithmetic is the reason that arithmetic is orderly: every integer larger than is a product of primes in exactly one way. This chapter asks which other rings behave like that, and the answer turns out to be organised by a single short chain of classes,
each inclusion strict. The chapter's job is to prove the two inclusions in the middle, exhibit a ring separating each pair, and then show that polynomial rings supply the most important examples at every level.
The engine is division with remainder. Given a way to divide and leave something strictly smaller, one gets the Euclidean algorithm; from the Euclidean algorithm one gets that every ideal is generated by a single element; from that one gets that irreducible elements are prime; and from that one gets unique factorization. Each arrow in the chain is a short argument, and every one of them is proved below. What makes the chain worth setting up is that it applies verbatim to , to for any field , and to the Gaussian integers — three rings whose arithmetic looks nothing alike and whose factorization theory is identical.
The other half of the chapter is the practical question the theory leaves open. Unique factorization guarantees that a polynomial over has a factorization into irreducibles and that it is essentially unique; it says nothing whatever about how to find it, or how to certify that a given polynomial is one of the atoms. So we develop the working tests: the rational root theorem for linear factors, reduction modulo a prime, and Eisenstein's criterion, which is proved here rather than quoted and then used to produce two infinite families of irreducible polynomials over .
Throughout, ring means commutative ring with identity , denotes the group of units of , and always denotes a field. Familiarity with ideals and quotient rings, as developed in Ideals and Quotient Rings, and with the definition of an integral domain from Integral Domains and Fields, is assumed.
7.1Polynomials over a ring
A polynomial is not a function. This is the first thing to get straight, because the distinction is invisible over and fatal over a finite ring. Over the field , the polynomials and take the same value at every element of , yet they are different elements of : one has degree and the other is the zero polynomial. A polynomial is its sequence of coefficients, and is a formal symbol subject to no relation at all.
Definition 7.1 (Polynomial ring). Let be a commutative ring. A polynomial over is a sequence of elements of with only finitely many nonzero, written
Addition is coefficientwise and multiplication is the convolution
With these operations the set of all polynomials over is a commutative ring, the polynomial ring , containing as the subring of constant sequences.
Checking the ring axioms is routine and unilluminating; the only one worth a glance is associativity of multiplication, where both and produce the coefficient in degree , visibly symmetric in the three factors.
Definition 7.2 (Degree, leading coefficient, monic). Let be nonzero with . Its degree is , its leading coefficient is , and is monic if . The degree of the zero polynomial is left undefined, or set to where a uniform convention helps.
Notation. We write whenever it makes a statement uniform, with the conventions and for every integer . This is bookkeeping, not mathematics: it lets be stated without a proviso.
The degree is the substitute, in , for the absolute value on : a measure of size that behaves well under multiplication and that cannot decrease forever. Everything in the chapter rests on how exactly it behaves.
Proposition 7.3 (Degree of a sum). For ,
with equality whenever .
Proof. The coefficient of in is , which is zero whenever both and are, so no power above survives. If then the coefficient of in is , giving equality. Strict inequality is possible only when the degrees agree and the leading coefficients cancel, as in .∎
Theorem 7.4 (Degrees add over a domain). Let be an integral domain and let be nonzero. Then ,
Proof. Write and with , where the omitted terms have lower degree. By the convolution formula the coefficient of in is . For every term of that sum has or , hence or , so the coefficient vanishes. For the only pair with , and is , so the coefficient is exactly .
Now the hypothesis enters: is a domain and are nonzero, so . Therefore has a nonzero coefficient in degree and none above it, which is the claim.∎
The single step that used the hypothesis was , and without it the theorem is false, not merely unproved.
Example 7.5 (Degrees collapsing over ). In compute the product of and , and of and . What happens to the degrees?
Solution.
- in , since . So two polynomials of degree multiply to a polynomial of degree : .
- , of degree rather than .
- The cause in both cases is the zero-divisor pair in : the leading coefficients multiply to zero and the top term disappears.
- Note also what the first computation shows about units: is its own inverse, so has a unit of degree . Both of the results below therefore genuinely need their hypothesis.
Corollary 7.6 ( is a domain exactly when is). is an integral domain if and only if is.
Proof. () If is a domain and are nonzero, then by the theorem Degrees add over a domain.
() If is not a domain, pick nonzero with . These are nonzero constant polynomials in whose product is , so is not a domain either. (And is commutative with whenever is, so no other axiom is in question.)∎
Corollary 7.7 (Units of a polynomial ring over a domain). If is an integral domain then
that is, the only invertible polynomials are the invertible constants.
Proof. A unit of is certainly a unit of . Conversely suppose with . Both are nonzero, so by the theorem Degrees add over a domain, . Degrees of nonzero polynomials are non-negative, so and both are constants; then says .∎
Remark. The example Degrees collapsing over shows the corollary fails without the hypothesis, since is a non-constant unit there. In general is a unit of iff and are all nilpotent — a result we shall not need, but which explains the example precisely: is nilpotent there.
Division with remainder
Long division of polynomials needs to divide by the leading coefficient of the divisor. Over a field that is always possible; over a general ring it is possible exactly when that leading coefficient is a unit, and the cleanest statement is the one for a monic divisor.
Theorem 7.8 (Division algorithm). Let be a commutative ring and let be monic. For every there exist unique with
Proof. Existence, by strong induction on . Let . If or , take and . Otherwise let and suppose the statement holds for every polynomial of degree less than . Put
The subtracted polynomial is monic-times-a-constant of degree exactly with leading coefficient — here is where monicity of is used, since it makes — so the degree- terms cancel and or . By the inductive hypothesis with or , whence
Uniqueness. Suppose with both remainders zero or of degree . Then . If then, because is monic, the left-hand side has degree : the leading coefficient of is , so no collapse is possible even if has zero-divisors. But the right-hand side is or of degree , a contradiction. Hence and then .∎
Corollary 7.9 (Division algorithm in ). Let be a field and with . There are unique with and or .
Proof. Let , which is invertible because is a field, so is monic. By the theorem Division algorithm, uniquely with or . Set . Uniqueness transfers because is a bijection of .∎
Pitfall. Over there is no division algorithm. Dividing by would need with leading coefficient , and indeed no with satisfy : reducing modulo gives with the right side of degree . The monic case is the whole of what survives, and it is exactly what the theorem Division algorithm asserts.
Example 7.10 (Long division in ). Divide by .
Solution.
- Leading terms: . Subtract , leaving .
- Next: . Subtract , leaving .
- Next: . Subtract , leaving .
- The remainder has degree , so we stop:
- Check by expanding: , and adding gives . ✓
Definition 7.11 (Evaluation homomorphism). For , the map sending to is a ring homomorphism. An element with is a root of .
That respects multiplication is exactly the commutativity of : expanding by the convolution formula and comparing with needs to commute with every coefficient. This is why "substitute a number" is a legitimate algebraic operation and not merely a notational one, and it is the only fact used in the next two results.
Theorem 7.12 (Remainder theorem). Let be a commutative ring, and . The remainder on dividing by is the constant :
Proof. is monic of degree , so the theorem Division algorithm gives unique with and or ; either way is a constant. Apply the homomorphism of the definition Evaluation homomorphism: .∎
Corollary 7.13 (Factor theorem). is a root of if and only if in .
Proof. By the theorem Remainder theorem, . If then . Conversely if then .∎
Theorem 7.14 (Root bound over a domain). Let be an integral domain and let be nonzero of degree . Then has at most distinct roots in .
Proof. Induct on . If then is a nonzero constant and has no roots. Suppose and the claim holds below . If has no root we are done. Otherwise let be a root; by the corollary Factor theorem, , and by the theorem Degrees add over a domain, .
Let be any other root. Then , and , so — because is a domain — . Hence every root of other than is a root of , of which there are at most by induction. Counting itself, has at most roots.∎
Example 7.15 (A quadratic with four roots over ). Find every root of in and explain why the theorem Root bound over a domain is not violated.
Solution.
- Test all eight residues: , , , , , , , .
- So for : a degree- polynomial with four roots.
- There is no contradiction because is not a domain: . The proof breaks exactly at the step " forces ".
- Concretely, , and at the two factors are and , a pair of nonzero elements whose product is . The extra roots come from splitting zero, not from splitting the polynomial. ✓
Corollary 7.16 (Polynomials and functions agree over an infinite domain). If is an infinite integral domain and satisfy for all , then as polynomials.
Proof. has every element of as a root. If it has finitely many roots by the theorem Root bound over a domain, contradicting . So .∎
This is the precise sense in which the opening warning is a finite phenomenon: over or one may identify a polynomial with the function it defines, and over one may not, since and induce the same function on a two-element set.
Intuition. Think of as the integers with the number line replaced by a ruler marked in degrees. "Bigger" means "higher degree"; division with remainder makes the leftover strictly shorter on that ruler; and a ruler with only non-negative integer markings cannot shrink forever. Every theorem in the next two sections is a consequence of that one sentence, applied to whatever ring comes with a suitable ruler.
7.2Euclidean domains
Abstracting the ruler gives the class of rings in which the Euclidean algorithm runs. The definition asks for very little — a size function and a division step — and delivers a surprising amount.
Definition 7.17 (Divisibility, associates, gcd). Let be a domain and . Say if for some ; equivalently . Elements are associates if for a unit , equivalently . An element is a greatest common divisor of and if , , and every common divisor of and divides . A gcd, when it exists, is unique up to associates.
The last clause is forced: if and are both gcds then each divides the other, so with a unit. In one normalises by taking ; in one normalises by taking monic, using the corollary Units of a polynomial ring over a domain to see that the monic representative is unique.
Definition 7.18 (Euclidean domain). An integral domain is a Euclidean domain if there is a function , called a Euclidean function, such that for all with there exist with
Nothing requires and to be unique, and in general they are not — in with one may write or , and both are legitimate. Uniqueness is a bonus that (with the usual normalisation) and happen to enjoy; no proof below uses it.
Proposition 7.19 (The standard Euclidean domains). Each of the following is a Euclidean domain.
- Any field , with for all .
- , with .
- for a field, with .
- The Gaussian integers , with .
Proof. (1) Given and , write .
(2) Is the ordinary division algorithm: for take if (and the corresponding ceiling if ), so that .
(3) Is the corollary Division algorithm in .
(4) Given with , the quotient lies in . Choose integers with and , and set , . Since is multiplicative on ,
Method 7.20 (The Euclidean algorithm). To compute a gcd of and in a Euclidean domain:
- Divide: with or .
- Replace the pair by and repeat.
- The sizes form a strictly decreasing sequence of non-negative integers, so some after finitely many steps.
- The last nonzero remainder is a gcd of and . Normalise it (positive in , monic in ).
Correctness of the algorithm is the observation that common divisors of and common divisors of and , because and each express one of the pair in terms of the other two. The set of common divisors is therefore unchanged at every step, and at the final step it is the set of divisors of .
Example 7.22 (The Euclidean algorithm in ). Compute in , monic.
Solution.
- . Expanding, exactly, so the first remainder is .
- The algorithm therefore stops at once, and the gcd is the divisor itself, , already monic.
- Sanity check by factoring: and . The common part is . ✓
Example 7.23 (Bézout coefficients in ). Find with , and identify the gcd.
Solution.
- Divide: .
- Divide again: .
- The last nonzero remainder is ; normalised monic the gcd is .
- Back-substitute from step 1: , so multiplying by ,
- Check at : the right side is . ✓
Example 7.24 (Division in the Gaussian integers). Divide by in , producing and with .
Solution.
- .
- Numerically and , so round to .
- .
- , as required by the definition Euclidean domain. ✓
Theorem 7.25 (Every Euclidean domain is a PID). Let be a Euclidean domain with Euclidean function . Then every ideal of is principal.
Proof. Let be an ideal. If then and we are done. Otherwise the set is a nonempty set of non-negative integers, so by well-ordering it has a least element; choose attaining it.
Certainly , since is an ideal containing . For the reverse, take any and divide: with or . Now is a difference of elements of , hence . If then contradicts the minimality of among nonzero elements of . So and .
Therefore .∎
The proof is worth rereading, because it is the template for the whole subject: a size function that strictly drops, plus well-ordering of , forces a minimal element to generate everything.
Corollary 7.26 (Bézout's identity). In a Euclidean domain, any not both zero have a gcd , and for some .
Proof. The set is an ideal, so by the theorem Every Euclidean domain is a PID it equals for some , and gives the representation . Since , is a common divisor. If and then , so is a greatest common divisor in the sense of the definition Divisibility, associates, gcd.∎
Pitfall. Bézout's identity is a statement about ideals, not about the Euclidean algorithm, and it fails in rings with gcds but no Bézout property. In the polynomials and have gcd , yet for any — evaluate at and reduce mod . So "gcd exists" is strictly weaker than "gcd is a linear combination".
Corollary 7.27 ( is a principal ideal domain). For any field , every ideal of is principal, generated by or by the unique monic polynomial of least degree in it.
Proof. is Euclidean by the proposition The standard Euclidean domains, hence a PID by the theorem Every Euclidean domain is a PID, whose proof selects a nonzero element of least degree as generator. Scaling by the inverse of its leading coefficient makes it monic without changing the ideal, and two monic generators of the same ideal are associates by the definition Divisibility, associates, gcd, hence equal by the corollary Units of a polynomial ring over a domain.∎
7.3Principal ideal domains and unique factorization
We now have one implication of the chain. This section proves the second, and separates all the classes by example.
Definition 7.28 (Principal ideal domain). An integral domain is a principal ideal domain (PID) if every ideal of is of the form for some .
Definition 7.29 (Irreducible and prime). Let be a domain and nonzero and not a unit.
- is irreducible if implies or is a unit.
- is prime if implies or ; equivalently, is a nonzero prime ideal.
The two conditions say different things. Irreducibility is about factoring ; primality is about what divides. In they famously coincide, and Euclid's lemma — the assertion that they coincide — is precisely the hard input to the Fundamental Theorem of Arithmetic. In general only one direction is free.
Proposition 7.30 (Prime implies irreducible). In any integral domain, every prime element is irreducible.
Proof. Let be prime and suppose . Then , so or ; say . Then , and cancelling (legitimate in a domain, as ) gives , so is a unit. The other case is symmetric.∎
Example 7.31 (An irreducible element that is not prime). In , show that is irreducible but not prime.
Solution.
- Use the norm , which is multiplicative and takes non-negative integer values, with exactly for the units .
- If then . A factor of norm would need , impossible over the integers ( forces ). So and one of them is a unit: is irreducible.
- But , while : dividing would give . So is not prime.
- Consequently are two genuinely different factorizations into irreducibles, and is a domain that is not a UFD. ✓
Theorem 7.32 (In a PID irreducible implies prime). Let be a PID and irreducible. Then is prime. Hence in a PID the irreducible elements are exactly the prime elements.
Proof. Suppose and ; we show . Consider the ideal . Since is a PID, for some . Then , so and irreducibility forces or to be a unit.
If is a unit then , so , i.e. — excluded. Hence is a unit and . Write for some and multiply by :
Both terms on the right are divisible by : the first visibly, the second because . So . The converse direction is the proposition Prime implies irreducible.∎
Corollary 7.33 (Maximality of nonzero prime ideals). In a PID , every nonzero prime ideal is maximal. Consequently, for irreducible, is a field.
Proof. Let be a nonzero prime ideal, so is prime, hence irreducible by the proposition Prime implies irreducible. Suppose . Then , so with or a unit; correspondingly or . Thus no ideal sits strictly between and , which is maximality, and a quotient by a maximal ideal is a field.∎
Applied to , which is a PID by the corollary is a principal ideal domain, this is the construction that produces every field extension in Galois Theory: is a field containing a root of , namely the class of .
Definition 7.34 (Unique factorization domain). An integral domain is a unique factorization domain (UFD) if every nonzero non-unit can be written
with each irreducible, and this is unique in the following sense: if is another such factorization then and, after reordering, and are associates for each .
Proving that a ring is a UFD splits into two genuinely separate tasks, and it is worth naming them because they fail independently. Existence asks that the factoring process terminate; uniqueness asks that the atoms be prime. The first is where the Noetherian condition enters.
Lemma 7.35 (Ascending chain condition on principal ideals). Let be a PID and let be an ascending chain of ideals. Then the chain stabilises: there is with .
Proof. Put . This is an ideal: it is closed under addition because the chain is totally ordered by inclusion, so any two elements lie in a common , and it is closed under multiplication by because each is.
Since is a PID, for some . As , we have for some . Then for every ,
so all these ideals are equal and the chain is constant from onwards.∎
Theorem 7.36 (Every PID is a UFD). Every principal ideal domain is a unique factorization domain.
Proof. Existence. Call bad if it is a nonzero non-unit with no factorization into irreducibles. Suppose is bad. Then is not itself irreducible, so with both non-units. If both and factored into irreducibles, so would ; hence at least one is bad — call it . Since , we get : the inclusion holds as , and it is strict because equality would make the cofactor a unit. Iterating produces a strictly ascending chain
which contradicts the lemma Ascending chain condition on principal ideals. So no bad element exists: every nonzero non-unit factors into irreducibles.
Uniqueness. Suppose with all factors irreducible, and induct on . If the left side is a unit, forcing (an irreducible never divides a unit). For : is irreducible, hence prime by the theorem In a PID irreducible implies prime, and , so for some ; reorder so . Write . Since is irreducible and is not a unit, is a unit, so and are associates. Cancel from both sides (valid in a domain):
and absorb into , which remains irreducible. By induction and the remaining factors match up to associates and order.∎
Remark. Existence used only the ascending chain condition and uniqueness used only "irreducible prime". Splitting the proof this way is not decoration: a domain satisfying ACCP in which some irreducible is not prime — , by the example An irreducible element that is not prime — has factorizations that terminate but do not match. Conversely, there are domains in which irreducibles are prime but factorizations never terminate, such as the ring of all algebraic integers, where has no irreducible factors at all.
Corollary 7.37 (Factorization in ). For any field , is a UFD, and every nonzero has a unique expression
with , the distinct monic irreducibles and .
Proof. is a PID by the corollary is a principal ideal domain, hence a UFD by the theorem Every PID is a UFD. To get the normalised form, factor into irreducibles, divide each irreducible factor by its leading coefficient to make it monic, and collect the resulting constants into ; by the corollary Units of a polynomial ring over a domain the units of are exactly the constants , so this is the only freedom available, and gathering equal factors gives the exponents.∎
Proposition 7.38 ( is a UFD that is not a PID). The ideal is not principal. Hence is a UFD (by Gauss's theorem, below) which is not a PID.
Proof. First identify the ideal: has constant term , which is even, and conversely a polynomial with even constant term lies in . So is exactly the set of polynomials with even constant term; in particular , so it is a proper ideal.
Suppose . Then , and since degrees add over the domain (the theorem Degrees add over a domain), , so is a constant, .
- If then .
- If then every element of has all coefficients even, yet does not.
Both cases are impossible, so is not principal.∎
Theorem 7.39 (The factorization hierarchy). For integral domains,
and each inclusion is strict:
- is Euclidean but not a field.
- is a PID that admits no Euclidean function.
- is a UFD that is not a PID.
- is a domain that is not a UFD.
Proof. The inclusions are the proposition The standard Euclidean domains (a field is Euclidean), the theorem Every Euclidean domain is a PID, the theorem Every PID is a UFD, and the definition of a UFD.
For strictness: (1) has no inverse in , and is Euclidean. (3) is the proposition is a UFD that is not a PID. (4) is the example An irreducible element that is not prime, where has two inequivalent factorizations. Claim (2) is quoted rather than proved: the argument shows this ring has no universal side divisor, a feature every Euclidean domain that is not a field must possess, and the verification is a finite but fiddly computation with the norm .∎
Intuition. Read the picture from the inside out as a story about what you are allowed to do. In the innermost ring you can divide with remainder, so you can compute. One ring out you can still solve , but only by knowing an ideal has a generator, not by finding it. One further out you can still factor uniquely, but gcds are no longer linear combinations. Outside everything, "factor" stops meaning anything definite: is and it is , and nothing adjudicates between them.
Example 7.41 (Ideals of and their generators). In , describe the ideal by a single generator.
Solution.
- By the corollary is a principal ideal domain, where is the monic gcd of the two generators.
- Euclid: , since and .
- Next: , since .
- The last nonzero remainder is , monic normalisation . So .
- Check: and , both in ; and . ✓
7.4Irreducibility over
is a UFD, so every rational polynomial factors uniquely into irreducibles. Finding that factorization is another matter, and the difficulty is that is infinite: one cannot search. The strategy of this section is to push every question down to , where one can.
Definition 7.42 (Content and primitive polynomials). For a nonzero , the content is , taken positive. is primitive if , that is, no prime divides every coefficient.
Every nonzero is times a primitive polynomial, and every nonzero is a positive rational multiple of a primitive integer polynomial: clear denominators by the lcm, then pull out the content. That primitive polynomial is unique up to sign.
Lemma 7.43 (Gauss's lemma). The product of two primitive polynomials in is primitive. Equivalently, for all nonzero .
Proof. Let be primitive and suppose is not, so some prime divides every coefficient of . Reduce coefficients modulo : the reduction map is a ring homomorphism, and it sends to . Hence in .
But is a field, so is an integral domain by the corollary is a domain exactly when is. Therefore or , that is, divides every coefficient of or every coefficient of — contradicting primitivity of both.
For the general statement write and with primitive. Then with primitive, so .∎
Theorem 7.44 (Gauss's theorem: irreducibility over and over ). Let be primitive of degree . Then is irreducible in if and only if it is irreducible in .
Consequently, if factors over as a product of polynomials of degrees , it already factors over into integer polynomials of those same degrees.
Proof. () If is irreducible over then any factorization in has or a rational constant, hence an integer constant dividing the content , hence : a unit of .
() Suppose with of degree . Write and with primitive of the same degrees and . Then . Write in lowest terms, so . Taking contents and using the lemma Gauss's lemma, , and gives , so and
is a factorization in into factors of degree , neither of which is a unit. So is reducible over . The contrapositive is the claim, and the displayed identity is the "consequently" clause.∎
Remark. The same argument, run over an arbitrary UFD with fraction field , proves Gauss's theorem for UFDs: if is a UFD then so is . Taking gives that is a UFD, which is the half of the proposition is a UFD that is not a PID we did not prove there; iterating gives that and are UFDs, though for they are not PIDs, since is not principal.
Proposition 7.45 (Low-degree irreducibility test). Let be a field and with . Then is irreducible over if and only if has no root in .
Proof. If has a root then by the corollary Factor theorem, and the cofactor has degree or , so neither factor is a unit and is reducible. Conversely, if nontrivially then with both degrees , so one of them is , say with ; then is a root of and hence of .∎
Pitfall. The test is false from degree onwards. has no real root and is reducible over ; has no rational root and is reducible over , as the example A rootless quartic that still factors shows. "No roots" only rules out linear factors.
Theorem 7.46 (Rational root theorem). Let with and . If is a root written in lowest terms, then and .
Proof. Substitute and clear denominators: . Every term except the last is divisible by , so ; since we have , so . Symmetrically, every term except the first is divisible by , so and hence .∎
Example 7.47 (Ruling out rational roots). Show that has exactly one rational root, and find it.
Solution.
- By the theorem Rational root theorem, any rational root has and , so the candidates are — twelve in all, eight of them distinct from the integers listed.
- ; ; ; .
- . ✓
- So ; dividing gives . The quadratic has discriminant , so no real, hence no rational, root; by the proposition Low-degree irreducibility test it is irreducible over .
- The unique rational root is therefore , and the full factorization over is .
Theorem 7.48 (Eisenstein's criterion). Let with , and suppose there is a prime with
Then is irreducible over . If in addition is primitive, it is irreducible over .
Proof. Suppose is reducible over . We may assume primitive (dividing by the content changes neither the hypotheses, since means , nor irreducibility over ), so by the theorem Gauss's theorem: irreducibility over and over we may write
with and , .
Reduce modulo . All coefficients of except the top one are divisible by , so in
Now is a UFD by the corollary Factorization in , and is irreducible there, so the only monic irreducible dividing is . Hence and are constants times powers of . Their degrees multiply out correctly only if and — in particular, since , both and have zero constant term:
But , so , contradicting the hypothesis. Therefore is irreducible over , and for primitive the theorem Gauss's theorem: irreducibility over and over transfers this to .∎
Corollary 7.49 ( for squarefree-witnessed ). For every the polynomial is irreducible over . More generally is irreducible over whenever some prime satisfies and .
Proof. Apply the theorem Eisenstein's criterion with that prime . The leading coefficient is , so . The middle coefficients are all , which every prime divides. The constant term is , and with . All three conditions hold, so is irreducible. For take .∎
This single corollary produces, for each , a rational polynomial of degree with no rational factorization — so has irreducibles of every degree, in sharp contrast with , where the Fundamental Theorem of Algebra leaves only degree , and with , where only degrees and occur.
Corollary 7.50 (The cyclotomic polynomial is irreducible). For prime,
is irreducible over .
Proof. Eisenstein does not apply to directly — every coefficient is . The trick is that irreducibility is preserved by the substitution , since is a ring automorphism of (its inverse is ), and an automorphism carries factorizations to factorizations. So it suffices to prove irreducible.
Compute, using the binomial theorem:
Apply the theorem Eisenstein's criterion with this same prime . The leading coefficient is , not divisible by . For the binomial coefficient is divisible by , because divides the numerator and, being prime and larger than every factor in , divides no part of the denominator. The constant term is , which is divisible by but not by . Eisenstein applies, so — and therefore — is irreducible over .∎
Example 7.51 (Eisenstein after a shift). Decide whether is irreducible over .
Solution.
- Eisenstein fails for itself: the only candidate prime must divide the constant term , and no prime does.
- Substitute : .
- Take : it does not divide the leading coefficient ; it divides and ; and does not divide the constant term .
- By the theorem Eisenstein's criterion, is irreducible over , hence so is .
- Remark for contrast: factors modulo every prime, so the reduction test of the proposition Reduction modulo a prime could never have settled this. ✓
Proposition 7.52 (Reduction modulo a prime). Let have degree and let be a prime with . If the reduction is irreducible, then is irreducible over .
Proof. Suppose over with both factors of degree ; by the theorem Gauss's theorem: irreducibility over and over we may take of the same degrees. Reducing, . Since , neither leading coefficient dies, so and likewise for . That exhibits as a product of two non-units, contradicting its irreducibility.∎
Pitfall. The converse is false in both directions one might hope for. reducible says nothing: is irreducible over but factors as mod . And the hypothesis cannot be dropped: has degree but reduces mod to the irreducible .
Example 7.53 (Irreducibility by reduction mod 2). Show is irreducible over .
Solution.
- Work in , where .
- Roots: and . No roots, so no linear factor.
- The only irreducible quadratic over is (the other three monic quadratics all factor). So the only possible factorization into two quadratics is .
- Hence is irreducible over , and by the proposition Reduction modulo a prime — with — is irreducible over . ✓
Example 7.54 (A rootless quartic that still factors). Factor into irreducibles over .
Solution.
- for every real , so there is no real root and hence no rational root: no linear factor.
- But degree admits a factorization into two quadratics, so the proposition Low-degree irreducibility test does not apply. Complete the square:
- Each factor has discriminant , so has no rational root and is irreducible by the proposition Low-degree irreducibility test.
- So the factorization into irreducibles over is , and is the standing warning that "no roots" is not "irreducible". ✓
7.5Quotients, finite fields and counting irreducibles
Every result so far pays off in one construction: killing an irreducible polynomial to manufacture a field in which it has a root. This section makes that concrete and then counts how many irreducibles there are to kill.
Theorem 7.56 (Structure of ). Let be a field and of degree . Then every class in has exactly one representative of degree , so
is an -vector space of dimension with basis . If is finite with elements, .
Proof. Given , the corollary Division algorithm in produces unique with and or ; then . If two such representatives were congruent, with , which by the theorem Degrees add over a domain forces . So representatives of degree exist and are unique, and they form the -span of , which is therefore a basis. Counting: an element is a choice of coefficients from , giving .∎
Corollary 7.57 (Making a field by killing an irreducible). is a field if and only if is irreducible over . In that case it is a field extension of of degree in which is a root of .
Proof. By the corollary Maximality of nonzero prime ideals applied in the PID , is maximal exactly when is irreducible, and a quotient by an ideal is a field exactly when that ideal is maximal. For the last clause, write ; then in the quotient. The degree is by the theorem Structure of .∎
Example 7.58 (A field with nine elements). Show is a field, list its elements, and compute .
Solution.
- has degree , so by the proposition Low-degree irreducibility test it is irreducible over iff it has no root there: , , . None is zero, so it is irreducible.
- By the corollary Making a field by killing an irreducible, the quotient is a field; by the theorem Structure of it has elements, namely with .
- , and , so this is .
- Check the field property on an example: , so . ✓
Proposition 7.59 (Counting monic irreducibles over ). Let be the number of monic irreducible polynomials of degree over . Then
and in general .
Proof. Degree : the monic linear polynomials are for , all irreducible, and there are of them.
Degree : there are monic quadratics . The reducible ones are exactly the products with — by the proposition Low-degree irreducibility test a reducible quadratic has a root, hence splits into linear factors — and unordered pairs with repetition number . So .
Degree : there are monic cubics. A reducible cubic has a linear factor, so it is times a monic quadratic, or a product of three linear factors. Counting by factorization type: of the form (linear)(irreducible quadratic), and products of three linear factors with repetition. Then
The general formula is quoted rather than proved here: it follows by Möbius inversion from the identity , which says that is the product of all monic irreducibles of degree dividing — a fact belonging to the theory of finite fields developed in Galois Theory.∎
Example 7.60 (Listing the monic irreducible quadratics over ). Find every monic irreducible quadratic in and check the count against the proposition Counting monic irreducibles over .
Solution.
- The formula predicts .
- A monic quadratic over is irreducible iff it has no root in , by the proposition Low-degree irreducibility test. Note , else is a root.
- Test the six candidates with : takes values — irreducible. takes — reducible. — reducible. takes — reducible. takes — irreducible. takes — irreducible.
- So the three are , , , matching the prediction. ✓
Summary. The chapter in five lines. Degree turns into a ring with division-with-remainder; division-with-remainder makes it Euclidean; Euclidean makes every ideal principal; principal makes irreducibles prime; and irreducibles being prime, together with the ascending chain condition, is exactly unique factorization. Everything else — Gauss, Eisenstein, the rational root theorem — is machinery for identifying the irreducibles once you know they exist.
- Treating a polynomial as the function it defines. Over a finite ring these differ: and agree at every point of but are different elements of . The identification is legitimate only over an infinite domain, by the corollary Polynomials and functions agree over an infinite domain.
- Using without a domain. Over , . Every consequence — units are constants, at most roots, cancellation — fails with it.
- Believing has a division algorithm. You may divide by a monic polynomial in any , and by any nonzero polynomial only when the coefficients form a field.
- Claiming a degree- polynomial has at most roots in any ring. has four roots in . The bound needs an integral domain.
- Concluding "no roots, therefore irreducible". True only in degrees and . and are the standing counterexamples.
- Confusing irreducible with prime. Prime always implies irreducible; the converse needs a PID (or a UFD). In , is irreducible and not prime, and factorization is not unique.
- Assuming a gcd is always a linear combination. Bézout needs a PID. In , but .
- Expecting Eisenstein to be visible. It very often applies only after a substitution , as for and for ; failing directly proves nothing.
- Reading a mod- factorization as proof of reducibility. Reduction can only prove irreducibility. is irreducible over and reducible modulo every prime.
- Forgetting the hypothesis in the reduction test, which is what keeps the degrees of the factors from dropping.