Introduction to Modern Algebra

Contents › Chapter 12. Unique factorization

12.2 Unique factorization domains, and a failure

Irreducible elements and associates make sense in every integral domain, and with them the property that makes Z\mathbb{Z} special can be stated for any of them: every non-zero non-unit is a product of irreducibles, in one way up to order and unit factors. A ring as close to Z\mathbb{Z} as Z[−5]\mathbb{Z}[\sqrt{-5}] does not have it.

Unique factorization domains

Definition 12.2.1 (Unique factorization domain).Not yet reviewed

An integral domain RR is a unique factorization domain, or UFD, if:

  • (i) Existence: every non-zero non-unit a∈Ra \in R is a product a=p1p2⋯pra = p_1p_2 \cdots p_r of irreducible elements of RR, with r≥1r \ge 1.
  • (ii) Uniqueness: if a=p1⋯pr=q1⋯qsa = p_1 \cdots p_r = q_1 \cdots q_s are two products of irreducible elements, then r=sr = s, and the qjq_j can be renumbered so that pi∼qip_i \sim q_i for every ii.

Prime elements

Euclid’s lemma (Theorem 2.3.3) gives the primes of Z\mathbb{Z} a second property: a prime that divides a product divides one of the factors. In a general integral domain this property has its own name.

Definition 12.2.2 (Prime element).

Let RR be an integral domain. An element p∈Rp \in R is a prime element, or prime, if pp is non-zero and not a unit, and whenever p∣abp \mid ab with a,b∈Ra, b \in R, then p∣ap \mid a or p∣bp \mid b.

Equivalently, p≠0p \neq 0 and the principal ideal (p)(p) is a prime ideal.

Why prime elements are those generating prime ideals.

Idea. Translate each condition on the ideal (p)(p) into a condition on the element pp.

  1. x∈(p)x \in (p) says p∣xp \mid x.

    The ideal (p)(p) consists of the multiples of pp.

  2. The ideal (p)(p) is proper exactly when pp is not a unit.

    If pp is a unit, every r∈Rr \in R is (rp−1)p∈(p)(rp^{-1})p \in (p), so (p)=R(p) = R. If (p)=R(p) = R, then 1=cp1 = cp for some c∈Rc \in R, so pp is a unit.

  3. (p)(p) is a prime ideal exactly when pp is not a unit and has the divisibility property.

    With x∈(p)x \in (p) read as p∣xp \mid x, the condition ”ab∈(p)ab \in (p) implies a∈(p)a \in (p) or b∈(p)b \in (p)” says ”p∣abp \mid ab implies p∣ap \mid a or p∣bp \mid b”, and properness is the second step.

□
Theorem 12.2.3 (Irreducible elements of a UFD are prime).Not yet reviewed

In a unique factorization domain RR, every irreducible element is prime.

Proof.

Idea. p∣abp \mid ab means that pp appears, up to a unit, among the irreducible factors of abab; and those are the factors of aa together with the factors of bb. Throughout, pp is irreducible, so non-zero and not a unit, and p∣abp \mid ab, say ab=pcab = pc.

  1. If aa or bb is 00 or a unit, then pp divides aa or bb.

    If a=0a = 0 or b=0b = 0, then pp divides it, since 0=p⋅00 = p \cdot 0. If aa is a unit, then b=p(a−1c)b = p(a^{-1}c), so p∣bp \mid b; likewise p∣ap \mid a if bb is a unit.

  2. Otherwise, ab=a1⋯arb1⋯bsab = a_1 \cdots a_r b_1 \cdots b_s is a factorization of abab into irreducibles.

    Now aa and bb are non-zero non-units, so by existence a=a1⋯ara = a_1 \cdots a_r and b=b1⋯bsb = b_1 \cdots b_s with all aia_i and bjb_j irreducible.

  3. ab=p c1⋯ctab = p\,c_1 \cdots c_t is a second factorization into irreducibles.

    Here c≠0c \neq 0, since ab≠0ab \neq 0 in an integral domain. And cc is not a unit: otherwise ab=cpab = cp would be a factorization into the single irreducible cpcp (an associate of pp), against the factorization with r+s≥2r + s \ge 2 factors, which uniqueness forbids. So by existence c=c1⋯ctc = c_1 \cdots c_t with each ckc_k irreducible.

  4. pp divides aa or bb.

    By uniqueness, pp is an associate of one of the aia_i or one of the bjb_j. If ai=upa_i = up for a unit uu, then pp divides aia_i, and so divides aa. Likewise, if pp is an associate of some bjb_j, then p∣bp \mid b.

□

The converse holds in every integral domain. If pp is prime and p=abp = ab, then p∣abp \mid ab, so pp divides aa or bb, say a=pca = pc. Then p=pcbp = pcb, and canceling the non-zero pp gives cb=1cb = 1, so bb is a unit. So in a UFD the irreducible elements and the prime elements are the same.

The failure

Theorem 12.2.4 (Unique factorization fails in Z[−5]\mathbb{Z}[\sqrt{-5}]).

In Z[−5]\mathbb{Z}[\sqrt{-5}],

6=2⋅3=(1+−5)(1−−5).\begin{aligned} 6 &= 2 \cdot 3 \\ &= (1 + \sqrt{-5})(1 - \sqrt{-5}). \end{aligned}
  • (i) The four elements 22, 33, 1+−51 + \sqrt{-5} and 1−−51 - \sqrt{-5} are irreducible.
  • (ii) No two of them are associates.

So 66 has two factorizations into irreducibles that do not agree up to order and associates, and Z[−5]\mathbb{Z}[\sqrt{-5}] is not a UFD. Moreover, 22 is irreducible but not prime.

Proof.

Idea. Compute norms: N(2)=4N(2) = 4, N(3)=9N(3) = 9 and N(1±−5)=6N(1 \pm \sqrt{-5}) = 6. No element has norm 22 or 33, so none of the four can be split; and associates have equal norms, while the units are only ±1\pm 1, so no factor on one side matches a factor on the other.

  1. (1+−5)(1−−5)=6(1 + \sqrt{-5})(1 - \sqrt{-5}) = 6.

    The product is 1−(−5)2=1+5=61 - (\sqrt{-5})^2 = 1 + 5 = 6.

  2. 22 and 33 are irreducible, and the units are ±1\pm 1.

    This is Example 12.1.4: a factor of 22 or 33 that is not a unit would have norm 22 or 33, and a2+5b2a^2 + 5b^2 never takes these values.

  3. 1+−51 + \sqrt{-5} and 1−−51 - \sqrt{-5} are irreducible.

    Each has norm 1+5=61 + 5 = 6, and the divisors mm of 66 with 1<m<61 < m < 6 are 22 and 33. No element has norm 22 or 33, so Proposition 12.1.3 (iii) applies. This proves (i).

  4. No two of the four are associates.

    If w=uzw = uz with uu a unit, then N(w)=N(u)N(z)=N(z)N(w) = N(u)N(z) = N(z), since N(±1)=1N(\pm 1) = 1. So an associate of 22, 33 or 1±−51 \pm \sqrt{-5} has norm 44, 99 or 66 respectively, which separates all pairs except 1+−51 + \sqrt{-5} and 1−−51 - \sqrt{-5}. Those are not associates either: the associates of 1+−51 + \sqrt{-5} are ±(1+−5)\pm(1 + \sqrt{-5}), and neither is 1−−51 - \sqrt{-5}. This proves (ii).

  5. Z[−5]\mathbb{Z}[\sqrt{-5}] is not a UFD.

    The factorizations 2⋅32 \cdot 3 and (1+−5)(1−−5)(1 + \sqrt{-5})(1 - \sqrt{-5}) of 66 are both into irreducibles, by (i). Uniqueness would match 22 with an associate among 1±−51 \pm \sqrt{-5}, which (ii) rules out.

  6. 22 is not prime.

    22 divides 6=(1+−5)(1−−5)6 = (1 + \sqrt{-5})(1 - \sqrt{-5}). But every multiple 2(a+b−5)=2a+2b−52(a + b\sqrt{-5}) = 2a + 2b\sqrt{-5} of 22 has even coefficients, while 1±−51 \pm \sqrt{-5} has coefficients 11 and ±1\pm 1. So 22 divides neither factor.

□

Primality is what would match the factor 22 with an associate in the second factorization. If 22 were prime, it would divide 1+−51 + \sqrt{-5} or 1−−51 - \sqrt{-5}, since it divides their product 66, and an irreducible element divisible by the non-unit 22 is an associate of 22.