19. Integral Domains¶
Divisors of Zero¶
Definition 19.1 : Divisors of 0
If \(a\) and \(b\) are two nonzero elements of a ring \(R\) such that \(a b=0\), then \(a\) and \(b\) are divisors of 0 (or 0 divisors).
Theorem 19.2 : Divisors of 0 in \(\mathbb{Z}_{n}\)
In the ring \(\mathbb{Z}_{n}\), the divisors of \(0\) are precisely the nonzero elements that are not relatively prime to \(n\).
Proof
Let \(m \in \mathbb{Z}_{n}\) with \(m \neq 0\), and suppose that the gcd of \(m\) and \(n\) is \(d \neq 1\). Then
The element \(\left(m / d\right)n\) is a multiple of \(n\), so it is \(0\) in \(\mathbb{Z}_{n}\). Thus \(m(n / d)=0\) in \(\mathbb{Z}_{n}\). Since neither \(m\) nor \(n / d\) is \(0\) in \(\mathbb{Z}_{n}\), the element \(m\) is a divisor of \(0\).
Conversely, suppose \(m \in \mathbb{Z}_{n}\) is relatively prime to \(n\). If \(s \in \mathbb{Z}_{n}\) and \(m s=0\), then \(n\) divides the integer product \(m s\). Since \(n\) is relatively prime to \(m\), the divisibility result for relatively prime factors (Theorem 6.8) shows that \(n\) divides \(s\). Hence \(s=0\) in \(\mathbb{Z}_{n}\). Therefore \(m\) is not a divisor of \(0\).
Corollary 19.3 : No divisors of 0 in \(\mathbb{Z}_{p}\)
If \(p\) is a prime, then \(\mathbb{Z}_{p}\) has no divisors of \(0\).
Proof
This follows immediately from Theorem 19.2.
Theorem 19.4 : Cancellation laws and divisors of 0
The cancellation laws hold in a ring \(R\) if and only if \(R\) has no divisors of \(0\).
Proof
Suppose first that the cancellation laws hold in \(R\), and suppose that \(a b=0\) for some \(a,b \in R\). We must show that either \(a\) or \(b\) is \(0\). If \(a \neq 0\), then \(a b=a0\), so cancellation gives \(b=0\). Similarly, if \(b \neq 0\), then \(a b=0b\), so cancellation gives \(a=0\). Hence there can be no divisors of \(0\) when the cancellation laws hold.
Conversely, suppose that \(R\) has no divisors of \(0\), and suppose that \(a b=a c\) with \(a \neq 0\). Then
Since \(a \neq 0\) and \(R\) has no divisors of \(0\), we must have \(b-c=0\). Therefore \(b=c\). A similar argument shows that if \(b a=c a\) with \(a \neq 0\), then \(b=c\). Thus the cancellation laws hold in \(R\).
Suppose that \(R\) is a ring with no divisors of \(0\). Then an equation \(a x=b\) with \(a \neq 0\) can have at most one solution \(x\) in \(R\). Indeed, if \(a x_{1}=b\) and \(a x_{2}=b\), then \(a x_{1}=a x_{2}\), and Theorem 19.4 gives \(x_{1}=x_{2}\) because \(R\) has no divisors of \(0\).
If \(R\) has unity \(1 \neq 0\) and \(a\) is a unit in \(R\) with multiplicative inverse \(a^{-1}\), then the solution of \(a x=b\) is \(a^{-1} b\). When \(R\) is commutative, and in particular when \(R\) is a field, it is customary to denote both \(a^{-1} b\) and \(b a^{-1}\) by the formal quotient \(b / a\), since these two elements are equal by commutativity. This quotient notation must not be used when \(R\) is not commutative, because then \(b / a\) would not specify whether it means \(a^{-1} b\) or \(b a^{-1}\). In particular, the multiplicative inverse \(a^{-1}\) of a nonzero element \(a\) of a field may be written as \(1 / a\).
Integral Domains¶
Definition 19.5 : Integral domain
An integral domain \(D\) is a commutative ring with unity \(1 \neq 0\) and containing no divisors of \(0\).
Theorem 19.6 : Every field is an integral domain
Every field \(F\) is an integral domain.
Proof
Let \(a, b \in F\), and suppose that \(a \neq 0\). If \(a b=0\), then
Therefore
Thus \(a b=0\) with \(a \neq 0\) implies that \(b=0\) in \(F\). Hence there are no divisors of \(0\) in \(F\). Since \(F\) is a commutative ring with unity, it follows that \(F\) is an integral domain.

Figure 19.1.
Theorem 19.7 : Finite integral domains are fields
Every finite integral domain is a field.
Proof
Let
be all the elements of a finite domain \(D\). We need to show that if \(a \in D\) and \(a \neq 0\), then there exists \(b \in D\) such that \(a b=1\). Consider
These elements of \(D\) are all distinct, because \(a a_{i}=a a_{j}\) implies \(a_{i}=a_{j}\) by the cancellation laws for integral domains (Theorem 19.4). Also, since \(D\) has no \(0\) divisors, none of these elements is \(0\). By counting, the elements \(a1, a a_{1}, \cdots, a a_{n}\) must therefore be the elements \(1, a_{1}, \cdots, a_{n}\) in some order. Hence either \(a1=1\), so \(a=1\), or \(a a_{i}=1\) for some \(i\). Thus \(a\) has a multiplicative inverse.
Corollary 19.8 : \(\mathbb{Z}_{p}\) is a field for prime \(p\)
If \(p\) is a prime, then \(\mathbb{Z}_{p}\) is a field.
Proof
This follows immediately from the fact that \(\mathbb{Z}_{p}\) is an integral domain (Corollary 19.3) and from Theorem 19.7.
The Characteristic of a Ring¶
Definition 19.9 : Characteristic of a ring
Suppose \(R\) is a ring. If there exists a positive integer \(n\) such that \(n \cdot a=0\) for all \(a \in R\), then the least such positive integer is the characteristic of the ring \(R\). If no such positive integer exists, then \(R\) is of characteristic \(0\).
Theorem 19.10 : Characteristic detected by unity
Let \(R\) be a ring with unity. If \(n \cdot 1 \neq 0\) for all \(n \in \mathbb{Z}^{+}\), then \(R\) has characteristic \(0\). If \(n \cdot 1=0\) for some \(n \in \mathbb{Z}^{+}\), then the smallest such integer \(n\) is the characteristic of \(R\).
Proof
Suppose first that \(n \cdot 1 \neq 0\) for all \(n \in \mathbb{Z}^{+}\). Then there is no positive integer \(n\) such that \(n \cdot a=0\) for every \(a \in R\), since this would in particular give \(n \cdot 1=0\). Therefore, according to Definition 19.9, \(R\) has characteristic \(0\).
Now suppose that \(n\) is a positive integer such that \(n \cdot 1=0\). For any \(a \in R\), we have
Thus any positive integer that kills \(1\) also kills every element of \(R\). Hence the smallest positive integer \(n\) satisfying \(n \cdot 1=0\) is exactly the characteristic of \(R\).