In my math class we were assigned to find the implicit derivative of
$\dfrac yx + \dfrac xy= 2x$
And most of the class found the answer to be
$\text{(student answer)} \to\dfrac{dy}{dx} = \dfrac{(y^3-x^2y)}{(xy^2 -x^3 -2x^2y^2)}$
But the teacher had the answer
$\text{(teacher answer)}\to\dfrac{dy}{dx} = \dfrac{(y^2-x)}{(y-2xy)}$
She says that she sees how all of her students got the their answers, but she didn't understand why both answers were valid even when they are not algebraically equivalent. She says that she suspects it has something to do with variables acting as zeros in the denominator of the original function.
Can anyone explain why this happens?
It's been a while since I did an implicit differentiation but I get.........
Rearranging..............$$\frac{y^2+x^2}{xy} = 2x$$ $$y^2 + x^2 = 2x^2y$$ $$2y\frac{dy}{dx} + 2x = 4xy + 2x^2\frac{dy}{dx}$$ $$2y\frac{dy}{dx} - 2x^2\frac{dy}{dx} = 4xy - 2x$$ $$\frac{dy}{dx}(2y - 2x^2) = 4xy -2x$$ $$\frac{dy}{dx} = \frac{4xy - 2x}{2y -2x^2}$$ $$\frac{dy}{dx}= \frac{2xy - x}{y - x^2}$$
I notice from the original equation, putting in an x value $>1$ yields two y values. The equation is not a function (two y values for one x value) so this may explain the differences in the derivative.