The question is the following : $$x''-3x'+2x=t^2$$ However, my book does not provide any answer to this equation
I tried to solve it but I feel lost after writing down the following system $$x_1=x$$$$x_2=x'=x_1'$$ $$x_2'=t^2-2x_1+3x_2$$
The book that expects me to write the system of equations so it does not give the answer to the differential equation. I was wondering how can I solve it by using operators?
Substitute $D=\frac{d}{dx}$ such that you have $$(D^2-3D+2)x = t^2$$ But we know that $D^2-3D+2 = (D-2)(D-1)$, if we set $x_1 = (D-2)x$ then we get: \begin{align} (D-1)x_1 &= t^2\\ (D-2)x &= x_1 \end{align} The first ode back to the original form is $x_1' -x_1 = t^2$ we can solve this ode by first solve the homogeneous and then use $x_1 = a+bt+ct^2$ with $a,b,c$ constants to solve the particular solution and add these two. Use this solution and substitute it in the second ode and solve this ode as well.