An integral domain R is a Euclidean domain if there exists a function δ:R∖{0}→N0 such that for all a,b∈R with b=0:
There exist q,r∈R with a=bq+r and either r=0 or δ(r)<δ(b).
Example.Z is a Euclidean domain with δ(a)=∣a∣.
Example.F[x] is a Euclidean domain with δ(f)=deg(f).
Example.Z[i] is a Euclidean domain with δ(a+bi)=a2+b2.
11.2 Principal Ideal Domains
An integral domain R is a principal ideal domain (PID) if every ideal of R is principal (generated by a single element).
Theorem 11.1. Every Euclidean domain is a PID.
Proof. Let I be a non-zero ideal of the Euclidean domain R. Choose d∈I∖{0} Minimising δ(d). We claim I=(d). For any a∈IWrite a=qd+r with r=0 or δ(r)<δ(d). Since r=a−qd∈IMinimality of δ(d) Forces r=0So a=qd∈(d). ■
Corollary 11.2.Z, F[x]And Z[i] are PIDs.
11.3 Unique Factorization Domains
An integral domain R is a unique factorization domain (UFD) if:
Every non-zero, non-unit element factors into irreducibles.
The factorization is unique up to ordering and associates.
Theorem 11.3. Every PID is a UFD.
The chain of implications is:
Euclideandomain⇒PID⇒UFD
None of the reverse implications hold .
Example.Z[x] is a UFD but not a PID. (The ideal (2,x) is not principal.)
Example.Z[−5] is not a UFD: 6=2⋅3=(1+−5)(1−−5) Gives two distinct factorizations into irreducibles.
Problem. Show that Z[−5] is not a UFD.
Solution
Solution. We show that 2,3,1+−5,1−−5 are all irreducible in Z[−5] and that 2,3 are not associates of 1±−5.
The norm is N(a+b−5)=a2+5b2. Note N(αβ)=N(α)N(β) and α is a unit iff N(α)=1.
N(2)=4. If 2=αβ with neither a unit, then N(α)N(β)=4So N(α)=N(β)=2. But a2+5b2=2 has no integer solutions. So 2 is irreducible.
Similarly, N(3)=9And a2+5b2=3 has no solutions, so 3 is irreducible.
N(1±−5)=6. If 1+−5=αβ with neither a unit, then N(α),N(β)∈{2,3}. But a2+5b2=2 and a2+5b2=3 have no solutions. So 1±−5 are irreducible.
Now 2⋅3=6=(1+−5)(1−−5) gives two distinct factorizations into Irreducibles (the factors are not associates since their norms are different: 4,9 vs 6,6). Therefore Z[−5] is not a UFD. ■