How do you differentiate e(x21)2 using the chain rule?

1 Answer
Oct 21, 2017

ddxe(x21)2=4e(x21)2x(x21)

Explanation:

y=e(x21)2

Let u=(x21)2 such that y=eu

Now dydx=dydududx

To get the derivative of u, we use the chain rule again:

Let v=x21 such that u=v2

dvdx=2x

dudv=2v

dudx=dvdxdudv=4xv=4x(x21)

dydu=eu=e(x21)2

Now we can go back to the original equation:

dydx=dydududx=e(x21)24x(x21)

In the answers, variables v and u were defined for the use of chain rule.