Gauss's lemma (polynomials)

Last updated

In algebra, Gauss's lemma, [1] named after Carl Friedrich Gauss, is a theorem [note 1] 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.

Contents

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. [note 2] )

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. [2] 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.

The lemma over the integers

If is a polynomial with integer coefficients, then is called primitive if the greatest common divisor of all the coefficients is 1; in other words, no prime number divides all the coefficients.

Gauss's lemma (primitivity)  If P(X) and Q(X) are primitive polynomials over the integers, their product P(X)Q(X) 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 cannot 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, whose coefficient is

The term arbs 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.

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.

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 R 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 of polynomials is the product of their individual contents.

Irreducibility statement: Let R be a unique factorization domain and F its field of fractions. A non-constant polynomial in is irreducible in if and only if it is both irreducible in and primitive in .

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

Let be a unique factorization domain with field of fractions . If is a polynomial over then for some in , has coefficients in , and so – factoring out the gcd of the coefficients – we can write for some primitive polynomial . As one can check, this polynomial is unique up to the multiplication by a unit and is called the primitive part (or primitive representative) of and is denoted by . The procedure is compatible with product: .

The construct can be used to show the statement:

Indeed, by induction, it is enough to show is a UFD when is a UFD. Let be a non-zero polynomial. Now, is a unique factorization domain (since it is a principal ideal domain) and so, as a polynomial in , can be factorized as:

where are irreducible polynomials of . Now, we write for the gcd of the coefficients of (and is the primitive part) and then:

Now, is a product of prime elements of (since is a UFD) and a prime element of is a prime element of , as is an integral domain. Hence, admits a prime factorization (or a unique factorization into irreducibles). Next, observe that is a unique factorization into irreducible elements of , as (1) each is irreducible by the irreducibility statement and (2) it is unique since the factorization of can also be viewed as a factorization in and factorization there is unique. Since and are uniquely determined by up to unit elements, the above factorization of is a unique factorization into irreducible elements.

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 non-zero 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[i√5], p = 1 + i√5, a = 1 − i√5, 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[i√5]). Another well-known example is the polynomial X2X − 1, 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 X2X − 1 becomes reducible, but in the former example R is already integrally closed.

General version

Let be a commutative ring. If is a polynomial in , then we write for the ideal of generated by all the coefficients of ; it is called the content of . Note that for each in . The next proposition states a more substantial property.

Proposition [3]   For each pair of polynomials in ,

where denotes the radical of an ideal. Moreover, if is a GCD domain (e.g., a unique factorization domain), then

where denotes the unique minimal principal ideal containing a finitely generated ideal . [note 3]

A polynomial is said to be primitive if is the unit ideal . [4] When (or more generally when is a Bézout domain), this agrees with the usual definition of a primitive polynomial. (But if is only a UFD, this definition is inconsistent with the definition of primitivity in #Statements for unique factorization domains.)

Corollary [2]   Two polynomials are primitive if and only if the product is primitive.

Proof: This is easy using the fact [5] that implies

Corollary [6]   Suppose is a GCD domain (e.g., a unique factorization domain) with the field of fractions . Then a non-constant polynomial in is irreducible if and only if it is irreducible in and the gcd of the coefficients of is 1.

Proof: () First note that the gcd of the coefficients of is 1 since, otherwise, we can factor out some element from the coefficients of to write , contradicting the irreducibility of . Next, suppose for some non-constant polynomials in . Then, for some , the polynomial has coefficients in and so, by factoring out the gcd of the coefficients, we write . Do the same for and we can write for some . Now, let for some . Then . From this, using the proposition, we get:

.

That is, divides . Thus, and then the factorization constitutes a contradiction to the irreducibility of .

() If is irreducible over , then either it is irreducible over or it contains a constant polynomial as a factor, the second possibility is ruled out by the assumption.

Proof of the proposition: Clearly, . If is a prime ideal containing , then modulo . Since is a polynomial ring over an integral domain and thus is an integral domain, this implies either or modulo . Hence, either or is contained in . Since is the intersection of all prime ideals that contain and the choice of was arbitrary, .

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

.

Thus, either contains or ; contradicting the gcd's of the coefficients of are both 1.

Applications

It follows from Gauss's lemma that for each unique factorization domain , the polynomial ring 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 , 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 be a root of in and assume are relatively prime. In we can write with for some . Then

is a factorization in . But is primitive (in the UFD sense) and thus divides the coefficients of by Gauss's lemma, and so

with in . Since is monic, this is possible only when is a unit.

A similar argument shows:

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

Notes

  1. This theorem is called a lemma for historical reasons.
  2. The indefinite article is used here since, when the coefficients belong to a unique factorization domain, "greatest" refers to the preorder of divisibility, rather than to the natural order of the integers, and, generally, there are several greatest common divisors.
  3. A generator of the principal ideal is a gcd of some generators of I (and it exists because is a GCD domain).
  4. 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 , then .
    (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 ; that is, we assume the proposition has been established for any pair of polynomials with one less total number of the terms. Let ; i.e., is the gcd of the coefficients of . Assume ; otherwise, we are done. Let denote the highest-degree terms of in terms of lexicographical monomial ordering. Then is precisely the leading term of and so divides the (unique) coefficient of (since it divides all the coefficients of ). Now, if does not have a common factor with the (unique) coefficient of and does not have a common factor with that of , then, by the above lemma, . But divides the coefficient of ; so this is a contradiction. Thus, either has a common factor with the coefficient of or does with that of ; say, the former is the case. Let . Since divides the coefficients of , by inductive hypothesis,
    .
    Since contains , it contains ; i.e., , a contradiction.
  5. In other words, it says that a unique factorization domain is integrally closed.

Related Research Articles

In mathematics, Bézout's identity, named after Étienne Bézout who proved it for polynomials, is the following theorem:

<span class="mw-page-title-main">Euclidean algorithm</span> Algorithm for computing greatest common divisors

In mathematics, the Euclidean algorithm, or Euclid's algorithm, is an efficient method for computing the greatest common divisor (GCD) of two integers (numbers), the largest number that divides them both without a remainder. It is named after the ancient Greek mathematician Euclid, who first described it in his Elements . It is an example of an algorithm, a step-by-step procedure for performing a calculation according to well-defined rules, and is one of the oldest algorithms in common use. It can be used to reduce fractions to their simplest form, and is a part of many other number-theoretic and cryptographic calculations.

<span class="mw-page-title-main">Fundamental theorem of arithmetic</span> Integers have unique prime factorizations

In mathematics, the fundamental theorem of arithmetic, also called the unique factorization theorem and prime factorization theorem, states that every integer greater than 1 can be represented uniquely as a product of prime numbers, up to the order of the factors. For example,

In mathematics, an integral domain is a nonzero commutative ring in which the product of any two nonzero elements is nonzero. Integral domains are generalizations of the ring of integers and provide a natural setting for studying divisibility. In an integral domain, every nonzero element a has the cancellation property, that is, if a ≠ 0, an equality ab = ac implies b = c.

In mathematics, a principal ideal domain, or PID, is an integral domain in which every ideal is principal, i.e., can be generated by a single element. More generally, a principal ideal ring is a nonzero commutative ring whose ideals are principal, although some authors refer to PIDs as principal rings. The distinction is that a principal ideal ring may have zero divisors whereas a principal ideal domain cannot.

In mathematics, a unique factorization domain (UFD) is a ring in which a statement analogous to the fundamental theorem of arithmetic holds. Specifically, a UFD is an integral domain in which every non-zero non-unit element can be written as a product of irreducible elements, uniquely up to order and units.

In mathematics, specifically in abstract algebra, a prime element of a commutative ring is an object satisfying certain properties similar to the prime numbers in the integers and to irreducible polynomials. Care should be taken to distinguish prime elements from irreducible elements, a concept that is the same in UFDs but not the same in general.

<span class="mw-page-title-main">Factorization</span> (Mathematical) decomposition into a product

In mathematics, factorization (or factorisation, see English spelling differences) or factoring consists of writing a number or another mathematical object as a product of several factors, usually smaller or simpler objects of the same kind. For example, 3 × 5 is an integer factorization of 15, and (x – 2)(x + 2) is a polynomial factorization of x2 – 4.

<span class="mw-page-title-main">Root of unity</span> Number that has an integer power equal to 1

In mathematics, a root of unity, occasionally called a de Moivre number, is any complex number that yields 1 when raised to some positive integer power n. Roots of unity are used in many branches of mathematics, and are especially important in number theory, the theory of group characters, and the discrete Fourier transform.

In mathematics, an irreducible polynomial is, roughly speaking, a polynomial that cannot be factored into the product of two non-constant polynomials. The property of irreducibility depends on the nature of the coefficients that are accepted for the possible factors, that is, the ring to which the coefficients of the polynomial and its possible factors are supposed to belong. For example, the polynomial x2 − 2 is a polynomial with integer coefficients, but, as every integer is also a real number, it is also a polynomial with real coefficients. It is irreducible if it is considered as a polynomial with integer coefficients, but it factors as if it is considered as a polynomial with real coefficients. One says that the polynomial x2 − 2 is irreducible over the integers but not over the reals.

In mathematics, especially in the field of algebra, a polynomial ring or polynomial algebra is a ring formed from the set of polynomials in one or more indeterminates with coefficients in another ring, often a field.

In mathematics, Eisenstein's criterion gives a sufficient condition for a polynomial with integer coefficients to be irreducible over the rational numbers – that is, for it to not be factorizable into the product of non-constant polynomials with rational coefficients.

In mathematics, Hensel's lemma, also known as Hensel's lifting lemma, named after Kurt Hensel, is a result in modular arithmetic, stating that if a univariate polynomial has a simple root modulo a prime number p, then this root can be lifted to a unique root modulo any higher power of p. More generally, if a polynomial factors modulo p into two coprime polynomials, this factorization can be lifted to a factorization modulo any higher power of p.

In mathematics, a GCD domain is an integral domain R with the property that any two elements have a greatest common divisor (GCD); i.e., there is a unique minimal principal ideal containing the ideal generated by two given elements. Equivalently, any two elements of R have a least common multiple (LCM).

In mathematics, a Bézout domain is a form of a Prüfer domain. It is an integral domain in which the sum of two principal ideals is again a principal ideal. This means that for every pair of elements a Bézout identity holds, and that every finitely generated ideal is principal. Any principal ideal domain (PID) is a Bézout domain, but a Bézout domain need not be a Noetherian ring, so it could have non-finitely generated ideals ; if so, it is not a unique factorization domain (UFD), but still is a GCD domain. The theory of Bézout domains retains many of the properties of PIDs, without requiring the Noetherian property. Bézout domains are named after the French mathematician Étienne Bézout.

In mathematics and computer algebra, factorization of polynomials or polynomial factorization expresses a polynomial with coefficients in a given field or in the integers as the product of irreducible factors with coefficients in the same domain. Polynomial factorization is one of the fundamental components of computer algebra systems.

In field theory, a branch of mathematics, the minimal polynomial of an element α of an extension field of a field is, roughly speaking, the polynomial of lowest degree having coefficients in the smaller field, such that α is a root of the polynomial. If the minimal polynomial of α exists, it is unique. The coefficient of the highest-degree term in the polynomial is required to be 1.

In algebra, the greatest common divisor of two polynomials is a polynomial, of the highest possible degree, that is a factor of both the two original polynomials. This concept is analogous to the greatest common divisor of two integers.

In algebra, the content of a nonzero polynomial with integer coefficients is the greatest common divisor of its coefficients. The primitive part of such a polynomial is the quotient of the polynomial by its content. Thus a polynomial is the product of its primitive part and its content, and this factorization is unique up to the multiplication of the content by a unit of the ring of the coefficients.

In mathematics and computer algebra the factorization of a polynomial consists of decomposing it into a product of irreducible factors. This decomposition is theoretically possible and is unique for polynomials with coefficients in any field, but rather strong restrictions on the field of the coefficients are needed to allow the computation of the factorization by means of an algorithm. In practice, algorithms have been designed only for polynomials with coefficients in a finite field, in the field of rationals or in a finitely generated field extension of one of them.

References

  1. Article 42 of Carl Friedrich Gauss's Disquisitiones Arithmeticae (1801)
  2. 1 2 Atiyah & Macdonald 1969 , Ch. 1., Exercise 2. (iv) and Exercise 3.
  3. Eisenbud 1995, Exercise 3.4. (a)
  4. Atiyah & Macdonald 1969 , Ch. 1., Exercise 2. (iv)
  5. Atiyah & Macdonald 1969 , Ch. 1., Exercise 1.13.
  6. Eisenbud 1995, Exercise 3.4.c; The case when R is a UFD.