Question #64621

Q. Solve the following differential equation:
(D3−D2+3D+5)y=exsin2x

Expert's answer

Answer on Question #64621 – Math – Differential Equations

Question

Solve the following differential equation:


(D3D2+3D+5)y=exsin2x(D3 - D2 + 3D + 5)y = \text{exsin}2x

Solution

To solve the inhomogeneous linear differential equation (DE)


yy+3y+5y=exsin2xy''' - y'' + 3y' + 5y = e^x \sin 2x


we must

1) find the complementary function ycy_c that is the general solution of the associated homogeneous DE


yy+3y+5y=0;y''' - y'' + 3y' + 5y = 0;


2) find any particular solution ypy_p of the nonhomogeneous equation


yy+3y+5y=exsin2x.y''' - y'' + 3y' + 5y = e^x \sin 2x.


The general solution of the equation (1) is y=yc+ypy = y_c + y_p.

1) To solve the associated homogeneous DE


yy+3y+5y=0y''' - y'' + 3y' + 5y = 0


we substitute into equation the solution as the exponential function y=emxy = e^{mx}. We get


m3emxm2emx+3memx+5emx=0m^3 e^{mx} - m^2 e^{mx} + 3m e^{mx} + 5e^{mx} = 0


or


(m3m2+3m+5)emx=0.(m^3 - m^2 + 3m + 5) e^{mx} = 0.


Since emxe^{mx} is not zero for real values of xx, the last equation has only the roots which are the solutions of the third-degree polynomial equation:


m3m2+3m+5=0.m^3 - m^2 + 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=1m = -1. This can be verified by substituting m=1m = -1 in equation


(1)3(1)2+3(1)+5=113+5=0.(-1)^3 - (-1)^2 + 3(-1) + 5 = -1 - 1 - 3 + 5 = 0.


To find other roots divide m3m2+3m+5m^3 - m^2 + 3m + 5 by m+1m + 1

m22m+5m+1m3m2+3m+5m3+m22m2+3m2m22m5m+55m+50\begin{array}{c} \dfrac{m^2 - 2m + 5}{m + 1 \mid m^3 - m^2 + 3m + 5} \\ \dfrac{m^3 + m^2}{-2m^2 + 3m} \\ \dfrac{-2m^2 - 2m}{5m + 5} \\ \dfrac{5m + 5}{0} \end{array}yp=xex(Acos(2x)+Bsin(2x)),y_p = x e^x (A \cos(2x) + B \sin(2x)),yp=Aexcos2x+Axexcos2x2Axexsin2x+Bexsin2x+Bxexsin2x+2Bxexcos2x,y_p' = A e^x \cos 2x + A x e^x \cos 2x - 2A x e^x \sin 2x + B e^x \sin 2x + B x e^x \sin 2x + 2B x e^x \cos 2x,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 2x4Axexcos2x+Bexsin2x+2Bexcos2x+Bexsin2x+Bxexsin2x+2Bxexcos2x+2Bexcos2x++2Bxexcos2x4Bxexsin2x,\begin{array}{l} -4Axe^x \cos 2x + Be^x \sin 2x + 2Be^x \cos 2x + Be^x \sin 2x + Bxe^x \sin 2x + 2Bxe^x \cos 2x \\ + 2Be^x \cos 2x + \\ + 2Bxe^x \cos 2x - 4Bxe^x \sin 2x, \end{array}


or


yp=2Aexcos2x4Aexsin2x3Axexcos2x4Axexsin2x++2Bexsin2x+4Bexcos2x3Bxexsin2x+4Bxexcos2x\begin{array}{l} y''_p = 2Ae^x \cos 2x - 4Ae^x \sin 2x - 3Axe^x \cos 2x - 4Axe^x \sin 2x + \\ + 2Be^x \sin 2x + 4Be^x \cos 2x - 3Bxe^x \sin 2x + 4Bxe^x \cos 2x \end{array}yp=2Aexcos2x4Aexsin2x4Aexsin2x8Aexcos2x3Aexcos2x3Axexcos2x+6Axexsin2x4Aexsin2x4Aexsin2x8Axexcos2x+2Bexsin2x+4Bexcos2x+4Bexcos2x8Bexsin2x3Bexsin2x3Bxexsin2x6Bxexcos2x+4Bexcos2x+4Bxexcos2x8Bxexsin2x\begin{array}{l} y''_p = 2Ae^x \cos 2x - 4Ae^x \sin 2x - 4Ae^x \sin 2x - 8Ae^x \cos 2x - 3Ae^x \cos 2x - 3Axe^x \cos 2x \\ + 6Axe^x \sin 2x - 4Ae^x \sin 2x - 4Ae^x \sin 2x - 8Axe^x \cos 2x + 2Be^x \sin 2x + 4Be^x \cos 2x \\ + 4Be^x \cos 2x - \\ -8Be^x \sin 2x - 3Be^x \sin 2x - 3Bxe^x \sin 2x - 6Bxe^x \cos 2x + 4Be^x \cos 2x + 4Bxe^x \cos 2x \\ - 8Bxe^x \sin 2x \end{array}


or


yp=9Aexcos2x12Aexsin2x11Axexcos2x+2Axexsin2x9Bexsin2x+12Bexcos2x11Bxexsin2x2Bxexcos2x\begin{array}{l} y''_p = -9Ae^x \cos 2x - 12Ae^x \sin 2x - 11Axe^x \cos 2x + 2Axe^x \sin 2x - \\ -9Be^x \sin 2x + 12Be^x \cos 2x - 11Bxe^x \sin 2x - 2Bxe^x \cos 2x \end{array}


substitute the derivatives into the equation (1)


yy+3y+5y=9Aexcos2x12Aexsin2x11Axexcos2x+2Axexsin2x9Bexsin2x+12Bexcos2x11Bxexsin2x2Bxexcos2x(2Aexcos2x4Aexsin2x3Axexcos2x4Axexsin2x+2Bexsin2x+4Bexcos2x3Bxexsin2x+4Bxexcos2x)++3(Aexcos2x+Axexcos2x2Axexsin2x+Bexsin2x+Bxexsin2x+2Bxexcos2x)++5(Axexcos2x+Bxexsin2x)=exsin2x\begin{array}{l} y''' - y'' + 3y' + 5y = -9Ae^x \cos 2x - 12Ae^x \sin 2x - 11Axe^x \cos 2x + 2Axe^x \sin 2x - \\ -9Be^x \sin 2x + 12Be^x \cos 2x - 11Bxe^x \sin 2x - 2Bxe^x \cos 2x - (2Ae^x \cos 2x - 4Ae^x \sin 2x - \\ -3Axe^x \cos 2x - 4Axe^x \sin 2x + 2Be^x \sin 2x + 4Be^x \cos 2x - 3Bxe^x \sin 2x + 4Bxe^x \cos 2x) + \\ + 3(Ae^x \cos 2x + Axe^x \cos 2x - 2Axe^x \sin 2x + Be^x \sin 2x + Bxe^x \sin 2x + 2Bxe^x \cos 2x) + \\ + 5(Axe^x \cos 2x + Bxe^x \sin 2x) = e^x \sin 2x \end{array}


Crossed out vanished terms and we have


9Aexcos2x12Aexsin2x9Bexsin2x+12Bexcos2x(2Aexcos2x4Aexsin2x+2Bexsin2x+4Bexcos2x)+3(Aexcos2x+Bexsin2x)=exsin2x\begin{array}{l} -9Ae^x \cos 2x - 12Ae^x \sin 2x - 9Be^x \sin 2x + 12Be^x \cos 2x - (2Ae^x \cos 2x - 4Ae^x \sin 2x - \\ + 2Be^x \sin 2x + 4Be^x \cos 2x) + 3(Ae^x \cos 2x + Be^x \sin 2x) = e^x \sin 2x \end{array}


Equating the coefficients of corresponding terms, we find


{9A+12B2A4B+3A=6A+6B=012A9B+4A2B+3B=8A8B=1\begin{array}{l} \left\{ \begin{array}{l} -9A + 12B - 2A - 4B + 3A = -6A + 6B = 0 \\ -12A - 9B + 4A - 2B + 3B = -8A - 8B = 1 \end{array} \right. \end{array}


Then we have A=B=116A = B = -\frac{1}{16} and finally we get the general solution of differential equation (1)


y=c1ex+c2excos2x+c3exsin2x116xex(cos2x+sin2x)y = c_1 e^{-x} + c_2 e^x \cos 2x + c_3 e^x \sin 2x - \frac{1}{16} x e^x (\cos 2x + \sin 2x)


Answer: y=c1ex+c2excos2x+c3exsin2x116xex(cos2x+sin2x)y = c_1 e^{-x} + c_2 e^x \cos 2x + c_3 e^x \sin 2x - \frac{1}{16} x e^x (\cos 2x + \sin 2x).

Answer provided by https://www.AssignmentExpert.com

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS