Solve this differential equation $y''+2y'+y = e^{-t}$.
I got the homogenous solution to be
$y_h= (Bt + C)e^{-t}$
But I don't know what my guess to the particular function should be? $Ae^{-t}$ solves the homogenous function so it can't be it. Then my next try was $Ate^{-t}$, but this is what I got:
$y = Ate^{-t}$
$y'=A(e^{-t} - t^2 e^{-t})$
$y'' = A(-te^{-t} - 2te^{-t} +t^3e^{-t})$
Then I when I put it in the equation I get.
$Ae^{-t}(t^3-2t^2-2t+2)=e^{-t}$
But I have two variables and therefore I can't solve it. I need help.
$$ y''+2y'+y = e^{-t}. $$ Characteristic equation relatively of the provided differential equation will be: $$ e^{rt}\left(r^{2}+2r+1\right)=0, \\ \left(r+1\right)^{2}=0, \\ r=-1,-1. $$ So our general solution will be a linear combination of our homogeneous solutions of our characteristic roots $r_1$ and $r_2$: $$ y(t)=C_{1}e^{-t}+C_{2}te^{-t}. $$ The particular solution will be: $$ Ae^{-t}-Ae^{-t}+Ae^{-t}=e^{-t}, \\ Ae^{-t}=e^{-t},\implies{A=1}. $$ The total solution will be: $$ y(t)=C_{1}e^{-t}+C_{2}te^{-t}+1. $$