Unique Inverse of a Modulo m When a and m are Relatively Prime

In summary, the conversation discusses proving the uniqueness of the inverse of a modulo m given that a and m are relatively prime positive integers. The conversation includes a hint and multiple attempts at solving the problem, ultimately leading to the conclusion that the theorem seen in class proves the desired result.
  • #1
brad sue
281
0
Hi,
I need help with this problem.

Show that if a and m are relatively prime positive integers, then the inverse of a modulo m is unique modulo m.
[hint: assume that there are 2 solutions b and c of the congruence ax==1(mod m). No need to prove that b==c (mod m) ]

I have just started:

a*b==1(mod m) and c*a==1(mod m)-->a*b==c*a(mod m)
-->b==c (mod m)
then ??
Can I have some help please?
B
 
Physics news on Phys.org
  • #2
b=c (mod m) is what you're trying to prove. The problem is deriving this from a*b=a*c (mod m). You can't just cancel a like in ordinary multiplication (for example, 3*1=3*4 (mod 9), but 1[itex]\neq[/itex]4(mod 9)). a*b=a*c (mod m) is equivalent to saying that m divides a*b-a*c=a*(b-c). What can you conclude from this given that a and m are relatively prime?
 
  • #3
StatusX said:
b=c (mod m) is what you're trying to prove. The problem is deriving this from a*b=a*c (mod m). You can't just cancel a like in ordinary multiplication (for example, 3*1=3*4 (mod 9), but 1[itex]\neq[/itex]4(mod 9)). a*b=a*c (mod m) is equivalent to saying that m divides a*b-a*c=a*(b-c). What can you conclude from this given that a and m are relatively prime?

we can say that gcd(a,m)=1 and a*b=a*c (mod m)
--> b=c(mod m) (according a theorem we saw in class)..
Am I right?
B
 
  • #4
Then you're done. Given that theorem, it's a pretty trivial problem.
 

1. What is a unique inverse of a modulo m?

A unique inverse of a modulo m is a number that, when multiplied by a given number a and then taken modulo m, results in a remainder of 1. In other words, it is a number that "undoes" the modulo operation for a given value of m.

2. How do you find the unique inverse of a modulo m?

The unique inverse of a modulo m can be found using the extended Euclidean algorithm. This algorithm involves finding the greatest common divisor (GCD) of a and m and using this to calculate the inverse. The formula for calculating the inverse is (a * x) mod m = 1, where x is the inverse.

3. What does it mean for a and m to be relatively prime?

Two numbers a and m are relatively prime if their greatest common divisor (GCD) is 1. In other words, they do not share any common factors other than 1. This is important because when a and m are relatively prime, the extended Euclidean algorithm can be used to find the unique inverse of a modulo m.

4. Can a and m be any integer values for the unique inverse to exist?

No, a and m must be relatively prime for the unique inverse to exist. If a and m are not relatively prime, then there is no number that can be multiplied by a to result in a remainder of 1 when taken modulo m.

5. Why is finding the unique inverse of a modulo m important?

Finding the unique inverse of a modulo m has many practical applications in the fields of mathematics and computer science. It is used in cryptography to encrypt and decrypt messages, in coding theory to detect and correct errors in data transmission, and in various algorithms and equations involving modular arithmetic.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
16
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
948
  • Calculus and Beyond Homework Help
Replies
15
Views
2K
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
  • Linear and Abstract Algebra
Replies
11
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
662
Back
Top