21. Variation of Parameters for Higher-order Equations
Dated: 02-12-2024
Step 1
To find the complementary function, we solve the associated homogeneous equation
Step 2
Suppose that the complementary function for the equation is
Then \(y_1, y_2, \ldots, y_n\) are \(n\) linearly independent solutions of the homogeneous equation.
Therefore, we compute Wronskian
of these solutions.
Step 3
We write the differential equation in the form
and compute the determinants \(W_k\), \(k = 1, 2, \ldots, n\) by replacing the \(k\) column of \(W\) by the column
Step 4
Next we find the derivatives \(u_1', u_2', \ldots, u_n'\) of the unknown functions \(u_1, u_2, \ldots, u_n\) through the relations
Note that these derivatives can be found by solving the \(n\) equations.
Step 5
Integrate the derivative functions computed in the step 4 to find the functions \(u_k\).
Step 6
We write a particular solution of the given non-homogeneous equation as
Step 7
Having found the complementary function \(y_c\) and the particular integral \(y_p\), we write the general solution by substitution in the expression
Note
The first \(n - 1\) equations in step 4 are assumptions made to simplify the first \(n - 1\) derivatives \(y_p\).
The last equation in the system results from substituting the particular integral \(y_p\) and its derivatives into the given \(nth\) order linear differential equation and then simplifying.
Depending on how the integrals of the derivatives \(u_k'\) of the unknown functions are found, the answer for \(y_p\) may be different for different attempts to find \(y_p\) for the same equation.
When asked to solve an initial value problem, we need to be sure to apply the initial conditions to the general solution and not to the complementary function alone, thinking that it is only \(y_c\) that involves the arbitrary constants.
Example
Solve the differential equation by variation of parameters.
Solution
Step 1
The associated homogeneous equation is
The auxiliary equation of the homogeneous differential equation is
The roots of the auxiliary equation are real and distinct.
Therefore \(y_c\) is given by
Step 2
From \(y_c\) we find that three linearly independent solutions of the homogeneous differential equation.
Thus the Wronskian
of the solutions \(y_1, y_2\) and \(y_3\) is given by
By applying the row operations \(R_2 - R_1, R_3 - R_1\), we obtain
Step 3
The given differential equation is already in the required standard form
Step 4
Next we find the determinants \(W_1, W_2\) and \(W_3\) by, respectively, replacing the \(1^{st}, 2^{nd}\) and \(3^{rd}\) column of \(W\) by the column
Thus
Step 5
Therefore, the derivatives of the unknown functions \(u_1, u_2\) and \(u_3\) are given by
Step 6
Integrate these derivatives to find \(u_1, u_2\) and \(u_3\).
Step 7
A particular solution of the non-homogeneous equation is
Step 8
The general solution of the given differential equation is
References
Read more about notations and symbols.