Given $$x^2 = \frac{x-y}{x+y},$$ calculate the derivative $y'$.
So I found the derivative by applying quotient rule on the right side, and power rule on the left and separated $dy/dx$.
The answer was: $$y'(x) = -x^2 - 2 x y + \frac{y}{x} - y^2.$$ But, if I multiply $x+y$ on both sides, then calculate derivative, the answer was: $$y'(x) = -\frac{3 x^2 + 2 x y - 1}{x^2 + 1}.$$
Which answer is correct?
Both results aren't really different. The explicit form for $y$ would be $$y=\frac{2x}{x^2+1}-x.$$ If you substitute this into your two seemingly different expressions and simplify, you'll see they're identical... if you don't make a mistake. To avoid that, you can use GP, say:
Since there were questions: GP is free software, able to calculate various expressions, but not just with numbers (integers of arbitrary length, fractions, floats, imaginary numbers, p-adic numbers), but also with elements of quadratic fields, of finite fields, polynomials,... It's rather handy at times.