Integration by parts; ∫e^x sin(x) dx

The first step in solving this problem is to identify that it is an integral that needs to be solved by parts. When you see an integral, check if it is in the form uv, where u and v are both functions of x (although in special cases we may choose u=1).
In this case we can see that the integral is the product of ex and sin(x) so we shall proceed to solve it by parts;
1) Choose u and v’2)Work out u’ and v3) Insert into the parts formula 4) Solve the resulting (simpler) integral5) Put it all together
1) This is the most important step as a mistake here can make the integral seem impossible. In general you want to choose u so that it becomes simpler when you differentiate it, as this will result in a solvable integral.
This is not always obvious however, indeed in this case, neither ex or sin(x) appear to become simpler when you differentiate. In this case it doesn’t matter but in general a good rule to follow is LATE;LogarithmsAlgebra (polynomials like x2 )Trigonometry Exponentials
In this case we have no logs or algebra so we shall choose sin(x) as our u.
2) These are both standard results; u’=cos(x)v’= ex so v=ex3) The formula is;∫ uv’= uv - ∫u’vSubstituting in our functions;∫ exsin(x) dx= exsin(x) - ∫excos(x) dx
**This looks just as bad as our original integral and many students will despair at this stage, you must be sure of your technique and persevere.... ∫excos(x) dxWe are going to have to do integration by parts all over again!!
u=cos(x) u’=-sin(x)v’=ex v = ex ∫excos(x) dx = excos(x) - ∫-exsin(x) dxAgain another integral by parts!!! But wait, this is our original integral. Let’s put it all together;
∫ exsin(x) dx= exsin(x) - (excos(x) - ∫-exsin(x) dx) = ex(sin(x)-cos(x)) - ∫-exsin(x) dx
adding ∫-exsin(x) dx to both sides;
2 ∫-exsin(x) dx = ex(sin(x)-cos(x))
and finally dividing by 2;
∫-exsin(x) dx = ex(sin(x)-cos(x))/2


DB
Answered by Daniel B. Maths tutor

14331 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the area between the curves C_1, C_2 and the lines x=0 and x=1, where C_1 is the curve y = x^2 and C_2 is the curve y = x^3.


Differentiate y=(3+sin(2x))/(2+cos(2x))


Differentiate y= (2x+1)^3. [The chain rule]


integrate 5x^2 + x + 2 and find the value of c if the curve lies on the coordinates (1,3)


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning