Given equation is -y′′−y′=sinx ......A)
dx2d2y−dxdy=sinx
D = dxd
writing the equation in normal form -
(D2−D)y=sinx
writing in auxiliary form we get ,
auxiliary equation is -
m2−m=0
m=0,1
CF can be written as y=C1e0x+C2ex
y=C1+C2ex
now , we have to this by undetermined coefficient , for sinx method let the particular solution is y=Acosx+Bsinx
y′=−Asinx+Bcosx
y′′=−Acosx−Bsinx
now putting the value of y′,y′′ in equation A) , we get -
=−Acosx−Bsinx+Asinx−Bcosx=sinx
=cosx(−A−B) +sinx(−B+A) =sinx
comparing the coefficient of sinx and cosx on both side of equation -
=−A−B=0
=A−B=1
on solving we get ,
= B=2−1
=A=21
So our particular solution will be -
y=21cosx+21sinx
now complete solution is given by -
y=CF+PI
y= C1+C2ex+21(cosx+sinx)
Comments