Find all solutions to $$\lfloor x\rfloor\lfloor y\rfloor=x+y$$ and show that the non-Integral solutions lie on two unique lines. Also determine the equations of these 2 lines.
I divided the problem into 2 cases:
$$\text{Case 1} : x,y \in \Bbb Z$$$$\text{Case 2}:x,y\notin \Bbb Z$$ $$$$ For Case 1, it can be shown that the solutions are those of the equation $xy=x+y$ and these are clearly $(0,0)$ and $(2,2)$. $$$$ For Case 2, my approach was as follows: $$\lfloor x\rfloor\lfloor y\rfloor-\lfloor x\rfloor-\lfloor y\rfloor=\{x\}+\{y\}$$ $$(\lfloor y\rfloor-1)(\lfloor x\rfloor-1)=\{x\}+\{y\}+1$$
Since $1<\{x\}+\{y\}+1<3$ (because both $x,y$ have fractional parts in Case 2) $$1<(\lfloor y\rfloor-1)(\lfloor x\rfloor-1)<3$$
I don't know how to proceed further and would be grateful for any help with this problem. $$$$Many thanks in anticipation!
PS: I believe this is an old IITJEE question and is not homework.