y′′+y=x3+excosx Homogeneous equation
y′′+y=0 Characteristic equation
r2+1=0
r=±i The general solution of the homogeneous equation is
yh=c1cosx+c2sinx Find the partial solution of the nonhomogeneous equation in the form
yp=Ax3+Bx2+Cx+D+Eexcosx+Fexsinx
yp′=3Ax2+2Bx+C+Eexcosx−Eexsinx
+Fexsinx+Fexcosx
yp′′=6Ax+2B+Eexcosx−Eexsinx
−Eexsinx−Eexcosx+Fexsinx+Fexcosx
+Fexcosx−Fexsinx Substitute
6Ax+2B−2Eexsinx+2Fexcosx
+Ax3+Bx2+Cx+D+Eexcosx+Fexsinx
=x3+excosx
x3:A=1
x2:B=0
x1:6A+C=0
x0:2B+D=0
excosx:E+2F=1
exsinx:−2E+F=0
A=1,B=0,C=−6,D=0,E=51,F=52
yp=x3−6xex+51cosx+52exsinx
The general solution of the given nonhomogeneous equation is
y=c1cosx+c2sinx
+x3−6xex+51cosx+52exsinx
Comments
Leave a comment