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 ) 

TJ
Answered by Ta J. Maths tutor

59355 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find an equation of the circle with centre C(5, -3) that passes through the point A(-2, 1) in the form (x-a)^2 + (y-b)^2 = k


2 equations intersect each other, y = x + 2 and y = x^2. Find the area of the shaded region between the points of intersection giving your answer to 3 significant figures. (shaded region will be shown)


y=4x^3+6x+3 so find dy/dx and d^2y/dx^2


A triangle has sides A, B and C. The side BC has length 20cm, the angle ABC is 50 deg and angle BAC is 68 deg. a) Show that the length of AC is 16.5cm, correct to three significant figures. b) The midpoint of BC is M, hence find the length of AM


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