Maths WorkshopMaths problems with full solutions
Exercise 1579Number theory › CongruencesL1Added 3 Nov 2026

The CRT as a ring isomorphism

#CRT#ring isomorphism#product

Statement

Show that the CRT gives a ring isomorphism Z/mnZ≅Z/mZ×Z/nZ\mathbb{Z}/mn\mathbb{Z}\cong\mathbb{Z}/m\mathbb{Z}\times\mathbb{Z}/n\mathbb{Z} when gcd⁡(m,n)=1\gcd(m,n)=1.

Hint

Define φ:x mod mn↦(x mod m,x mod n)\varphi:x\bmod{mn}\mapsto(x\bmod m,x\bmod n).

Show solutionHide solution

Solution

Homomorphism. φ\varphi preserves ++ and ×\times component-wise, with φ(1)=(1ˉ,1ˉ)\varphi(1)=(\bar1,\bar1).

Injective. If φ(xˉ)=(0,0)\varphi(\bar x)=(0,0), then m∣xm\mid x and n∣xn\mid x, and gcd⁡(m,n)=1\gcd(m,n)=1 implies mn∣xmn\mid x.

Surjective. Both sides have mnmn elements, and injectivity gives surjectivity.

Conclusion. φ\varphi is a ring isomorphism.

Application. Z/6Z≅F2×F3\mathbb{Z}/6\mathbb{Z}\cong\mathbb{F}_2\times\mathbb{F}_3; Z/8Z≇Z/2Z×Z/4Z\mathbb{Z}/8\mathbb{Z}\not\cong\mathbb{Z}/2\mathbb{Z}\times\mathbb{Z}/4\mathbb{Z} (since gcd⁡(2,4)=2≠1\gcd(2,4)=2\neq1).