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...

1 year ago

Answered by Ta, an A Level Maths tutor with MyTutor

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


£36 /hr

Thomas W.

Degree: Biological Sciences (Bachelors) - Oxford, Pembroke College University

Subjects offered: Maths, Science+ 3 more


“Hi, I’m Tom, a third year Biology student at Oxford University. Tutoring experience: I have tutored A-level Maths, Chemistry and Biology in 1:1 tutorials at my Sixth Form College to Year 12 students. I have also given private tutor...”

£22 /hr

Runzhi C.

Degree: Medicine (Bachelors) - Imperial College London University

Subjects offered: Maths, Chemistry+ 3 more

-Personal Statements-
-Medical School Preparation-

“Hi there, I am a first year medical student at Imperial College London and I have lived in the UK all my life. I enjoy studying medicine because it encompasses both scientific knowledge and social aspects. I am relatively new to tutor...”

£20 /hr

Charlotte W.

Degree: Mathematics (Masters) - Durham University

Subjects offered: Maths


“I am studying Maths at Durham University in my third year. I am incredibly patient and my aim is to help you understand topics as well as I do! I have mentored year 9 students in preparation for GCSE Maths, ran revision sessions with ...”

MyTutor guarantee

About the author

£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

How to solve polynomials

Show how '2sin(x)+sec(x+ π/6)=0' can be expressed as √3sin(x)cos(x)+cos^2(x)=0.

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

How does one find the area of a generic triangle?

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