General solution to non-homogenous differential y''-2y'=e^(2x) + x^2 - 1

BigHairyMommaBear

New member
Joined
Mar 27, 2017
Messages
1
I can find the general solution, yc, to y''-2y'=0 which I believe to be yc=A+Be2x.
I then go on to try and find the particular solution, yp, to y''-2y'=e2x using yp=pe2x which gives y'p=2pe2x and y''p=4pe2x. Substituting these values into the original equation I get 4pe2x-2(2pe2x)=e2x which then give 4pe2x-4pe2x=e2x which is clearly not true.
I'm not sure whether I'm making a mistake here or whether I have to use a different method in order to find the general solution. Any help would be appreciated.
 
I can find the general solution, yc, to y''-2y'=0 which I believe to be yc=A+Be2x.
I then go on to try and find the particular solution, yp, to y''-2y'=e2x using yp=pe2x which gives y'p=2pe2x and y''p=4pe2x. Substituting these values into the original equation I get 4pe2x-2(2pe2x)=e2x which then give 4pe2x-4pe2x=e2x which is clearly not true.
I'm not sure whether I'm making a mistake here or whether I have to use a different method in order to find the general solution. Any help would be appreciated.
since e^(2x) is a homogeneous solution, the particular solution should be x*e^(2x).
 
Top