Find all solutions to $$xy=x+y$$ Initially the given condition was $x,y\in \Bbb{Z}$.
$$$$In this case, I just guessed that the solutions were $(0,0)$ and $(2,2)$. As far as I can see, these are the only 2 integral solutions possible. However, i'm quite surprised as usually a Diophantine Equation has infinite solutions. Could somebody please show me how to actually $solve$ this equation instead of just guessing the values? Is there any way to $show$ that there are just 2 sets of solutions?
$$$$Secondly, what if $x,y\in \Bbb{R}$? In that case how could the equation be solved? $$$$For both these conditions on the values of $x,y$, is there any way to use Coordinate Geometry to achieve an answer? $$$$ Many thanks in anticipation!
Edit: I forgot to mention that I know the solution using factoring. I was hoping to find a solution using Coordinate Geometry. I was told by a friend that the non integral solutions lie on 2 unique lines, and am hence particularly interested in a geometrical solution.
