A
differential equation is a mathematical equation for an unknown function of one or several variables that relates the values of the function itself and its derivatives of various orders. A matrix differential equation contains more than one function stacked into vector form with a matrix relating the functions to their derivatives.
For example, a first-order matrix
ordinary differential equation
In mathematics, an ordinary differential equation (ODE) is a differential equation (DE) dependent on only a single independent variable (mathematics), variable. As with any other DE, its unknown(s) consists of one (or more) Function (mathematic ...
is
:
where
is an
vector of functions of an underlying variable
,
is the vector of first derivatives of these functions, and
is an
matrix of coefficients.
In the case where
is constant and has ''n''
linearly independent
In the theory of vector spaces, a set of vectors is said to be if there exists no nontrivial linear combination of the vectors that equals the zero vector. If such a linear combination exists, then the vectors are said to be . These concep ...
eigenvector
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by ...
s, this differential equation has the following general solution,
:
where are the
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s of A; are the respective
eigenvector
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by ...
s of A; and are constants.
More generally, if
commutes with its integral
then the
Magnus expansion reduces to leading order, and the general solution to the differential equation is
:
where
is an
constant vector.
By use of the
Cayley–Hamilton theorem
In linear algebra, the Cayley–Hamilton theorem (named after the mathematicians Arthur Cayley and William Rowan Hamilton) states that every square matrix over a commutative ring (such as the real or complex numbers or the integers) satisfies ...
and
Vandermonde-type matrices, this formal
matrix exponential
In mathematics, the matrix exponential is a matrix function on square matrix, square matrices analogous to the ordinary exponential function. It is used to solve systems of linear differential equations. In the theory of Lie groups, the matrix exp ...
solution may be reduced to a simple form. Below, this solution is displayed in terms of Putzer's algorithm.
Stability and steady state of the matrix system
The matrix equation
:
with ''n''×1 parameter constant vector b is
stable
A stable is a building in which working animals are kept, especially horses or oxen. The building is usually divided into stalls, and may include storage for equipment and feed.
Styles
There are many different types of stables in use tod ...
if and only if all
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
s of the constant matrix A have a negative real part.
The steady state x* to which it converges if stable is found by setting
:
thus yielding
:
assuming A is invertible.
Thus, the original equation can be written in the homogeneous form in terms of deviations from the steady state,
:
An equivalent way of expressing this is that x* is a particular solution to the inhomogeneous equation, while all solutions are in the form
:
with
a solution to the homogeneous equation (b=0).
Stability of the two-state-variable case
In the ''n'' = 2 case (with two state variables), the stability conditions that the two eigenvalues of the transition matrix ''A'' each have a negative real part are equivalent to the conditions that the
trace
Trace may refer to:
Arts and entertainment Music
* ''Trace'' (Son Volt album), 1995
* ''Trace'' (Died Pretty album), 1993
* Trace (band), a Dutch progressive rock band
* ''The Trace'' (album), by Nell
Other uses in arts and entertainment
* ...
of ''A'' be negative and its
determinant
In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
be positive.
Solution in matrix form
The formal solution of