Find the derivative of the following function f(x)=e^(cosx) + (cosx)^e
Oo tricky little problem :3 Remember the derivative of e^x?
Isn't it the same which is e^x
Yes good. Same idea with our first term but we'll need to also apply the chain rule.\[\Large\bf\sf \frac{d}{dx}e^{\cos x}\quad=\quad e^{\cos x}\color{royalblue}{\frac{d}{dx}\cos x}\]
So we need to take the derivative of the blue part, chain rule is telling us to.
Exponential gives us the same thing back. And we're multiplying by the derivative of the inner function.
The derivative of cosx??
Inner function being cosx??
yes, the outer function was e^( ) with cosx being inside of that function. derivative of cosx?
So the first thing I do is write e^cosx times the derivative of cosx??
This is just for the first term. You don't have to if you don't want. I like to do my chain rules like that. But you can do it all at once if you're comfortable with that.\[\Large\bf\sf \left(e^{\cos x}\right)'\quad=\quad e^{\cos x}(\cos x)'\quad=\quad e^{\cos x}(-\sin x)\]
You can jump from that first step there to the third if you're able to do it in your head. The middle step is just a way to stay organized.
Yah I d like to stay organize just so I know I'm doing it right
Once I do that do I get the derivative for the other (cosx)^e
Yes. So for that one, since our variable shows up in the `base`, we can simply apply the `power rule`.
Is it e(cosx)^e??
The e comes down, good. But then the power rule tells us to subtract 1 from the exponent.\[\Large\bf\sf e(\cos x)^{e-1}\]But then we also have to apply that darn chain rule again!! :O
\[\Large\bf\sf e(\cos x)^{e-1}\color{royalblue}{(\cos x)'}\]
Multiplying by the derivative of the inner function.
So because cosx is in ( ) you derive that instead of the e
Well why did I choose to put the cosx in brackets instead of the e? I guess it's important that you understand that...
Chain rule is kinda tricky :( You'll need to practice that some more.
I mean that the cosx is considered the inner so you find the derivative of that instead Of the e which is the outside
So would it basically be e^cosx (-sinx)+e(cosx)^e-1 (-sinx) so far
ya looks good.
Join our real-time social learning platform and learn together with your friends!