Find all rational numbers and all integers , such that the equation is satisfied.
Solution
Obviously, . Let us write as a reduced fraction and let us assume that is a positive integer. Then or, equivalently, . Hence, divides . Since and are coprime, we conclude that divides . Let us consider four cases.
If we have or , which implies that divides . Since is a positive integer, it equals either or . When we get and . When the equation gives us no integer solutions.
If we have . We see that divides . Again, and are coprime, so divides . Once more we have either or . This time we obtain the solution only in the second case: , .
If we have , so divides . When the solution is , . When there are no solutions.
If we have . As and are coprime, divides . We find one last solution, , .
All possible pairs are , , and .