In Section 5.5 we exhibited two techniques for finding a single particular solution of a single nonhomogeneous nth-order linear differential equation—the method of undetermined coefficients and the method of variation of parameters. Each of these may be generalized to nonhomogeneous linear systems. In a linear system modeling a physical situation, nonhomogeneous terms typically correspond to external influences, such as the inflow of liquid to a cascade of brine tanks or an external force acting on a mass-and-spring system.
Given the nonhomogeneous first-order linear system
where A is an
where
Preceding sections have dealt with
First we suppose that the nonhomogeneous term f(t) in (1) is a linear combination (with constant vector coefficients) of products of polynomials, exponential functions, and sines and cosines. Then the method of undetermined coefficients for systems is essentially the same as for a single linear differential equation. We make an intelligent guess as to the general form of a particular solution
Find a particular solution of the nonhomogeneous system
The nonhomogeneous term
Upon substitution of
We equate the coefficients of t and the constant terms (in both
We solve the first two equations in (5) for
Cascading brine tanks Figure 8.2.1 shows the system of three brine tanks investigated in Example 2 of Section 7.3. The volumes of the three tanks are
The nonhomogeneous term
Because the nonhomogeneous term is constant, we naturally select a constant trial function
that we readily solve for
In Example 2 of Section 7.3 we found the general solution
of the associated homogeneous system, so a general solution
When we apply the zero initial conditions in (6), we get the scalar equations
that are readily solved for
As illustrated in Fig. 8.2.2, we see the salt in each of the three tanks approaching, as
In the case of duplicate expressions in the complementary function and the nonhomogeneous terms, there is one difference between the method of undetermined coefficients for systems and for single equations (Rule 2 in Section 5.5). For a system, the usual first choice for a trial solution must be multiplied not only by the smallest integral power of t that will eliminate duplication, but also by all lower (nonnegative integral) powers of t as well, and all the resulting terms must be included in the trial solution.
Consider the nonhomogeneous system
In Example 1 of Section 7.3 we found the solution
of the associated homogeneous system. A preliminary trial solution
as our trial solution, and we would then have six scalar coefficients to determine. It is simpler to use the method of variation of parameters, our next topic.
Recall from Section 5.5 that the method of variation of parameters may be applied to a linear differential equation with variable coefficients and is not restricted to nonhomogeneous terms involving only polynomials, exponentials, and sinusoidal functions. The method of variation of parameters for systems enjoys the same flexibility and has a concise matrix formulation that is convenient for both practical and theoretical purposes.
We want to find a particular solution
given that we have already found a general solution
of the associated homogeneous system
We first use the fundamental matrix
where c denotes the column vector whose entries are the coefficients
We must determine u(t) so that
The derivative of
Hence substitution of Eqs. (15) and (16) in (11) yields
But
because each column vector of
Thus it suffices to choose u(t) so that
that is, so that
Upon substitution of (21) in (15), we finally obtain the desired particular solution, as stated in the following theorem.
This is the variation of parameters formula for first-order linear systems. If we add this particular solution and the complementary function in (14), we get the general solution
of the nonhomogeneous system in (11).
The choice of the constant of integration in Eq. (22) is immaterial, for we need only a single particular solution. In solving initial value problems it often is convenient to choose the constant of integration so that
If we add the particular solution of the nonhomogeneous problem
in (24) to the solution
of the nonhomogeneous initial value problem
Equations (22) and (25) hold for any fundamental matrix
of the nonhomogeneous system
of the initial value problem
If we retain t as the independent variable but use s for the variable of integration, then the solutions in (27) and (28) can be rewritten in the forms
Solve the initial value problem
The solution of the associated homogeneous system is displayed in Eq. (10). It gives the fundamental matrix
It follows by Eq. (28) in Section 8.1 that the matrix exponential for the coefficient matrix A in (30) is
Then the variation of parameters formula in Eq. (28) gives
Therefore,
Upon multiplication of the right-hand side here by
In conclusion, let us investigate how the variation of parameters formula in (22) “reconciles” with the variation of parameters formula in Theorem 1 of Section 5.5 for the second-order linear differential equation
If we write
where
Now two linearly independent solutions
of the homogeneous system
of the solutions
Therefore the variation of parameters formula
The first component of this column vector is
If, finally, we supply the independent variable t throughout, the final result on the right-hand side here is simply the variation of parameters formula in Eq. (33) of Section 5.5 (where, however, the independent variable is denoted by x).
Apply the method of undetermined coefficients to find a particular solution of each of the systems in Problems 1 through 14. If initial conditions are given, find the particular solution that satisfies these conditions. Primes denote derivatives with respect to t.
Problems 15 and 16 are similar to Example 2, but with two brine tanks (having volumes
In Problems 17 through 34, use the method of variation of parameters (and perhaps a computer algebra system) to solve the initial value problem
In each problem we provide the matrix exponential
Repeat Problem 17, but with f(t) replaced with
Repeat Problem 19, but with f(t) replaced with
Repeat Problem 21, but with f(t) replaced with
Repeat Problem 23, but with
Repeat Problem 25, but with
Repeat Problem 27, but with
The application of the variation of parameters formula in Eq. (28) encourages so mechanical an approach as to encourage especially the use of a computer algebra system. The following Mathematica commands were used to check the results in Example 4 of this section.
A = {{4,2}, {3,−1}};
x0 = {{7}, {3}};
f[t_] := {{−15 t Exp[−2t]},{−4 t Exp[−2t]}};
exp[A_] := MatrixExp[A]
x = exp[A∗t].(x0 + Integrate[exp[−A∗s].f[s], {s,0,t}])
The matrix exponential commands illustrated in the Section 5.6 application provide the basis for analogous Maple and Matlab computations. You can then check routinely the answers for Problems 17 through 34 of this section.
18.221.66.185