Related homogeneous differential equation
y′′+4y′+4y=0 The roots of the characteristic equation are
r2+4r+4=0
(r+2)2=0
r1=r2=−2
The general solution of the homogeneous differential equation is
yh=c1e−2x+c2xe−2x Find the particular solution of the nonhomogeneous differential equation
yp=Ax2e−2x
yp′=2Axe−2x−2Ax2e−2x
yp′′=2Ae−2x−8Axe−2x+4Ax2e−2x Substitute
2Ae−2x−8Axe−2x+4Ax2e−2x
+8Axe−2x−8Ax2e−2x+4Ax2e−2x=4e−2x
A=2
yp=2x2e−2x The general solution of the nonhomogeneous differential equation is
y=yh+yp
y=c1e−2x+c2xe−2x+2x2e−2x
Comments