Skip to content
← All questions

How does the iterative CRT method find the smallest solution to the system x ≡ 3 (mod 4), x ≡ 5 (mod 6), x ≡ 2 (mod 5)?

The method solves the congruences one by one by maintaining an arithmetic progression of candidate solutions. It starts with the sequence of numbers satisfying the first congruence, tests them against the second to find a common solution, and then updates the step size to the least common multiple (LCM) of the first two moduli. This process is repeated for the third congruence to find the smallest overall solution.

Conditions

  • The unknown x is an integer.
  • The system consists of the congruences x ≡ 3 (mod 4), x ≡ 5 (mod 6), and x ≡ 2 (mod 5).

Reasoning, step by step

  1. Start with the sequence of numbers satisfying x ≡ 3 (mod 4): 3, 7, 11, ...
  2. Test these candidates against the second congruence x ≡ 5 (mod 6). The first match is 11.
  3. Update the step size to the LCM of the first two moduli: LCM(4, 6) = 12.
  4. Generate the new sequence of simultaneous solutions: 11, 23, 35, 47, ...
  5. Test this new sequence against the third congruence x ≡ 2 (mod 5).
  6. The first term that satisfies the third congruence is 47, which is the smallest solution to the full system.

Example

The video explicitly walks through this: 'To satisfy the first requirement, we can take 3 or 7, 11, 15, and so on.' It then checks 11 against mod 6, updates the step to 12, and checks 11, 23, 35, and 47 against mod 5, concluding '47 modulo 5 is 2 indeed. So it is the smallest solution for our system of three congruences.'

Common misconceptions

  • Assuming the first number that satisfies the second congruence is the final answer, forgetting to check the third.
  • Thinking the step size remains 4 after satisfying the second congruence, rather than updating to the LCM of 4 and 6.

Watch the explanation

Connected concepts

Explore next

Related questions

Understand why

↗
Understand why

↗
Meet the concept

↗
Find a method

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.