Chinese Remainder Theorem, Solving For Multiplicative Inverses

Click For Summary
SUMMARY

The discussion focuses on solving linear congruences using the Chinese Remainder Theorem (CRT) and addresses challenges when the coefficient term exceeds the modulus. Specifically, the equations 77x ≡ 1 (mod 3), 33y ≡ 1 (mod 7), and 21z ≡ 1 (mod 11) are analyzed. The solution involves reducing the coefficients modulo their respective moduli. Additionally, a system of congruences is examined, leading to the conclusion that a unique solution exists when the greatest common divisor of the moduli is 1. For n=2, the least possible value of N is determined to be 61 when N is positive.

PREREQUISITES
  • Understanding of the Chinese Remainder Theorem (CRT)
  • Familiarity with linear congruences
  • Knowledge of the Euclidean algorithm
  • Concept of modular arithmetic
NEXT STEPS
  • Study the application of the Euclidean algorithm in modular arithmetic
  • Explore advanced techniques for solving linear congruences
  • Research recursive methods for finding solutions in systems of congruences
  • Learn about the properties of the Euler's totient function (φ) in relation to CRT
USEFUL FOR

Mathematicians, computer scientists, and students studying number theory or cryptography who are interested in solving linear congruences and applying the Chinese Remainder Theorem.

cwatki14
Messages
56
Reaction score
0
So I am working on solving sets of linear congruence with the chinese remainder theorem. When I go to solve for the inverses I am meeting a bit of trouble. What do I do when the a term is larger that m?
Example
77x=1(mod3)
33y=1(mod7)
21z=1(mod11)
where x,y,z are the inverses I am trying to solve for so I can use the chinese remainder thm. I usually solve for congruences by applying the euclidean algorithm backwards, but I have never encountered the situation where the a term is larger than the modulo m... What do I do to solve for these inverses?

Also, I am looking at a system of linear congruences like the following
N=0(mod\phi1)
N=-1(mod\phi2)
...
N=-(n-1)(mod\phin)
A unique solution exists since (\phin,\phim)=1 whenever m does not equal n.
So it asks when n=2 what is the least possible value of N? How do I do this/ solve for the inverses? I didn't think it was referring to phi of n or phi of m more like phi sub n or phi sub m, but I am not entirely sure...
 
Physics news on Phys.org
A hint for your first question:

If a = b (mod m), then ax = bx (mod m).

Find a way to apply this to, say, the equation 77x = 1 (mod 3).

HTH

Petek
 
cwatki14 said:
So I am working on solving sets of linear congruence with the chinese remainder theorem. When I go to solve for the inverses I am meeting a bit of trouble. What do I do when the a term is larger that m?
Example
77x=1(mod3)
33y=1(mod7)
21z=1(mod11)
where x,y,z are the inverses I am trying to solve for so I can use the chinese remainder thm. I usually solve for congruences by applying the euclidean algorithm backwards, but I have never encountered the situation where the a term is larger than the modulo m... What do I do to solve for these inverses?

Also, I am looking at a system of linear congruences like the following
N=0(mod\phi1)
N=-1(mod\phi2)
...
N=-(n-1)(mod\phin)
A unique solution exists since (\phin,\phim)=1 whenever m does not equal n.
So it asks when n=2 what is the least possible value of N? How do I do this/ solve for the inverses? I didn't think it was referringw to phi of n or phi of m more like phi sub n or phi sub m, but I am not entirely sure...
the answer to the first part is that you can always subtract 0 mod m from both sides. Therefore since 75x = 0 mod 3, 77x-75x =1-0 mod 3. the answer to the second part is to look for a recursive method to find N then see if that can be reduced to a direct formula as a function of n . The simple answer to the second part is different depending upon whether N is an negative or positive number. Assuming N is positive and n = 5 the second smallest number N would be 61.
 
Last edited:

Similar threads

Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 26 ·
Replies
26
Views
974
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
12
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K