Existence of Solutions for 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.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top