- #1
evinda
Gold Member
MHB
- 3,836
- 0
Hi!
I am looking at the following exercise:
Let $a,b>0, (a,b)=1$.Prove that the diophantine equation $ax-by=c$ has infinitely many solutions with $x,y>0$.
As $(a,b)=1$ $\exists x_0,y_0$ such that $ax_0+by_0=1$, so $a(cx_0)-b(-cy_0)=c$.
So, $x_1=c x_0, y_1=-c y_0$ is a solution of $ax-by=c$.
But is it possible that $y_1$ is a solution?Isn't it negative?
Then,using the theorem:
Let $a,b$ not both $0$.If $d:=(a,b) \mid c$ and $a=da_1, b=db_1$ and if $x_1,y_1$ is a solution of the diophantine equation $ax+by=c$,then the solutions of $ax+by=c$ are given from $x=x_1+kb_1 , y=y_1-ka_1, k \in \mathbb{Z}$
we get : $x=cx_0+kb$ and $y=-cy_0-ka, k \in \mathbb{Z}$ but this solution does not satisfy the diophantine equation $ax-by=c$,right?
So,is something wrong??
I saw the solution in my notes and there they take $y=-cy_0+ka$ and this satisfy the diophantine equation..But why do we take this one? (Thinking)
I am looking at the following exercise:
Let $a,b>0, (a,b)=1$.Prove that the diophantine equation $ax-by=c$ has infinitely many solutions with $x,y>0$.
As $(a,b)=1$ $\exists x_0,y_0$ such that $ax_0+by_0=1$, so $a(cx_0)-b(-cy_0)=c$.
So, $x_1=c x_0, y_1=-c y_0$ is a solution of $ax-by=c$.
But is it possible that $y_1$ is a solution?Isn't it negative?
Then,using the theorem:
Let $a,b$ not both $0$.If $d:=(a,b) \mid c$ and $a=da_1, b=db_1$ and if $x_1,y_1$ is a solution of the diophantine equation $ax+by=c$,then the solutions of $ax+by=c$ are given from $x=x_1+kb_1 , y=y_1-ka_1, k \in \mathbb{Z}$
we get : $x=cx_0+kb$ and $y=-cy_0-ka, k \in \mathbb{Z}$ but this solution does not satisfy the diophantine equation $ax-by=c$,right?
So,is something wrong??
I saw the solution in my notes and there they take $y=-cy_0+ka$ and this satisfy the diophantine equation..But why do we take this one? (Thinking)