Let us complete solution of differential equation dx2d2y+4y=cos4x.
Firstly, let us solve the characteristic equation of homogeneous differential equation:
k2+4=0
k1=2i, k2=−2i.
Therefore, the general solution of homogeneous equation is
y=C1cos2x+C2sin2x.
Let us find the partial solution of non-homogeneous equation:
yp=Acos4x+Bsin4x
yp′=−4Asin4x+4Bcos4x
yp′′=−16Acos4x−16Bsin4x
−16Acos4x−16Bsin4x+4Acos4x+4Bsin4x=cos4x
−12Acos4x−12Bsin4x=cos4x
−12A=1,−12B=0
A=−121, B=0.
Consequently the general solution of the differential equation dx2d2y+4y=cos4x is
y=C1cos2x+C2sin2x−121cos4x.
Comments
Leave a comment