Friday, 14 October 2016

abstract algebra - relating GCD, congruency and congruent classes




So some of you may have noticed my algebra exam is tomorrow!



The question is: If [a]n=[1]n prove that gcd(a,n)=1.



Well I tried it one way. We know the above means the following: a1(modn). This is also written as 1a(modn)
Then the gcd of these are as follows:
gcd(a,n):=d

and
gcd(1,n):=d.



At this point I thought d=d which is NOT the case as pointed out by roommate. but lets assume it does so I finished the proof as follows:




gcd(a,n)=gcd(1,n)


gcd(a,n)=1



but then obviously that's not the case (or is it). I then tried the following:
d=as+nt,s,tZ


d=as+nt,s,tZ.



And now I'm stuck again :(


Answer




Yes, the GCDs are the same, but your argument shows a lot of confusion, as Bill points out. First, when you claim that d=d, the problem is that you are simply asserting a result that is stronger than what you are trying to prove. You are trying to prove the simpler case that if a1(modn) then gcd(a,n)=1, and you are invoking the result that if ab(modn) then gcd(a,n)=gcd(b,n). That's more than what you want to prove, so you cannot simply assume it's true.



But really, think about [a]n=[1]n. That means that 1=a+kn for some integer k. That means that you can write 1 as a linear combination of a and n. That means that gcd(a,n) divides 1. That means...


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find limh0sin(ha)h without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...