Chinese Remainder Theorem

From Notes
(Redirected from Chinese remainder theorem)
Jump to navigation Jump to search

Let and be positive integers such that .

For two integers and , there exists an integer such that

if satisfies the same equivalences as above, then

Namely,


Proof

Since , there exist integers and such that

In particular, we have

Multiply both sides of the equivalence by and respectively…

The integer represents the sum of these two equivalences.

This is true because

Suppose another integer also satisfies the equivalences above:

Therefore for some

However, is divisible by both and , which means that must also be divisible by .

and are coprime (; they do not divide each other), so the second equivalence implies that must be divisible by .

Therefore, must be divisible by , so as claimed,

Q.E.D.