The homogeneous differential equation
dx2d2y−6dydx+9y=0 The corresponding (auxiliary) equation
r2−6r+9=0
(r−3)2=0
r1=r2=3 The general solution of the homogeneous differential equation
yh=c1e3x+c2xe3x Find the particular solution of the nonhomogeneous differential equation
yp=A+Bx+Cx2
dxdyp=B+2Cx
dx2d2yp=2C Substitute
2C−6(B+2Cx)+9(A+Bx+Cx2)=1+x+x2
9C=1−12C+9B=12C−6B+9A=1
A=277,B=277,C=91
yp=277+277x+91x2
The general solution of the non homogeneous differential equation is
y=yh+yp The solution of the given differential equation is
y=c1e3x+c2xe3x+277+277x+91x2
Comments