Integrating by Parts: Solve e^(-x)cos x dx

Shaybay92
Messages
122
Reaction score
0

Homework Statement



I have attempted and failed solving the following integration:

Integrate : e^(-x) cos x dx

Homework Equations


I tried using the integration by parts rule:

uv - (integral) v (du/dx) dx

The Attempt at a Solution



I let u = e^(-x) and dv/dx = cos x

therefore (du/dx) = -e^(-x) and v = sin x

e^(-x)sinx - (integral)-e^(-x)sinx dx

This does not seem to cancel out anything and just keeps cycling through e and sin/cos
 
Physics news on Phys.org
Integrate by parts twice, and you will come up with an equation you can solve for the integral you want.
 
Alternatively you could write the integral as \text{Re}(\int e^{-x}e^{i x} dx ).
 
I just end up with having to integrate exactly what I began with!

After doing parts twice i get

-e-xcosx - \int e-x cosx dx
 
Where did the first term, e^(-x)sinx, from the first partial integration go? Now define I=\int e^{-x}\cos x dx. You will then get an equation I= (some stuff)-I, we want to know I therefore solve for I!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top