← 2026 Paper 2
UPSC 2026 Maths Optional Paper 2 Q4a — Step-by-Step Solution
15 marks · Section A
Integral domains; characteristic · Algebra · asked 3× in 14 yrs · Read the full method →
Question
Let n be a positive integer. Show that the following statements are equivalent:
(i) Z/nZ is an integral domain.
(ii) Z/nZ is a field.
(iii) n is prime.
Technique
Three statements, so six implications in principle — but a cycle (i)⇒(iii)⇒(ii)⇒(i) proves all six by transitivity and costs less than half the writing. Announce the cycle, then run it: the composite factorisation n=ab manufactures the zero divisor, Bézout manufactures the inverse, and “field ⇒ domain” is the one-line generic implication. The whole question turns on one axiom most candidates never write down — an integral domain and a field are both required to satisfy 1=0 — because n=1 is a live case here and is only excluded by that axiom.
Solution
Step 0 — Conventions, stated because the marks depend on them.
All rings below are commutative with identity. Recall the two definitions in the precise form:
- A ring R is an integral domain if R is commutative, has an identity 1R with 1R=0R, and has no zero divisors: for a,b∈R, ab=0⇒a=0 or b=0.
- A ring R is a field if R is commutative, has an identity 1R with 1R=0R, and every a=0 in R has a multiplicative inverse.
The clause 1R=0R (equivalently, R is not the zero ring) is part of both definitions. It is the clause that does the work at n=1; Step 6 is devoted to it.
An integer p is prime if p≥2 and its only positive divisors are 1 and p. In particular 1 is not prime, and no prime is 1.
Step 1 — The ring Z/nZ, and two facts we shall use repeatedly.
For n≥1, nZ is an ideal of Z and the quotient
Z/nZ={0ˉ,1ˉ,…,n−1},aˉ:=a+nZ,
is a commutative ring with identity 1ˉ under aˉ+bˉ=a+b, aˉbˉ=ab (these are well defined precisely because nZ is an ideal). It has exactly n elements.
Fact A. aˉ=0ˉ⟺n∣a. In particular, if 0<a<n then aˉ=0ˉ.
Fact B. 1ˉ=0ˉ⟺n∣1⟺n=1 (as n≥1). Hence
1ˉ=0ˉ in Z/nZ⟺n≥2.
Step 2 — Strategy: prove a cycle, not six implications.
The three statements are equivalent as soon as we prove the single cycle
(i)⟹(iii)⟹(ii)⟹(i),
because then any one of them implies any other by following the arrows round (e.g. (ii)⇒(iii) is (ii)⇒(i)⇒(iii)). We prove exactly these three implications.
Step 3 — (i)⇒(iii): if Z/nZ is an integral domain then n is prime.
Assume Z/nZ is an integral domain.
First, n≥2. By the definition of an integral domain, 1ˉ=0ˉ; by Fact B this forces n≥2. (This is where n=1 is killed. Do not skip it — see Step 6.)
Next, n has no non-trivial factorisation. Suppose, for contradiction, that n is not prime. Since n≥2 and n is not prime, n has a positive divisor other than 1 and n; so we may write
n=abwith1<a<n,1<b<n.
By Fact A, 0<a<n gives aˉ=0ˉ and 0<b<n gives bˉ=0ˉ. But
aˉbˉ=ab=nˉ=0ˉ,
so aˉ and bˉ are zero divisors in Z/nZ — contradicting the hypothesis that it is an integral domain.
Hence n is prime. ■
Step 4 — (iii)⇒(ii): if n is prime then Z/nZ is a field.
Let n=p be prime, so p≥2.
The ring is non-trivial and commutative with identity. By Step 1 it is commutative with identity 1ˉ, and by Fact B, p≥2 gives 1ˉ=0ˉ.
Every non-zero element is invertible. Let aˉ=0ˉ, i.e. (Fact A) p∤a. Consider d=gcd(a,p). Since d∣p and p is prime, d=1 or d=p; and d=p would give p∣a, which is false. Hence
gcd(a,p)=1.
By Bézout’s identity there exist integers u,v with
au+pv=1.
Reducing modulo p (i.e. applying the ring homomorphism Z→Z/pZ, and using pˉ=0ˉ):
aˉuˉ+0ˉ⋅vˉ=1ˉ⟹aˉuˉ=1ˉ.
So uˉ is a multiplicative inverse of aˉ. As aˉ=0ˉ was arbitrary, every non-zero element of Z/pZ is a unit.
Therefore Z/pZ is a field. ■
(Bézout is the route to write, because it is constructive — it names the inverse uˉ. An alternative, equally valid, is the pigeonhole argument: for aˉ=0ˉ the map φ:Z/pZ→Z/pZ, φ(xˉ)=aˉxˉ, is injective — aˉxˉ=aˉyˉ⇒p∣a(x−y)⇒p∣x−y by Euclid’s lemma — hence surjective on the finite set Z/pZ, so 1ˉ is attained.)
Step 5 — (ii)⇒(i): every field is an integral domain.
This implication uses nothing about Z/nZ; it is the general fact.
Let F be a field. By definition F is commutative with 1=0, so only the absence of zero divisors needs checking. Suppose ab=0 in F with a=0. Since F is a field, a−1 exists, and
b=1⋅b=(a−1a)b=a−1(ab)=a−1⋅0=0.
So ab=0 forces a=0 or b=0: F has no zero divisors, and F is an integral domain.
Applying this with F=Z/nZ closes the cycle. ■
Step 6 — The case n=1, addressed explicitly (this is where the question bites).
The hypothesis is that n is a positive integer, so n=1 is admitted and must be dealt with. Here
Z/1Z={0ˉ}is the zero ring, and1ˉ=0ˉ.
Now note carefully:
- The condition ”ab=0⇒a=0 or b=0” holds in {0ˉ} vacuously — there is no non-zero element at all, so there is no zero divisor to find. A candidate who defines an integral domain merely as “a commutative ring with no zero divisors” therefore concludes that Z/1Z is an integral domain, while 1 is not prime — and the stated equivalence collapses at n=1.
- It does not collapse, because the definition also demands 1=0, which fails here. So Z/1Z is not an integral domain and not a field.
- And 1 is not prime.
Hence at n=1 all three statements (i), (ii), (iii) are false, so they are (trivially but genuinely) equivalent there. The general argument of Steps 3–5 already covers this: the only place n=1 could have leaked through is Step 3, and it was excluded there by the 1ˉ=0ˉ axiom, which is exactly why that half-line was written out.
Step 7 — Conclusion.
The cycle (i)⇒(iii)⇒(ii)⇒(i) is established for every positive integer n, hence
Z/nZ is an integral domain⟺Z/nZ is a field⟺n is prime.■
Step 8 — Two remarks that show the structure behind the result.
(a) The ideal-theoretic proof (one line each). For a commutative ring R with identity and an ideal I:
R/I is an integral domain⟺I is prime;R/I is a field⟺I is maximal.
In R=Z the ideals are exactly nZ, n≥0, and for n≥1
nZ prime⟺n prime⟺nZ maximal,
the middle-to-right step being the standard fact that in a PID every non-zero prime ideal is maximal. Substituting I=nZ gives (i) ⟺ (iii) ⟺ (ii) at once. The elementary proof above is still the one to present — it needs no quotient-ring machinery — but quoting this in two lines at the end is cheap and reads as mastery.
(b) Why the hypothesis ”n positive” is not decoration. The ring Z/0Z≅Z is an integral domain but is not a field, and 0 is not prime. So at n=0 statement (i) is true while (ii) and (iii) are false: the three statements are not equivalent. The restriction n≥1 in the question is doing real work. (In the ideal language: {0} is a prime ideal of Z that is not maximal — the single exception in the PID fact quoted in (a).)
(c) The trichotomy behind (i) ⇒ (ii). For n≥2, aˉ is a unit of Z/nZ iff gcd(a,n)=1, and a non-zero aˉ is a zero divisor iff gcd(a,n)>1; so in Z/nZ every non-zero element is either a unit or a zero divisor, with no third possibility. This is the concrete face of the general theorem every finite integral domain is a field, which supplies (i)⇒(ii) directly if one prefers.
Answer
For every positive integer n:Z/nZ integral domain⟺Z/nZ field⟺n prime,proved by the cycle (i)⇒(iii)⇒(ii)⇒(i):n=ab, 1<a,b<n ⇒ aˉbˉ=0ˉ with aˉ,bˉ=0ˉ;gcd(a,p)=1⇒au+pv=1⇒aˉ−1=uˉ;ab=0, a=0 ⇒ b=a−1(ab)=0.Edge case n=1: Z/1Z={0ˉ} has 1ˉ=0ˉ, so it is neither a domain nor a field, and 1 is not prime— all three statements false, equivalence intact. (At n=0 it would fail: Z is a domain, not a field.)