How do you use implicit differentiation to find dy/dx given #x^2+3xy-y^2=0#?

2 Answers
Oct 24, 2016

#dy/dx=1/2 (3 pm sqrt[13])#

Explanation:

#0=x^2+3xy-y^2=(x+1/2(3-sqrt(13))y)(x+1/2(3+sqrt(13))y)#

so we have two solutions

#dy/dx=1/2 (3 pm sqrt[13])#

This result can be obtained the usual way

#df = f_x dx+f_y dy=0# so

#dy/dx = - f_x/(f_y) = -(2x+3y)/(3x-2y)#

now substituting

#y = 1/2 (3 x pm sqrt[13] x)# we obtain the same result.

This result can be also obtained by observing that this is a homogeneous equation. Making #y = lambda x# we obtain

#x^2+3lambda x^2-lambda^2x^2=0# being true for all #x# we have

#1+3lambda-lambda^2=0# with solutions

#lambda = dy/dx = 1/2 (3 pm sqrt[13])#

Oct 24, 2016

See below.

Explanation:

We consider #y# an unknown function of #x#. It may help to think of it as #"some stuff in parentheses"#

So we have

#x^2+3xunderbrace((" "))_("this stuff is called "y) - underbrace((" "))_("this is also "y) ^2 = 0#

When we differentiate #3x# times some stuff in parentheses, we need the product rule. When we differentiate the square of some stuff in parentheses, we use the chain rule. So when we differentiate both sides of the equation (with respect to #x#), we get

#x^2+3xy-y^2 = 0#

#d/dx(x^2)+d/dx((3x)(y)) - d/dx(y^2) = d/dx(0)#

#2x + (3)(y) + (3x)(dy/dx) - 2y^1 dy/dx = 0#

Solve to get

#dy/dx = (2x+3y)/(2y-3x)#.