In this chapter, we begin with a specific and rather familiar sort of integral domain, and then generalize slightly in each section. First, we define a polynomial ring over a field, and show that we have a division algorithm in such a ring. As a result, this polynomial ring is a special type of ring called a Euclidean domain.
Subsequently, we demonstrate that Euclidean domains are principal ideal domains; that is, every ideal is principal. Finally, we prove that principal ideal domains are examples of unique factorization domains, in which we have something similar to the Fundamental Theorem of Arithmetic.
10.1 Polynomial Rings
We are certainly familiar with polynomials having real coefficients. There is no reason why we cannot consider coefficients in other rings.
Definition 10.1.








Example 10.1.
Let . Then (inserting congruence class
brackets for clarity), an example of a polynomial in R[x]
would be
. As part of the above definition, we
observe that
, where
.
Note that the x in a polynomial is not an element of R. It is simply a placeholder in the expression of the polynomial. We could, equally well, define the polynomials in terms of sequences of elements of R (with only finitely many terms different from zero). But nobody thinks of polynomials in that way.
Definition 10.2.
Let R
be a ring and let . Further suppose that
but
for all
. Then the degree
of f(x) is m, and we write
. The leading term of
f(x) is
, and the leading coefficient is
. Note that the zero polynomial , 0, has no degree,
leading term or leading coefficient. A constant polynomial has degree 0 (or is the
zero polynomial). If R has an
identity, then f(x) is monic
if its leading coefficient is 1.
Example 10.2.
In , let
. Then
, the leading term is
and the leading coefficient is 2.
This polynomial is not monic.










Example 10.3.
In , let
and
. Then
and
.
Theorem 10.1.
If R is a ring , then so is R[x].
Proof.
Let us show that R[x]
is an abelian group under addition. Clearly the sum of two
polynomials is a polynomial. Let ,
and
. Then the coefficient of
in
is
, and similarly for
(adding in terms with zero
coefficients if necessary). Thus, addition is commutative. In the
same way, because the addition of coefficients is associative,
addition in R[x] is associative. The zero polynomial is
the additive identity, and
. Therefore, R[x]
is an abelian group under addition.











Corollary 10.1.
- 1.
if R has an identity, then so does R[x]; and
- 2.
if R is commutative, then so is R[x].
Proof.
(1) The constant polynomial 1 is the identity.
(2) Repeatedly applying the distributive
laws, we see that we need only check that and
commute, where
and
. But
and
. Since R is commutative, these are
equal.
When our ring is an integral domain, degrees of polynomials behave in a way we would expect.
Theorem 10.2.
- 1.
is at most the larger of m and n (or
); and
- 2.
.
Proof.
(1) This is clear from the definition of polynomial addition.
(2) Let and
. Then we see from the definition of
polynomial multiplication that the only term of highest degree in
f(x)g(x)
is
. Furthermore,
and, since R is an integral domain,
. Thus,
.
Note that the second part of the theorem
fails if R is not an integral
domain. For instance, in , we have
, which does not have degree 2.
Corollary 10.2.
If R is an integral domain, then so is R[x].
Proof.
By Corollary 10.1, R[x]
is a commutative ring with identity. Furthermore, . By the preceding theorem, the
product of nonzero polynomials cannot be the zero
polynomial.
Why are we so interested in polynomial rings? We now know that if F is a field, then F[x] is an integral domain. But it has another attractive property. Indeed, we have an analogue of the division algorithm with which we are familiar for the integers. Readers who have seen polynomial long division for real polynomials will find the procedure very similar.
Theorem 10.3
![$$f(x),g(x)\in F[x]$$](/epubstore/L/G-T-Lee/Abstract-Algebra/OEBPS/images/429924_1_En_10_Chapter/429924_1_En_10_Chapter_TeX_IEq74.png)

![$$q(x),r(x)\in F[x]$$](/epubstore/L/G-T-Lee/Abstract-Algebra/OEBPS/images/429924_1_En_10_Chapter/429924_1_En_10_Chapter_TeX_IEq76.png)



Proof.
Let us verify the existence of
q(x) and r(x).
If , there is nothing to do; indeed, we
let
. Therefore, assume that f(x)
is not the zero polynomial. We proceed by strong induction on
. Suppose that
. If
, then use
and
. On the other hand, if
, then
is a nonzero constant in F. As F is a field, we have
, and we can use
and
.
Thus, suppose that and that our result holds for
polynomials of smaller degree. Let us write
. Also suppose that
, and write
. If
, then we can use
and
. Otherwise, notice that in
, no term of degree greater than
n appears, and the coefficient
of
is
; thus, either
is the zero polynomial, or it has
degree strictly smaller than f(x).
By our inductive hypothesis, there exist
such that
, with
or
. But then
, as required.
Now for uniqueness. Suppose that
, with
and each of r(x)
and
either is 0 or has degree smaller
than that of g(x). Then
. Suppose that
. By Theorem 10.2,
, but
cannot possibly have a degree that
large. Thus,
and hence
.
The proof also shows us how to construct
q(x) and r(x).
We look only at the leading terms of f(x)
and g(x) (say, respectively, and
). Assuming that
, we subtract
from f(x)
and obtain either the zero polynomial or a polynomial of degree
smaller than
. Then repeat.
Example 10.4.
![$$\mathbb Q[x]$$](/epubstore/L/G-T-Lee/Abstract-Algebra/OEBPS/images/429924_1_En_10_Chapter/429924_1_En_10_Chapter_TeX_IEq122.png)










Note that it is not sufficient to work
in R[x], where R is an integral domain. By Corollary
10.2,
R[x] is also an integral domain, but we
cannot implement the division algorithm if we are unable to take
the inverse of the leading coefficient of g(x).
Indeed, if we worked in , we would be immediately stymied if
we tried to perform the division algorithm using
and
.
In fact, a polynomial ring over a field is a nice example of a special type of integral domain that we can now discuss.
Exercises
10.1.
In , let
and
. Find
and f(x)g(x).
10.2.
Let and
be polynomials in
. Find
, with
, such that
.
10.3.
Let and
be polynomials in
. Find
, with
, such that
.
10.4.
Let R be an integral domain. Show that the
units of R[x] are precisely the constant polynomials
a, where .
10.5.
If F is a field, is F[x] a field?
10.6.
Show that is a unit in
. Then, for any prime p, find a unit in
that is not a constant
polynomial.
10.7.
For any ring R, show that R and R[x] have the same characteristic.
10.8.
If R and S are isomorphic rings, show that R[x] and S[x] are also isomorphic.
10.9.
Let S be a subring of R. Show that S[x] is a subring of R[x]. In particular, if S is an ideal of R, show that S[x] is an ideal of R[x].
10.10.
Let R be a commutative ring with identity and P a prime ideal of R. Show that P[x] is a prime ideal of R[x].
10.2 Euclidean Domains
A Euclidean domain is an integral domain having an additional property.
Definition 10.3.


- 1.
; and
- 2.
there exist
such that
, and either
or
.
Definition 10.4.
A Euclidean domain is an integral domain having a Euclidean function.
We have already seen several examples of Euclidean domains.
Example 10.5.
The integers form a Euclidean domain. We
already know that is an integral domain. Define
. If a and b are nonzero integers, then
. Furthermore, by the division
algorithm, there exist
such that
, with
. If
, we are done. Otherwise, simply note
that
.
Example 10.6.
Any field is a Euclidean domain. See Exercise 10.12.
Example 10.7.
If F
is a field, then F[x] is a Euclidean domain. Indeed,
Corollary 10.2 tells us that it is an integral domain.
For any , let
. If
, then by Theorem 10.2,
. The division algorithm for
polynomials completes the proof.
Let us construct a new Euclidean domain.
Example 10.8.
Let . We call this the ring of
Gaussian integers
. By Exercises 8.17 and 8.27, R is a subring of
which, in turn, is a subfield of
. We claim that R is a Euclidean domain. It is surely an
integral domain, since it is a unital subring of a field and
therefore has no zero divisors. It remains to construct a Euclidean
function.





















What is so special about Euclidean domains? Let us begin with some definitions.
Definition 10.5.
Let R be a commutative ring with identity. If
, then we say that a divides b , and write a|b,
if there exists a
such that
.
Of course, this agrees with our
definition of divisibility in . We are very much interested in
extending the notion of a greatest common divisor as well. For an
arbitrary ring, this is problematic, as there is no particular
notion of ordering. But for a Euclidean domain, we have
!
Definition 10.6.

- 1.
d|a and d|b; and
- 2.
whenever c is an element of R satisfying c|a and c|b, we have
.
Certainly a gcd must exist. Indeed, 1 is
a common divisor of any two elements, so the set of common divisors
is not empty. Furthermore, by definition of a Euclidean function,
if c|a and , then
. Thus, there is an upper bound on the
values of the common divisors, so we
can select one having the largest possible value.
Notice that we called d “a gcd”, not “the gcd”. Indeed, this
definition does not produce a unique gcd. In particular, in
, we see that both 5 and
would meet the description of “a gcd”
of 10 and 35. However, when we say “the gcd”, we will still mean
the positive one; that is,
, not
.
Similarly, if F is a field, suppose that d(x)
is a gcd of f(x) and g(x).
If u is a nonzero element of
F, we see immediately that
ud(x) also divides both f(x)
and g(x), and that . Thus, ud(x)
is also a gcd. But again, we can choose a specific gcd here.
Definition 10.7.
Let F be a field and let f(x) and g(x) be polynomials in F[x], not both the zero polynomial. By the gcd of f(x) and g(x) we mean a monic gcd. When we write (f(x), g(x)), we mean specifically this monic gcd.
For more general Euclidean domains, we
cannot easily single out a particular gcd in this manner. But we
will see that, in fact, the gcds are all related to each other in a
nice way. While proving this, we can produce some other interesting
results. For instance, the Euclidean domain is so named because
there is a Euclidean algorithm just like in .
Theorem 10.4









Proof.
If b|a,
then b is a common divisor of
a and b. Also, if c|b,
then , and so b is a gcd. Assume that b does not divide a, and we perform the division algorithm
repeatedly, as indicated.
Note, first of all, that this process
must end, as the are strictly decreasing integers and
cannot be negative. Suppose that c|a
and c|b, say
and
, with
. Then
, and hence
. Similarly, any common divisor of
b and
must also divide a. Thus, the set of common divisors of
a and b is precisely the same as the set of
common divisors of b and
. In particular, they have the same
set of gcds.
By the same argument, the gcds of
b and are the same as those of
and
. We then repeat this and find that
the gcds of a and b are the same as the gcds of
and 0. But as everything divides 0,
we are looking only for the largest value of
among the divisors of
. However, as if u|v
and
, then
, we see that
is a gcd of
and 0, as required.
Corollary 10.3.
Let R be a Euclidean domain. Take
with
. Let d be the gcd of a and b found in the preceding theorem. Then
there exist
such that
.
Proof.









Example 10.9.
![$$\mathbb Z_7[x]$$](/epubstore/L/G-T-Lee/Abstract-Algebra/OEBPS/images/429924_1_En_10_Chapter/429924_1_En_10_Chapter_TeX_IEq247.png)








Corollary 10.4.
Let R be a Euclidean domain, and let
with
. Let d be the gcd of a and b found in Theorem 10.4. Then if
is a divisor of both a and b, then c|d.
Proof.
We have , for some
. If c|a
and c|b, then c|d.
Let us now discuss how the gcds of two elements of a Euclidean domain relate to each other.
Definition 10.8.
Let R be a commutative ring with identity. If
, then we say that a and b are associates if
there exists a unit u of
R such that
.
Note that if , where u is a unit, then
. Thus, if a is an associate of b, then b is an associate of a.
Example 10.10.
In , the only units are 1 and
, so the only associates of a are a and
.
Example 10.11.
Let F be a field. The units in F[x]
are the nonzero constants. (See Exercise 10.4.) Thus, the
associates of f(x) are of the form af(x), where .
Lemma 10.1.
Let R be an integral domain. Then a and b are associates in R if and only if a|b and b|a.
Proof.
If a
and b are associates, the fact
that a|b and b|a
follows from the definition. Suppose that a|b
and b|a, say and
, with
. Then
. If
, then
, so
. Otherwise, by cancellation,
, and hence r is a unit.
Theorem 10.5.
Let R be a Euclidean domain. Take
, not both 0. Let d be any gcd of a and b. Then
is a gcd of a and b if and only if c and d are associates.
Proof.
Suppose that c is a gcd of a and b. Let g be the gcd of a and b found in Theorem 10.4. By Corollary
10.4,
c and d divide g. Applying the division algorithm, we
have , where
and either
or
. Suppose the latter. Now, c|g,
and therefore
. But then
. However, if c and g are both gcds, we must have
, giving us a contradiction.
Therefore,
and g|c.
By the preceding lemma, g and
c are associates, say
, with u a unit in R. By the same argument,
, where v is a unit in R. Then
, where
is a unit in R, and hence c and d are associates.
Conversely, let c and d be associates. Then since d|a
and d|b, we have c|a
and c|b as well. Furthermore, since c|d
and d|c we can only have . Therefore, c is a gcd of a and b.
We can now feel better about Definition 10.7, where we referred to “the” monic gcd of f(x) and g(x) in F[x]. As any two gcds are associates, and the only units are nonzero elements of F, there can only be one gcd that is monic.
Time to tidy up! We can strengthen Corollary 10.3. It actually applies to any gcd, not just the one found in Theorem 10.4.
Theorem 10.6.
Let R be a Euclidean domain. Take
, not both 0. Let d be a gcd of a and b. Then there exist
such that
.
Proof.
Without loss of generality, assume that
, and calculate the gcd g of a and b from Theorem 10.4. Then by Corollary
10.3,
, for some
. But by Theorem 10.5,
, for some unit w of R. Thus,
.
We conclude by strengthening Corollary 10.4.
Theorem 10.7.

- 1.
d is a gcd of a and b; and
- 2.
d|a, d|b, and if c|a and c|b, then c|d.
Proof.
Suppose (1) holds. Without loss of
generality, assume that . By definition, d|a
and d|b. Suppose that c|a
and c|b. If g is the gcd of a and b found in Theorem 10.4, then by Corollary
10.4,
c|g. But Theorem 10.5 tells us that
g|d. Thus, c|d.
Conversely, suppose that (2) holds.
Then d is a common divisor of
a and b. Suppose that c is another common divisor of a and b. Then by assumption, c|d.
But this means that ; hence, d is a gcd.
A nice feature of Theorem 10.7 is that it shows that gcds in a Euclidean domain do not depend upon the particular Euclidean function that is used.
Exercises
10.11.
In an integral domain, if a and ab are associates, show that or b is a unit.
10.12.
Show that every field is a Euclidean domain.
10.13.
Let R be a Euclidean domain. Let n be the smallest value of , for all
. Show that for each
we have
if and only if a is a unit.
10.14.
Find all units in the ring of Gaussian integers.
10.15.
In , let
and
. Find (f(x), g(x)).
10.16.
In , let
and
. Find (f(x), g(x)).
10.17.
Taking f(x)
and g(x) as in Exercise 10.15, find such that
.
10.18.
Taking f(x)
and g(x) as in Exercise 10.16, find such that
.
10.19.
Find a gcd for and
in the ring of Gaussian integers.
10.20.
Let R be a Euclidean domain having the
following additional property: for every such that a, b
and
are all nonzero,
is no bigger than the larger of
and
. (For example, if F is a field, the degree function on
has this property.) Show that in the
second part of the definition of a Euclidean function, the elements
q and r are uniquely determined.
10.3 Principal Ideal Domains
Let us discuss another sort of integral domain with a nice property.
Definition 10.9.
A principal ideal domain (or PID ) is an integral domain in which every ideal is principal.
A field F is an obvious example of a PID; indeed,
its only ideals are (0) and . But we can obtain others through the
following theorem.
Theorem 10.8.
Every Euclidean domain is a PID.
Proof.
Let R be a Euclidean domain with Euclidean
function , and I an ideal of R. If
, then
, and there is nothing to do. Assume
that
. Among the nonzero elements of
I, choose b so that
is as small as possible. (Since
takes on values that are nonnegative
integers, there must be a smallest such value.) We claim that
. Take
. As
is a Euclidean function, we have
, where
and either
or
. If
, then b|a,
as required. Otherwise, we note that
, and since I is an ideal,
. But by the minimality of
, this is impossible.
Example 10.12.
Since is a Euclidean domain, it is a
PID.
Example 10.13.
Let F be a field. Since F[x] is a Euclidean domain, it is a PID.
Proving that an integral domain is not a Euclidean domain can be a bit tricky; it is often simpler to show that is not a PID, from which it follows that it is not a Euclidean domain.
Example 10.14.
We claim that is not a PID, and hence not a
Euclidean domain. To prove this, consider the set I of all
whose constant terms are divisible by
5. We saw in Exercise 9.2 that I is an ideal. But it is not principal.
Indeed, suppose that
. Then as the constant polynomial 5 is
in I, we see that f(x)|5. In view of Theorem 10.2, f(x)
is a constant polynomial. As it divides 5, the constant must be in
. However,
, whereas
, which does not include x. But
, and therefore
.
We might, at this point, ask if every PID is a Euclidean domain. The answer is no, but this is not obvious. Theodore S. Motzkin showed that there is a subring of the complex numbers that is a PID but not a Euclidean domain. We will not use this fact, but the interested reader can find an accessible proof in the paper of Wilson [1].
Let us explore a couple of other properties of PIDs. The following theorem shows that a PID has the ascending chain condition .
Theorem 10.9.
Let R be a PID. Suppose that R has ideals ,
, such that
. Then there exists a positive integer
n such that
for all
.
Proof.
Let . We claim that I is an ideal. Certainly
. If
, then there exist positive integers
k and l such that
and
. Let m be the larger of k and l. Then
, and hence
. Similarly, if
, say
, and
, then
. Thus, I is an ideal. As R is a PID, we must have
for some
. But then
, for some positive integer n. It now follows that
. That is,
, and hence
for all
.
We are familiar with the notion of a prime positive integer. Let us extend the idea.
Definition 10.10.
Let R be an integral domain. Then an element
p of R is prime if it
is not zero, not a unit, and if p|ab,
with , then p|a
or p|b.
We observe that the definition of a
prime positive integer that we introduced in Chapter 2 is different. However, Theorem
2.7 assures us that the definitions
are equivalent, for positive integers. Of course, the positive
integers do not form a ring, so in , we see that the primes are
. (Note that 1 and
are units, so we exclude them.)
We have an easy lemma.
Lemma 10.2.
Let R be an integral domain, and take
. Then p is prime if and only if (p) is a prime ideal.
Proof.
Let p be prime. If , then there exists an
such that
; hence, p is a unit. But primes cannot be units,
so this is impossible. If
, then p|ab,
and hence p|a or p|b.
Thus,
or
, and (p) is a prime ideal. Conversely, suppose
that (p) is a prime ideal and
p|ab. Then
, and hence
or
. That is, p|a
or p|b. Furthermore, if p is a unit, then by Theorem 9.2,
, which contradicts the assumption
that (p) is a prime ideal.
Thus, p is prime.
Definition 10.11.
Let R be an integral domain, and take
. We say that p is irreducible if it is not zero, not a unit, and if
, with
, then either a or b must be a unit.
This is, essentially, the definition we used for a prime positive integer. As we noted above, in the integers, these concepts are equivalent. What is the general situation?
Theorem 10.10.
Let R be an integral domain. Then every prime in R is irreducible.
Proof.
Let p be a prime, and suppose that
, with
. Then p|ab,
so p|a or p|b.
Without loss of generality, say p|a.
But a|p as well. By Lemma 10.1, p and a are associates. Thus, by Exercise
10.11,
b is a unit, as
required.
Unfortunately, the converse is not true in general.
Example 10.15.
Let . It is easy to check that R is a unital subring of
, and hence an integral domain. We can
define a function called a norm on R via
. If
, then
. (This is the same calculation as in
Example 10.8.) We claim that 3 is irreducible in
R. If
, then
. Noting that the norms of elements of
R are nonnegative integers, we
can only have
or, without loss of generality,
and
. But the equation
has no solution in the integers, so
is impossible. Also, the only
solutions to
are
and
. However, 1 and
are units in R. Also, 3 is clearly not a unit, and the
claim is proved. Nevertheless, 3 is not prime. To see this, we note
that
. Of course, 3|9, but 3 does not
divide
or
.
The good news, however, is that in a PID, primeness and irreducibility are equivalent.
Theorem 10.11.
Let R be a PID and . Then p is prime if and only if p is irreducible.
Proof.
In view of Theorem 10.10, we only need to
show the converse. Let p be
irreducible, and let . We claim that I is a maximal ideal of R. If not, suppose that J is an ideal of R with
. Since R is a PID, we have
, for some
. Now,
, so
, for some
. As p is irreducible, either a or b is a unit. If a is a unit, then by Theorem 9.2,
, which is not permitted. Therefore,
b is a unit. But then
. Thus,
, which is also not allowed. On the
other hand, if
, then p is a unit, which is impossible. Our
claim is proved.
By Theorem 9.22, a maximal ideal is necessarily
prime. Lemma 10.2 completes the proof.
Exercises
10.21.
With R as in Example 10.15, show that
is irreducible, but not prime.
10.22.
Let S be , a subring of
. Show that
is irreducible, but not prime.
10.23.
Show that R and S from the preceding two exercises are not PIDs.
10.24.
Let R be an integral domain. Show that an associate of an irreducible element is irreducible, and an associate of a prime element is prime.
10.25.
If R is a Euclidean domain, does it follow that R[x] is a Euclidean domain? Prove that it does, or give an explicit counterexample.
10.26.
Let R be a PID. Show that every proper ideal of R is a subset of a maximal ideal of R.
10.27.
Let R be an integral domain and p a prime in R. If , with
, show that some
is divisible by p.
10.28.
Let R be a PID and . Show that a is irreducible if and only if
(a) is a maximal ideal.
10.29.
Let R be an integral domain, but not a field.
Show that there exist infinitely many ideals of R such that
is a proper subset of
for all n.
10.30.
Let R be an integral domain. If R[x] is a PID, show that R is a field.
10.4 Unique Factorization Domains
We now reach our main conclusion, which is that every PID has an analogue of the Fundamental Theorem of Arithmetic.
Definition 10.12.
- 1.
every nonzero, nonunit element of R can be written as a product of one or more irreducibles; and
- 2.
the product is unique up to order and associates; that is, if
, for some irreducibles
and
, then
and, after rearranging, each
is an associate of
.
Theorem 10.12.
Every PID is a UFD.
Proof.
Let R be a PID. We shall prove that
R satisfies the first part of
the definition of a UFD. Take any nonzero nonunit , and suppose that
is not a product of irreducibles. If
is irreducible then we have an
immediate contradiction. Therefore, we may write
, where
and
are nonunits in R. If
and
are both products of irreducibles
then again, we have a contradiction, as
is then a product of irreducibles.
Without loss of generality, let us say that
is not a product of irreducibles. In
particular, it is not irreducible, so write
, where
and
are nonunits, and so forth. Then we
have
for all positive integers i. Furthermore, as
is not a unit, we see that
and
are not associates. By Lemma
10.1,
does not divide
. In particular,
, but
, so
for all positive integers i. But this contradicts Theorem
10.9, and we
see that each nonzero nonunit is a product of irreducibles.
Now let us verify the uniqueness.
Suppose that , where the
and
are irreducible, and
. Then
. By Theorem 10.11,
is prime. Thus,
divides one of the terms in the
product. After rearranging, we may assume that
. Let us write
, with
. As
is irreducible and
is not a unit, we see that
is a unit, and hence
and
are associates. Thus,
. Cancelling, we have
. Now,
, and since
is prime, it divides a term in the
product. Since a divisor of a unit is a unit, we cannot have
, and therefore
, for some
. Rearranging, we have
. Just as before, we see that
, for some unit
. Repeating, we find that
and
are associates,
. If
, we are done. Otherwise, we have
. But nonunits cannot divide 1, so we
have a contradiction.
Our examples of UFDs will largely be PIDs.
Example 10.16.
As we already knew from the Fundamental
Theorem of Arithmetic, is a UFD.
Example 10.17.
For any field F, F[x] is a UFD.
There are also UFDs that are not PIDs.
In fact, is such a ring. We opt to postpone
the proof of this until Section 11.2.
What sort of integral domains are not UFDs? Either of the two conditions could fail. Let us first consider one where nonzero nonunit elements are not necessarily products of irreducibles.
Example 10.18.
Let R be the subset of consisting of all polynomials with an
integer constant term. It is easy to see that R is a unital subring of
. As
is an integral domain, so is
R. We claim that the only units
of R are the constant
polynomials 1 and
. Indeed, a unit is necessarily a unit
in
as well. By Exercise 10.4, our unit is a
nonzero constant a. But as the
constant term of an element of R must be an integer, we see that if
, then a can only be
, proving the claim. In particular,
x is a nonzero nonunit. If we
write
, a product of irreducibles, then all
but one of the
(say
) are integers and
, for some
. But qx is not irreducible; indeed,
, and neither 2 nor
is a unit. Thus, x is not a product of irreducibles, and
R is not a UFD.
Even if every nonzero nonunit is a product of irreducibles, this product may not be unique.
Example 10.19.
Consider the ring from Example 10.15. We noted in that
example that 3 is irreducible. Applying a similar argument, we can
see that
and
are irreducible. (We do have to check
that they are not units, but if
, then
, and as we noted in Example
10.15, this
must mean that
.) Thus, we can write
, giving two different products of
irreducibles. As the only units are
, we see that 3 is not an associate of
or
. Therefore, our factorization is not
unique.
We close with a few remarks concerning divisibility in a UFD.
Theorem 10.13.
Let R be a UFD, and let a and b be nonzero nonunit elements of
R. Then there exist
irreducibles , none of which are associates, such
that
and
, for some units
and some nonnegative integers
and
. Furthermore, a|b
if and only if
for all i.
Proof.
Write each of a and b as a product of irreducibles. List all
of the irreducibles that appear, and if some are associates, say
, then delete all but one. Let
be the irreducibles that remain. Then
a can be written as a product
of irreducibles, each of which is an associate of some
, and so can be written as a product
of a unit and
. Gathering the units together, we
obtain our expression for a,
and similarly for b.









A UFD does not necessarily have anything comparable to a Euclidean function, so we cannot order elements in any logical way. However, we can obtain the equivalent form of a gcd given in Theorem 10.7.
Theorem 10.14.
Let R be a UFD. Take any nonzero nonunits
, and write them in the form
,
, as in Theorem 10.13. Let
, where
is the smaller of
and
, for all i. Then d|a,
d|b, and if c|a
and c|b, then c|d.
Proof.
Theorem 10.13 tells us that
d|a and d|b.
Suppose that c|a and c|b.
If c is a unit, then surely
c|d. Suppose it is not. Then write
, with
. Now c can be written as a product of
irreducibles, and r is a unit
or a product of irreducibles. By unique factorization, all of these
irreducibles must be associates of the
. Using Theorem 10.13 again, we can
write
, where w is a unit and
, for all k. By the same argument, as c|b,
we have
, and hence
, for all k. Therefore, c|d.
Exercises
10.31.
Show that is prime in the ring R of Gaussian integers.
10.32.
In the ring of Gaussian integers, which of the numbers 3, 5 and 7 are irreducible?
10.33.
Must a unital subring of a UFD be a UFD? Prove that it must, or give an explicit counterexample.
10.34.
Let R be a UFD. Suppose that a and b are nonzero nonunit elements of
R. If and
are gcds of a and b (in the sense discussed in the second
part of Theorem 10.7), show that
and
are associates.
10.35.
Let . Find
such that
, but a, b,
c and d are all irreducible and neither of
is an associate of either of
. Conclude that R is not a UFD.
10.36.
Let R be a UFD, and let p be an irreducible element of R. If a and b are nonzero nonunits of R, and p|ab, writing both a and b as products of irreducibles, show that p is an associate of at least one of the irreducibles appearing in at least one of these products.
10.37.
Show that every irreducible in a UFD is prime.
10.38.
Let R be a UFD. Suppose that there exist
such that
. Show that there exists an i such that
.