Submitted Successfully!
To reward your contribution, here is a gift for you: A free trial for our video production service.
Thank you for your contribution! You can also upload a video entry or images related to this topic.
Version Summary Created by Modification Content Size Created at Operation
1 handwiki -- 3142 2022-11-28 01:37:07

Do you have a full video?

# Confirm

Are you sure to Delete?
Cite
HandWiki. Gauss's Lemma (Polynomial). Encyclopedia. Available online: https://encyclopedia.pub/entry/36796 (accessed on 14 June 2024).
HandWiki. Gauss's Lemma (Polynomial). Encyclopedia. Available at: https://encyclopedia.pub/entry/36796. Accessed June 14, 2024.
HandWiki. "Gauss's Lemma (Polynomial)" Encyclopedia, https://encyclopedia.pub/entry/36796 (accessed June 14, 2024).
HandWiki. (2022, November 28). Gauss's Lemma (Polynomial). In Encyclopedia. https://encyclopedia.pub/entry/36796
HandWiki. "Gauss's Lemma (Polynomial)." Encyclopedia. Web. 28 November, 2022.
Gauss's Lemma (Polynomial)

In algebra, Gauss's lemma, named after Carl Friedrich Gauss, is a statement about polynomials over the integers, or, more generally, over a unique factorization domain (that is, a ring that has a unique factorization property similar to the fundamental theorem of arithmetic). Gauss's lemma underlies all the theory of factorization and greatest common divisors of such polynomials. Gauss's lemma asserts that the product of two primitive polynomials is primitive (a polynomial with integer coefficients is primitive if it has 1 as a greatest common divisor of its coefficients). A corollary of Gauss's lemma, sometimes also called Gauss's lemma, is that a primitive polynomial is irreducible over the integers if and only if it is irreducible over the rational numbers. More generally, a primitive polynomial has the same complete factorization over the integers and over the rational numbers. In the case of coefficients in a unique factorization domain R, "rational numbers" must be replaced by "field of fractions of R". This implies that, if R is either a field, the ring of integers, or a unique factorization domain, then every polynomial ring (in one or several indeterminates) over R is a unique factorization domain. Another consequence is that factorization and greatest common divisor computation of polynomials with integers or rational coefficients may be reduced to similar computations on integers and primitive polynomials. This is systematically used (explicitly or implicitly) in all implemented algorithms (see Polynomial greatest common divisor and Factorization of polynomials). Gauss's lemma, and all its consequences that do not involve the existence of a complete factorization remain true over any GCD domain (an integral domain over which greatest common divisors exist). In particular, a polynomial ring over a GCD domain is also a GCD domain. If one calls primitive a polynomial such that the coefficients generate the unit ideal, Gauss's lemma is true over every commutative ring. However, some care must be taken, when using this definition of primitive, as, over a unique factorization domain that is not a principal ideal domain, there are polynomials that are primitive in the above sense and not primitive in this new sense.

primitive polynomial greatest common divisor unique factorization

## 1. The Lemma over the Integers

If $\displaystyle{ F(X) = a_0 + a_1 X + \dots + a_n X^n }$ is a polynomial with integer coefficients, then $\displaystyle{ F }$ is called primitive if the greatest common divisor of all the coefficients $\displaystyle{ a_0, a_1, \dots, a_n }$ is 1; in other words, no prime number divides all the coefficients.

Gauss's lemma (primitivity) — If P and Q are primitive polynomials over the integers, then product PQ is also primitive.

Proof: Clearly the product f(x).g(x) of two primitive polynomials has integer coefficients. Therefore, if it is not primitive, there must be a prime p which is a common divisor of all its coefficients. But p can not divide all the coefficients of either f(x) or g(x) (otherwise they would not be primitive). Let arxr be the first term of f(x) not divisible by p and let bsxs be the first term of g(x) not divisible by p. Now consider the term xr + s in the product. Its coefficient must take the form:

$\displaystyle{ a_r b_s + a_{r+1} b_{s-1} + a_{r+2} b_{s-2} + \cdots + a_{r-1} b_{s+1} + a_{r-2} b_{s+2} + \cdots\, }$

The first term is not divisible by p (because p is prime), yet all the remaining ones are, so the entire sum cannot be divisible by p. By assumption all coefficients in the product are divisible by p, leading to a contradiction. Therefore, the coefficients of the product can have no common divisor and are thus primitive. $\displaystyle{ \square }$

Gauss's lemma (irreducibility) — A non-constant polynomial in Z[X] is irreducible in Z[X] if and only if it is both irreducible in Q[X] and primitive in Z[X].

The proof is given below for the more general case. Note that an irreducible element of Z (a prime number) is still irreducible when viewed as constant polynomial in Z[X]; this explains the need for "non-constant" in the statement.

## 2. Statements for Unique Factorization Domains

Gauss's lemma holds more generally over arbitrary unique factorization domains. There the content c(P) of a polynomial P can be defined as the greatest common divisor of the coefficients of P (like the gcd, the content is actually a set of associate elements). A polynomial P with coefficients in a UFD is then said to be primitive if the only elements of R that divide all coefficients of P at once are the invertible elements of R; i.e., the gcd of the coefficients is one.

Primitivity statement: If R is a UFD, then the set of primitive polynomials in R[X] is closed under multiplication. More generally, the content of a product $\displaystyle{ fg }$ of polynomials is the product $\displaystyle{ c(f)c(g) }$ of their contents.

Irreducibility statement: Let R be a unique factorization domain and F its field of fractions. A non-constant polynomial $\displaystyle{ f }$ in $\displaystyle{ R[x] }$ is irreducible in $\displaystyle{ R[x] }$ if and only if it is both irreducible in $\displaystyle{ F[x] }$ and primitive in $\displaystyle{ R[x] }$.

(For the proofs, see #General version below.)

Let $\displaystyle{ R }$ be a unique factorization domain with field of fractions $\displaystyle{ F }$. If $\displaystyle{ f \in F[x] }$ is a polynomial over $\displaystyle{ F }$, then, for some $\displaystyle{ d \in R }$, $\displaystyle{ df }$ has coefficients in $\displaystyle{ R }$ and so, factoring-out the gcd $\displaystyle{ q }$ of the coefficients, we can write: $\displaystyle{ df = qf' }$ for some primitive polynomial $\displaystyle{ f' \in R[x] }$. As one can check, this polynomial $\displaystyle{ f' }$ is unique up to the multiplication by a unit element and is called the primitive part (or primitive representative) of $\displaystyle{ f }$ and is denoted by $\displaystyle{ \operatorname{pp}(f) }$. The procedure is compatible with product: $\displaystyle{ \operatorname{pp}(fg) = \operatorname{pp}(f)\operatorname{pp}(g) }$.

The construct can be used to show the statement:

• A polynomial ring over a UFD is a UFD.

Indeed, by induction, it is enough to show $\displaystyle{ R[x] }$ is a UFD when $\displaystyle{ R }$ is a UFD. Let $\displaystyle{ f \in R[x] }$ be a nonzero polynomial. Now, $\displaystyle{ F[x] }$ is a unique factorization domain (since it is a principal ideal domain) and so, as a polynomial in $\displaystyle{ F[x] }$, $\displaystyle{ f }$ can be factorized as:

$\displaystyle{ f = g_1 g_2 \dots g_r }$

where $\displaystyle{ g_i }$ are irreducible polynomials of $\displaystyle{ F[x] }$. Now, we write $\displaystyle{ f = c f' }$ for the gcd $\displaystyle{ c }$ of the coefficients of $\displaystyle{ f }$ (and $\displaystyle{ f' }$ is the primitive part) and then:

$\displaystyle{ f = c f' = c \operatorname{pp}(g_1) \operatorname{pp}(g_2) \cdots \operatorname{pp}(g_r). }$

Now, $\displaystyle{ c }$ is a product of prime elements of $\displaystyle{ R }$ (since $\displaystyle{ R }$ is a UFD) and a prime element of $\displaystyle{ R }$ is a prime element of $\displaystyle{ R[x] }$, as $\displaystyle{ R[x]/(p) \cong R/(p)[x] }$ is an integral domain. Hence, $\displaystyle{ c }$ admits a prime factorization (or a unique factorization into irreducibles). Next, observe that $\displaystyle{ f' = \operatorname{pp}(g_1) \cdots \operatorname{pp}(g_r) }$ is a unique factorization into irreducible elements of $\displaystyle{ R[x] }$, as (1) each $\displaystyle{ \operatorname{pp}(g_i) }$ is irreducible by the irreducibility statement and (2) it is unique since the factorization of $\displaystyle{ f' }$ can also be viewed as a factorization in $\displaystyle{ F[x] }$ and factorization there is unique. Since $\displaystyle{ c, f' }$ are uniquely determined by $\displaystyle{ f }$, up to unit elements, the above factorization of $\displaystyle{ f }$ is a unique factorization into irreducible elements. $\displaystyle{ \square }$

The condition that "R is a unique factorization domain" is not superfluous because it implies that every irreducible element of this ring is also a prime element, which in turn implies that every nonzero element of R has at most one factorization into a product of irreducible elements and a unit up to order and associate relationship. In a ring where factorization is not unique, say pa = qb with p and q irreducible elements that do not divide any of the factors on the other side, the product (p + qX)(a + qX) = pa + (p+a)qX + q2X2 = q(b + (p+a)X + qX2) shows the failure of the primitivity statement. For a concrete example one can take R = Z[i5], p = 1 + i5, a = 1 - i5, q = 2, b = 3. In this example the polynomial 3 + 2X + 2X2 (obtained by dividing the right hand side by q = 2) provides an example of the failure of the irreducibility statement (it is irreducible over R, but reducible over its field of fractions Q[i5]). Another well known example is the polynomial X2X1, whose roots are the golden ratio φ = (1 + √5)/2 and its conjugate (1 − √5)/2 showing that it is reducible over the field Q[√5], although it is irreducible over the non-UFD Z[√5] which has Q[√5] as field of fractions. In the latter example the ring can be made into an UFD by taking its integral closure Z[φ] in Q[√5] (the ring of Dirichlet integers), over which X2X1 becomes reducible, but in the former example R is already integrally closed.

## 3. General Version

Let $\displaystyle{ R }$ be a commutative ring. If $\displaystyle{ f }$ is a polynomial in $\displaystyle{ R[x_1, \dots, x_n] }$, then we write $\displaystyle{ \operatorname{cont}(f) }$ for the ideal of $\displaystyle{ R }$ generated by all the coefficients of $\displaystyle{ f }$; it is called the content of $\displaystyle{ f }$. Note that $\displaystyle{ \operatorname{cont}(af) = a\operatorname{cont}(f) }$ for each $\displaystyle{ a \in R }$. The next proposition states a more substantial property.

Proposition[1] — For each pair of polynomials $\displaystyle{ f, g }$ in $\displaystyle{ R[x_1, \dots, x_n] }$,

$\displaystyle{ \operatorname{cont}(fg) \subset \operatorname{cont}(f)\operatorname{cont}(g) \subset \sqrt{\operatorname{cont}(fg)} }$

where $\displaystyle{ \sqrt{\cdot} }$ denotes the radical of an ideal. Moreover, if $\displaystyle{ R }$ is a GCD domain (e.g., a unique factorization domain), then

$\displaystyle{ \operatorname{gcd}(\operatorname{cont}(fg)) = \operatorname{gcd}(\operatorname{cont}(f)) \operatorname{gcd}(\operatorname{cont}(g)) }$

where $\displaystyle{ \operatorname{gcd}(I) }$ denotes the unique minimal principal ideal containing a finitely generated ideal $\displaystyle{ I }$.[2]

A polynomial $\displaystyle{ f }$ is said to be primitive if $\displaystyle{ \operatorname{cont}(f) = (1) }$ is the unit ideal.[3] When $\displaystyle{ R = \mathbb{Z} }$ (or more generally a Bézout domain), this agrees with the usual definition of a primitive polynomial. (But if $\displaystyle{ R }$ is only a UFD, this definition is inconsistent with the definition of primitivity in #Statements for unique factorization domains.)

Corollary[4] — Two polynomials $\displaystyle{ f, g }$ are primitive if and only if the product $\displaystyle{ fg }$ is primitive.

Proof: This is easy using the fact[5] that $\displaystyle{ \sqrt{I} = (1) }$ implies $\displaystyle{ I = (1). }$ $\displaystyle{ \square }$

Corollary[6] — Suppose $\displaystyle{ R }$ is a GCD domain (e.g., a unique factorization domain) with the field of fractions $\displaystyle{ F }$. Then a non-constant polynomial $\displaystyle{ f }$ in $\displaystyle{ R[x] }$ is irreducible if and only if it is irreducible in $\displaystyle{ F[x] }$ and the gcd of the coefficients of $\displaystyle{ f }$ is 1.

Proof: ($\displaystyle{ \Rightarrow }$) First note that the gcd of the coefficients of $\displaystyle{ f }$ is 1 since, otherwise, we can factor out some element $\displaystyle{ c \in R }$ from the coefficients of $\displaystyle{ f }$ to write $\displaystyle{ f = cf' }$, contradicting the irreducibility of $\displaystyle{ f }$. Next, suppose $\displaystyle{ f = gh }$ for some non-constant polynomials $\displaystyle{ g, h }$ in $\displaystyle{ F[x_1, \dots, x_n] }$. Then, for some $\displaystyle{ d \in R }$, the polynomial $\displaystyle{ dg }$ has coefficients in $\displaystyle{ R }$ and so, by factoring out the gcd $\displaystyle{ q }$ of the coefficients, we write $\displaystyle{ dg = qg' }$. Do the same for $\displaystyle{ h }$ and we can write $\displaystyle{ f = c g'h' }$ for some $\displaystyle{ c \in F }$. Now, let $\displaystyle{ c = a/b }$ for some $\displaystyle{ a, b \in R }$. Then $\displaystyle{ bf = a g'h' }$. From this, using the proposition, we get:

$\displaystyle{ (b) \supset \operatorname{gcd}(\operatorname{cont}(bf)) = (a) }$.

That is, $\displaystyle{ b }$ divides $\displaystyle{ a }$. Thus, $\displaystyle{ c \in R }$ and then the factorization $\displaystyle{ f = c g'h' }$ constitutes a contradiction to the irreducibility of $\displaystyle{ f }$.

($\displaystyle{ \Leftarrow }$) If $\displaystyle{ f }$ is irreducible over $\displaystyle{ F }$, then either it is irreducible over $\displaystyle{ R }$ or it contains a constant polynomial as a factor, the second possibility is ruled out by the assumption. $\displaystyle{ \square }$

Proof of the proposition: Clearly, $\displaystyle{ \operatorname{cont}(fg) \subset \operatorname{cont}(f) \operatorname{cont}(g) }$. If $\displaystyle{ \mathfrak{p} }$ is a prime ideal containing $\displaystyle{ \operatorname{cont}(fg) }$, then $\displaystyle{ fg \equiv 0 }$ modulo $\displaystyle{ \mathfrak{p} }$. Since $\displaystyle{ R/\mathfrak{p}[x_1, \dots, x_n] }$ is a polynomial ring over an integral domain and thus is an integral domain, this implies either $\displaystyle{ f \equiv 0 }$ or $\displaystyle{ g \equiv 0 }$ modulo $\displaystyle{ \mathfrak{p} }$. Hence, either $\displaystyle{ \operatorname{cont}(f) }$ or $\displaystyle{ \operatorname{cont}(g) }$ is contained in $\displaystyle{ \mathfrak{p} }$. Since $\displaystyle{ \sqrt{\operatorname{cont}(fg)} }$ is the intersection of all prime ideals that contain $\displaystyle{ \operatorname{cont}(fg) }$ and the choice of $\displaystyle{ \mathfrak p }$ was arbitrary, $\displaystyle{ \operatorname{cont}(f) \operatorname{cont}(g) \subset \sqrt{\operatorname{cont}(fg)} }$.

We now prove the "moreover" part. Factoring out the gcd’s from the coefficients, we can write $\displaystyle{ f = a f' }$ and $\displaystyle{ g = b g' }$ where the gcds of the coefficients of $\displaystyle{ f', g' }$ are both 1. Clearly, it is enough to prove the assertion when $\displaystyle{ f, g }$ are replaced by $\displaystyle{ f', g' }$; thus, we assume the gcd's of the coefficients of $\displaystyle{ f, g }$ are both 1. The rest of the proof is easy and transparent if $\displaystyle{ R }$ is a unique factorization domain; thus we give the proof in that case here (and see [7] for the proof for the GCD case). If $\displaystyle{ \gcd(\operatorname{cont}(fg)) = (1) }$, then there is nothing to prove. So, assume otherwise; then there is a non-unit element dividing the coefficients of $\displaystyle{ fg }$. Factorizing that element into a product of prime elements, we can take that element to be a prime element $\displaystyle{ \pi }$. Now, we have:

$\displaystyle{ (\pi) = \sqrt{(\pi)} \supset \sqrt{\operatorname{cont}(fg)} \supset \operatorname{cont}(f) \operatorname{cont}(g) }$.

Thus, either $\displaystyle{ (\pi) }$ contains $\displaystyle{ \operatorname{cont}(f) }$ or $\displaystyle{ \operatorname{cont}(g) }$; contradicting the gcd's of the coefficients of $\displaystyle{ f, g }$ are both 1. $\displaystyle{ \square }$

• Remark: Over a GCD domain (e.g., a unique factorization domain), the gcd of all the coefficients of a polynomial $\displaystyle{ f }$, unique up to unit elements, is also called the content of $\displaystyle{ f }$.

## 4. Applications

It follows from Gauss's lemma that for each unique factorization domain $\displaystyle{ R }$, the polynomial ring $\displaystyle{ R[X_1, X_2,. .., X_n] }$ is also a unique factorization domain (see #Statements for unique factorization domains). Gauss's lemma can also be used to show Eisenstein's irreducibility criterion. Finally, it can be used to show that cyclotomic polynomials (unitary units with integer coefficients) are irreducible.

Gauss's lemma implies the following statement:

• If $\displaystyle{ f(x) }$ is a monic polynomial in one variable with coefficients in a unique factorization domain $\displaystyle{ R }$ (or more generally a GCD domain), then a root of $\displaystyle{ f }$ that is in the field of fractions $\displaystyle{ F }$ of $\displaystyle{ R }$ is in $\displaystyle{ R }$.[8]

If $\displaystyle{ R = \mathbb{Z} }$, then it says a rational root of a monic polynomial over integers is an integer (cf. the rational root theorem). To see the statement, let $\displaystyle{ a/b }$ be a root of $\displaystyle{ f }$ in $\displaystyle{ F }$ and assume $\displaystyle{ a, b }$ are relatively prime. In $\displaystyle{ F[x] }$, we can write $\displaystyle{ f = (x - a/b)g }$ with $\displaystyle{ cg \in R[x] }$ for some $\displaystyle{ c \in R }$. Then

$\displaystyle{ cb f = (bx - a)cg }$,

is a factorization in $\displaystyle{ R[x] }$. But $\displaystyle{ bx - a }$ is primitive (in the UFD sense) and thus $\displaystyle{ cb }$ divides the coefficients of $\displaystyle{ cg }$ by Gauss's lemma and so

$\displaystyle{ f = (bx - a)h }$,

with $\displaystyle{ h }$ in $\displaystyle{ R[x] }$. Since $\displaystyle{ f }$ is monic, this is possible only when $\displaystyle{ b }$ is a unit.

A similar argument shows:

• Let $\displaystyle{ R }$ be a GCD domain with the field of fractions $\displaystyle{ F }$ and $\displaystyle{ f \in R[x] }$. If $\displaystyle{ f = gh }$ for some polynomial $\displaystyle{ g \in R[x] }$ that is primitive in the UFD sense and $\displaystyle{ h \in F[x] }$, then $\displaystyle{ h \in R[x] }$.

The irreducibility statement also implies that the minimal polynomial over the rational numbers of an algebraic integer has integer coefficients.

### References

1. Eisenbud, Exercise 3.4. (a)
2. A generator of the principal ideal is a gcd of some generators of I (and it exists because $\displaystyle{ R }$ is a GCD domain).
3. Atiyah & MacDonald, Ch. 1., Exercise 2. (iv)
4. Atiyah & MacDonald, Ch. 1., Exercise 2. (iv) and Exercise 3.
5. Atiyah & MacDonald, Ch. 1., Exercise 1.13.
6. Eisenbud, Exercise 3.4.c; The case when R is a UFD.
7. Proof for the GCD case: The proof here is adopted from Mines, R.; Richman, F.; Ruitenburg, W. (1988). A Course in Constructive Algebra. Universitext. Springer-Verlag. ISBN 0-387-96640-4.  We need the following simple lemma about gcd: If $\displaystyle{ \gcd(a, b) = \gcd(a, c) = 1 }$, then $\displaystyle{ \gcd(a, bc) = 1 }$. (The proof of the lemma is not trivial but is by elementary algebra.) We argue by induction on the sum of the numbers of the terms in $\displaystyle{ f, g }$; that is, we assume the proposition has been established for any pair of polynomials with one less total number of the terms. Let $\displaystyle{ (c) = \gcd(\operatorname(fg)) }$; i.e., $\displaystyle{ c }$ is the gcd of the coefficients of $\displaystyle{ fg }$. Assume $\displaystyle{ (c) \ne (1) }$; otherwise, we are done. Let $\displaystyle{ f_0, g_0 }$ denote the highest-degree terms of $\displaystyle{ f, g }$ in terms of lexicographical monomial ordering. Then $\displaystyle{ f_0g_0 }$ is precisely the leading term of $\displaystyle{ fg }$ and so $\displaystyle{ c }$ divides the (unique) coefficient of $\displaystyle{ f_0g_0 }$ (since it divides all the coefficients of $\displaystyle{ fg }$). Now, if $\displaystyle{ c }$ does not have a common factor with the (unique) coefficient of $\displaystyle{ f_0 }$ and does not have a common factor with that of $\displaystyle{ g_0 }$, then, by the above lemma, $\displaystyle{ \gcd(c, \operatorname(f_0g_0)) = (1) }$. But $\displaystyle{ c }$ divides the coefficient of $\displaystyle{ f_0g_0 }$; so this is a contradiction. Thus, either $\displaystyle{ c }$ has a common factor with the coefficient of $\displaystyle{ f_0 }$ or does with that of $\displaystyle{ g_0 }$; say, the former is the case. Let $\displaystyle{ (d) = \operatorname(c, \operatorname(f_0)) }$. Since $\displaystyle{ d }$ divides the coefficients of $\displaystyle{ fg - f_0g = (f - f_0)g }$, by inductive hypothesis, $\displaystyle{ (d) \supset \operatorname(\operatorname((f - f_0)g)) = \operatorname(\operatorname(f - f_0)) \operatorname(\operatorname(g)) = \operatorname(\operatorname(f - f_0)) }$. Since $\displaystyle{ (d) }$ contains $\displaystyle{ \operatorname(f_0) }$, it contains $\displaystyle{ \operatorname(f) }$; i.e., $\displaystyle{ (d) = (1) }$, a contradiction. $\displaystyle{ \square }$
8. In other words, it says that a unique factorization domain is integrally closed.
More
Information
Subjects:
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register :
View Times: 2.8K
Entry Collection:
Revision: 1 time (View History)
Update Date: 28 Nov 2022
1000/1000