Consider the following non-homogenous second order linear ODE: .
Given that and , where and are positive integers. What is ?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
x 2 d x 2 d 2 y − x d x d y + y = x 2
Guess that a particular solution is of the form y = a x 2 + b x + c . Then, d x d y = 2 a x + b and d x 2 d 2 y = 2 a . Substituting this in and equating coefficients, we obtain that a = 1 , b = 0 , c = 0 . Thus, one particular solution is of the form y p = x 2 .
In order to find the general solution, we need to add the particular solution to the general solution of the associated homogenous differential equation: x 2 d x 2 d 2 y − x d x d y + y = 0 . This is harder to solve, but we notice by inspection that one solution is y 1 = x .
Thus, using reduction of order, we guess that another solution is of the form y 2 = v y 1 = v x , where v is a function of x . Then, d x d y 2 = d x d v x + v and d x 2 d 2 y 2 = d x 2 d 2 v x + 2 d x d v .
Substituting in, we obtain d x 2 d 2 v x 3 + d x d v x 2 = 0 . Substitute w = d x d v and d x d w = d x 2 d 2 v gives a separable differential equation which we get w = x 1 and thus v = ln x . From this, we get that y 2 = x ln x .
Since y 1 and y 2 are not linearly dependent on each other, the general solution to the associated homogeneous differential equation is c 1 y 1 + c 2 y 2 = c 1 x + c 2 x ln x .
Finally, our general solution to the original nonhomogenous equation is x 2 + c 1 x + c 2 x ln x . The derivative of this is 2 x + c 1 + c 2 ( 1 + ln x ) .
Using the initial conditions, we get c 1 = 1 and c 2 = − 2 1 . Thus, y ( x ) = x 2 + x − 2 1 x ln x and y ( 3 ) = 1 2 − 2 1 ln 2 7 .
The answer is 1 2 + 2 7 = 3 9 .