Overview
The Chinese remainder theorem explains when separate modular calculations contain exactly the same information as one calculation with a larger modulus. It gives both existence of a solution and the correct uniqueness statement. There are usually infinitely many integer solutions; uniqueness concerns a residue class, not one integer.
Prerequisites
Understand congruence, coprimality and Bézout identities. The Euclidean algorithm provides the inverses used in a constructive solution. For the ring formulation, know quotient rings and products of rings, whose operations are performed component by component.
Definition and conventions
Let be positive, pairwise coprime integers and put . For any integers , the system has a solution, unique modulo . Equivalently, reduction gives a ring isomorphism
Pairwise coprimality means every pair has gcd one. A collective gcd of one is not sufficient: the moduli have joint gcd one but are not pairwise coprime.
Intuition
Each component records a different remainder. Coprimality makes these requirements independent. The theorem constructs integers that affect one remainder while vanishing in the other components, much as coordinate vectors isolate a coordinate in linear algebra. This is a statement about the arithmetic structure, not just the size of the sets involved.
Examples and non-examples
Solve and . Write . The second condition becomes . Since , take . Thus . Every integer satisfies the two conditions.
For noncoprime moduli, arbitrary remainders may conflict: and cannot both hold, since the first makes even and the second makes it odd. Compatible noncoprime conditions are still possible, but their period is the lcm rather than necessarily the product.
Important properties
For a constructive proof, set and choose with . Then satisfies every congruence: only its matching summand survives modulo . If two solutions exist, each modulus divides their difference; pairwise coprimality implies the product does too.
For two arbitrary positive moduli , compatibility is exactly . This follows by writing and asking whether is solvable. In a commutative ring, pairwise comaximal ideals give the analogous quotient-product isomorphism, with their intersection equal to their product.
Connections and further reading
The theorem explains multiplicativity of the totient and reduces computations to prime powers. The ideal version underlies decompositions in algebraic number theory. Milne, Theorem 1.14 provides that extension.