How to integrate Sin(x)e^Cos(x) using substitution.

donaldduck
Messages
2
Reaction score
0
So a question for a test I just had was integrate by substitution:

Sin(x)e^Cos(x).

I did something like this:

Let u=Cos(x)

du=-sin(x) dx

∫sin(x)e^Cos(x) dx = ∫-e^u du

=∫-e^Cos(x) du

= -e ^cos (x) + c

Is that correct??

Thank you.





 
Physics news on Phys.org
donaldduck said:
=∫-e^Cos(x) du
It's correct but this step is weird. You calculate the integral with respect to u, then substitute back AFTER you've integrated.
 
Thanks Clamtrox!

So I meant to write:
∫sin(x)e^Cos(x) dx = ∫-e^u du
=-e^u +c
=-e^cos(x) +c
 
donaldduck said:
Thanks Clamtrox!

So I meant to write:
∫sin(x)e^Cos(x) dx = ∫-e^u du
=-e^u +c
=-e^cos(x) +c
Hello donaldduck. Welcome to PF !

That result looks good.

Check the answer by finding the derivative of the result .
 
Back
Top