## Homework Statement

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

## The Attempt at a Solution

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}$$

Dick
Homework Helper
They aren't really different. Pick a point on the original curve like y=1, x=(sqrt(13)-5)/6. Substitute it into both of your expressions for dy/dx. You'll get the same thing. Coincidence?

Dick
Homework Helper
Or just try it with a braindead simple example. Take y/x=1. Do it one way and you get dy/dx=y/x, do it the other way and you get dy/dx=1. Which one is right?

I have tried a few examples, and they all came out to be the same. Wow, I am so amazed that two equations that look so different can be the same thing.
I also tried to let the two equations equal:
1. $$\frac{dy}{dx}=y/x$$
2. $$\frac{dy}{dx}=-\frac{6x+5y}{2y+5x}$$
Simplifying it, I got
$$y/x= -\frac{6x+5y}{2y+5x}$$
$$2y^{2}+5xy=-6x^{2}-5xy$$
$$6x^{2}+10xy+2y^{2}=0$$
$$3x^{2}+5xy+y^{2}=0$$

Which is the same as the original equation, shown in the process using the second method, the one says "simplifying using common denominator".

Ya, thank you so much. What I had always been doing were trying disprove the first method, the one saying "using quotient rule", because of the step following this:
$$x(\frac{1}{(x+y)^{2}}+\frac{1}{x^{2}})\frac{dy}{dx }=y(\frac{1}{(x+y)^{2}}+\frac{1}{x^{2}})$$

Dick
Homework Helper
Just to be clear. y/x and -(6x+5y)/(2y+5x) aren't the same expression. But you can prove they are equal if you combine them with x/(x+y)-y/x=4. Did you see post 3? It's a really simple example of the same thing.

Ya, I know they are not the same thing. They are just related to the original equation.

By post three, you mean this?
Or just try it with a braindead simple example. Take y/x=1. Do it one way and you get dy/dx=y/x, do it the other way and you get dy/dx=1. Which one is right?

I didn't understand it. Were you trying to tell me that all three of these equations relate to each other?

Dick