The special solution form of differential equation y '' - 2Y '+ y = (x ^ 2) * (e ^ x) is

The special solution form of differential equation y '' - 2Y '+ y = (x ^ 2) * (e ^ x) is

The homogeneous form of the equation is as follows
y''-2y'+y=0
The characteristic equation is as follows
λ^2-2λ+1=0
λ = 1 (multiple roots)
Also: q = x ^ 2 * e ^ x
1 is the multiple root of the characteristic equation,
Therefore, let a special solution of the equation be:
Y * = x ^ 2 (AX ^ 2 + BX + C) * e ^ x is brought into the equation to solve a, B and C
The solution of the original equation is as follows
y=Ce^x+y*