How do you implicitly differentiate #y= (x-y^2) e^(x+ y) #?

1 Answer
Nov 7, 2017

#dy/dx=(xe^(x+y))/(1+2e^(x+y)+y^2e^(x+y))#

Explanation:

This explanation is going to be long by the nature of implicit differentiation so please bear with me on this one.

The first thing to do is take the derivative with respect to #x# of both sides: #d/dx[y]=d/dx[(x-y^2)e^(x+y)]#. For this, we must use the product rule, which states: #d/dx[f(x)g(x)]=f'(x)g(x)+f(x)g'(x)#.

Since this problem has many pieces to it, I am going to take this part of the problem in pieces. Let's assign #f(x)# and #g(x)#. #f(x)=(x-y^2) and g(x)=e^(x+y)#. Now to find their derivatives: #f'(x)=1-2y(dy/dx) and g'(x)=(1+(dy/dx))e^(x+y)#. I used the chain rule for #g'(x)#. #g'(x)# can be rewritten as #(e^(x+y)+e^(x+y)(dy/dx))#.

Now to plug in: #dy/dx=(1-2y(dy/dx))(e^(x+y))+(x-y^2)(e^(x+y)+e^(x+y)(dy/dx))#. Next, we distribute the two products to get: #dy/dx=e^(x+y)-2ye^(x+y)dy/dx+xe^(x+y)-y^2e^(x+y)dy/dx#. The next thing to do is gather all the terms containing #dy/dx#onto the same side.
#dy/dx+2ye^(x+y)dy/dx+y^2e^(x+y)dy/dx=xe^(x+y)#.

Now, on the left side we factor out #dy/dx# from all terms to get #dy/dx(1+2ye^(x+y)+y^2e^(x+y))=xe^(x+y)#. Finally, to get #dy/dx# by itself, we divide both sides by#(1+2ye^(x+y)+y^2e^(x+y))# to get our final answer of #dy/dx=(xe^(x+y))/(1+2ye^(x+y)+y^2e^(x+y))#.