This can be interesting... But i think the second method is strange. We look for the x and y that verify the equation. No x and y will make the denominator infinite (i mean no determined x nor y)...
Can we simplify the following fraction as :-
and then further simplification....
A friend of mine was contradicting this approach and was saying that if the denominator contains variables then you simply can't do it like this. His solution however was that :-
the solution would be that :-
What is the real solution ?
It's not nonsense, it's a perfectly reasonable question about limits. If you let either x or y approach either positive or negative infinity, the denominator will approach positive infinity. How that effects the overall fraction depends more specifically on how you choose x and y.
On the original question, your solution does leave a step unstated, I'm not sure whether you skipped it or not. In cancelling out the denominator, you make the assumption that it isn't zero. In the real numbers, it can't be, since it has to be at least 2, but on similar problems that could cause mistakes. If there was any chance it could be zero, it would be better to deal with that case explicitly.
Going back over the limit question more carefully, I see that there's no well-defined value of the fraction when both x and y tend to infinity. Following two different paths, you can get two different answers. Setting x=y and taking the limit as x->oo gives 2, but setting x=3y and taking the same limit gives 9/5.