Second order inhomogeneous differentiel equation.

  • Thread starter Thread starter Lindsayyyy
  • Start date Start date
  • Tags Tags
    Second order
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
Lindsayyyy
Messages
215
Reaction score
0
Hi everyone,

Homework Statement



I shall find the solution for the following differential equation:
[tex]y''(x)+2y'(x)+y(x)=x^{2}+3[/tex]



Homework Equations


-



The Attempt at a Solution


At first solved the homogenous equation and found the general solution for the homogenous as the following:

[tex]y(x)=e^{-x}+xe^{-x}[/tex]

Now I have to find an ansatz function I guess, but I don't know how to do this. I tried At³ but didn't work. Can someone help me?

Thanks in advance
 
Physics news on Phys.org
Try
[tex]y=ax^2+bx+c[/tex]
 
Thanks, I guess that worked if I've done it correctly :smile: