Find $\frac{dy}{dx}$ for $x^2=\frac{x-y}{x+y}$.
I have solved this in two ways.
First, I multiplicated the whole equation by $x+y$ and then I calculated the implicit derivative. I got the following solution:
$\frac{1-3x^2-2xy}{x^2+1}$
So far so good. When I calculated the implicit derivative of the original expression using the quotient rule though, I got a different solution, i.e.:
$-\frac{x(y+x)^2-y}{x}$
I have tried using Wolfram and I got the same results.
Can anyone explain to me why I get different solutions ?