Answer on Question #64621 – Math – Differential Equations
Question
Solve the following differential equation:
(D3−D2+3D+5)y=exsin2xSolution
To solve the inhomogeneous linear differential equation (DE)
y′′′−y′′+3y′+5y=exsin2x
we must
1) find the complementary function yc that is the general solution of the associated homogeneous DE
y′′′−y′′+3y′+5y=0;
2) find any particular solution yp of the nonhomogeneous equation
y′′′−y′′+3y′+5y=exsin2x.
The general solution of the equation (1) is y=yc+yp.
1) To solve the associated homogeneous DE
y′′′−y′′+3y′+5y=0
we substitute into equation the solution as the exponential function y=emx. We get
m3emx−m2emx+3memx+5emx=0
or
(m3−m2+3m+5)emx=0.
Since emx is not zero for real values of x, the last equation has only the roots which are the solutions of the third-degree polynomial equation:
m3−m2+3m+5=0.
This equation is called the auxiliary equation of the differential equation (2).
It is obvious that one of the roots is m=−1. This can be verified by substituting m=−1 in equation
(−1)3−(−1)2+3(−1)+5=−1−1−3+5=0.
To find other roots divide m3−m2+3m+5 by m+1
m+1∣m3−m2+3m+5m2−2m+5−2m2+3mm3+m25m+5−2m2−2m05m+5yp=xex(Acos(2x)+Bsin(2x)),yp′=Aexcos2x+Axexcos2x−2Axexsin2x+Bexsin2x+Bxexsin2x+2Bxexcos2x,y_p''_p = A e^x \cos 2x - 2A e^x \sin 2x + A e^x \cos 2x + A x e^x \cos 2x - 2A x e^x \sin 2x - 2A e^x \sin 2x - 2A x e^x \sin 2x−4Axexcos2x+Bexsin2x+2Bexcos2x+Bexsin2x+Bxexsin2x+2Bxexcos2x+2Bexcos2x++2Bxexcos2x−4Bxexsin2x,
or
yp′′=2Aexcos2x−4Aexsin2x−3Axexcos2x−4Axexsin2x++2Bexsin2x+4Bexcos2x−3Bxexsin2x+4Bxexcos2xyp′′=2Aexcos2x−4Aexsin2x−4Aexsin2x−8Aexcos2x−3Aexcos2x−3Axexcos2x+6Axexsin2x−4Aexsin2x−4Aexsin2x−8Axexcos2x+2Bexsin2x+4Bexcos2x+4Bexcos2x−−8Bexsin2x−3Bexsin2x−3Bxexsin2x−6Bxexcos2x+4Bexcos2x+4Bxexcos2x−8Bxexsin2x
or
yp′′=−9Aexcos2x−12Aexsin2x−11Axexcos2x+2Axexsin2x−−9Bexsin2x+12Bexcos2x−11Bxexsin2x−2Bxexcos2x
substitute the derivatives into the equation (1)
y′′′−y′′+3y′+5y=−9Aexcos2x−12Aexsin2x−11Axexcos2x+2Axexsin2x−−9Bexsin2x+12Bexcos2x−11Bxexsin2x−2Bxexcos2x−(2Aexcos2x−4Aexsin2x−−3Axexcos2x−4Axexsin2x+2Bexsin2x+4Bexcos2x−3Bxexsin2x+4Bxexcos2x)++3(Aexcos2x+Axexcos2x−2Axexsin2x+Bexsin2x+Bxexsin2x+2Bxexcos2x)++5(Axexcos2x+Bxexsin2x)=exsin2x
Crossed out vanished terms and we have
−9Aexcos2x−12Aexsin2x−9Bexsin2x+12Bexcos2x−(2Aexcos2x−4Aexsin2x−+2Bexsin2x+4Bexcos2x)+3(Aexcos2x+Bexsin2x)=exsin2x
Equating the coefficients of corresponding terms, we find
{−9A+12B−2A−4B+3A=−6A+6B=0−12A−9B+4A−2B+3B=−8A−8B=1
Then we have A=B=−161 and finally we get the general solution of differential equation (1)
y=c1e−x+c2excos2x+c3exsin2x−161xex(cos2x+sin2x)
Answer: y=c1e−x+c2excos2x+c3exsin2x−161xex(cos2x+sin2x).
Answer provided by https://www.AssignmentExpert.com