dx2d2y−6dxdy+9y=1+x+x2
P(s)=s2-6s+9
=(s-3)2
Since we have two identical roots,the homogeneous solution will have the form ;
yh=C1e3x + C2xe3x
yp=Ax2+Bx+C
y'p=2Ax+B
y''p=2A
9Ax2+(9B-12A)x+(2A-6B+9C)=x2+x+1
9A=1 ⟹ A=91
9B-12A=1 ⟹B=277
2A-6B+9C=1⟹C=277
So yp=91x2+277x+277
∴ The general solution is:
y=C1e3x+C2xe3x+91x2+277x+277
Comments