The method of successive substitution, in mathematics, is a method of solving problems of simultaneous congruences by using the definition of the congruence equation.
For example, consider the simple set of simultaneous congruences
- x ≡ 3 (mod 4)
- x ≡ 11 (mod 12)
- 3+4j ≡ 11 (mod 12)
Subtract 3 from both sides (this is permitted in modular arithmetic)
- 4j ≡ 11 (mod 12)
- j ≡ 44 (mod 12)
- j ≡ 8 (mod 12)
- x=3+4(8+12k)
- x=35+48k
- x≡ 35 (mod 48)
- write the first equation in its equivalent form
- substitute it into the next
- simplify, use the multiplicative inverse if necessary
- continue until the last equation
- back substitute, then simplify
- rewrite back in the congruence form