Show that y=Ax^2e^x is the general solution to the differential equation:
y'' - y' = 2e^x(x+1)
y= Ax^2e^x
y'= 2Axe^x = 2xe^x
y''= 2Ae^x = 2e^x
(2e^x)-(2xe^x) = 2e^x(x+1)
2e^x - 2xe^x = 2xe^x + 2e^x
Is this correct? Then it wouldn't be a solution to the differential equation?
y'' - y' = 2e^x(x+1)
y= Ax^2e^x
y'= 2Axe^x = 2xe^x
y''= 2Ae^x = 2e^x
(2e^x)-(2xe^x) = 2e^x(x+1)
2e^x - 2xe^x = 2xe^x + 2e^x
Is this correct? Then it wouldn't be a solution to the differential equation?