# Implicit differentiation: two answers resulted

1. Mar 6, 2010

### benhou

Could anyone explain that I got two different answers for this question: find $$dy/dx$$ of $$\frac{x}{x+y}-\frac{y}{x}=4$$.

1. using quotient rule:
$$\frac{x+y-(1+dy/dx)x}{(x+y)^{2}}-\frac{x\frac{dy}{dx}-y}{x^{2}}=0$$
$$\frac{y}{(x+y)^{2}}-\frac{x}{(x+y)^{2}}\frac{dy}{dx}+\frac{y}{x^{2}}-\frac{1}{x}\frac{dy}{dx}=0$$
$$(\frac{x}{(x+y)^{2}}+\frac{1}{x})\frac{dy}{dx}=\frac{y}{(x+y)^{2}}+\frac{y}{x^{2}}$$
$$x(\frac{1}{(x+y)^{2}}+\frac{1}{x^{2}})\frac{dy}{dx}=y(\frac{1}{(x+y)^{2}}+\frac{1}{x^{2}})$$
$$\frac{dy}{dx}=y/x$$

2. simplify using common denominator before taking derivative:
$$\frac{x^{2}}{x^{2}+xy}-\frac{xy+y^{2}}{x^{2}+xy}=4$$
$$x^{2}-xy-y^{2}=4x^{2}+4xy$$
$$-y^{2}=3x^{2}+5xy$$
$$-2y\frac{dy}{dx}=6x+5y+5x\frac{dy}{dx}$$
$$\frac{dy}{dx}=-\frac{6x+5y}{2y+5x}$$

Last edited: Mar 6, 2010
2. Mar 6, 2010

### nicksauce

$$x^{2}-xy-y^{2}=4x^{2}+4xy$$
$$y^{2}=3x^{2}+3xy$$

The second line does not follow from the first.

3. Mar 6, 2010

### benhou

Sorry, it's suppose to be "5xy"

4. Mar 6, 2010

### benhou

and it's suppose to be -y^2. Now I corrected it.

5. Mar 7, 2010

### benhou

Help, anyone? i still don't get why.