Proof Let be a prime element in an integral domain . Suppose for some . Then divides . Since is prime, divides or divides . Without loss of generality, suppose divides . Then for some . Substituting this back into , we have , and since is an integral domain, we can cancel to get . Therefore is a unit, and is irreducible.
The converse is not true
Consider . is irreducible, , but does not divide either of the factors.
Size Function
A size function on an integral domain can be any function whose domain is the set of nonzero elements of and whose range is the set of nonnegative integers.
e.g. A multiplicative size function is especially useful, because it allows us to convert the factorization problem in an arbitrary integral domain to a factorization problem in (even ). For example, consider . We can define a size function on such that , where denotes the complex modulus. Thus, it satisfieswhich is multiplicative. Let’s consider , whose size is . As can only be factored into in , but there is neither size nor size element in , hence we can conclude that is irreducible in .
Euclidean Domain
An integral domain is an Euclidean domain if there exists a size function on such that division with remainder is possible: for all with , there exist such that with or .
e.g.
is an Euclidean domain with size function be the absolute value.
A polynomial ring over a field is an Euclidean domain with size function be the degree of the polynomial (ref. division algorithm holds for monic polynomials). But for a non field ring , will not make a Euclidean domain. A simple example is in , cannot divide with remainder, because in . Indeed, is not even a PID.
The ring of Gaussian integers (complex numbers with both real and imaginary parts being integers) is an Euclidean domain with size function being the complex norm.
In fact, if , then the complex norm will make a Euclidean domain. This is because if we want to divide by , we can look at the complex number . If it is in , then we are done, and the remainder . Otherwise, we can pick the nearest integer to in as , and let their difference be , then we have , so . Note that , because by our assumption, , so . Hence , and we can take as the remainder. Geometrically, the condition means that every point in the parallelogram (or rectangle) of side lengths and in the complex plane is within distance less than from some vertex.
Proof We mimic the proof that is a principle ideal domain once again. Let be an Euclidean domain with size function . Let be a non trivial ideal. Pick such that is minimal. We claim . For any , by the remainder theorem, we have for some with . Since , it follows that . As is minimal, we must have . Therefore .
Greatest Common Divisor & Relatively Prime
Let be elements of an integral domain . The greatest common divisor of and is an element such that:
divides both and .
If divides both and , then divides .
We say and are relatively prime if their greatest common divisor is a unit.
GCD may not exist
There will often be a common divisor that is maximal, meaning that and have no proper divisors in common. However, this element may fail to satisfy the second property. For instance in the ring , the elements and are divisible by and . These are maximal elements among common divisors, but neither one divides the other.
Proposition
Any two greatest common divisors of and are associates.
Proof It is straightforward by the second property of the greatest common divisor.
Proposition
Let be a principle ideal domain, and let and be elements of , which are not both zero. Then whatever element generates the ideal is a greatest common divisor of and . And there are elements such that .
Proof Let be an element that generates the ideal. Then divides both and . Let be another common divisor of and . Then , and so contains , so divides . Therefore is a greatest common divisor of and . Moreover, existence of such that follows from the fact that .
Unique Factorization Domains
Unique Factorization Domain
An integral domain is a unique factorization domain if it has the following properties:
Factoring terminates.
The irreducible factorization of an element is unique, up to order and associates.
An integral domain that only satisfies (1) is called an atomic domain.
e.g. Every field is vacuously a unique factorization domain. is not a unique factorization domain, because .
Ascending Chain Condition on Principle Ideals
Let be an integral domain, then the following conditions are equivalent:
Factoring terminates.
does not contain an infinitely strictly increasing chain of principle ideals.
The latter is called the ascending chain condition on principle ideals (ACCP).
Proof Observe that if factors to in , where neither of , are units, then , so the factorization terminates if and only if there is no infinite strictly increasing chain of principle ideals.
Theorem
If is an integral domain, in which factoring terminates, then is a unique factorization domain if and only if every irreducible element is prime.
Proof Let be an integral domain where every irreducible element is prime. Suppose some element can be factored in two ways: Then divides , and since is prime, divides some . Without loss of generality, suppose divides . Then for some unit . Cancelling from both sides, we get Repeating this process, we can show that and the ‘s are associates of the ‘s.
Conversely, suppose is a unique factorization domain. Let be an irreducible element, and suppose divides , say . Assume divides neither nor . Then and can be factored into irreducible elements, say and . Then . That are two inequivalent factorizations of , a contradiction.
e.g. Consider a non-example of the ring of continuous functions . One can factor
ProofIn a PID, irreducible and prime elements coincide. By the above theorem, it remains to show the factorization terminates. By the lemma, it suffices to show that any infinite chain of ideals has all tailing terms equal from some point. Note that is an ideal, hence, principle, say . Then for some , and so . Since is the union of all , we must have that is the tailing terms are all equal to , starting from .
e.g. Let be a field. Every non-constant polynomial in can be written uniquely (up to reordering) as for a unit and , monic irreducible and .
Proposition
A unique factorization domain is a principle ideal domain if and only if all nonzero prime ideals are maximal.
Primitive Polynomials
Primitive Polynomial
Suppose is a unique factorization domain. is primitive if one (thus all) of the following equivalent conditions hold:
the greatest common divisor of its coefficients is (thus any units).
no prime in divides all the coefficients of .
For any prime , the canonical map evaluated at is nonzero.
If is not primitive, we can always uniquely write where is the greatest common divisor of the coefficients of and is primitive. Similarly in , we can write where is a fraction number and is primitive in .
Lemma
Suppose is a UFD. There is a unique way to express any polynomial as a product of an element and a primitive polynomial up to a unit.
Moreover, if and only if .
Proof by Example Say we have a polynomial , then we can uniquely write For the “moreover” part, implies is clear. Conversely, if but not , then cannot be in (think about the example above).
Gauss' Lemma
The product of primitive polynomials is primitive.
Proof By the third definition of primitive polynomial, it suffices to show that is an integral domain. Note that is an integral domain, and so is .
Proof Suppose in , for primitive in , and coefficient , and similarly . Then By the Gauss’ lemma, is primitive, since there is only a unique way to express any polynomial as a product of an element in and a primitive polynomial up to a unit, we must have in , in particular, in .
Lemma
A primitive factors non-trivially in if and only if it factors non-trivially in .
Proof
Corollary
Primitive is irreducible in if and only if it is irreducible in .
Proposition
is a unique factorization domain if and only if is also a unique factorization domain.
Proof By the the theorem, it suffices to show that every irreducible element in is prime. All irreducible elements in are either a constant, or a non-constant. Since is a unique factorization domain, nothing need to be shown for constant irreducible elements. Let be a non-constant irreducible, has to be primitive in and irreducible in . Suppose in , then in . So or in , and hence in by the lemma.
e.g. is a unique factorization domain, as is a unique factorization domain.
Factoring Polynomials in
By the corollary, we can tell whether a polynomial is irreducible in by checking its irreducibility in . Moreover, it is helpful to check its factorization in for some prime . Because, there are only elements to check in , and the factorization in can be lifted back to .
e.g. Consider . In , it is irreducible because So is irreducible in , thus in .
Let us make it formal:
Proposition
Let be an integral domain, a proper prime ideal, and a monic polynomial. If the induced is irreducible in , then is irreducible in .
Moreover, if is a UFD, monicity can be weakened: it suffices that is primitive and that .
Proof Suppose is an integral domain, and is an ideal. We prove the contrapositive, and without loss of generality assume that is not a constant. Suppose in for nonunits and . Then in . Since is monic, both and are monic. Therefore, and are monic, and they are nonunits in , so is reducible in .
Now if is a UFD, and is primitive, then neither nor can be a nonunit constant polynomial. Therefore, , . Suppose the leading coefficient of and are and respectively. Then the leading coefficient of is . Since , , so both of and are not in . Consequently, and . In , we have . Since is prime, is an integral domain, so every units in are constants (ref. proposition). Therefore, and are nonunits in , and is reducible in .
Eisenstein's Criterion
Let . Suppose there is a prime such that:
divides all except .
does not divide .
Then is irreducible in .
In fact, the Eisenstein’s criterion holds for any unique factorization domain, not just . We shall prove it in the following form:
Generalized Eisenstein's Criterion
Let , where is a unique factorization domain. Suppose there is a prime such that:
divides all except .
does not divide .
Then is irreducible in .
Proof Up to contradiction, suppose in , where , and . The hypothesis implies that becomes in , so in , has to be and has to be , which means divides all , except and . Therefore, divides , which is a contradiction.
Lemma
Let , where is an integral domain. Then is irreducible if and only if is irreducible for all .
Proof If , then . Conversely, if , then , if we let .
Theorem
The cyclotomic polynomial is irreducible in for any prime .
Proof We know that , substituting and we obtain, we cancel , and get for which the Eisenstein’s criterion applies with as the prime. Hence, is irreducible in .
Gauss Primes
We have seen that the ring of Gauss integers is a Euclidean domain. In this section we describe the prime elements in , and their relation to prime elements in .
Lemma
The following are true in :
A Gauss integer that is a real is an intger.
An integer divides a Gauss integer in if an only if divides both and in .
Lemma
Let be an prime integer, the followings are equivalent: