I am trying to find a particular solution of the ODE $$u''+2u'+u=9x^2e^{-x}.$$
I know the homogeneous solutions is of the form $$u_H(x)=Ae^{-x}+Bxe^{-x} \ \ \ A,B\in\mathbb{R}.$$ For a particular solution, I could use the method of undetermined coefficients and guess that $$u_P(x)=x^2(Cx^2+Dx+E)e^{-x} \ \ \ C,D,E\in\mathbb{R}.$$ I believe this would yeild an answer, but the computation required is very tedious.
I was wondering if anyone had a suggestion for another way to find a particular solution when the forcing term (RHS) is a product of an exponential and a polynomial.
For th particular solution, make $u(x)=e^{-x}\,y(x)$ to get $$e^{-x} \left(y''(x)-9 x^2\right)=0 \implies y''(x)=9 x^2$$ which looks easy.