Direct Proof of gcd(a,b) Corollary: ax+by=d

AI Thread Summary
The discussion centers on proving the corollary that if d is the gcd of a and b, then there exist integers x and y such that ax + by = d. The original proof provided in the book uses induction, but participants seek direct proofs. One proposed method involves using the extended Euclidean algorithm to demonstrate that the coefficients of a and b are integers. Additionally, a proof by contradiction is suggested as a possible alternative approach. The conversation highlights the complexity of establishing this fundamental relationship in number theory.
Miike012
Messages
1,009
Reaction score
0
Corollary from book:

if d= gcd(a,b), then there exists integers x and y such that ax + by = d.

This is not an obvious statement to me. Are there any direct proofs to prove this statement? The book proves this by induction.

My proof:
Suppose d = gcd(a,b) and a and b are positive integers. a does not necessarily divide b and b does not necessarily divide a so

let qa and ra be integers such that a = qab + ra. If d|a then d|(qab + ra) therefore d|ra, that is there exists an integer Ra such that ra = Rad.

Let qb and rb be integers such that b = qba + rb. We can see d|rb so Let Rb be the integer such that rb = Rbd.

now
a + b = qab + qba + (Ra + Rb)d and
a(1-qb)/(Ra + Rb) + b(1-qa)/(Ra + Rb) = d.

Now I just need to prove that the coef. of a and b are integers...
 
Last edited:
Physics news on Phys.org
The extended Euclidean algorithm calculates those coefficients, so one avenue is an invariant-based proof based on that algorithm. Otherwise, a proof by contradiction should be doable.
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Essentially I just have this problem that I'm stuck on, on a sheet about complex numbers: Show that, for ##|r|<1,## $$1+r\cos(x)+r^2\cos(2x)+r^3\cos(3x)...=\frac{1-r\cos(x)}{1-2r\cos(x)+r^2}$$ My first thought was to express it as a geometric series, where the real part of the sum of the series would be the series you see above: $$1+re^{ix}+r^2e^{2ix}+r^3e^{3ix}...$$ The sum of this series is just: $$\frac{(re^{ix})^n-1}{re^{ix} - 1}$$ I'm having some trouble trying to figure out what to...
Back
Top