Existence of Solutions for Linear Equations with Integer Coefficients

Click For Summary
SUMMARY

The discussion centers on the existence of integer solutions for linear equations of the form ax + by = c, where a, b, and c are integers, and d = gcd(a, b). It is established that if d divides both a and b, then d also divides ax + by for all integers x and y. Furthermore, if d divides ax + by and ax + by equals c, then d must also divide c. The Extended Euclidean Algorithm is confirmed as a method to find integers x and y such that ax + by equals gcd(a, b).

PREREQUISITES
  • Understanding of integer coefficients in linear equations
  • Knowledge of the concept of greatest common divisor (gcd)
  • Familiarity with the Extended Euclidean Algorithm
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the Extended Euclidean Algorithm in detail
  • Explore integer linear programming techniques
  • Research applications of gcd in number theory
  • Learn about modular arithmetic and its relation to linear equations
USEFUL FOR

Mathematicians, students studying number theory, educators teaching algebra, and anyone interested in solving linear equations with integer coefficients.

scottstapp
Messages
40
Reaction score
0

Homework Statement



I just have a general question.

Suppose a,b and c are integers with a and b not both 0. There exists d=gcd(a,b) and ax+by=c.
From this I know that d|a and d|b but how do I know that there exists x,y such that d|(ax+by) where ax+by does not equal d and d|c ?

I cannot simply state that because d|ax and d|by, it must divide their sum. Or can I?

Thanks
 
Last edited:
Physics news on Phys.org
If d|a and d|b, then d|(ax + by) for all integers x and y. This is very easy to see in different notation: If d|a and d|b, then a = a'd and b = b'd and ax + by = a'dx+b'dy = d(a'x+b'd).

If d|(ax +by) and ax+by=c, then d|c obviously enough.

However, it is possible that d = c. In fact, the Extended Euclidean Algorithm will produce an x and y such that ax + by = gcd(a,b).
 
Thanks owlpride, that's what I was thinking but I just needed some reassurance.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 23 ·
Replies
23
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
3
Views
1K
  • · Replies 18 ·
Replies
18
Views
2K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K