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

Click For Summary
SUMMARY

The integral ∫ eat sin(ωt) dt can be solved using integration by parts twice, leading to the result eat (a sin(ωt) - ω cos(ωt)) / (ω2 + a2). The initial attempt by a forum user failed due to neglecting the factor of ω in the differentiation of v = -cos(ωt). A corrected step-by-step solution was provided, confirming the correct application of integration by parts and the inclusion of the ω factor, ultimately leading to the accurate solution.

PREREQUISITES
  • Understanding of integration by parts
  • Familiarity with basic calculus concepts
  • Knowledge of trigonometric functions and their derivatives
  • Ability to manipulate algebraic expressions
NEXT STEPS
  • Study advanced integration techniques, including multiple applications of integration by parts
  • Learn about the Laplace transform for solving differential equations
  • Explore the use of integration in electrical circuit analysis
  • Review trigonometric identities and their applications in calculus
USEFUL FOR

Students studying calculus, electrical engineering students, and anyone interested in mastering integration techniques for solving differential equations.

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