Can X be its own inverse in a residue system?

  • Context: Graduate 
  • Thread starter Thread starter mets19
  • Start date Start date
  • Tags Tags
    Primes Relative
Click For Summary
SUMMARY

The discussion centers on the properties of integers in a residue system, specifically addressing the existence of an integer \( y \) such that \( x \cdot y \equiv 1 \mod n \) when \( x \) is relatively prime to \( n \). Participants confirm that if \( n > 0 \) and \( 0 < x < n \), then \( n \) divides \( (1 - xy) \), leading to the conclusion that \( x \) can be its own inverse under certain conditions. The analysis emphasizes the significance of the relationship between powers of \( x \) and their congruences in modular arithmetic.

PREREQUISITES
  • Understanding of modular arithmetic and congruences
  • Familiarity with the concept of relative primality
  • Knowledge of residue systems and their properties
  • Basic algebraic manipulation and number theory
NEXT STEPS
  • Study the Extended Euclidean Algorithm for finding modular inverses
  • Explore properties of groups in modular arithmetic
  • Learn about the Chinese Remainder Theorem and its applications
  • Investigate the implications of Fermat's Little Theorem in number theory
USEFUL FOR

This discussion is beneficial for mathematicians, students of number theory, and anyone interested in the properties of integers within modular systems.

mets19
Messages
1
Reaction score
0
Hi all,
Supppose that n > 0 and 0 < x < n are integers and x is relatively prime to n, show that there is an integer y with the property:
x*y is congruent to 1 (mod n)

I have attempted the following, I am not sure if I am on the right track:
1 = xy + qn which implies 1 - xy = qn
n|(1-xy) which implies q(1-xy) = n
so if I divide q in the first equation i get [tex]\frac{1-xy}{q}[/tex]=n which is equal to q(1-xy)=n.

Thanks in advance
Maunil
 
Last edited:
Physics news on Phys.org
mets19 said:
Hi all,
Supppose that n > 0 and 0 < x < n are integers and x is relatively prime to n, show that there is an integer y with the property:
x*y is congruent to 1 (mod n)

I have attempted the following, I am not sure if I am on the right track:
1 = xy + qn which implies 1 - xy = qn

There you go!
1-xy=qn implies 1-xy=0 (mod n), hence 1=xy (mod n).

mets19 said:
n|(1-xy) which implies q(1-xy) = n
so if I divide q in the first equation i get [tex]\frac{1-xy}{q}[/tex]=n which is equal to q(1-xy)=n.

Thanks in advance
Maunil

No, n|(1-xy) implies (1-xy)=kn for some k, which you already knew.
 
Another way to look at this is to remember that the elements of a residue system are always less than N.

If we look at the powers of X they must come to repeat and [tex]X^S \equiv X^T Mod N[/tex] Since X is relatively prime to N we can cancel out powers of X.

This gives [tex]X^{S-T} \equiv 1 Mod N[/tex] Assuming S is the larger value, we can not have S-T = 1 unless X is its own inverse.

Thus S-T = 2 or more, and [tex]X^{S-T-1} \equiv X^{-1} Mod N.[/tex]
 
Last edited:

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
48
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K