Question

(i) For every nonzero integers a, b, prove that gcd(a, b) = gcd(−a, b). (ii) Show that for every ...

(i) For every nonzero integers a, b, prove that gcd(a, b) = gcd(−a, b). (ii) Show that for every nonzero integers a, b, a, b are relatively prime if and only if a and −b are relatively prime.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

i) let gcd(a,b) = x

So x divides a==> x |a

similarly x|b

Now Lets take an example gcd(30,22) = 2

So 2|30 and 2|22

now if instead of 30 it is -30,the divisibility doesnt matter with sign

Therfore 2|-30

As x|-b

Therefore gcd(a,b) = gcd(-a,b)

ii) The proof is similar to above

If a, b are relatively prime the gcd(a,b) = 1

we know that gcd(a,b) = gcd(a,-b) (Similar to above)

Therefore gcd(a,-b) = 1

So ,  a and −b are relatively prime

Add a comment
Know the answer?
Add Answer to:
(i) For every nonzero integers a, b, prove that gcd(a, b) = gcd(−a, b). (ii) Show that for every ...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT