(D2+3D+2)y=cos2x
Write the related homogeneous or complementary equation:
The general solution of a nonhomogeneous equation is the sum of the general solution "y_h(x)" of the related homogeneous equation and a particular solution "y_p(x)" of the nonhomogeneous equation:
Consider a homogeneous equation
Write the characteristic (auxiliary) equation:
"(r+2)(r+1)=0"
"r_1=-2, r_2=-1"
The general solution of the homogeneous equation is
Let
"y_p=A\\sin 2x+B\\cos 2x"Then
"y_p''=-4A\\sin2x-4B\\cos 2x"
"+x(-A\\sin x-B\\cos x)"
Substitute
"+2A\\sin 2x+2B\\cos 2x=\\cos 2x"
"-2A-6B=0"
"6A-2B=1"
The general solution of a second order nonhomogeneous differential equation be
Comments
Leave a comment