How Do You Solve Linear Diophantine Equations?

  • Thread starter Thread starter Mattofix
  • Start date Start date
  • Tags Tags
    Integer
Mattofix
Messages
137
Reaction score
0

Homework Statement



I don't know where to start on this question - could someone please point me in the right direction so i can look up the method.

Q: Find integers x, y such that 45x + 63y = 99. Can we find integers s, t such that 45s +65t = 80? Either find them or prove they cannot exist.
 
Physics news on Phys.org
What have you tried?
 
when x = 5 and y = -2 , but that was just randomly trying things. is there any method or rule to this?
 
Look up the Euclidean algorithm. Also, if there are common factors in all the terms, it might be in your best interest to factor them out.
 
these equations are just a equation of a linear line! both of them; so you can just plot the line and say you will have infinity answers for x and y which have to be on the line. considering both lines: of course these can encounter with each other and as they are not parallel their is exactly one point that is in their intercept (if you deal with x, y).
 
Mattofix said:

Homework Statement



I don't know where to start on this question - could someone please point me in the right direction so i can look up the method.

Q: Find integers x, y such that 45x + 63y = 99. Can we find integers s, t such that 45s +65t = 80? Either find them or prove they cannot exist.

The equations a\,x+b\,y=c are called Linear Diophantine Equations. If you acn find a particular solution (x,y)=(x_o,y_o) then you can find the general solution by writting x=x_o+\lambda\,t,\,y=y_o+\mu\,t. Plugging these to the original equation you determinate the values of \lambda,\,\mu.

You can easily proof that if c is not divisible by gcd(a,b) then there is no solution.
 
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