Implicit Differentiation: $(x/y)+(y/x) =1$ Hi can anyone please tell me where I goes wrong with this question:
Find $ \frac{dy}{dx} $ for the curves defines by this equation:
\begin{align}
   \frac{x}{y} + \frac{y}{x} = 1 
 \end{align}
Here is what I did:
\begin{align}
    &\frac{y-xy'}{y^2} + \frac{y'x - y}{x^2} =0 \\
    &\frac{yx^2 - x^3 y'+y'y^2 x - y^3}{x^2 y^2} = 0 \\
    &yx^2 + (-x^3 +y^2 x)y' -y^3 =0 \\
    &\therefore y'= \frac{y^3 -yx^2}{-x^3 +y^2x}
\end{align}
The answer say it should be: $ y' = \frac{y}{x} $ but I had no clue how to proceed from there. 
Please help, Thanks.

Note that $y=y(x)$
So we have that 
$$\frac{x}{y(x)} + \frac{y(x)}{x} = 1$$
So,
$$\begin{align} 0 &= \frac{d}{dx}\left( \frac{x}{y(x)} + \frac{y(x)}{x}\right) \\
&=\frac{d}{dx}(x) \frac{1}{y(x)}+x \frac{d}{dx}\left(\frac{1}{y(x)}\right) \\
&= \frac{1}{y(x)}+ x \ \frac{-1}{y^2(x)} \frac{dy}{dx} \\
&= \frac{1}{y(x)}\left(1-\frac{x}{y(x)} \right)\frac{dy}{dx}  
\end{align}$$
Assuming $\frac{1}{y(x)} \neq 0$ then
$$0= \left(1-\frac{x}{y(x)} \right)\frac{dy}{dx}   $$
$$-1= -\frac{x}{y(x)} \frac{dy}{dx} $$
$$\frac{dy}{dx}=\frac{y(x)}{x}=\frac{y}{x} $$
The only thing I used is the product rule http://en.wikipedia.org/wiki/Product_rule
