Second order nonhomogeneous ODE

  • Thread starter yaro99
  • Start date
  • #1
75
0

Homework Statement



y''+3y'+3.25=3cost-1.5sint


Homework Equations


yh = e(a/2)t(Acost+Bsint)
yp = Kcos(ωt)+Msin(ωt) [when r(x)=kcos(ωt) or ksin(ωt)]


The Attempt at a Solution



I got the homogeneous solution, which is e-1.5t(Acost+Bsint)
but I am having trouble with the particular solution.

I tried the above equation, making yp=K1cos(ωt)+M1sin(ωt)+K2cos(ωt)+M2sin(ωt)
since there are 2 trig functions as r(t).
I couldn't solve for the variables by plugging into the original equation because I was left with 4 variables and only 2 equations.

EDIT: realized I wasn't consistent with my independent variable, made them all t's instead of t's and x's
 
Last edited:

Answers and Replies

  • #2
160
4
K1cos(ωx) + K2cos(ωx) = (K1 + K2)cos(ωx). Having two sin/cos functions is redundant, since they are linear combinations (in this case, they are the same function, entirely).
 
  • #3
75
0
K1cos(ωx) + K2cos(ωx) = (K1 + K2)cos(ωx). Having two sin/cos functions is redundant, since they are linear combinations (in this case, they are the same function, entirely).

Ah I get it now. I solved for the values (M1+M2) and (K1+K2) instead of the variables individually and got the right answer. Thanks!
 

Related Threads on Second order nonhomogeneous ODE

  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
3
Views
2K
Replies
3
Views
6K
Replies
5
Views
2K
Replies
3
Views
1K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
1
Views
931
Replies
3
Views
4K
Top