← Back to Math 055
4.6 Variation of Parameters: Class Notes
4.6a
Consider the homogeneous second-order differential equation . The general solution to this DE is . When the input function of an associated nonhomogeneous DE is not restricted to the type we saw in 4.4, we consider particular solutions with coefficients that are variable functions. That is, we will find .
Starting with , divide by to put the DE in standard form:
The complementary function (from 4.3) is , where and are constants.
Now consider , with the constants replaced by functions. Differentiate it twice:
Substituting , , and into , the DE becomes
Since and are solutions of the homogeneous DE, the terms with itself (not its derivatives) add up to zero:
Likewise for : the terms add up to zero. What remains is
Split into . The piece is the derivative by the Product Rule, and in the same way is . The equation becomes
If we require , the first and last groups are zero, so . Here we are considering a system with unknown functions and :
Recall: Cramer’s Rule
The system , can be solved using Cramer’s Rule:
To see where this comes from, multiply the first equation by and the second by , then subtract (the third line is the difference):
so . Likewise, .
Here the unknowns are and , so we form
and use , the right side of the standard form, so the DE must be in standard form before forming them.
4.6b
Expanding the determinants, and .
and
Example
Solve the differential equation by variation of parameters.
Solution
The auxiliary equation is , so and
The Wronskian and the other two determinants:
Then
Tip: No is needed here: it would only add to the solution, which we already have in .
For this integral, let , so .
So the particular solution is
The term is a multiple of , so it combines with in :
Answer:
4.6c
Example
Solve the initial-value problem by variation of parameters.
Solution
Divide by 2 to put the DE in standard form before forming , , and :
The auxiliary equation of the original DE is , so and :
For , integrate by parts with , , , :
For , integrate by parts with , , , :
Then , so
Apply the initial conditions, using :
Adding the two equations gives , so and .
Answer:
Example
Solve the differential equation by variation of parameters.
Solution
The auxiliary equation is , so :
The integrand has no elementary antiderivative, so stays an integral, written with a variable upper limit:
Answer:
4.6d
Example
Solve the given third-order differential equation by variation of parameters.
Solution
The auxiliary equation is , so and :
Recall: 3×3 determinant
Each entry of the top row multiplies the 2×2 determinant left when its row and column are crossed out. The signs follow the checkerboard pattern
so you can also expand along any other row or column, such as a column with zeros.
Expanding the Wronskian down the first column (only its top entry is nonzero):
For , replace column of with :
Then :
With , and on an interval where :
Answer: