Criterion for $\mathbb{Z}/p\mathbb{Z}$ to be a field
Statement
For an integer , the residue ring is a field if and only if is a prime number.
Why is it true?
When is prime, no nonzero number smaller than shares a factor with , so Bézout's identity always manufactures an inverse modulo ; when is composite, its factors multiply to and destroy invertibility.
Proof sketch
() Suppose is prime, and let be any nonzero residue class, represented by an integer with . Since is prime and , the greatest common divisor of and is .
By Bézout's identity, there exist integers such that . Reducing both sides modulo kills the multiple , leaving in . Thus is the multiplicative inverse of , and since every nonzero element is invertible, is a field.
() Conversely, suppose is composite, so for integers . Because and are strictly between and , their residue classes and are both nonzero in , yet their product is .
Thus is a zero divisor, and no zero divisor can have a multiplicative inverse: if had an inverse , multiplying on the left by would force , a contradiction. Hence is not a field when is composite.
Topics that use this theorem
Step-by-step proofs
No step-by-step proof yet for this theorem.
References
- David S. Dummit, Richard M. Foote (2004). Abstract Algebra (3rd ed.)
- Michael F. Atiyah, Ian G. Macdonald (1969). Introduction to Commutative Algebra