- #1
Lindsayyyy
- 219
- 0
Hi everyone,
I shall find the solution for the following differential equation:
[tex] y''(x)+2y'(x)+y(x)=x^{2}+3 [/tex]
-
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
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