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

12405 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the all the angles of a triangle with side lengths of 8cm, 11cm and 11cm.


Find the gradient of the function f(x,y)=x^3 + y^3 -3xy at the point (2,1), given that f(2,1) = 6.


In a geometric series, the first and fourth terms are 2048 and 256 respectively. Calculate r, the common ratio of the terms. The sum of the first n terms is 4092. Calculate the value of n.


Given that 4(cosec x)^2 - (cot x)^2 = k, express sec x in terms of k.


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:

© 2025 by IXL Learning