Professional Documents
Culture Documents
Variation of Parameters
Variation of Parameters
For second order nonhomogeneous differential equations, we saw that if the function g(x) does not generate a UC-Set, then we must use the method of variation of parameters. To review this method click here. It turns out that the method of variation of parameters naturally generalizes to higher order differential equations.
Let
where the ui are functions of t. Following the prior discussion, we see that we need only one yp but have labeled n functions of t. We therefore may impose n - 1 conditions on the u's. The conditions that we impose are
yp' = u1y1' + u1'y1 + u2y2' +u2'y2 + ... + unyn' + un'yn = u1'y1 + u2'y2 + ... + un'yn
yp'' = u1'y1' + u1''y1 + u2'y2' +u2''y2 + ... + un'yn' + un''yn = u1''y1 + u2''y2 + ... + un''yn
Plugging in to the original differential equation and noting that each of the y's are solution to the differential equation, we get
Notice that this gives a system of n equations and n unknowns. We can write this as
Since the Wronskian is never zero, we can take its inverse. Taking the inverse of matrix where the entries are functions is not easy. Fortunately, we only need the last column of the inverse, which can be found with much less pain using the adjoint formula.
Example
Solve
Solution
r3 + r = 0
r(r2 + 1) = 0
r = 0,
r = i,
r = -i
We conclude
yh = c1 + c2 cos t + c3 sin t
We have
yp = v1 + v2 cos t + v3 sin t
The Wronskian is
So that
u1' = sec t
u2' = -1
u3' = -tan t
Integrating, we get
u2' = -t
u3' = ln|cos t|