设通解为y=(ax²+bx+c)e^x y′=(ax²+(2a+b)x+b+c)e^x y″=(ax²+(4a+b)x+2a+2b+c)e^x y″-2y′+y= 2ae^x=0恒成立 则a=0 所以微分方程通解为y=(bx+c)e^x (c,b∈R)