y''+y=senx
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_1=i, r_2=-i"The general solution of the homogeneous equation is
Let
"y_p=x(A\\sin x+B\\cos x)"Then
"y_p''=A\\cos x-B\\sin x+A\\cos x-B\\sin x"
"+x(-A\\sin x-B\\cos x)"
Substitute
"+x(-A\\sin x-B\\cos x)+x(A\\sin x+B\\cos x)"
"=\\sin x"
"A=0, B=-\\dfrac{1}{2}"
The general solution of a second order homogeneous differential equation be
Comments
Leave a comment