# How do you find the derivative of #f(x) = -5 e^{x \cos x}# using the chain rule?

##### 1 Answer

Jun 4, 2017

#### Explanation:

Let's not worry about the

In order to use chain rule, we need to treat

Let

#u = xcosx# . Then:

#d/dx(e^(xcosx)) = d/(du)e^u * (du)/dx#

#=e^u*(d/dx(xcosx))#

Now, we need product rule to differentiate:

#=e^(xcosx)*(cosx - xsinx)#

You can simplify this if needed, but this is a fairly good stopping point. All we have to do is multiply by

#d/dxf(x) = -5e^(xcosx)(cosx-xsinx)#

*Final Answer*