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

Click For Summary
SUMMARY

The discussion centers on the corollary stating that if d = gcd(a, b), then integers x and y exist such that ax + by = d. A proof is provided using the properties of integers and the division algorithm, demonstrating that if d divides both a and b, it also divides their linear combinations. The proof suggests utilizing the extended Euclidean algorithm to find the coefficients x and y, and mentions that an invariant-based proof or a proof by contradiction could also be effective methods for establishing this result.

PREREQUISITES
  • Understanding of gcd (greatest common divisor) and its properties
  • Familiarity with the division algorithm and integer division
  • Knowledge of the extended Euclidean algorithm
  • Basic concepts of mathematical proof techniques, including induction and contradiction
NEXT STEPS
  • Study the extended Euclidean algorithm in detail to understand how it computes coefficients x and y
  • Explore invariant-based proofs in number theory for deeper insights
  • Research proof by contradiction techniques and their applications in mathematics
  • Examine other properties of gcd and their implications in linear combinations of integers
USEFUL FOR

Mathematicians, students studying number theory, and anyone interested in proofs related to the properties of gcd and integer linear combinations.

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.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
1
Views
3K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K