Prove gcd(x,y) = gcd(x-y,y) for x > y Here is my work so far:
If gcd(x,y) = d, then we can denote x = ad , y = bd, so x - y = (ad - bd) = d(a - b), so (x-y) is a multiple of d, so gcd(x -y, y) = gcd(d(a - b), bd) = d, so gcd(x-y, y) = gcd(x,y).
My teacher challenged it by asking to show why gcd(d(a - b), bd) = d.
I think that gcd(d(a - b), bd) = d if gcd(a-b, b) = 1 --> gcd(a,b) = 1,
But I need some more help as to why this occurs, or if their is a simpler method of proving gcd(x,y) = gcd(x-y,y) for x > y