Corresponding homogeneous differential equation
y′′′+y=0 Characteristic equarion
r3+1=0
(r+1)(r2−r+1)=0
r1=−1,r2=21−23i,r3=21+23i The general solution of the homogeneous differential equation
yh=c1e−x+c2ex/2sin(23x)+c3ex/2cos(23x)
(D3+1)y=cosx+sinx
Find the particular solution of the nonhomogeneous differential equation
yp=Acosx+Bsinx Then
yp′=−Asinx+Bcosx
yp′′=−Acosx−Bsinx
yp′′′=Asinx−Bcosx
Substitute
Asinx−Bcosx+Acosx+Bsinx=
=cosx+sinx
A+B=1
−B+A=1
A=1
B=0The particular solution of the nonhomogeneous differential equation is
yp=cosx
Comments
Thank you so much