Second order nonhomogeneous ODE

yaro99
Messages
75
Reaction score
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:
Physics news on Phys.org
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).
 
djh101 said:
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!
 
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