Introduction to Modern Algebra

Contents › Chapter 12. Unique factorization

12.4 Why principal ideals give unique factorization

Z\mathbb{Z} factors uniquely and is a PID. Z[−5]\mathbb{Z}[\sqrt{-5}] does not factor uniquely (Theorem 12.2.4), and it is not a PID, since (2,1+−5)(2, 1 + \sqrt{-5}) has no single generator. That is no accident: every PID is a UFD, and the proof is the proof of the fundamental theorem of arithmetic, with each step done by ideals.

Primes in a PID

In Z\mathbb{Z}, a prime pp that does not divide aa has gcd⁡(p,a)=1\gcd(p, a) = 1, so 1=sp+ta1 = sp + ta by Bézout’s identity, and that is why p∣abp \mid ab forces p∣bp \mid b. In a PID the same argument runs on the ideal (p,a)(p, a).

Theorem 12.4.1 (Irreducible and prime elements).Not yet reviewed

Let RR be an integral domain.

  • (i) Every prime element of RR is irreducible.
  • (ii) If RR is a PID, then for every irreducible element pp of RR the ideal (p)(p) is maximal, and pp is prime.
Proof.

Idea. For (ii), every ideal containing pp is generated by a single divisor of pp, and an irreducible pp has only two kinds of divisor: units and associates of pp. Part (i) needs only cancellation.

  1. (i) Every prime element pp is irreducible.

    Suppose p=abp = ab. Then p∣abp \mid ab, so pp divides aa or bb; say a=pca = pc. Then p⋅1=p cbp \cdot 1 = p\,cb, and canceling the non-zero pp (Theorem 10.2.4) gives cb=1cb = 1, so bb is a unit. Since pp is also not a unit, pp is irreducible.

  2. For irreducible pp, (p)≠R(p) \neq R.

    Otherwise 1=cp1 = cp for some cc, and pp would be a unit.

  3. For irreducible pp, (p)(p) is maximal.

    Let JJ be an ideal with (p)⊆J(p) \subseteq J. As RR is a PID, J=(a)J = (a) for some aa (Definition 10.5.1), and p∈(a)p \in (a), say p=rap = ra. Since pp is irreducible, rr or aa is a unit. If rr is a unit, then a=r−1p∈(p)a = r^{-1}p \in (p), so J=(p)J = (p). If aa is a unit, then JJ contains a unit, so J=RJ = R (Theorem 10.6.1). So no ideal lies strictly between (p)(p) and RR (Definition 10.6.3).

  4. If pp is irreducible and p∤ap \nmid a, then (p,a)=R(p, a) = R.

    The ideal (p,a)(p, a) is (d)(d) for some dd, and d∣pd \mid p, say p=dcp = dc. As pp is irreducible, dd or cc is a unit, and if cc is, then d=c−1pd = c^{-1}p is an associate of pp. So dd is a unit or an associate of pp. If dd were an associate of pp, then a∈(d)=(p)a \in (d) = (p) and p∣ap \mid a, which is not the case. So dd is a unit and (p,a)=R(p, a) = R.

  5. For irreducible pp, pp is prime. This proves (ii).

    Suppose p∣abp \mid ab and p∤ap \nmid a. By the previous step, 1=sp+ta1 = sp + ta for some s,t∈Rs, t \in R. Then b=spb+tabb = spb + tab, and pp divides both terms, the second because p∣abp \mid ab. So p∣bp \mid b.

□

Chains of ideals

The other ingredient is a finiteness property. In Z\mathbb{Z} an integer cannot be split into smaller and smaller factors forever, because the sizes go down. In a general PID there is no size, but the ideals do the same job.

Lemma 12.4.2 (Ascending chains of ideals stop).

Let RR be a PID, and let

I1⊆I2⊆I3⊆⋯I_1 \subseteq I_2 \subseteq I_3 \subseteq \cdots

be ideals of RR. Then there is an nn with In=In+1=In+2=⋯I_n = I_{n+1} = I_{n+2} = \cdots.

Proof.

The idea is that the union of the chain is again an ideal, so it has a single generator, and that generator already lies in some InI_n.

Let II be the union of all the IkI_k. It is an ideal. It contains 00, which lies in I1I_1. If a,b∈Ia, b \in I, say a∈Ija \in I_j and b∈Ikb \in I_k with j≤kj \le k, then both lie in IkI_k, so a+ba + b and −a-a lie in Ik⊆II_k \subseteq I. And if a∈Ija \in I_j and r∈Rr \in R, then ra∈Ij⊆Ira \in I_j \subseteq I.

As RR is a PID, I=(a)I = (a) for some aa, and aa lies in some InI_n. For every m≥nm \ge n,

I=(a)⊆In⊆Im⊆I,I = (a) \subseteq I_n \subseteq I_m \subseteq I,

so Im=InI_m = I_n. □

Unique factorization

Theorem 12.4.3 (Every PID is a UFD).Not yet reviewed

Let RR be a principal ideal domain. Then every non-zero non-unit of RR is a product of irreducible elements, and any two such products for the same element agree up to order and associates. So RR is a unique factorization domain.

Proof.

Idea. Existence: an element with no factorization could be split again and again, each time giving a strictly bigger principal ideal, and a chain of ideals in a PID cannot climb forever. Uniqueness: in a PID irreducible elements are prime, so an irreducible factor on one side divides a factor on the other and can be canceled, as in Z\mathbb{Z}.

  1. If a=bca = bc with a≠0a \neq 0 and cc not a unit, then (a)⊊(b)(a) \subsetneq (b).

    Since b∣ab \mid a, (a)⊆(b)(a) \subseteq (b). If the ideals were equal, then b=dab = da for some dd, so a=bc=dcaa = bc = dca and a(1−dc)=0a(1 - dc) = 0. As a≠0a \neq 0, dc=1dc = 1, and cc would be a unit.

  2. Every non-zero non-unit is a product of irreducible elements.

    Suppose a non-zero non-unit a1a_1 is not such a product. Then a1a_1 is not irreducible, so a1=bca_1 = bc with bb and cc non-units. If both bb and cc were products of irreducibles, so would a1a_1 be; so one of them is not. Call it a2a_2: it is a non-zero non-unit, it is not a product of irreducibles, and (a1)⊊(a2)(a_1) \subsetneq (a_2) by the first step, since the other factor is not a unit. Repeating with a2a_2 in place of a1a_1, and so on, gives a chain (a1)⊊(a2)⊊(a3)⊊⋯(a_1) \subsetneq (a_2) \subsetneq (a_3) \subsetneq \cdots that never stops, which Lemma 12.4.2 rules out.

  3. An irreducible pp that divides a product q1⋯qsq_1 \cdots q_s of irreducibles is an associate of one of the qjq_j.

    By Theorem 12.4.1, pp is prime. Since p∣q1(q2⋯qs)p \mid q_1(q_2 \cdots q_s), pp divides q1q_1 or q2⋯qsq_2 \cdots q_s; repeating, p∣qjp \mid q_j for some jj. Write qj=pcq_j = pc. As qjq_j is irreducible and pp is not a unit, cc is a unit, so p∼qjp \sim q_j.

  4. Two factorizations p1⋯pr=q1⋯qsp_1 \cdots p_r = q_1 \cdots q_s into irreducibles agree up to order and associates.

    By induction on rr. By the previous step, p1p_1 is an associate of some qjq_j; renumber so that q1=up1q_1 = up_1 with uu a unit. Canceling p1p_1 gives p2⋯pr=u q2⋯qsp_2 \cdots p_r = u\,q_2 \cdots q_s.

    If r=1r = 1, the left side is 11, so s=1s = 1: otherwise q2q_2 would divide 11 and be a unit. If r≥2r \ge 2, then s≥2s \ge 2 in the same way, since p2p_2 cannot divide the unit uu. Then p2⋯pr=(uq2)q3⋯qsp_2 \cdots p_r = (uq_2)q_3 \cdots q_s, where uq2uq_2 is irreducible, and by the induction hypothesis r−1=s−1r - 1 = s - 1 and the remaining factors match up to order and associates (pi∼uq2p_i \sim uq_2 means pi∼q2p_i \sim q_2). With p1∼q1p_1 \sim q_1, this proves uniqueness.

□

The first PIDs (Example 12.3.5) are therefore UFDs: Z\mathbb{Z}, Z[i]\mathbb{Z}[i], and F[x]F[x] for every field FF. For F[x]F[x] the factorization can be normalized so that it is unique on the nose.

Theorem 12.4.4 (Factorization in F[x]F\lbrack x\rbrack).

Let FF be a field. Every non-constant f∈F[x]f \in F[x] can be written as

f=c p1p2⋯prf = c\,p_1p_2 \cdots p_r

with c∈Fc \in F non-zero and p1,…,prp_1, \dots, p_r monic irreducible polynomials. This expression is unique up to the order of the pip_i, and cc is the leading coefficient of ff.

Proof.

Idea. Take the factorization that Theorem 12.4.3 provides and move the leading coefficient of each factor to the front.

  1. f=q1⋯qrf = q_1 \cdots q_r with each qiq_i irreducible.

    F[x]F[x] is a PID (Theorem 11.3.1), so it is a UFD. Its units are the non-zero constants (Theorem 11.1.2), so a non-constant ff is a non-zero non-unit.

  2. f=(b1⋯br) p1⋯prf = (b_1 \cdots b_r)\,p_1 \cdots p_r with each pip_i monic irreducible.

    If bib_i is the leading coefficient of qiq_i, then pi=bi−1qip_i = b_i^{-1}q_i is monic, and irreducible as an associate of qiq_i.

  3. In any such expression f=c p1⋯prf = c\,p_1 \cdots p_r, the constant cc is the leading coefficient of ff.

    A product of monic polynomials is monic, since leading coefficients multiply (Theorem 11.1.2).

  4. The monic factors are unique up to order.

    Suppose f=c p1⋯pr=c p1′⋯ps′f = c\,p_1 \cdots p_r = c\,p'_1 \cdots p'_s with all pip_i and pj′p'_j monic irreducible, the constant being the same by the previous step. Since ff is non-constant, r,s≥1r, s \ge 1, and (cp1)p2⋯pr=(cp1′)p2′⋯ps′(cp_1)p_2 \cdots p_r = (cp'_1)p'_2 \cdots p'_s are two factorizations into irreducibles. So r=sr = s, and after renumbering each pip_i is an associate of pi′p'_i: pi′=upip'_i = up_i for a non-zero constant uu. Comparing leading coefficients of these monic polynomials gives u=1u = 1, so pi′=pip'_i = p_i.

□