x^2d^2y/dx^2-xdy/dx+y=log x+sin(log x)+1/x
Let "x=e^t." Then
"\\ln x=t"
"e^{2t}(-e^{-2t}y'_t+e^{-2t}y''_{t^2})-e^te^{-t}y'_t+y=t+\\sin t+e^{-t}"
"y''_{t^2}-2y_t'+y=t+\\sin t+e^{-t}"
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)^2=0"
"r_1=1, r_2=1"
The general solution of the homogeneous equation is
Let
"y_p=At+B+C\\sin t+D\\cos t+Ee^{-t}"Then
"y_p''=-C\\sin t-D\\cos t+Ee^{-t}"
Substitute
"-2A+2C\\cos t+2D\\sin t+2Ee^{-t}"
"+At+B+C\\sin t+D\\cos t+Ee^{-t}"
"=t+\\sin t+e^{-t}"
"A=1, B=2"
The general solution of a second order homogeneous differential equation be
Comments
Leave a comment