Description:
- Let m1,m2,...,mn be pairwise relatively prime positive integers greater than 1 and a1,a2,...,an arbitrary integers.
- Then the system⎩⎨⎧x≡a1modm1x≡a2modm2...x≡anmodmn has a unique solution modulo m=m1m2,...,mn
- That is, there is a solution x with 0≤x<m, and all other solutions are congruent modulo m to this solution
Uniqueness
- Let assume 0<=x,y<m be solution, then mk∣y−x for all k=1,2,...,n (why?).
- Hence, m=m1m2⋅⋅⋅mn and m∣y−x
- note ∣y−x∣<m, we must have y−x=0, or x=y
Existence
- Define Mk=m/mk for k=1,2,...,n. We can show gcd(mk,Mk)=1
- Thus, there exists an integer yk such that Mkyk≡1modmk
- We can show x≡a1M1y1+a2M2y2+⋅⋅⋅+anMnynmodm is a solution