Can someone help me prove this. It is a proof of the sum and difference of the greatest common denominator.
Given: x and y are integers with a GCD of 1.
Prove: that the GCD of x + y and x − y is either 1 or 2.
Can someone help me prove this. It is a proof of the sum and difference of the greatest common denominator.
Given: x and y are integers with a GCD of 1.
Prove: that the GCD of x + y and x − y is either 1 or 2.
$\gcd(a+b,a-b)=\gcd(a+b, a+b+a-b)=\gcd(a+b,2a)$ which divides $2a$, but any divisor of $a$ does not divide $b$, so it divides $2$, so it is equal (modulo multiplication by $\pm 1$) to $1$ or $2$.
Since $\mathbf{GCD}(x,y)=1$ these two $\Bbb Z$ are coprime.
$$\gcd(x+y,x-y)=\gcd(x+y, x+y+x-y)=\gcd(x+y,2x)$$
This divides $2x$, and since any divisor of $x$ does not divide $y$, it must be that it divides $2\implies$ it is either $1$ or $2$