How do you integrate e^x cos x

∫ excos x dx 

First of all, we have to think of which method we want to use to approach this problem. There are a few options we can consider such as integration by parts and substitution. In this case, integration by parts would be suitable.

Now we have to recall the integration by parts formula which is

∫ u dv/dx dx = uv - ∫ v du/dx dx
From the problem above, 
we can set u= cos x and dv/dx = ex  

du/dx = -sin x and v= ex

∫ excosx dx = excos x - ∫ ex (-sin x) dx
                   = excos x + ∫ exsinx dx

Now we have to repeat the integration by parts process again for ∫ ex sin x dx
Let u= sin x and dv/dx = ex

       du/dx = cos x and v= ex

 ∫ ex cos x dx = excos x + ( ex sin x - ∫ ex cos x dx )

2 ∫excos x dx = ecos x + esin x
∫  ex cos x dx = 1/2 ( excos x + ex sin x ) 

Ta J. A Level Chemistry tutor, A Level Maths tutor, A Level Further M...

9 months ago

Answered by Ta, an A Level Maths tutor with MyTutor

Still stuck? Get one-to-one help from a personally interviewed subject specialist


Laura P. A Level Maths tutor, GCSE Maths tutor
View profile
£20 /hr

Laura P.

Degree: Aerospace Engineering (Masters) - Bristol University

Subjects offered: Maths


“As an Aerospace Engineering student in Bristol University, I am passionate about Mathematics and Science. Allow me to help you improve your grades, and hopefully inspire along the way!”

Jack W. GCSE Maths tutor, A Level Maths tutor, GCSE Chemistry tutor, ...
View profile
£20 /hr

Jack W.

Degree: Mathematics (Masters) - Exeter University

Subjects offered: Maths, Chemistry


“Hi! I'm Jack and I'm a first year student studying a masters in mathematics at the University of Exeter. My passion for maths has always been a big part of my life as I took part in competitions and extra-curricular activities to do wi...”

MyTutor guarantee

PremiumMathew V. A Level Maths tutor, A Level Physics tutor, A Level Further...
View profile
£26 /hr

Mathew V.

Degree: Mathematics (Bachelors) - Warwick University

Subjects offered: Maths, Physics+ 1 more

Further Mathematics

“Hi there! I’m Mathew, a 3rd year undergraduate student of Mathematics at Warwick University. For A-Levels I studied Maths, Further Maths, Further Additional Maths and Physics. I also worked at a local tuition centre for 2 years prior ...”

About the author

Ta J. A Level Chemistry tutor, A Level Maths tutor, A Level Further M...
View profile
£20 /hr

Ta J.

Degree: Chemical Engineering (Masters) - Bath University

Subjects offered: Maths, Further Mathematics + 1 more

Further Mathematics

“About me Hi there, my name is Jin , and currently I am taking an undergraduate degree course for chemical engineering at the University Of Bath. For a long time now, I have always been keen on teaching people and passing on the knowled...”

MyTutor guarantee

You may also like...

Other A Level Maths questions

Find the gradient of a curve whose parametric equations are x=t^2/2+1 and y=t/4-1 when t=2

Find the exact gradient of the curve y=ln(1-cos2x) at the point with x-coordinate π/6

What is the difference between definite and indefinite integrals?

How do you show that two lines do, or do not intersect?

View A Level Maths tutors


We use cookies to improve our service. By continuing to use this website, we'll assume that you're OK with this. Dismiss