Solving a Simple Diophantine Equation: 3x + 98y = 12

  • Thread starter Thread starter trap101
  • Start date Start date
trap101
Messages
339
Reaction score
0
find integers x and y such that:

3x - 98y = 12

I understand how to solve for the values, but to make it a diophantine equation I need it to look like 3x + 98y = 12...my question is what do I do with the negative sign? Carry it to the y? i.e: 3x + 98(-y) = 12, then deal with it after I find my values?
 
Physics news on Phys.org
trap101 said:
find integers x and y such that:

3x - 98y = 12

I understand how to solve for the values, but to make it a diophantine equation I need it to look like 3x + 98y = 12...my question is what do I do with the negative sign? Carry it to the y? i.e: 3x + 98(-y) = 12, then deal with it after I find my values?

If you want positive coefficients, sure, do it that way.
 
Thanks.

I had two other questions. One was quick the other not so much: Back to this equation above, I was wondering since the equation is 3x + 98(-y) = 12, how can I use the diophantine procedure if the values are not relatively prime? i.e don't I have to set it up in the form:

3x + 98(-y) = 1...and then once I plow through with the euclidean algorithm Multiply through by 12 in this case. What happens if I don't get a gcd of 1 between my two values? Can I still use this?The other question had to do with squared terms:

13x^2 - 23y^2 = 1...how do I deal with the squares?
 
trap101 said:
Thanks.

I had two other questions. One was quick the other not so much: Back to this equation above, I was wondering since the equation is 3x + 98(-y) = 12, how can I use the diophantine procedure if the values are not relatively prime? i.e don't I have to set it up in the form:

3x + 98(-y) = 1...and then once I plow through with the euclidean algorithm Multiply through by 12 in this case. What happens if I don't get a gcd of 1 between my two values? Can I still use this?The other question had to do with squared terms:

13x^2 - 23y^2 = 1...how do I deal with the squares?

If the gcd isn't one, then you won't have a solution at all the if constant on the right side isn't divisible by the gcd. If it is, then divide the equation by the gcd. The second one I'd need to give some more thought to. Do you have any ideas from the course?
 
Dick said:
If the gcd isn't one, then you won't have a solution at all the if constant on the right side isn't divisible by the gcd. If it is, then divide the equation by the gcd. The second one I'd need to give some more thought to. Do you have any ideas from the course?

I don't remember him talking about it specifically this time, but I sat in on some lectures during the last semester and what I remember is something along the lines of some sort of factoring technique...vague I know. I'm stumped and haven't found much online either.
 
How about considering ##13x^2 \equiv 1\,mod\,23?##?
 
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top