Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I've an equation that I like to use for implicit differentiation. The equation is:$x^2 = \frac{(x+2y)}{(x-2y)}$

I used two different methods but got two different answers for same equation.

Can anyone kindly tell me where I am wrong? Why am I getting two different answers?

The first method I used is:

$$ \begin{align*} x^2 =& \frac{(x+2y)}{(x-2y)} \\ 2x =& \frac{(x - 2y)(1 + 2 \frac{dy}{dx}) - (x+2y)(1 - 2 \frac{dy}{dx})}{(x-2y)^2} \\ 2x =& \frac{x + 2x\frac{dy}{dx} - 2y -4y \frac{dy}{dx} -x + 2x\frac{dy}{dx} -2y +4y\frac{dy}{dx}}{(x -2y)^2} \\ 2x(x - 2y)^2 =& x + 2x\frac{dy}{dx} - 2y -4y \frac{dy}{dx} -x + 2x\frac{dy}{dx} -2y +4y\frac{dy}{dx} \\ 2x(x - 2y)^2 + 4y =& 4x \frac{dy}{dx} \\ \frac{dy}{dx} =& \frac{2x(x - 2y)^2 + 4y}{4x} \\ \frac{dy}{dx} =& \frac{x(x-2y)^2 + 2y}{2x} \\ \frac{dy}{dx} =& \frac{x^3 - 4x^2 y + 4 xy^2 + 2y}{2x} \text{ [after simplification] } \end{align*} $$

Then I used the same equation but multiplied both sides by $(x-2y)$. So here's the second procedure:

$$ \begin{align*} x^2 =& \frac{(x+2y)}{(x-2y)} \\ x^2 (x-2y) =& x + 2y \\ x^3 - 2x^2y - x - 2y =& 0 \\ 3x^2 - 2x^2 \frac{dy}{dx} - 4xy - 1 - 2 \frac{dy}{dx} =& 0 \\ -2x^2 \frac{dy}{dx} - 2 \frac{dy}{dx} =& -3x^2 + 4xy + 1 \\ \frac{dy}{dx}(2x^2 + 2) =& 3x^2 - 4xy - 1 \\ \frac{dy}{dx} =& \frac{3x^2 - 4xy - 1}{2x^2 + 2}\end{align*} $$

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

They may not be different. Remember, there's an equation relating $x$ and $y$. If you use that equation, you might be able to get one of the answers to look like the other one.

share|improve this answer
1  
That is, take the difference between your two expressions for $dy/dx$, put it over a common denominator, and the numerator will be some polynomial in $x$ and $y$ times $x^2(x-2y) - (x+2y)$. –  Robert Israel Sep 5 '12 at 1:53
    
Thanks a lot for help. –  mvr950 Sep 5 '12 at 2:32
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.