Integration by Parts: Where Did I Go Wrong?

stripes
Messages
262
Reaction score
0

Homework Statement



Gosh I've been asking a lot of questions lately...anyways...

I tried this question two separate times and couldn't manage to figure out where i went wrong...

\int e^{-x}cos2x dx

Homework Equations



uv - \int v du = \int u dvdx<br />

The Attempt at a Solution



let u = e^{-x} and dv = cos2x dx
so du = -e^{-x} and v = \frac{1}{2}sin2x

\int e^{-x}cos2x dx = \frac{1}{2}e^{-x}sin2x + \frac{1}{2}\int e^{-x}sin2x dx

use integration by parts again, this time let u = e^{-x} and dv = sin2x dx so du = -e^{-x} and v = \frac{-1}{2}cos2x

so now we have:

\int e^{-x}cos2x dx = \frac{1}{2}e^{-x}sin2x - \frac{1}{2}e^{-x}cos2x - \frac{1}{2}\int e^{-x}cos2x dx

bring the \frac{1}{2}\int e^{-x}cos2x dx to the LHS and solve for the integral.

\frac{3}{2}\int e^{-x}cos2x dx = \frac{1}{2}e^{-x}sin2x - \frac{1}{2}e^{-x}cos2x

so finally:

\int e^{-x}cos2x dx = \frac{1}{3}e^{-x}(sin2x - cos2x)

which is incorrect... at which step did I go wrong?

thank you all in advance!
 
Last edited:
Physics news on Phys.org
You forgot a factor 1/2 the second time you used integration by parts.
 
  • Like
Likes milkism
ahh, in which case i would get

<br /> \int e^{-x}cos2x dx = \frac{1}{5}e^{-x}(2sin2x - cos2x)<br />
 
thanks for pointing out my silly mistake...I have one more question that i will post up in a few minutes, this assignment is really killing me. Thanks again cyosis.
 
stripes said:
ahh, in which case i would get

<br /> \int e^{-x}cos2x dx = \frac{1}{5}e^{-x}(2sin2x - cos2x)<br />
Plus the constant of integration.
 
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