How can integration by parts be used twice to solve ∫ e^at. sinωt dt?

Click For Summary

Homework Help Overview

The discussion revolves around the integral ∫ e^at sin(ωt) dt, which is part of a problem related to electrical circuits. Participants are exploring the application of integration by parts, specifically using it twice to arrive at a solution that matches a provided answer.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants describe their attempts to apply integration by parts twice, with some expressing confusion over the steps and results. Questions arise regarding the correctness of their integrations and the handling of factors such as ω.

Discussion Status

There is an ongoing exploration of different methods to solve the integral, with some participants providing detailed steps of their approaches. Others are questioning specific aspects of the integration process, such as the inclusion of factors and the setup of the integration by parts. Guidance has been offered in the form of corrections and alternative methods, but no consensus has been reached on a single solution.

Contextual Notes

Participants are working under the constraints of a homework assignment, which may limit the information they can share or the methods they can use. There is also a noted discrepancy between the results obtained by participants and the expected answer from the professor.

alex282
Messages
23
Reaction score
1
∫ e^at. sinωt dt

This is the second part of an electrical circuit DE problem from our notes (first part not required to solve the above integral) however in-between this integral and the answer our professor only told us that we would get to the answer by using integration by parts twice. I am curious to understand this missed step and have tried integration by parts twice but can't seem to get the same answer as our professor gave us which should work out as:

e^at (asinωt - ωcosωt) / (ω^2 + a^2)

I would really appreciate it if someone could help me here.. I basically tried integrating by parts twice and taking the original negative integral from the second integration by parts to the LHS and then using that to half the RHS and ended up with e^at(sintωt - cosωt)/2, which is different to our lecturers result.

Thanks to anyone for their time!
 
Last edited:
Physics news on Phys.org
alex282 said:
I basically tried integrating by parts twice and taking the original negative integral from the second integration by parts to the LHS and then using that to half the RHS and ended up with e^at(sintωt - cosωt)/2, which is different to our lecturers result.

Could you show us step-by-step what you did??
 
∫ e^at. sinωt dt

u = e^at, u' = ae^at

v' = sinωt, v = -cosωt

∫ uv' = uv - ∫ u'v

-e^at cosωt - ∫ - ae^at cosωt

-e^at cosωt + ∫ ae^at cosωtnow the second integration by parts,

a = ae^at; a' = a^2 e^at;
b' = cosωt; b = sinωt;

ab - ∫ a'b

ae^at sinωt - ∫ a^2 e^at sinωt

divide everything by a^2

e^at sinωt/a - ∫ e^at sinωt

let original integral = y now - ∫ e^at sinωt = -y

take that to RHS, 2y = e^at sinωt/a

y = e^atsinωt/2aThere is my solution, I can't find where I went wrong so please feel free to point out where I screwed up or if anyone can find the solution and post it I should be able to work it out from there
 
Last edited:
micromass said:
Could you show us step-by-step what you did??

Forgot to quote
 
alex282 said:
∫ e^at. sinωt dt

u = e^at, u' = ae^at

v' = sinωt, v = -cosωt

It seems to me that you're forgetting a factor \omega here.
If v=-\cos\omega t, then v^\prime= \omega \sin\omega t, no??

You made the same mistake in your second integration by parts.
 
micromass said:
It seems to me that you're forgetting a factor \omega here.
If v=-\cos\omega t, then v^\prime= \omega \sin\omega t, no??

You made the same mistake in your second integration by parts.

Ahh I get it now. Thanks for pointing that out I should be okay from here (hopefully)
 
Hi, how about this:

∫eat sinωt dt

u=sinωt du=ωcosωt dt
v=∫eat dt = 1/a eat

∫eat sinωt dt = 1/a eat sinωt - ∫1/a eat ωcosωt dt

∫eat sinωt dt = 1/a eat sinωt - ω/a ∫eat cosωt dt

u=cosωt du= -ωsinωt dt
v=∫eat dt = 1/a eat

∫eat sinωt dt = 1/a eat sinωt - ω/a[ 1/a eat cosωt - ∫-ω/a eat sinωt dt ]

∫eat sinωt dt = 1/a eat sinωt - ω/a[ 1/a eat cosωt + ω/a∫eat sinωt dt ]

∫eat sinωt dt = 1/a eat sinωt - ω/a2 eat cosωt - ω2/a2 ∫eat sinωt dt

∫eat sinωt dt + ω2/a2 ∫eat sinωt dt = 1/a eat sinωt - ω/a2 eat cosωt

a2∫eat sinωt dt + ω2∫eat sinωt dt = aeat sinωt - ωeat cosωt

2 + a2)∫eat sinωt dt = eat(asinωt - ωcosωt)

=> ∫eat sinωt dt = eat(asinωt - ωcosωt) / (ω2 + a2) + C

Ross :)
 
Yes, that's just great!
 
ross1219 said:
Hi, how about this:

∫eat sinωt dt

u=sinωt du=ωcosωt dt
v=∫eat dt = 1/a eat

∫eat sinωt dt = 1/a eat sinωt - ∫1/a eat ωcosωt dt

∫eat sinωt dt = 1/a eat sinωt - ω/a ∫eat cosωt dt

u=cosωt du= -ωsinωt dt
v=∫eat dt = 1/a eat

∫eat sinωt dt = 1/a eat sinωt - ω/a[ 1/a eat cosωt - ∫-ω/a eat sinωt dt ]

∫eat sinωt dt = 1/a eat sinωt - ω/a[ 1/a eat cosωt + ω/a∫eat sinωt dt ]

∫eat sinωt dt = 1/a eat sinωt - ω/a2 eat cosωt - ω2/a2 ∫eat sinωt dt

∫eat sinωt dt + ω2/a2 ∫eat sinωt dt = 1/a eat sinωt - ω/a2 eat cosωt

a2∫eat sinωt dt + ω2∫eat sinωt dt = aeat sinωt - ωeat cosωt

2 + a2)∫eat sinωt dt = eat(asinωt - ωcosωt)

=> ∫eat sinωt dt = eat(asinωt - ωcosωt) / (ω2 + a2) + C

Ross :)

Thanks for your solution, I couldn't manage to see where the omega squared came from until I read yours
 
  • #10
Great! Glad to help. That was fun. :)
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
1
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
18
Views
2K