How to obtain all the solution for this diophantine equation?

223 Views Asked by At

How can I Find all solutions of the diophantine equation? :

$$xy=\frac{3x+y}{2}.$$

3

There are 3 best solutions below

10
On

$$(x,y)=\left(x,\frac{3x}{2x-1}\right)$$

Hence :

$3x=k(2x-1)$

$3x=2kx-k$

$x=\frac{k}{2k-3}$ for some integer $k$

1
On

Given this answer that Bill gave you just one hour ago, this would be unfair to give you another similar one for this question as well.

3
On

Hint: (Inspired by a similar hint from Bill Dubuque)

Rewrite the equation as $$(2 x - 1) (2 y - 3) = 3$$ and equate $2x - 1$ with the factors of $3$.