The Chinese remainder theorem says that remainders modulo pairwise coprime positive integers can be specified independently. For pairwise coprime and , every prescribed list determines one congruence class modulo satisfying for all . It determines a class, rather than one unrestricted integer: adding a multiple of preserves every remainder.
For example, combine and . Write from the first condition. The second becomes . Since three has modular inverse two modulo five, , giving . The integers , and all work. The fifteen possibilities modulo fifteen correspond to the fifteen pairs in a three-by-five grid.
Figure 1.
Coprime moduli fill every residue pair; shared factors impose a compatibility condition
. Details.
The theorem also preserves arithmetic: reducing an addition or a multiplication modulo each gives the same tuple as performing that operation on the corresponding congruence classes. In the language of quotient rings, reduction is a ring isomorphism
One large residue is thus an exact encoding of several smaller residues. This is useful for splitting arithmetic into smaller calculations and then reconstructing the result; MIT's modular arithmetic notes develop both the reconstruction and the product representation. [ref] For a concrete multiplication, corresponds to and to modulo . Their componentwise product is , which reconstructs to , agreeing with .
A constructive formula explains the independence. For , put and choose with , using a modular multiplicative inverse. Then is one modulo and zero modulo every other . Therefore
has the desired remainders. A modulus equal to one imposes no restriction and can be omitted. Uniqueness follows because a difference divisible by every is divisible by their product when they are pairwise coprime. This short construction gives a reusable algorithm as well as an existence statement.
The coprime hypothesis explains why every cell in the left grid is attainable. With integer moduli six and eight, a pair must agree modulo their greatest common divisor, two. There are twenty-four compatible pairs, rather than forty-eight arbitrary pairs; each corresponds to a class modulo the least common multiple, twenty-four. The Chinese remainder theorem for noncoprime moduli states the resulting compatibility rule.
Choose a primitive root modulo and write the nonzero coefficients as . The Chinese remainder theorem gives an exponent congruent to modulo , respectively. Then and the three roots , , give the displayed common nonzero residue. This technique converts multiplicative power constraints into simultaneous additive modular congruences for exponents.
Let be distinct prime numbers and positive integers. There are infinitely many positive integers with for every . Indeed the moduli are pairwise coprime, so the Chinese remainder theorem solves simultaneously. Adding multiples of their product gives arbitrarily large positive solutions. This allows long runs in which every integer has a large prescribed prime power divisor, even though neighboring integers are coprime.
For positive integer moduli , the simultaneous integer congruences and are solvable exactly when . When solvable, they determine a unique congruence class modulo . To see the condition, put : the remaining equation is the linear congruence , which is solvable exactly when the greatest common divisor divides .
For example, and give , hence and . Thus . Changing the second remainder to two makes the conditions incompatible: the first requires an odd integer, while the second requires an even integer. Article 32 of Carl Friedrich Gauss's Disquisitiones arithmeticae gives a successive construction for simultaneous remainders, including the greatest common divisor and least common multiple that enter this general case. [ref]
For pairwise comaximal ideals in a commutative ring, reduction has the displayed ring isomorphism. The kernel is their intersection, equal to their product. Choose with ; then lifts any prescribed residue tuple. The equality between intersection and product follows from , , , which writes each as .
For a positive integer , every rational number has a unique representation with and . With , the coefficients satisfy . Their existence and uniqueness use modular multiplicative inverses and the Chinese remainder theorem.
A nonzero polynomial of degree over a field has at most roots. In particular, if a polynomial congruence has degree and not all coefficients are divisible by the prime , it has at most incongruent solutions modulo .
For coprime , reduction gives .
The order of a unit modulo a product of coprime moduli is the least common multiple of the orders of its components.

Ancestors (2)

  1. Mathematics
  2. Home

Synonyms (1)

Discussion (0) New discussion

There are no discussions about this article yet.

Articles by others on the same topic (1)

The Chinese Remainder Theorem (CRT) is a result in number theory that provides a way to solve systems of simultaneous congruences with different moduli. It states that if you have several congruences with pairwise coprime moduli, there exists a unique solution modulo the product of those moduli. ### Formulation If \( n_1, n_2, \ldots, n_k \) are pairwise coprime integers (i.e.