6.3 Irreducible Polynomials and Unique Factorization
Every integer
6.3.1. Irreducible polynomials
For integers, the building blocks are the primes:
integers
An irreducible polynomial is a nonconstant polynomial that cannot be split into two factors of smaller degree.
Let
- (1)
is nonconstant, that is, ; and - (2) whenever
with , one of is a constant.
A nonconstant polynomial that is not irreducible is
reducible over
In words: condition (1) excludes
Since degrees add (Theorem 0.8.3), a
factorization
- (a) Show that every
polynomial of degree
is irreducible over every field. - (b) Show that the
constants
and are not irreducible over . - (c) Show that
is reducible over every field, and that is reducible over every field.
Solution.
(a) If
and , then with both degrees in , so one of them is : one factor is a constant. Condition (1) holds since . Hence is irreducible, whatever the field. For example , , and (over ) are irreducible.(b) Both are constants, so condition (1) fails. They are the degenerate cases, and they matter:
divides everything in , like among the integers, and it is not a building block.(c)
with both factors of degree , and with factors of degrees and . In each case both factors are nonconstant, so condition (2) fails.
Why insist on “nonconstant”? For the same reason
For polynomials of degree
Let
- (a)
has a factor of degree in if and only if has a root in . In particular, if and has a root in , then is reducible over . - (b) If
, then is irreducible over if and only if has no root in .
Proof.
(a)
If is a root, then by Theorem 6.1.3 (b). If with , then satisfies , so by Theorem 0.8.5. For the last sentence, if and , then , so both factors are nonconstant of degree less than , and is reducible.(b) We prove both directions by contraposition.
If has a root, it is reducible by (a), since . Suppose is reducible. By the working form of the definition, with and . Two integers that are at least and sum to or cannot both be at least , so one of has degree . By (a), has a root in . This proves the theorem.
Now the standard examples, each checked with the theorem.
over and over . For real , , so there is no real root, and is irreducible over (and over ). Over , is reducible. over and over . A rational root would be a rational number with square , which does not exist (Theorem 0.2.3). So is irreducible over . Over , . over . The values at and are and . No root, so it is irreducible over . It is the only irreducible polynomial of degree over (Exercise B3).
The nonexample by minimal change is
Warning. “No roots” implies
“irreducible” only in degrees 2 and 3.
The polynomial
Quick check. Over which of the
fields
Solution. Over
6.3.2. Euclid’s lemma
What makes primes useful is not their definition but a property the definition implies: if a prime divides a product, it divides one of the factors. For polynomials this follows quickly from the previous section. The first step is that an irreducible polynomial has only two possible gcds with anything.
Let
Proof. Let
Let
Proof. Suppose
The hypothesis “irreducible” is essential. The
polynomial
For unique factorization we need the lemma for products of any length, and we need to know what “divides” means between two monic irreducibles.
Let
- (a) If
with and , then for some . - (b) If
is irreducible over , , and are both monic, then .
Proof.
(a) We use induction on
. For there is nothing to prove. Let and assume the statement for factors. Since , Theorem 6.3.3 gives or . In the first case the induction hypothesis gives for some . Either way the statement holds for .(b) Write
. Since is irreducible, or is constant. But is not constant, being irreducible, so is a nonzero constant. Comparing leading coefficients of the monic polynomials and gives , so .
6.3.3. Unique factorization
Here is the theorem that Chapter 0’s remark about primes was pointing towards, now for polynomials. The constant in front is forced to be the leading coefficient; the rest is a product of monic irreducibles, unique up to order.
Let
- (a)
Existence. There are a nonzero constant
, an integer , and monic polynomials , each irreducible over , with - (b)
Uniqueness. If also
with nonzero, , and monic and irreducible over , then , , and after renumbering the we have for every .
In both factorizations, the constant is the leading
coefficient of
Idea. Existence:
if
Proof. First a remark used in both
parts. A product of monic polynomials is monic, by Theorem 0.8.3 and
induction on the number of factors. So if
- (a) We prove by
strong induction on
(Theorem 0.2.10 with ) that every of degree has a factorization as in (a). Let , assume the statement for all degrees , and let be the leading coefficient of .Case 1:
is irreducible over . Then . The polynomial is monic, and it is irreducible: it is nonconstant, and if , then , so or is constant, hence or is constant. So , works.Case 2:
is reducible over . By the working form of the definition, with and . By the induction hypothesis, and with nonzero constants, , and all monic irreducible. Then , with by Theorem 0.7.1. This is a factorization as in (a), with . - (b) By the first
remark,
and are both the leading coefficient of , so . Multiplying by , we get . So it suffices to prove, by induction on , the statement
: whenever with and all monic and irreducible over , we have , and after renumbering the , for every .
We first note: if a monic irreducible
Base case
Inductive step. Let
By induction,
Grouping equal factors, every nonconstant
Warning. Uniqueness needs the
normalization “monic”. Without it, constants can move
between factors: over
The next example shows the field dependence in one table.
Factor
Solution. Over every field,
and . For real , , so there is no root, and is irreducible. . . . Here , so , and because . All four factors coincide. . The values of at are . No root, so is irreducible. Also . . and , so .
| field | factorization of |
|---|---|
By Theorem 6.3.5, each
row is the factorization over that
field, up to order. Notice that the numbers of
irreducible factors are
6.3.4. Tools over
: rational roots
and Eisenstein’s criterion
Over
Let
Idea. Clear denominators:
Proof. Multiplying
Since
A polynomial in
Decide whether
Solution. By Theorem 6.3.6, a
rational root
Beyond degree
Let
- (1)
; - (2)
for every ; - (3)
.
Then
The proof needs one more idea, Gauss’s
lemma: a polynomial with integer coefficients
that factors over
- (a) Show that
is irreducible over for every . (b) Show that is irreducible over .
Solution.
(a) Take
. The leading coefficient is not divisible by ; the coefficients are and , all divisible by ; and . By Theorem 6.3.7, is irreducible over . So over there are irreducible polynomials of every degree. (Over , by contrast, has the root and is reducible for .)(b) Take
: ; divides ; and . So is irreducible over . Roots alone could not have shown this, since a quartic may factor into two quadratics.
Eisenstein’s criterion is sufficient, not necessary.
The polynomial
6.3.5. Exercises
A. Check your understanding
- (a) Define what it
means for
to be irreducible over . - (b) State the Unique
Factorization Theorem in
. - (c) Determine
whether the following statement is true: “a polynomial
in
of degree at least with no real root is irreducible over .” Justify your answer. - (d) Is the constant
irreducible over ? Is ? - (e) Is
irreducible over ? Justify your answer. - (f) Name a tool that
reduces the irreducibility of a cubic in
over to finitely many evaluations.
Solution.
- (a)
is irreducible over if and, whenever with , one of is a constant (Definition 6.3.1). - (b) Every
nonconstant
can be written as with nonzero and monic and irreducible over ; the constant is the leading coefficient of , and the are unique up to order (Theorem 6.3.5). - (c) False.
has no real root, but it is the product of two nonconstant factors, so it is reducible over . The statement is true in degrees and only (Theorem 6.3.1). - (d) No:
is constant, and irreducible polynomials are nonconstant by definition. Yes: has degree , so it is irreducible (Example (First Irreducible and Reducible Polynomials) (a)). - (e) No. In
, , so is reducible by Theorem 6.3.1. - (f) The Rational Root Theorem (Theorem 6.3.6), combined with Theorem 6.3.1.
B. Practice
Determine whether each polynomial is irreducible over each of the given fields. Justify your answers.
- (a)
over , , , and . - (b)
over and over . - (c)
over . - (d)
over . - (e)
over .
Solution.
- (a) Over
and : for real , , so there is no root, and is irreducible by Theorem 6.3.1. Over : , so is reducible. Over : , so is reducible. - (b) Over
: the values at and are and , so there is no root, and the cubic is irreducible by Theorem 6.3.1. Over : the value at is , so it is reducible; indeed in , as expanding shows: . - (c) By Theorem 6.3.6, a
rational root
in lowest terms has and , so it is or . The values are and . No rational root, so the cubic is irreducible over by Theorem 6.3.1. - (d) Reducible,
although it has no rational root (its values are at
least
): expanding, . This is the warning after Theorem 6.3.1 in action. - (e) Irreducible by
Theorem 6.3.7 with
: ; divides the coefficients of ; and .
Factor
Solution. Using
Over
List all irreducible polynomials over
Hint: a polynomial over
Solution. Every nonzero polynomial
over
Degree 1:
Degrees 2 and 3: by Theorem 6.3.1,
Hence the complete list is
C. Going deeper
Let
- (a) Prove that there
are infinitely many monic irreducible polynomials over
. - (b) Deduce that for
every prime
and every , there is an irreducible polynomial over of degree greater than . - (c) Explain why (a)
is immediate when
is infinite, and use Exercise (B3: Small Irreducibles Over ) to name an irreducible polynomial of degree over .
Hint for (a): imitate the proof that there are infinitely many primes (Theorem 0.2.13).
Solution.
- (a) Suppose, for a
contradiction, that
are all the monic irreducible polynomials over . The list is nonempty, since is monic and irreducible. Let . Each has degree at least , so by Theorem 0.8.3, and is nonconstant by Theorem 0.8.2. By Theorem 6.3.5 (a), has a monic irreducible factor, which must be some . Then and , so by Proposition 6.1.2 (b). By Proposition 6.1.2 (c), , contradicting . Hence there are infinitely many monic irreducibles. - (b) A monic
polynomial of degree
over is determined by its lower coefficients, so there are exactly of them, and there are monic polynomials of degree at most , a finite number. By (a), infinitely many monic irreducibles exist, so some of them have degree greater than . - (c) If
is infinite, the polynomials for are infinitely many distinct monic polynomials of degree , all irreducible by Example (First Irreducible and Reducible Polynomials) (a). Over a finite field there are only finitely many polynomials of degree , so the content of (a) is that irreducibles of higher and higher degree keep appearing. Over , for example, is irreducible of degree by Exercise (B3: Small Irreducibles Over ).
Let
- (a) Prove that
and for all , and that . - (b) Let
, and suppose divides every coefficient of . Prove that divides every coefficient of or every coefficient of . - (c) (Gauss’s
lemma.) Let
, and suppose with . Prove that there is a nonzero with and . - (d) Let
be a field, nonzero, , and with . Prove that and for some nonzero and . - (e) Prove Theorem 6.3.7.
Hint for (c): among all ways of writing
Solution.
- (a) By Example (Arithmetic on
and the Field ), and . Let and . The coefficient of in is , whose class is , the coefficient of in . The coefficient of in is , whose class is , the coefficient of in (Definition 0.8.2). Finally, if then , so has no nonzero coefficient beyond position . - (b) The hypothesis
says
. By (a), in . Since is prime, is a field (Theorem 0.7.3), so Corollary 0.8.4 gives or . That is, divides every coefficient of or every coefficient of . - (c) Choose positive
integers
with and , for instance the products of the denominators of the coefficients. Let be the set of positive integers for which there are with , , and . Then , so by Theorem 0.2.11 has a least element , with corresponding . Suppose . By Proposition 0.2.12, some prime divides . Now , and every coefficient of is divisible by . By (b) with the prime , divides every coefficient of or every coefficient of ; say the first (the other case is symmetric). Then , , and is a positive integer smaller than , which lies in . This contradicts the minimality of . Hence , so , and works. - (d) Since
, both are nonzero. Write , , let and be the smallest indices with and , and let , . The coefficient of in is . A term with has , and a term with has , so . So this coefficient is . The only nonzero coefficient of is at , so . By Theorem 0.8.3, also . Since and , this forces and . So has exactly one nonzero coefficient, , and likewise . - (e) Suppose
is reducible over : with , , , and . By (c), replacing by (which have the same degrees), we may assume . Write for their constant coefficients, so . Reduce modulo . By conditions (1) and (2), with . By (a), , so by (d), and with . By Theorem 0.8.3, , while and by (a). Hence and . So the constant coefficients of and are , that is, and . Then , contradicting condition (3). Therefore is irreducible over ; it is nonconstant since .