Introduction to Modern Algebra

Contents › Chapter 12. Unique factorization

12.1 Units, associates and irreducibles

Every integer other than 00 and ±1\pm 1 is a product of primes and their negatives, in one way up to order and signs. Saying the same in Z[i]\mathbb{Z}[i], in Z[−5]\mathbb{Z}[\sqrt{-5}] or in F[x]F[x] needs meanings for “prime” and “the same factorization” that work in any integral domain, with the units of the ring in place of the signs ±1\pm 1.

Divisibility, associates and irreducible elements give those meanings in any integral domain, and in rings like Z[i]\mathbb{Z}[i] the norm decides which elements can be split.

Divisibility and associates

In Z\mathbb{Z} the factorizations 6=2⋅36 = 2 \cdot 3 and 6=(−2)(−3)6 = (-2)(-3) differ only by the signs ±1\pm 1, the units of Z\mathbb{Z}. In another ring the units play the part of the signs.

Definition 12.1.1 (Divisibility; associates).

Let RR be an integral domain and let a,b∈Ra, b \in R. Then aa divides bb, written a∣ba \mid b, if b=acb = ac for some c∈Rc \in R. And aa and bb are associates, written a∼ba \sim b, if b=uab = ua for some unit uu of RR.

In terms of principal ideals: a∣ba \mid b exactly when (b)⊆(a)(b) \subseteq (a), and a∼ba \sim b exactly when (a)=(b)(a) = (b).

Why divisibility and associates can be read from ideals.

Idea. (a)(a) is the set of multiples of aa, so ”bb is a multiple of aa” says "b∈(a)b \in (a)". Each of the two statements is then checked in both directions.

  1. If a∣ba \mid b, then (b)⊆(a)(b) \subseteq (a).

    Say b=acb = ac. Then every multiple rb=(rc)arb = (rc)a of bb is a multiple of aa.

  2. If (b)⊆(a)(b) \subseteq (a), then a∣ba \mid b.

    b=1⋅bb = 1 \cdot b lies in (a)(a), so b=cab = ca for some c∈Rc \in R.

  3. If a∼ba \sim b, then (a)=(b)(a) = (b).

    Say b=uab = ua with uu a unit. Then a∣ba \mid b, and a=u−1ba = u^{-1}b gives b∣ab \mid a, so (b)⊆(a)(b) \subseteq (a) and (a)⊆(b)(a) \subseteq (b) by the first step.

  4. If (a)=(b)(a) = (b), then a∼ba \sim b.

    By the second step, b=cab = ca and a=dba = db for some c,d∈Rc, d \in R. If a=0a = 0, then b=c⋅0=0=1⋅ab = c \cdot 0 = 0 = 1 \cdot a. If a≠0a \neq 0, then a=dcaa = dca gives a(1−dc)=0a(1 - dc) = 0, and since RR has no zero divisors, dc=1dc = 1. So cc is a unit, and b=cab = ca.

□

Since a∼ba \sim b says (a)=(b)(a) = (b), being associates behaves like equality of ideals: every element is an associate of itself, a∼ba \sim b gives b∼ab \sim a, and a∼ba \sim b and b∼cb \sim c give a∼ca \sim c.

Irreducible elements

A prime pp of Z\mathbb{Z} has divisors, but only dull ones: in every factorization p=abp = ab, one factor is ±1\pm 1. The definition copies this, with units in place of ±1\pm 1.

Definition 12.1.2 (Irreducible element).

Let RR be an integral domain. An element p∈Rp \in R is irreducible if:

  • (i) Not a unit: pp is not a unit of RR.
  • (ii) No proper factorization: whenever p=abp = ab with a,b∈Ra, b \in R, one of aa and bb is a unit.

Condition (ii) rules out 00, since 0=0⋅00 = 0 \cdot 0 and 00 is not a unit. So an irreducible element is a non-zero non-unit that is not a product of two non-units.

For polynomials over a field this is the definition of Definition 11.4.1 again. In F[x]F[x] the units are the non-zero constants (Theorem 11.1.2). So for a non-zero pp, a factorization p=ghp = gh in which neither factor is a unit is one in which both factors are non-constant, that is, a factorization into polynomials of smaller degree than pp. A non-zero p∈F[x]p \in F[x] is therefore an irreducible element exactly when it is an irreducible polynomial.

An associate upup of an irreducible element pp is irreducible. It is not a unit, since otherwise p=u−1(up)p = u^{-1}(up) would be one. And if up=abup = ab, then p=(u−1a)bp = (u^{-1}a)b, so u−1au^{-1}a or bb is a unit, and then aa or bb is one.

The norm

In Z\mathbb{Z}, the size ∣a∣\lvert a\rvert settles which numbers can be split. Rings of the form Z[d]\mathbb{Z}[\sqrt{d}] (Example 10.3.3) have a size of their own, and it turns each question about factors into a question about integers.

Proposition 12.1.3 (The norm).

Let dd be an integer that is not a perfect square. For z=a+bdz = a + b\sqrt{d} in Z[d]\mathbb{Z}[\sqrt{d}], the norm of zz is the integer

N(z)=a2−db2.N(z) = a^2 - db^2.

For all z,w∈Z[d]z, w \in \mathbb{Z}[\sqrt{d}]:

  • (i) N(zw)=N(z)N(w)N(zw) = N(z)N(w), and N(z)=0N(z) = 0 only for z=0z = 0.
  • (ii) zz is a unit exactly when N(z)=±1N(z) = \pm 1.
  • (iii) Suppose z≠0z \neq 0 is not a unit, and no element of Z[d]\mathbb{Z}[\sqrt{d}] has norm mm or −m-m for any divisor mm of N(z)N(z) with 1<m<∣N(z)∣1 < m < \lvert N(z)\rvert. Then zz is irreducible. In particular, zz is irreducible when N(z)=±qN(z) = \pm q for a prime number qq.
Proof.

Idea. Write the norm as a product, N(z)=zzˉN(z) = z\bar{z}, where zˉ=a−bd\bar{z} = a - b\sqrt{d}. Then (i) comes from the fact that this bar respects products, and (ii) and (iii) follow from (i).

  1. The bar zˉ=a−bd\bar{z} = a - b\sqrt{d} is well defined, and zzˉ=N(z)z\bar{z} = N(z).

    Each element of Z[d]\mathbb{Z}[\sqrt{d}] has only one form a+bda + b\sqrt{d} (Example 10.3.3), and zzˉ=a2−db2z\bar{z} = a^2 - db^2.

  2. N(zw)=N(z)N(w)N(zw) = N(z)N(w), the first half of (i).

    Let w=c+edw = c + e\sqrt{d}. By the product formula of Example 10.3.3, zw=(ac+dbe)+(ae+bc)dzw = (ac + dbe) + (ae + bc)\sqrt{d}, and expanding zˉwˉ=(a−bd)(c−ed)\bar{z}\bar{w} = (a - b\sqrt{d})(c - e\sqrt{d}) gives (ac+dbe)−(ae+bc)d(ac + dbe) - (ae + bc)\sqrt{d}, which is zw‾\overline{zw}. So

    N(zw)=zw zw‾=zzˉ wwˉ=N(z)N(w).\begin{aligned} N(zw) &= zw\,\overline{zw} \\ &= z\bar{z}\,w\bar{w} = N(z)N(w). \end{aligned}
  3. N(z)=0N(z) = 0 only for z=0z = 0. This proves (i).

    If N(z)=0N(z) = 0, then a2=db2a^2 = db^2. If b≠0b \neq 0, this gives d=(a/b)2d = (a/b)^2. That is impossible for d<0d < 0, since a square is not negative; and for d>0d > 0 it makes d=∣a/b∣\sqrt{d} = \lvert a/b\rvert rational, which it is not, since dd is not a perfect square. So b=0b = 0, and then a2=0a^2 = 0 gives a=0a = 0.

  4. (ii) zz is a unit exactly when N(z)=±1N(z) = \pm 1.

    If zw=1zw = 1, then N(z)N(w)=N(1)=1N(z)N(w) = N(1) = 1 by (i). Both are integers, so N(z)=±1N(z) = \pm 1. Conversely, if N(z)=zzˉ=±1N(z) = z\bar{z} = \pm 1, then z⋅(±zˉ)=1z \cdot (\pm\bar{z}) = 1, and ±zˉ\pm\bar{z} lies in Z[d]\mathbb{Z}[\sqrt{d}], so zz is a unit.

  5. (iii) Under its hypothesis, zz is irreducible.

    zz is not a unit by hypothesis. Suppose z=vwz = vw with neither vv nor ww a unit. By (i), N(z)=N(v)N(w)N(z) = N(v)N(w). Neither factor is 00, since z≠0z \neq 0, and neither is ±1\pm 1, by (ii). So m=∣N(v)∣m = \lvert N(v)\rvert divides N(z)N(z), m>1m > 1, and m=∣N(z)∣/∣N(w)∣m = \lvert N(z)\rvert / \lvert N(w)\rvert is less than ∣N(z)∣\lvert N(z)\rvert. Then vv has norm mm or −m-m, against the hypothesis. So no such factorization exists, and zz is irreducible.

  6. If N(z)=±qN(z) = \pm q with qq a prime number, the hypothesis of (iii) holds.

    N(z)=±qN(z) = \pm q is neither 00 nor ±1\pm 1, so zz is non-zero and not a unit, by (i) and (ii). And no divisor mm of qq has 1<m<q1 < m < q.

□

For d<0d < 0, d=i∣d∣\sqrt{d} = i\sqrt{\lvert d\rvert}, and N(a+bd)=a2+∣d∣b2N(a + b\sqrt{d}) = a^2 + \lvert d\rvert b^2 is the square of the distance from 00 to a+bda + b\sqrt{d} in the complex plane. Then (i) is the rule that absolute values of complex numbers multiply.

Example 12.1.4 (Units and irreducibles in Z[i]\mathbb{Z}[i] and Z[−5]\mathbb{Z}[\sqrt{-5}]).

In Z[i]\mathbb{Z}[i] the norm is N(a+bi)=a2+b2N(a + bi) = a^2 + b^2.

  • The units are the elements of norm 11, and a2+b2=1a^2 + b^2 = 1 only for (a,b)=(±1,0)(a, b) = (\pm 1, 0) or (0,±1)(0, \pm 1). So the units of Z[i]\mathbb{Z}[i] are 11, −1-1, ii and −i-i.
  • 33 is irreducible. Its norm is 99, so a factor that is not a unit would have norm 33, and a2+b2=3a^2 + b^2 = 3 is impossible: the squares that are at most 33 are 00 and 11.
  • 22 is not irreducible: 2=(1+i)(1−i)2 = (1 + i)(1 - i). Each factor has norm 22, a prime, so each is irreducible. Since 1−i=−i(1+i)1 - i = -i(1 + i), also 2=−i(1+i)22 = -i(1 + i)^2: up to a unit, 22 is the square of one irreducible.
  • 55 is not irreducible: 5=(2+i)(2−i)5 = (2 + i)(2 - i), and each factor has norm 55, so each is irreducible.

In Z[−5]\mathbb{Z}[\sqrt{-5}] the norm is N(a+b−5)=a2+5b2N(a + b\sqrt{-5}) = a^2 + 5b^2.

  • a2+5b2=1a^2 + 5b^2 = 1 forces b=0b = 0 and a=±1a = \pm 1, so the only units are ±1\pm 1.
  • 22 and 33 are irreducible. Their norms are 44 and 99, so a factor that is not a unit would have norm 22 or 33. But a2+5b2≥5a^2 + 5b^2 \ge 5 when b≠0b \neq 0, and a2a^2 is never 22 or 33.

So the primes 22 and 55 of Z\mathbb{Z} split in Z[i]\mathbb{Z}[i] while 33 does not, and in Z[−5]\mathbb{Z}[\sqrt{-5}] the norm takes none of the values 22 and 33. Each of these facts came from asking which integers have the form a2−db2a^2 - db^2.