Find the indefinite integral of sin(x)*e^x

As we are integrating, we must decide which method to use. As the integrand is of the form f(x)*g(x), integration by parts seems to make sense. Firstly, let L = INT(sin(x)*e^x). So we want to find L - this will help later.
Let u = sin(x), so du/dx = cos(x), and let dv/dx = e^x, so v = e^x.
Therefore L = sin(x)*e^x - INT(cos(x)*e^x)) (this formula is given to us).
To deal with the second term, we use integration by parts again.
Let u = cos(x), so du/dx = -sin(x), and let dv/dx = e^x, so v = e^x.
Therefore L = sin(x)*e^x - [cos(x)*e^x + INT(sin(x)*e^x)] - but this last term is simply L, our original expression!
Rearranging yields 2L = sin(x)*e^x - cos(x)*e^x.
Now simply divide by 2 and factorise the e^x, giving the final answer of:
L = e^x(sin(x) - cos(x))/2 + c

CJ

Related Maths A Level answers

All answers ▸

Prove that the indefinite integral of I = int(exp(x).cos(x))dx is (1/2)exp(x).sin(x) + (1/2)exp(x).cos(x) + C


Find the stationary points of the function f(x) = x^3 - 27x and determine whether they are maxima or minima


How do I differentiate y=x^x?


Integrate sinx*ln(cosx) with respect to x.