The Chinese Remainder Theorem is a powerful method for solving systems of congruences with different moduli. This cheat sheet helps students organize the conditions, notation, and construction steps needed to solve CRT problems accurately. It is especially useful in number theory, contest math, cryptography, and modular arithmetic applications.
Key Facts
- A congruence means that divides , or .
- The Chinese Remainder Theorem applies directly when the moduli are pairwise coprime, meaning for .
- If the moduli are pairwise coprime, the system has one unique solution modulo .
- For each congruence, define , where .
- The modular inverse is chosen so that .
- A CRT solution is .
- For two congruences and with , the solution is unique modulo .
- If moduli are not coprime, a solution exists only when for every pair of congruences.
Vocabulary
- Congruence
- A statement such as saying that and have the same remainder when divided by .
- Modulus
- The positive integer in that determines the remainder system being used.
- Pairwise coprime
- A set of integers is pairwise coprime when every two different integers in the set have greatest common divisor .
- Modular inverse
- The modular inverse of modulo is a number such that .
- Residue class
- A residue class modulo is the set of all integers congruent to the same remainder modulo .
- Unique modulo
- A solution is unique modulo when all solutions differ from it by a multiple of .
Common Mistakes to Avoid
- Forgetting to check that the moduli are pairwise coprime is wrong because the standard CRT formula requires for every pair.
- Using instead of is wrong because each must include all moduli except the one for its own congruence.
- Finding the inverse of the wrong number is wrong because must satisfy , not .
- Stopping before reducing the final answer is wrong because the solution should be written as with when possible.
- Assuming non-coprime systems never have solutions is wrong because they can be consistent when .
Practice Questions
- 1 Solve the system , , and .
- 2 Solve the system and , and write the answer modulo .
- 3 Find the modular inverse of modulo , then use it to solve .
- 4 Explain why the system and has no solution, using the greatest common divisor condition.