Ask your own question, for FREE!
Mathematics 19 Online
OpenStudy (thomas5267):

Prove that if gcd(a,b)=d, then gcd(a,a-b)=d.

OpenStudy (dan815):

okay

OpenStudy (dan815):

if d is the gcd of a and b then a=dm b=dn a-b=dm-dn =d(m-n)

OpenStudy (dan815):

d must also be the biggest divisor of a-b

OpenStudy (dan815):

so it is still the gcd of a and a-b

OpenStudy (dan815):

and a =/= b so m=/=n

ganeshie8 (ganeshie8):

thats actually how gcd is found in euclid gcd algofithm !

OpenStudy (thomas5267):

Yes, but how do you prove that m is coprime to m-n? Am I missing something that is incredibly obvious here?

OpenStudy (dan815):

im not sure what u mean but

OpenStudy (dan815):

if there exists a greater divisior for m-n then d was not the gcd

OpenStudy (dan815):

becaue this higher gcd will also divide a and b

OpenStudy (dan815):

and u can see that by working backwards

OpenStudy (dan815):

actually i retract that statement!! i dunnoo

OpenStudy (dan815):

like suppose m-n became a bigger negative number

OpenStudy (dan815):

then a bigger positive number wud divide m-n but it wont be the divisor of a and b

OpenStudy (dan815):

as it wud be greater than d

ganeshie8 (ganeshie8):

if d = gcd(a, b) then we have gcd(a/d, b/d) = 1 so m, n are coprime be definition of gcd itself

ganeshie8 (ganeshie8):

``` if d is the gcd of a and b then a=dm b=dn a-b=dm-dn =d(m-n) ``` here we have started with d = gcd(a,b) and expressed a and b using gcd as : a = dm b = dn all the common factors are in d, there is nothing left common between m and n anymore

OpenStudy (anonymous):

im confused try to explain it to me maybe it will help also have some cake

OpenStudy (thomas5267):

The cake is a lie!

OpenStudy (anonymous):

NOOOOOOOOOOO *crys*

ganeshie8 (ganeshie8):

let me know if you still need a complete proof this is a classic, im sure wiki has dozens of proofs for this :)

OpenStudy (thomas5267):

I still don't understand. If m and n are coprime then what does it tell us about m and m-n?

ganeshie8 (ganeshie8):

lets look at `m-n` since thats the new thing

OpenStudy (anonymous):

Prove that if gcd(a,b)=d, then gcd(a,a-b)=d gcd(a,b)=d ma+nb=d ma+nb+na-na=d a(m+n)+n(b-a)=d a(m+n)-n(a-b)=d gcd(a,b)=d

OpenStudy (anonymous):

i was gonna write what ganesh wrote but changed it when i saw the reply to another proof :P

ganeshie8 (ganeshie8):

i like that version of proof, but the OP needs to know that gcd can be expressed as a linear combination first

OpenStudy (anonymous):

im sure he know(but sorry cuz i dint mention that XD)

OpenStudy (thomas5267):

Nope I don't know that. That comes later in my book.

ganeshie8 (ganeshie8):

Lets start from scratch, shall we ?

OpenStudy (thomas5267):

I think a proof by contradiction should proof that m is coprime to m-n but couldn't produce one.

ganeshie8 (ganeshie8):

if d = gcd(a, b), then the relations d | a and d | b together imply that d | (a-b) yes ?

OpenStudy (thomas5267):

Yes?

ganeshie8 (ganeshie8):

for example : 6 = gcd(12, 42), so 6 | (12 - 42)

ganeshie8 (ganeshie8):

if \(d = \gcd(a, b)\), then the relations \(d | a\) and \(d | b\) together imply that \(d | (a-b)\) thus \(d\) is a common divisor of both \(a\) and \(a-b\)

ganeshie8 (ganeshie8):

thats almost half of the proof ^ see if that looks okay so far

OpenStudy (thomas5267):

Yes the part I am having problem with is the maximality of the divisor.

ganeshie8 (ganeshie8):

next half deals with that

ganeshie8 (ganeshie8):

Next consider some arbitrary common divisor of \(a\) and \(a-b\). Call it \(c\) \(c | a\) and \(c | (a-b)\) so by the same previous logic, we have \( c | (a -( a-b))\). which is same as \(c | b\). That means \(c\) is a common divisor of \(a\) and \(b\). Thus it has to be less than or equal to the gcd(a,b) which is \(d\). \(\blacksquare\)

ganeshie8 (ganeshie8):

thats the end of proof

ganeshie8 (ganeshie8):

we dealt with maximality by showing that ANY common divisor of \(a\) and \(a-b\) has to be less than or equal to \(\gcd(a,b)\)

OpenStudy (anonymous):

a=nd b=md s.t gcd(n,m)=1 a-b=nd-md=d(n-m)---->d|d(n-m) d|d but d dont divide n-m thus d|a-b (a-b)/d=n-m ---> no other common idk if this makes it clear XD

OpenStudy (thomas5267):

That kind of make sense. Something still didn't click though. Give me some time.

ganeshie8 (ganeshie8):

\[c | (a-(a-b)) \] \[c | (a-a+b) \] \[c |b \]

OpenStudy (thomas5267):

That make sense. Thanks.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!