Answer to Question #195121 in Differential Equations for fhumu

Question #195121

d^2y/dx^2 + 2dy/dx +5y=34sinxcosx


1
Expert's answer
2021-05-19T17:49:32-0400

First we solve the related homogeneous equation 


y+2y+5=0y''+2y'+5=0

The characteristic equation is


r2+2r+5=0r^2+2r+5=0

r1=12i,r2=1+2ir_1=-1-2i, r_2=-1+2i

Hence, the general solution of the homogeneous equation is given by


y0(x)=C1excos2x+C2exsin2xy_0(x)=C_1e^{-x}\cos 2x+C_2e^{-x}\sin 2x

where C1,C2C_1, C_2  are constant numbers.


Let’s go back to the nonhomogeneous equation


y+2y+5y=34sinxcosxy''+2y'+5y=34\sin x \cos x

y+2y+5=17sin2xy''+2y'+5=17\sin 2x

Find a particular solution of the nonhomogeneous differential equation.


y1=(Ax+B)cos2x+(Cx+D)sin2xy_1=(Ax+B)\cos 2x+(Cx+D)\sin 2x

The derivatives are given by


y1=Acos2x2(Ax+B)sin2xy_1'=A\cos 2x-2(Ax+B)\sin 2x

+Csin2x+2(Cx+D)cos2x+C\sin 2x+2(Cx+D)\cos 2x

y1=2Asin2x2Asin2x4(Ax+B)cos2xy_1''=-2A\sin 2x-2A\sin 2x-4(Ax+B)\cos 2x

+2Ccos2x+2Ccos2x4(Cx+D)sin2x+2C\cos 2x+2C\cos 2x-4(Cx+D)\sin 2x

Substituting the function y1y_1 and its derivatives in the differential equation yields:


2Asin2x2Asin2x4(Ax+B)cos2x-2A\sin 2x-2A\sin 2x-4(Ax+B)\cos 2x

+2Ccos2x+2Ccos2x4(Cx+D)sin2x+2C\cos 2x+2C\cos 2x-4(Cx+D)\sin 2x

+2Acos2x4(Ax+B)sin2x+2A\cos 2x-4(Ax+B)\sin 2x

+2Csin2x+4(Cx+D)cos2x+2C\sin 2x+4(Cx+D)\cos 2x

+5(Ax+B)cos2x+5(Cx+D)sin2x=17sin2x+5(Ax+B)\cos 2x+5(Cx+D)\sin 2x=17\sin 2x



4A4Cx4D4Ax4B+2C=17-4A-4Cx-4D-4Ax-4B+2C=17

4Ax4B+4C+2A+4Cx+4D=0-4Ax-4B+4C+2A+4Cx+4D=0


4A4C=0-4A-4C=0

4A4B+2C4D=17-4A-4B+2C-4D=17

4A+4C=0-4A+4C=0

2A4B+4C+4D=02A-4B+4C+4D=0

A=C=0A=C=0

B=DB=D

8B=17-8B=17

Therefore we will look for a particular solution of the form


y1=178cos2x178sin2xy_1=-\dfrac{17}{8}\cos 2x-\dfrac{17}{8}\sin 2x

Now we can write the full solution of the nonhomogeneous equation:



y=C1excos2x+C2exsin2xy=C_1e^{-x}\cos 2x+C_2e^{-x}\sin 2x

178cos2x178sin2x-\dfrac{17}{8}\cos 2x-\dfrac{17}{8}\sin 2x


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!

Comments

No comments. Be the first!

Leave a comment