Given differential equation is (D−D′+2)(D+D−1)=ex−y−x2y
C.F. of the equation of type (D−mD′+k)z=0 is u=ekx(y+mx)
So the C.F. of the equation is, C.F.=e−2x(y+x)+ex(y−x)
P.I. (D−D′+2)(D+D−1)1(ex−y−x2y)
For exponential part,
(D−D′+2)(D+D−1)1ex−y=(1+1+2)(1−1−1)1ex−y=4−1ex−y
For polynomial part,
(D−D′+2)(D+D−1)1(x2y)=D2−D′2+2D−21x2y
=−2(1−2D2−D′2+2D)−1x2y
=−2(1+(2D2−D′2+2D)+(2D2−D′2+2D)2+.....)x2y
Removing the terms which will give me zero, i.e.D3,D′2.......
=−2(1+(2D2−D′2+2D)+D2)x2y
=−(x2y+21(2y+4xy)+41×8)=−(4+2y+4xy+2x2y)
So, Complete solution is,
u(z)=e−2x(y+x)+ex(y−x)−41ex−y−(4+2y+4xy+2x2y)
Comments
Thank you very much sir