Purpose
The purpose of this activity is give you extra practice solving systems of modular equations using the Chinese Remainder Theorem.
The purpose of this activity is give you extra practice solving systems of modular equations using the Chinese Remainder Theorem.
Chinese Remainder Theorem: Let be pairwise coprime and set
. For any choice
, there exists a solution
to the system of congruences:
Moreover, if
How Do We Actually Solve?
Step 1: Set , where
.
Step 2: Find , with
, i.e. find the inverse of
in
.
Step 3: Compute , this is the solution.
Example 1
Solve the following system of modular equations:
Step 1: Let
Step 2: Find
Step 3: The solution is
Verification:
Therefore, the set of solutions is
Example 2
Solve the following system of modular equations:
Step 1: Let
Step 2: Find
Step 3: The solution is
Therefore
Verification:
Therefore, the set of solutions is