Undetermined Coefficients to solve

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 8K views
kuahji
Messages
390
Reaction score
2
Undetermined Coefficients to solve.

y'''-6y''=3-cosx

So I set everything up, get my system & I get an answer of

y=c1+c2x+c3e^(6x)-6/37cosx+1/37sinx

the book has y=c1+c2x+c3e^(6x)-6/37cosx+1/37sinx-1/4x^2.

So I'm not sure where the book gets the last term, any ideas?
 
Physics news on Phys.org
Ok, I have yp= A + B cosx + c sinx
y'p=-Bsinx+C cosx
y''p=-B cosx - C sinx
y'''P=Bsinx - C cosx

After I have plugged these back into the LHS, I get a system of
B+6C=0
6B-C=-1

These give me my coefficients -6/37cosx & 1/37sinx.
 
Oh & yh=r^2(r-6), which is where I get c1+c2x+c3e^6c.
 
kuahji said:
Ok, I have yp= A + B cosx + c sinx

Well that's your problem right there, the constant term 'A' is not linearly independent to your homogeneous solution, which also contains a constant term... to account for the constant term (3) on the RHS of your DE, you need to add a term of the form Ax^r where r is the smallest non-negative integer such that no terms of the same order are present in your homogeneous solution...

kuahji said:
where I get c1+c2x+c3e^6x
 
Thanks. It works out nicely now.