Method of Variation of Parameters
Consider the equation
In order to use the method of variation of parameters we need to know that {y1, y2} is a set of fundamental solutions of the associated homogeneous equation . We know that, in this case, the general solution of the associated homogeneous equation is yh = c1y1 + c2y2. The idea behind the method of variation of parameters is to look for a particular solution such as
where u1 and u2 are functions. From this, the method got its name.
The functions u1 and u2 are solutions to the system
which implies
where W(y1, y2) is the wronskian of y1 and y2. Therefore, we have
Example
Given that y1 = x2 and y2 = x2 ln x are solutions to x2y'' - 3xy' + 4y = x2ln x to the corresponding homogeneous differential equation, find the general solution to the nonhomogeneous differential equation.
First, we divide by x2 to get the differential equation in standard form
y'' = 3/x y' + 4/x2 y = ln x
We let
yp = u1y1 + u2y2
The Wronskian matrix is
We use the adjoint formula to find the inverse matrix. First the Wronskian is the determinant which is
W = x3 + 2x3 ln x - 2x3 ln x = x3
So the inverse is
We have
Integrating by parts (with some effort) gives
u1 = -(ln x)3/3
u2 = (ln x)2/2
We have
yp = -1/3 x2(ln x)3 + 1/2 x2 (ln x)3 = 1/6 (ln x)3
Finally we get
y = c1 x2 + c2 x2 ln x + 1/6 (ln x)3
|