Chapter 15
Hard

Euclidean Domains & Principal Ideal Domains

00 · Symbol Glossary

$N$Euclidean norm (valuation)

A function N:R{0}Z0N: R\setminus\{0\} \to \mathbb{Z}_{\geq0} measuring the "size" of a nonzero ring element, chosen so that division-with-remainder makes the remainder strictly smaller. N(n)=nN(n)=\lvert n\rvert for Z\mathbb{Z}; N(f)=degfN(f)=\deg f for F[x]F[x].

$(a,b)$Ideal generated by two elements

(a,b):=aR+bR={ar+bs:r,sR}(a,b) := aR+bR = \{ar+bs : r,s\in R\} — the smallest ideal containing both aa and bb (Theorem 12.3's sum-of-principal-ideals).

$a \sim b$Associate elements

a,bRa,b\in R are associates if a=uba=ub for some unit uR×u\in R^\times. In Z\mathbb{Z}, nn and n-n are always associates; associates generate the same principal ideal.

$p \mid a$p divides a (ring version)

a=pca = pc for some cRc\in R — the same divisibility notion from Chapter 01, now stated for a general ring.


01 · Euclidean Domains

Chapter 14's division algorithm for F[x]F[x] and elementary school long division for Z\mathbb{Z} share an identical shape. Abstracting that shape gives a single framework covering both at once.

Definition — Euclidean Domain

An integral domain RR is a Euclidean domain if there is a function N:R{0}Z0N: R\setminus\{0\}\to\mathbb{Z}_{\geq0} such that for all a,bRa,b\in R with b0b\neq0, there exist q,rRq,r\in R with:

a=qb+r,r=0 or N(r)<N(b)a = qb+r, \qquad r=0 \text{ or } N(r) < N(b)


02 · Examples

Example — Z with N(n) = |n|

Ordinary division with remainder: for a,bZa,b\in\mathbb{Z}, b0b\neq0, there exist q,rq,r with a=qb+ra=qb+r, 0r<b0\le r<\lvert b\rvert — the familiar grade-school fact, now recognized as exactly Definition 15's requirement with N(n)=nN(n)=\lvert n\rvert.

Example — F[x] with N(f) = deg f

Theorem 14.5 (Chapter 14) is precisely the Euclidean property for F[x]F[x] with N(f):=degfN(f) := \deg f. Every polynomial ring over a field is a Euclidean domain.

Further afield: the Gaussian integers

Z[i]={a+bi:a,bZ}C\mathbb{Z}[i] = \{a+bi : a,b\in\mathbb{Z}\} \subset \mathbb{C} is also Euclidean, with N(a+bi)=a2+b2N(a+bi) = a^2+b^2 (the squared complex modulus). Dividing α\alpha by nonzero β\beta in Z[i]\mathbb{Z}[i]: compute α/βQ[i]\alpha/\beta\in\mathbb{Q}[i], round each coordinate to the nearest integer to get qZ[i]q\in\mathbb{Z}[i], and set r=αqβr=\alpha-q\beta; a geometric argument (the rounding error in each coordinate is at most 12\tfrac12) shows N(r)<N(β)N(r)<N(\beta). This example is not pursued further in this course, but signals that the framework reaches well beyond Z\mathbb{Z} and F[x]F[x].


03 · Every Euclidean Domain Is a PID

Definition — Principal Ideal Domain (PID)

An integral domain in which every ideal is principal (of the form (a)=aR(a)=aR for some aRa\in R) is a principal ideal domain.

Theorem 15.1 — Euclidean Domains Are PIDs

Every Euclidean domain is a principal ideal domain.

Proof

Let RR be Euclidean with norm NN, and let IRI\trianglelefteq R. If I={0}I=\{0\}, then I=(0)I=(0), principal. Otherwise, the set {N(a):aI,a0}\{N(a) : a\in I, a\neq0\} is a nonempty set of nonnegative integers, so by well-ordering it has a least element; pick dId\in I, d0d\neq0, achieving this minimum value of NN among nonzero elements of II.

Claim: I=(d)I=(d). Since dId\in I, absorption gives (d)=dRI(d)=dR\subseteq I.

For the reverse inclusion, take any aIa\in I. By the Euclidean property, a=qd+ra=qd+r with r=0r=0 or N(r)<N(d)N(r)<N(d). Now r=aqdr=a-qd; since aIa\in I and qdIqd\in I (absorption, as dId\in I), subtraction-closure gives rIr\in I. If r0r\neq0, then N(r)<N(d)N(r)<N(d) contradicts dd's minimality among nonzero elements of II. So r=0r=0, giving a=qd(d)a=qd\in(d).

Both inclusions hold: I=(d)I=(d), principal. Since II was an arbitrary ideal, RR is a PID.

Example — Confirming familiar facts as instances of Theorem 15.1

Every ideal of Z\mathbb{Z} has the form nZ=(n)n\mathbb{Z}=(n) — this is exactly Theorem 3.6's subgroup classification, now recognized as a special case of Theorem 15.1 (since Z\mathbb{Z} is Euclidean). Every ideal of F[x]F[x] (FF a field) is (f)(f) for some polynomial ff — a genuinely new fact, following the identical proof technique with N=degN=\deg.


04 · GCDs and Bézout's Identity in a PID

Definition — Greatest Common Divisor (PID version)

In a PID RR, for a,bRa,b\in R not both zero, (a,b)=(d)(a,b) = (d) for some dRd\in R (Theorem 15.1/the PID property). Any such dd is called a greatest common divisor of a,ba,b, written gcd(a,b)\gcd(a,b) (well-defined up to multiplication by a unit — i.e. up to associates).

Theorem 15.2 — Bézout's Identity in a PID

For a,ba,b in a PID RR, gcd(a,b)=ra+sb\gcd(a,b) = ra+sb for some r,sRr,s\in R.

Proof

By definition, gcd(a,b)\gcd(a,b) generates (a,b)=aR+bR(a,b)=aR+bR, so gcd(a,b)aR+bR\gcd(a,b) \in aR+bR, meaning gcd(a,b)=ra+sb\gcd(a,b)=ra+sb for some r,sRr,s\in R.

Example — Bézout in F[x]

In Q[x]\mathbb{Q}[x]: gcd(x21,x1)=x1\gcd(x^2-1, x-1) = x-1 (since x1x-1 divides x21=(x1)(x+1)x^2-1=(x-1)(x+1), and any common divisor of both must divide their difference-based combinations down to degree 1\le1). Bézout's identity here is nearly immediate: 1(x21)+((x+1))(x1)=(x21)(x21)=01\cdot(x^2-1) + (-(x+1))\cdot(x-1) = (x^2-1)-(x^2-1) = 0... more usefully, (x1)=1(x1)+0(x21)(x-1) = 1\cdot(x-1) + 0\cdot(x^2-1), the trivial witness — illustrating that Bézout's identity is guaranteed to exist, though finding an interesting witness generally requires running the Euclidean algorithm (repeated division) explicitly, exactly as in Z\mathbb{Z}.


05 · Not Every Domain Is a PID

Common mistake — Z[x] is a domain but not a PID

Z[x]\mathbb{Z}[x] is an integral domain (Corollary 14.3, since Z\mathbb{Z} is a domain), but consider I=(2,x)={2f(x)+xg(x):f,gZ[x]}I=(2,x) = \{2f(x)+xg(x) : f,g\in\mathbb{Z}[x]\}.

Claim: II is not principal. Suppose I=(h)I=(h) for some hZ[x]h\in\mathbb{Z}[x]. Since 2I=(h)2\in I=(h), h2h\mid2, so 2=hk2=h\cdot k for some kZ[x]k\in\mathbb{Z}[x]; by Theorem 14.2 (domain), degh+degk=deg(2)=0\deg h+\deg k=\deg(2)=0, forcing degh=0\deg h=0: hh is a constant integer, h{±1,±2}h\in\{\pm1,\pm2\} (the only integer divisors of 22).

If h=±1h=\pm1, then (h)=Z[x](h)=\mathbb{Z}[x] (a unit generates everything). But every element of I=(2,x)I=(2,x) has the form 2f(x)+xg(x)2f(x)+xg(x), whose constant term is 2f(0)2f(0) — always even. So 1I1\notin I (odd constant term), meaning IZ[x]I\neq\mathbb{Z}[x]: contradiction.

If h=±2h=\pm2, then xI=(h)x\in I=(h) would require x=2j(x)x=2\cdot j(x) for some jZ[x]j\in\mathbb{Z}[x] — impossible, since the coefficient of xx on the left is 11 (odd) but on the right is 2×(coefficient of j)2\times(\text{coefficient of }j), always even.

Both cases fail: no such hh exists. I=(2,x)I=(2,x) is not principal, so Z[x]\mathbb{Z}[x] is not a PID — even though Z\mathbb{Z} itself is (it's Euclidean). This is the precise sense in which Chapter 14's F[x]F[x] result needed FF to be a field, not merely a domain: Z\mathbb{Z} fails to be a field, and that gap is exactly what breaks Z[x]\mathbb{Z}[x]'s PID property.


06 · Irreducible and Prime Elements

Definition — Irreducible and Prime Elements

Let RR be an integral domain and pRp\in R nonzero and not a unit. pp is irreducible if p=abp=ab implies aa or bb is a unit (no genuine factorization exists). pp is prime if pabp\mid ab implies pap\mid a or pbp\mid b (equivalently, by Chapter 12, (p)(p) is a prime ideal).

Theorem 15.3 — Prime Implies Irreducible

In any integral domain, every prime element is irreducible.

Proof

Let pp be prime and suppose p=abp=ab. Since pp=abp\mid p=ab, primality gives pap\mid a or pbp\mid b; say pap\mid a, so a=pca=pc for some cRc\in R. Then p=ab=pcbp=ab=pcb. Since RR is a domain and p0p\neq0, cancellation (Theorem 11.5) gives 1=cb1=cb, so bR×b\in R^\times. Hence pp is irreducible (the case pbp\mid b is symmetric).

Theorem 15.4 — In a PID, Irreducible Implies Prime

In a PID, every irreducible element is prime. (Combined with Theorem 15.3: in a PID, irreducible and prime coincide.)

Proof

Let pp be irreducible and suppose pabp\mid ab. Consider the ideal (p,a)(p,a); since RR is a PID, (p,a)=(d)(p,a)=(d) for some dRd\in R. Since dpd\mid p (as p(p,a)=(d)p\in(p,a)=(d)) and pp is irreducible, either dd is a unit or dd is an associate of pp.

Case dd a unit: then (p,a)=(d)=R(p,a)=(d)=R, so 1(p,a)1\in(p,a), giving 1=rp+sa1=rp+sa for some r,sRr,s\in R (Bézout). Multiply by bb: b=rpb+sabb = rpb+sab. Since pabp\mid ab (hypothesis) and prpbp\mid rpb (trivially), pp divides the right side, so pbp\mid b.

Case dd an associate of pp: d=upd=up for a unit uu. Since dad\mid a (as a(p,a)=(d)a\in(p,a)=(d)), a=dk=upka=dk=upk for some kk, so pap\mid a.

Either way, pap\mid a or pbp\mid b: pp is prime.

Example — Irreducibility of x²+1 over different fields

In R[x]\mathbb{R}[x] (a Euclidean domain, hence a PID by Theorem 15.1): x2+1x^2+1 is irreducible, since any factorization into two degree-1 factors would produce a real root, but x2+1x^2+1 has none (x20x^2\geq0 for real xx, so x2+11>0x^2+1\geq1>0 always). By Theorem 15.4, x2+1x^2+1 is therefore also prime in R[x]\mathbb{R}[x] — a fact that becomes essential in Chapter 18, where R[x]/(x2+1)\mathbb{R}[x]/(x^2+1) (a quotient by a prime, in fact maximal, ideal) is used to construct C\mathbb{C} from R\mathbb{R} purely algebraically.


07 · Exercises

EXERCISE 15.1

Recall the standard base-bb long division fact from arithmetic — this is exactly the Euclidean property.

For a=17a=17, b=5b=5: 17=3×5+217 = 3\times5+2, so q=3q=3, r=2r=2, and N(r)=2=2<5=N(b)N(r)=\lvert2\rvert=2 < 5=N(b). This is exactly Definition 15's requirement, confirmed directly.

Confirm the Euclidean property of Z\mathbb{Z} directly for a=17a=17, b=5b=5: find q,rq,r and check N(r)<N(b)N(r)<N(b).

EXERCISE 15.2

Apply Theorem 15.1: since Q[x]\mathbb{Q}[x] is Euclidean, every ideal is generated by a single polynomial.

By Theorem 15.1, I=(x21,x31)I=(x^2-1,x^3-1) must equal (d)(d) for a single dd. Since x1x-1 divides both generators (x21=(x1)(x+1)x^2-1=(x-1)(x+1), x31=(x1)(x2+x+1)x^3-1=(x-1)(x^2+x+1)), (x1)I(x-1) \supseteq I. Conversely, x1x-1 is a Q\mathbb{Q}-linear combination-with-polynomial-coefficients of the two generators (running the Euclidean algorithm on them would exhibit this explicitly), so x1Ix-1\in I, giving I=(x1)I=(x-1).

gcd(x21,x31)=x1\gcd(x^2-1,x^3-1) = x-1.

Using Theorem 15.1, argue that (x21,x31)(x^2-1, x^3-1) in Q[x]\mathbb{Q}[x] must be a principal ideal, and identify its generator.

EXERCISE 15.3

Check whether 55 can be factored nontrivially in Z\mathbb{Z}, then apply Theorem 15.4 (since Z\mathbb{Z} is a PID).

55 is irreducible in Z\mathbb{Z} (its only factorizations are 5=1×55=1\times5 or 5=(1)×(5)5=(-1)\times(-5), always involving a unit). Since Z\mathbb{Z} is a PID (Euclidean, Theorem 15.1), Theorem 15.4 gives: 55 is also prime in Z\mathbb{Z} — matching the ordinary number-theoretic meaning of "prime," now derived from the general ring-theoretic machinery.

Using Theorem 15.4, confirm that 5Z5\in\mathbb{Z}, already known to be irreducible, is also prime.

EXERCISE 15.4

Follow the exact structure of Section 05's FailBlock, replacing 22 with 33.

By the identical argument to Section 05 (with 22 replaced by 33): if (3,x)=(h)(3,x)=(h), degree considerations force hh constant, h{±1,±3}h\in\{\pm1,\pm3\}. h=±1h=\pm1 fails since every element of (3,x)(3,x) has constant term divisible by 3, excluding 11. h=±3h=\pm3 fails since x=3j(x)x=3j(x) would need the coefficient of xx (which is 11) to be a multiple of 3. (3,x)(3,x) is also not principal — confirming Z[x]\mathbb{Z}[x]'s failure to be a PID is not special to the prime 2.

Show, following the template of Section 05, that (3,x)(3,x) is also not a principal ideal of Z[x]\mathbb{Z}[x].


08 · Chapter Summary

ConceptStatement
Euclidean domainDomain with N:R{0}Z0N: R\setminus\{0\}\to\mathbb{Z}_{\geq0} giving division with N(r)<N(b)N(r)<N(b)
ExamplesZ\mathbb{Z} (N=N=\lvert\cdot\rvert); F[x]F[x] (N=degN=\deg); Z[i]\mathbb{Z}[i] (N=N= norm)
PIDEvery ideal is principal
Euclidean     \implies PIDThm 15.1, via minimal-norm element of an ideal
GCD in a PIDGenerator of (a,b)(a,b); Bézout's identity ra+sb=gcd(a,b)ra+sb=\gcd(a,b) (Thm 15.2)
Z[x]\mathbb{Z}[x] is not a PID(2,x)(2,x) is not principal — a domain that fails PID
Prime     \implies irreducibleAlways, in any domain (Thm 15.3)
Irreducible     \implies primeOnly guaranteed in a PID (Thm 15.4)

Next: Chapter 16 — Chinese Remainder Theorem applies this chapter's gcd and Bézout machinery to solve simultaneous congruences, generalizing the classical number-theoretic result to arbitrary PIDs (and beyond, to general rings with coprime ideals).