Let's say there's an equation
$$a x + b y = c$$
where $a,b,c > 0$ are given. I want to know if positive solutions $x, y >0$ exist for this equation.
Let's say there's an equation
$$a x + b y = c$$
where $a,b,c > 0$ are given. I want to know if positive solutions $x, y >0$ exist for this equation.
On
In this case, there are always positive solutions. The reason is that the graph of your equation intersects the axes at the points $(0, c/b)$ and $(c/a,0)$. Then the line segment connecting these points has all positive solution pairs.
Specifically, pick any $x$ such that $0 < x < c/a$. Set $y = \frac{c-ax}{b}$. Then $0 < y < c/b$. The result is a solution with positive $x,y$.
On
If you are trying to solve the Diophantine equation $$ax+by=c$$ here is what happens.
This is a well known fact in number theory.
This comes from the fact that we can always find a solution $x$ such that $x \leq \frac{b}{gcd(a,b)}$, which is pretty easy to show.
If $c \leq lcm(a,b)$ there are sometimes positive solutions, sometimes there are not. In this case we cannot say too much without knowing more about $a,b,c$.
Your question refers to the notion of linear diophantine equations.
The simplest LDE would be the one you described above, which takes the form $ax + by = c$. There is a little nice fact here, $ax + by = c$, with $x ,$ $y \in \mathbb{Z}$, has a solution iff $c$ is a multiple of the gcd of $a$ and $b$.
Moreover, there is a theorem which says:
The above fact and theorem can be shown by simple $\gcd$ property and Bezout's identity.
This might help you: https://www.math.uwaterloo.ca/~wgilbert/Research/GilbertPathria.pdf