Introduction to Modern Algebra

Contents › Chapter 10. Rings

10.2 Integral domains and fields

Dividing by aa means multiplying by an element that undoes multiplication by aa. In Q\mathbb{Q} every non-zero number can be divided by; in Z\mathbb{Z} only 11 and −1-1 can. For which nn can every non-zero class of Z/nZ\mathbb{Z}/n\mathbb{Z} be divided by?

Units

Definition 10.2.1 (Unit; group of units).Not yet reviewed

Let RR be a ring. An element a∈Ra \in R is a unit if there is some b∈Rb \in R with ab=ba=1ab = ba = 1. The units of RR form a group under multiplication, the group of units R×R^\times.

Why the units form a group.

Idea. The check is the one made for (Z/nZ)×(\mathbb{Z}/n\mathbb{Z})^\times in Example 1.3.4: the four group axioms, one at a time, with care for the order of factors, since RR need not be commutative.

  1. (i) Closure: a product of two units is a unit.

    If aa′=a′a=1aa' = a'a = 1 and bb′=b′b=1bb' = b'b = 1, then by associativity (ab)(b′a′)=a(bb′)a′=aa′=1(ab)(b'a') = a(bb')a' = aa' = 1 and (b′a′)(ab)=b′(a′a)b=b′b=1(b'a')(ab) = b'(a'a)b = b'b = 1. So abab is a unit.

  2. (ii) Associativity: multiplication of units is associative.

    Multiplication is associative for all elements of RR.

  3. (iii) Identity: 11 is a unit, and 1a=a1=a1a = a1 = a for every unit aa.

    1⋅1=11 \cdot 1 = 1, so 11 is a unit, and 11 is the multiplicative identity of RR.

  4. (iv) Inverses: if ab=ba=1ab = ba = 1, then bb is a unit.

    The same equations say that bb is a unit, undone by aa.

By Theorem 1.2.4, each unit aa has exactly one inverse, written a−1a^{-1}. □

In Q\mathbb{Q}, R\mathbb{R} and C\mathbb{C} every non-zero element is a unit, so the groups Q×\mathbb{Q}^\times, R×\mathbb{R}^\times and C×\mathbb{C}^\times of non-zero numbers are their groups of units. The element 00 is a unit only in the zero ring: 0b=00b = 0 for every bb (Theorem 10.1.3), so 0b=10b = 1 forces 1=01 = 0.

Integral domains

In Z\mathbb{Z}, the number 22 cannot be divided by, but it can still be canceled: 2b=2c2b = 2c forces b=cb = c. In Z/6Z\mathbb{Z}/6\mathbb{Z} even canceling fails: [2][1]=[2][4][2][1] = [2][4], although [1]≠[4][1] \neq [4]. Moving everything to one side shows what goes wrong: [2]([4]−[1])=[2][3]=[0][2]([4] - [1]) = [2][3] = [0], so two non-zero classes multiply to zero.

Definition 10.2.2 (Integral domain).Not yet reviewed

Let RR be a commutative ring. A zero divisor in RR is a non-zero element aa with ab=0ab = 0 for some non-zero b∈Rb \in R. The ring RR is an integral domain if:

  • (i) Non-zero ring: 1≠01 \neq 0.
  • (ii) No zero divisors: if ab=0ab = 0 for a,b∈Ra, b \in R, then a=0a = 0 or b=0b = 0.

Fields

Definition 10.2.3 (Field).Not yet reviewed

A field is a commutative ring FF such that:

  • (i) Non-zero ring: 1≠01 \neq 0.
  • (ii) Inverses: every non-zero element of FF is a unit.

Since every non-zero element of a field is a unit, the group of units of a field FF is F×=F∖{0}F^\times = F \setminus \{0\}.

Canceling and dividing

The two properties are related: every field is an integral domain, and in a finite ring the two are the same.

Theorem 10.2.4 (Cancellation).Not yet reviewed
  • (i) In an integral domain RR, if ab=acab = ac and a≠0a \neq 0, then b=cb = c.
  • (ii) Every field is an integral domain.
Proof.

The idea is that both parts reduce a product equal to 00 to one of its factors: (i) by the condition on zero divisors, (ii) by multiplying by an inverse.

(i) Suppose ab=acab = ac with a≠0a \neq 0. By distributivity and Theorem 10.1.3 (ii),

a(b−c)=ab+a(−c)=ab−ac=0.a(b - c) = ab + a(-c) = ab - ac = 0.

Since RR has no zero divisors and a≠0a \neq 0, the factor b−cb - c is 00, so b=cb = c.

(ii) A field FF is commutative with 1≠01 \neq 0, so only condition (ii) of an integral domain needs checking. Suppose ab=0ab = 0 and a≠0a \neq 0. Then aa is a unit, and

b=1b=(a−1a)b=a−1(ab)=a−10=0,\begin{aligned} b = 1b &= (a^{-1}a)b \\ &= a^{-1}(ab) = a^{-1}0 = 0, \end{aligned}

using Theorem 10.1.3 (i) at the last step. So a=0a = 0 or b=0b = 0. □

Theorem 10.2.5 (Finite integral domains are fields).

Every finite integral domain is a field.

Proof.

Idea. Let RR be a finite integral domain and let a∈Ra \in R be non-zero. Multiplying by aa never sends two elements to the same place, and a map of a finite set to itself that is one-to-one is also onto, so it reaches 11.

  1. The function ma:R→Rm_a : R \to R, x↦axx \mapsto ax, is injective.

    If ax=ayax = ay, then x=yx = y by Theorem 10.2.4 (i).

  2. ax=1ax = 1 for some x∈Rx \in R.

    An injective function from a finite set to itself is also surjective, so 11 is a value of mam_a.

  3. So every non-zero element of RR is a unit, and RR is a field.

    xa=ax=1xa = ax = 1 because RR is commutative, so aa is a unit. And RR, which has 1≠01 \neq 0, is a field.

□

Which clocks are fields

Clock arithmetic is finite, so by Theorem 10.2.5 a clock ring Z/nZ\mathbb{Z}/n\mathbb{Z} is a field as soon as it is an integral domain, with [1]≠[0][1] \neq [0] and no zero divisors. Which nn give one?

Theorem 10.2.6 (When Z/nZ\mathbb{Z}/n\mathbb{Z} is a field).Not yet reviewed

Let n≥1n \ge 1. The following are equivalent:

  • (i) Z/nZ\mathbb{Z}/n\mathbb{Z} is a field.
  • (ii) Z/nZ\mathbb{Z}/n\mathbb{Z} is an integral domain.
  • (iii) nn is prime.

For a prime pp, the field Z/pZ\mathbb{Z}/p\mathbb{Z} is written Fp\mathbb{F}_p.

Proof.

Idea. When nn is composite, n=abn = ab with 1<a,b<n1 < a, b < n, and the non-zero class [a][a] shares the factor aa with nn, so it has no inverse. When nn is prime, Euclid’s lemma says that nn divides a product only if it divides a factor: no zero divisors. Since the ring is finite, that is enough for a field.

  1. If Z/nZ\mathbb{Z}/n\mathbb{Z} is a field, then nn is prime.

    For n=1n = 1 the ring is the zero ring, where [1]=[0][1] = [0], so it is not a field. If n>1n > 1 is not prime, write n=abn = ab with 1<a<n1 < a < n. Then [a]≠[0][a] \neq [0], since 0<a<n0 < a < n, and gcd⁡(a,n)=a≠1\gcd(a, n) = a \neq 1, so [a][a] is not a unit by Theorem 2.3.4. So Z/nZ\mathbb{Z}/n\mathbb{Z} is not a field.

  2. If n=pn = p is prime, then Z/pZ\mathbb{Z}/p\mathbb{Z} is an integral domain.

    The ring is commutative, and [1]≠[0][1] \neq [0] since p≥2p \ge 2. If [a][b]=[ab]=[0][a][b] = [ab] = [0], then pp divides abab, so by Euclid’s lemma pp divides aa or pp divides bb, that is, [a]=[0][a] = [0] or [b]=[0][b] = [0].

  3. If Z/nZ\mathbb{Z}/n\mathbb{Z} is an integral domain, then it is a field.

    It has nn elements, so it is finite, and Theorem 10.2.5 applies.

  4. So (i), (ii) and (iii) are equivalent.

    The steps prove (i) implies (iii), (iii) implies (ii), and (ii) implies (i), so each of the three implies the other two.

□

So the clock numbers can always be divided exactly when the clock has a prime number of hours: F2,F3,F5,F7,…\mathbb{F}_2, \mathbb{F}_3, \mathbb{F}_5, \mathbb{F}_7, \dots are fields, Z/nZ\mathbb{Z}/n\mathbb{Z} has zero divisors for every composite nn, and Z/1Z\mathbb{Z}/1\mathbb{Z} is the zero ring.