You are here:

Advanced Math/GCD of two integers

Advertisement


Question
Prove that the nonzero element [a] of Zn has a multiplicative inverse Zn if and only if n and a are relatively prime; that is, the great common divisor of n and a is 1.

(Im not able to show it on here but the Z is in bold, and it is sub n, you know little n below the bold Z)

I have no idea where to start on this question,  if you could help start me off and just give me a few hints from there that would be great!

Answer
Questioner:   sam
Category:  Advanced Math
Private:  No
 
Subject:  Proof help please
Question:  Prove that the nonzero element [a] of Zn has a multiplicative inverse Zn if and only if n and a are relatively prime; that is, the great common divisor of n and a is 1.

(Im not able to show it on here but the Z is in bold, and it is sub n, you know little n below the bold Z)

I have no idea where to start on this question,  if you could help start me off and just give me a few hints from there that would be great!
....................
Hi, Sam,

A good place to start is in making sure you have defined your terms.  I am going to assume that you mean:

Z[n] is the ring of integers modulo n.

So you want to prove that if  gcd(a,n) = 1, then there exists x such that  ax == 1 mod n.  ('==' means congruent to.)

There is a well-known theorem of elementary number theory that says:

If gcd(a,b) = k, then there exist integers x,y, such that
ax + by = k.

Naturally you want the form of this that has  k = 1.  

I think you should be able to do something with that.

Advanced Math

All Answers


Answers by Expert:


Ask Experts

Volunteer


Paul Klarreich

Expertise

I can answer questions in basic to advanced algebra (theory of equations, complex numbers), precalculus (functions, graphs, exponential, logarithmic, and trigonometric functions and identities), basic probability, and finite mathematics, including mathematical induction. I can also try (but not guarantee) to answer questions on Abstract Algebra -- groups, rings, etc. and Analysis -- sequences, limits, continuity. I won't understand specialized engineering or business jargon.

Experience

I taught at a two-year college for 25 years, including all subjects from algebra to third-semester calculus.

Education/Credentials
-----------

©2012 About.com, a part of The New York Times Company. All rights reserved.