Understanding Undetermined Coefficients in Differential Equations

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
1 reply · 2K views
suspenc3
Messages
400
Reaction score
0

Homework Statement


Write down the complementary solution [tex]y_c[/tex] and the correct particular solution [tex]y_p[/tex] in terms of its undetermined coefficients.

[tex]y^{'''}+y^{''}+3y^{'} -5y=x^2e^{x}+x^{2}e^{-x}cos(2x)+xe^{-x}sin(2x)[/tex]

The Attempt at a Solution


I can easily find [tex]y_c[/tex] but I don't understand [tex]y_p[/tex].

The solution is:TRY:[tex](Ax^2+Bx+C)e^x+e^{-x}[(Dx^2+Ex+F)cos(2x)+(Gx^2+Hx+I)sin(2x)][/tex]. And then you would adjust the particular solution. How come The [tex]Gx^2+Hx+I[/tex] term is a quadratic? If I didnt know the solution I would have put is as Gx+H.

If you had a good site explaining undetermined coefficients, that would be awesome, I don't really like the way the book explains it.

Thanks a lot.
 
Physics news on Phys.org
Why aren't you asking about the "Dx2+ Ex + F" as well? The answer is exactly the same:
Since e-x cos(2x) and e-xsin(2x) are already solutions to the homogeneous equation, using (Dx+ C)cos(2x) and (Gx+ Y)sin(2x) would only give you "e-xcos(2x)" and "e-xsin(2x)", not "xe-xcos(2x)" and "x-xsin(2x)". Whenever a function already satisfies the homogeneous equation, you need to multiply whatever you would "normally try" by x.

(You don't actually need Dx2+ Ex+ F or Gx2+ Hx+ I. What you need is (Dx2+ Ex)e-xcos(2x) and (Gx2+ Hx)e-xsin(2x). Try those and see what happens.)