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. 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 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, "rational numbers" must be replaced by "field of fractions of ". This implies that, if is either a field, the ring of integers, or a unique factorization domain, then every polynomial ring over 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 in all implemented algorithms.
Gauss's lemma, and all its consequences that do not involve the existence of a complete factorization remain true over any GCD domain. 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.
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.Proof: Clearly the product f.g 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 or g. Let arxr be the first term of f not divisible by p and let bsxs be the first term of g not divisible by p. Now consider the term xr + s in the product. Its coefficient must take the form:
The first term is not divisible by p, 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.
The proof is given below for the more general case. Note that an irreducible element of Z is still irreducible when viewed as constant polynomial in Z; 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 of a polynomial can be defined as the greatest common divisor of the coefficients of . A polynomial with coefficients in a UFD is then said to be primitive if the only elements of that divide all coefficients of at once are the invertible elements of ; i.e., the gcd of the coefficients is one.Primitivity statement: If is a UFD, then the set of primitive polynomials in is closed under multiplication. More generally, the content of a product of polynomials is the product of their contents.
Irreducibility statement: Let be a unique factorization domain and its field of fractions. A non-constant polynomial in is irreducible in if and only if it is both irreducible in and primitive in.
Let be a unique factorization domain with field of fractions. If is a polynomial over, then, for some, 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 element and is called the primitive part of and is denoted by. The procedure is compatible with product:.
The construct can be used to show the statement:
- A polynomial ring over a UFD is a UFD.
where are irreducible polynomials of. Now, we write for the gcd of the coefficients of and then:
Now, is a product of prime elements of and a prime element of is a prime element of, as is an integral domain. Hence, admits a prime factorization. Next, observe that is a unique factorization into irreducible elements of, as each is irreducible by the irreducibility statement and it is unique since the factorization of can also be viewed as a factorization in and factorization there is unique. Since 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 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 with p and q irreducible elements that do not divide any of the factors on the other side, the product shows the failure of the primitivity statement. For a concrete example one can take,,,,. In this example the polynomial provides an example of the failure of the irreducibility statement. Another well known example is the polynomial, whose roots are the golden ratio and its conjugate showing that it is reducible over the field, although it is irreducible over the non-UFD which has as field of fractions. In the latter example the ring can be made into an UFD by taking its integral closure in , over which 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. The next proposition states a more substantial property.A polynomial is said to be primitive if is the unit ideal. When , this agrees with the usual definition of a primitive polynomial.
Proof: This is easy using the fact that implies
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. 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.
- Remark: Over a GCD domain, the gcd of all the coefficients of a polynomial, unique up to unit elements, is also called the content of.
Applications
Gauss's lemma implies the following statement:
- If is a monic polynomial in one variable with coefficients in a unique factorization domain , then a root of that is in the field of fractions of is in.
is a factorization in. But is primitive 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:
- Let be a GCD domain with the field of fractions and. If for some polynomial that is primitive in the UFD sense and, then.