Definition 1.8.1 If
Definition 1.8.2 A principal ideal domain is a domain
Theorem 1.8.1 Let
-
Every
has a gcd, say , that is a linear combination of and :
where . -
Euclid’s Lemma: If an irreducible element
divides a product , then either or . -
Unique Factorization: If
and , where are irreducible elements, then this factorization is unique in the following sense: if , where the is are irreducible elements, then and the ’s can be reindexed so that and are associates for all .
Proof.
-
If
are both , then their gcd is .Otherwise, since
is a PID, is a principal ideal; that is .Let’s prove that
.Because
, is a common divisor of and .And
with for .Then
with is a common divisor of and , then with .So
.Therefore
is gcd of and , which is a linear combination of . -
If
, then is the gcd of and .Then we have
with for (1).So
. Since , it follows that . -
By induction on
.If
, we have .For inductive step, the given equation shows that
. By (2), Euclid’s Lemma, there is some with .Since
is irreducible, for some unit ; that is and are associates.Reindexing, we may assume that
; canceling, we have .Since
is irreducible, the inductive hypothesis gives (hence, ) and, after reindexing, and are associates for all .
Definition 1.8.3 A euclidean ring is a domain
called a degree function, such that
-
for all with ; -
Division Algorithm: for all
with , there exist with
where either or .
Example 1.8.1
-
Let
have a degree function that is identically . If and , the division algorithm gives an equation with or . This forces , for is not possible. Therefore, and is a field. -
The set of integers
is a euclidean ring with degree function . Note that is multiplicative:
-
When
is a field, the domain is a euclidean ring with degree function , the usual degree of a nonzero polynomial . Note that is additive:
Theorem 1.8.2 A euclidean ring is a PID.
Proof.
Let
Let
Since
Therefore
Definition 1.8.4 If a degree function
Example 1.8.2 The Gaussian integers
is a norm.
We now show that
If
for
Let us show that
Given
where
Write
Notice that
It’s easy to find that quotients and remainders in
Hence, there are four quotients and remainders after dividing
Theorem 1.8.3 The ring
Definition 1.8.5 An element
Proposition 1.8.1 If
Proof.
Let
Since
Then we claim that
If
Therefore,
The converse of Theorem 1.8.2 is false: there are PIDs that are not euclidean rings.
Example 1.8.3 If
is a PID (
Proposition 1.8.2 Let
- An element
is a unit if and only if . - If
and , where is a prime number, then is irreducible. - The only units in the ring
of Gaussian integers are and .
Proof.
-
or .If
, then ; hence, by the Division Algorithm, with .Every element is a unit, contradicting
is not a field.Therefore
.-
(
). .For
and are positive integers, . -
(
). with or .If
, that is , then with , by the Division Algorithm.Thus,
is a unit and, hence, , which contradicts .
-
-
If
, then .For
is prime, or and, hence, is a unit or is a unit. -
If
is a unit, then .Since
, or .