8. Variation of parameters¶
In the forced problem \(\mathbf{x}'=\mathbf{A}\mathbf{x}+\bff(t)\), the first step is to find a homogeneous solution \(\mathbf{x}_h\) in the form \(\mathbf{X}(t)\mathbf{c}\) for a fundamental matrix \(\mathbf{X}(t)\) and constant vector \(\mathbf{c}\). To finish the problem, we have to find a particular solution of the forced equation. We can use the same technique of variation of parameters as in ../first_linear/variation_parameters.
We look for a solution in the form
and substitute into the ODE to get
Since \(\mathbf{X}\) is a fundamental matrix, it satisfies \(\mathbf{X}'=\mathbf{A}\mathbf{X}\). So the equation above becomes simply \(\mathbf{X}\mathbf{k}' = \mathbf{f}\), or
That is,
Example
The matrix
has eigenvalues \(-1 \pm i\) and eigenvectors \(\twovec{1}{2\mp i}\). Find a particular solution of \(\mathbf{x}'=\mathbf{A}\mathbf{x}+\twovec{0}{1}\).
Solution
In the preceding section we computed
This is a fundamental matrix whose inverse is easy to get:
For the VoP formula, we need to integrate \(\mathbf{X}(t)^{-1} \bfx_0\), or
Thus,
Let’s not punish ourselves with the rest of the algebra.
8.1. IVP formula¶
It is interesting to update the IVP formulas we derived in the scalar linear case. For the general case of
we need any fundamental matrix \(\bfX(t)\). A particular solution that is zero at \(t=0\) is given by the definite integral
Then we add homogeneous and particular solutions to get
For a constant coefficient matrix, the matrix exponential is the most convenient fundamental matrix. In that case,
For all its complications, this yields to the same interpretation as the scalar case: a combination of the homogeneous (i.e. free) response to the initial value, plus all the contributions obtained by propagation of the forcing function at each earlier moment.