Thursday, 1 January 2015

elementary number theory - How to convert a diophantine equation into parametric form?




Let be  7x+9y=5  a linear diophantine equation, in two variables. What are the integer solutions for x and y?




I know that 7x+9y=5 is a cartesian equation for a line in the plane. Then I thought, if one could define x and y in terms of the same parameter, it would be possible to know all the integer solutions. But I don't have clue on how can convert an diophantine equantion in the form ax+by=c to its parametric form.




Can you give me some hints?Thanks.


Answer



97=1+27=1+172=1+13+12



So, the last but one convergent is 1+13=43



Using Convergent property of continued fraction, 7493=1



7x+9y=5(7493)7(x20)=9(y+15)x20=9(y+15)7 which is an integer.




So, 7(y+15) as (7,9)=1 x209=y+157=z for some integer z



So, y=7z15=7(z3)+6=7w+6 where w=z3 is any integer.



So, x=9z+20=9(w3)+2027=(9w+7)






Alternatively, by observation 7x+9y=5=149




or 7(x2)=9(y+1)



or, x29=y+17



9(y+1)7=x2 which is an integer, so is y+17 as (7,9)=1



So, x29=y+17=u where u is any integer.



So, x=9u+2,y=7u1


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...