MathLabs
TheoremProved

Criterion for $\mathbb{Z}/p\mathbb{Z}$ to be a field

Statement

For an integer p≥2p \ge 2, the residue ring Z/pZ\mathbb{Z}/p\mathbb{Z} is a field if and only if pp is a prime number.

Why is it true?

When pp is prime, no nonzero number smaller than pp shares a factor with pp, so Bézout's identity always manufactures an inverse modulo pp; when pp is composite, its factors multiply to p≡0p \equiv 0 and destroy invertibility.

Proof sketch

(⇐\Leftarrow) Suppose pp is prime, and let aˉ∈Z/pZ\bar{a} \in \mathbb{Z}/p\mathbb{Z} be any nonzero residue class, represented by an integer aa with 1≤a≤p−11 \le a \le p - 1. Since pp is prime and p∤ap \nmid a, the greatest common divisor of aa and pp is gcd⁡(a,p)=1\gcd(a,p) = 1.

By Bézout's identity, there exist integers u,v∈Zu, v \in \mathbb{Z} such that au+pv=1au + pv = 1. Reducing both sides modulo pp kills the multiple pvpv, leaving aˉ uˉ=1ˉ\bar{a}\,\bar{u} = \bar{1} in Z/pZ\mathbb{Z}/p\mathbb{Z}. Thus uˉ=aˉ−1\bar{u} = \bar{a}^{-1} is the multiplicative inverse of aˉ\bar{a}, and since every nonzero element is invertible, Z/pZ\mathbb{Z}/p\mathbb{Z} is a field.

(⇒\Rightarrow) Conversely, suppose pp is composite, so p=bcp = bc for integers 1<b,c<p1 < b, c < p. Because bb and cc are strictly between 00 and pp, their residue classes bˉ\bar{b} and cˉ\bar{c} are both nonzero in Z/pZ\mathbb{Z}/p\mathbb{Z}, yet their product is bˉ cˉ=bc‾=pˉ=0ˉ\bar{b}\,\bar{c} = \overline{bc} = \bar{p} = \bar{0}.

Thus bˉ\bar{b} is a zero divisor, and no zero divisor can have a multiplicative inverse: if bˉ\bar{b} had an inverse bˉ−1\bar{b}^{-1}, multiplying bˉ cˉ=0ˉ\bar{b}\,\bar{c} = \bar{0} on the left by bˉ−1\bar{b}^{-1} would force cˉ=0ˉ\bar{c} = \bar{0}, a contradiction. Hence Z/pZ\mathbb{Z}/p\mathbb{Z} is not a field when pp is composite.

Topics that use this theorem

Step-by-step proofs

No step-by-step proof yet for this theorem.

References

  1. David S. Dummit, Richard M. Foote (2004). Abstract Algebra (3rd ed.)
  2. Michael F. Atiyah, Ian G. Macdonald (1969). Introduction to Commutative Algebra