Integration by Parts: Where Did I Go Wrong?

Click For Summary

Homework Help Overview

The discussion revolves around the integration of the function e^{-x}cos2x using integration by parts. The original poster attempts to solve the integral but expresses uncertainty about where their reasoning went awry.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • The original poster outlines their approach using integration by parts, defining u and dv, and performing the integration step-by-step. They question the validity of their final result and seek feedback on their process.

Discussion Status

Some participants provide feedback on the original poster's calculations, noting a potential error in the application of integration by parts. There is an acknowledgment of a mistake, but the discussion remains open as the original poster considers the implications of this feedback.

Contextual Notes

The original poster expresses frustration with the assignment, indicating a challenging workload. There is also mention of a constant of integration, suggesting that participants are aware of the need for completeness in their solutions.

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

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 105 ·
4
Replies
105
Views
10K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
5
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K