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 = ex cos x + ex sin x
∫  ex cos x dx = 1/2 ( excos x + ex sin x ) 

TJ

Related Maths A Level answers

All answers ▸

The mass, m grams, of a substance is increasing exponentially so that the mass at time t hours is m=250e^(0.021t). Find the time taken for the mass to double in value.


Find the coordinates of the turning points of the curve y = 4/3 x^3 + 3x^2-4x+1


Differentiate 2e^(3x^2+6x)


Find the equation of the the tangent to the curve y=x^3 - 7x + 3 at the point (1,2)