# Thread: composite / chain rule....differentiate

1. ## composite / chain rule....differentiate

hi can someone lease help with the following question as i have done anythng this hard with the composite/chain rule

Q) use the composite rule to differentiate the function

f(x)= e^cos x+ sin x

thanx

2. is your equation $f(x) = e^{cos(x)}+sin(x)$ or $f(x) = e^{cos(x)+sin(x)}$ ?

either way you should employ the rule

$\frac{d}{dx}\left(e^{f(x)}\right) = f'(x)e^{f(x)}
$

3. its the second option ....

4. Originally Posted by redieeee_babieeee
its the second option ....
As pickslides said, what you need to do is:

$\frac{d}{dx}\left(e^{f(x)}\right) = f'(x)e^{f(x)}$

Can you differentiate $cos(x)+sin(x)$?

5. so can i just check that the anwser will be

-sin(x)+cos(x)

thanx

6. Originally Posted by redieeee_babieeee
so can i just check that the anwser will be

-sin(x)+cos(x)

thanx
Yep that's right, I'd write it with the $(\cos{x} - \sin{x})$ before the $e^{cos(x)+sin(x)}$ for clarities sake, but that's just me being pedantic

$f'(x) = (\cos{x} - \sin{x})e^{cos(x)+sin(x)}$