HOME

TheInfoList



OR:

A matrix difference equation is a
difference equation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
in which the value of a
vector Vector most often refers to: *Euclidean vector, a quantity with a magnitude and a direction *Vector (epidemiology), an agent that carries and transmits an infectious pathogen into another living organism Vector may also refer to: Mathematic ...
(or sometimes, a matrix) of variables at one point in time is related to its own value at one or more previous points in time, using
matrices Matrix most commonly refers to: * ''The Matrix'' (franchise), an American media franchise ** ''The Matrix'', a 1999 science-fiction action film ** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchis ...
. The order of the equation is the maximum time gap between any two indicated values of the variable vector. For example, :\mathbf_t = \mathbf\mathbf_ + \mathbf\mathbf_ is an example of a second-order matrix difference equation, in which is an vector of variables and and are matrices. This equation is homogeneous because there is no vector constant term added to the end of the equation. The same equation might also be written as :\mathbf_ = \mathbf\mathbf_ + \mathbf\mathbf_ or as :\mathbf_n = \mathbf\mathbf_ + \mathbf\mathbf_ The most commonly encountered matrix difference equations are first-order.


Nonhomogeneous first-order case and the steady state

An example of a nonhomogeneous first-order matrix difference equation is :\mathbf_t = \mathbf\mathbf_ + \mathbf with additive constant vector . The steady state of this system is a value of the vector which, if reached, would not be deviated from subsequently. is found by setting in the difference equation and solving for to obtain : \mathbf^* = mathbf-\mathbf\mathbf where is the ''n×n''
identity matrix In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. Terminology and notation The identity matrix is often denoted by I_n, or simply by I if the size is immaterial or ...
, and where it is assumed that is
invertible In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers. Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that is ...
. Then the nonhomogeneous equation can be rewritten in homogeneous form in terms of deviations from the steady state: : \left mathbf_t - \mathbf^*\right= \mathbf\left mathbf_-\mathbf^*\right


Stability of the first-order case

The first-order matrix difference equation is
stable A stable is a building in which livestock, especially horses, are kept. It most commonly means a building that is divided into separate stalls for individual animals and livestock. There are many different types of stables in use today; the ...
—that is, converges asymptotically to the steady state —if and only if all
eigenvalue In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denote ...
s of the transition matrix (whether real or complex) have an
absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), ...
which is less than 1.


Solution of the first-order case

Assume that the equation has been put in the homogeneous form . Then we can iterate and substitute repeatedly from the
initial condition In mathematics and particularly in dynamic systems, an initial condition, in some contexts called a seed value, is a value of an evolving variable at some point in time designated as the initial time (typically denoted ''t'' = 0). Fo ...
, which is the initial value of the vector and which must be known in order to find the solution: :\begin \mathbf_1&=\mathbf\mathbf_0 \\ \mathbf_2&=\mathbf\mathbf_1=\mathbf^2\mathbf_0 \\ \mathbf_3&=\mathbf\mathbf_2=\mathbf^3\mathbf_0 \end and so forth, so that by
mathematical induction Mathematical induction is a method for proving that a statement ''P''(''n'') is true for every natural number ''n'', that is, that the infinitely many cases ''P''(0), ''P''(1), ''P''(2), ''P''(3), ...  all hold. Informal metaphors help ...
the solution in terms of is :\mathbf_t=\mathbf^t \mathbf_0 Further, if is diagonalizable, we can rewrite in terms of its
eigenvalues and eigenvectors In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denote ...
, giving the solution as :\mathbf_t = \mathbf\mathbf^\mathbf^ \mathbf_0, where is an matrix whose columns are the
eigenvector In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denoted ...
s of (assuming the eigenvalues are all distinct) and is an
diagonal matrix In linear algebra, a diagonal matrix is a matrix in which the entries outside the main diagonal are all zero; the term usually refers to square matrices. Elements of the main diagonal can either be zero or nonzero. An example of a 2×2 diagonal m ...
whose diagonal elements are the eigenvalues of . This solution motivates the above stability result: shrinks to the zero matrix over time if and only if the eigenvalues of ''A'' are all less than unity in absolute value.


Extracting the dynamics of a single scalar variable from a first-order matrix system

Starting from the -dimensional system , we can extract the dynamics of one of the state variables, say . The above solution equation for shows that the solution for is in terms of the eigenvalues of . Therefore the equation describing the evolution of by itself must have a solution involving those same eigenvalues. This description intuitively motivates the equation of evolution of , which is : y_ = a_1 y_ + a_2 y_ + \dots + a_n y_ where the parameters are from the characteristic equation of the matrix : :\lambda^ - a_1 \lambda^ - a_2 \lambda^ - \dots - a_n \lambda^ = 0. Thus each individual scalar variable of an -dimensional first-order linear system evolves according to a univariate th-degree difference equation, which has the same stability property (stable or unstable) as does the matrix difference equation.


Solution and stability of higher-order cases

Matrix difference equations of higher order—that is, with a time lag longer than one period—can be solved, and their stability analyzed, by converting them into first-order form using a
block matrix In mathematics, a block matrix or a partitioned matrix is a matrix that is '' interpreted'' as having been broken into sections called blocks or submatrices. Intuitively, a matrix interpreted as a block matrix can be visualized as the original mat ...
(matrix of matrices). For example, suppose we have the second-order equation :\mathbf_t = \mathbf\mathbf_ + \mathbf\mathbf_ with the variable vector being and and being . This can be stacked in the form :\begin\mathbf_t \\ \mathbf_ \\ \end = \begin \mathbf & \mathbf \\ \mathbf & \mathbf \\ \end \begin \mathbf_ \\ \mathbf_ \end where is the
identity matrix In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. Terminology and notation The identity matrix is often denoted by I_n, or simply by I if the size is immaterial or ...
and is the
zero matrix In mathematics, particularly linear algebra, a zero matrix or null matrix is a matrix all of whose entries are zero. It also serves as the additive identity of the additive group of m \times n matrices, and is denoted by the symbol O or 0 followed ...
. Then denoting the stacked vector of current and once-lagged variables as and the block matrix as , we have as before the solution :\mathbf_t = \mathbf^t \mathbf_0 Also as before, this stacked equation, and thus the original second-order equation, are stable if and only if all eigenvalues of the matrix are smaller than unity in absolute value.


Nonlinear matrix difference equations: Riccati equations

In linear-quadratic-Gaussian control, there arises a nonlinear matrix equation for the reverse evolution of a current-and-future-cost ''matrix'', denoted below as . This equation is called a discrete dynamic Riccati equation, and it arises when a variable vector evolving according to a linear matrix difference equation is controlled by manipulating an
exogenous In a variety of contexts, exogeny or exogeneity () is the fact of an action or object originating externally. It contrasts with endogeneity or endogeny, the fact of being influenced within a system. Economics In an economic model, an exogen ...
vector in order to optimize a quadratic cost function. This Riccati equation assumes the following, or a similar, form: : \mathbf_ = \mathbf +\mathbf'\mathbf_t\mathbf - \mathbf'\mathbf_t\mathbf\left mathbf'\mathbf_t\mathbf+\mathbf\right\mathbf'\mathbf_t\mathbf where , , and are , is , is , is the number of elements in the vector to be controlled, and is the number of elements in the control vector. The parameter matrices and are from the linear equation, and the parameter matrices and are from the quadratic cost function. See
here Here is an adverb that means "in, on, or at this place". It may also refer to: Software * Here Technologies, a mapping company * Here WeGo (formerly Here Maps), a mobile app and map website by Here Television * Here TV (formerly "here!"), a ...
for details. In general this equation cannot be solved analytically for in terms of ; rather, the sequence of values for is found by iterating the Riccati equation. However, it has been shown that this Riccati equation can be solved analytically if and , by reducing it to a scalar rational difference equation; moreover, for any and if the transition matrix is nonsingular then the Riccati equation can be solved analytically in terms of the eigenvalues of a matrix, although these may need to be found numerically. In most contexts the evolution of backwards through time is stable, meaning that converges to a particular fixed matrix which may be irrational even if all the other matrices are rational. See also . A related Riccati equation is :\mathbf_ = -\left mathbf+\mathbf\mathbf_t\rightleft mathbf+\mathbf\mathbf_t\right in which the matrices , , , , and are all . This equation can be solved explicitly. Suppose , which certainly holds for with and with . Then using this in the difference equation yields :\begin \mathbf_&=-\left mathbf+\mathbf\mathbf_t\mathbf_t^\rightmathbf_t\mathbf_t^\left mathbf+\mathbf\mathbf_t\mathbf_t^\right\\ &=-\left mathbf\mathbf_t+\mathbf\mathbf_t\rightleft left[\mathbf+\mathbf\mathbf_t_\mathbf_t^\rightmathbf_t\right.html" ;"title="mathbf+\mathbf\mathbf_t \mathbf_t^\right">left[\mathbf+\mathbf\mathbf_t \mathbf_t^\rightmathbf_t\right">mathbf+\mathbf\mathbf_t \mathbf_t^\right">left[\mathbf+\mathbf\mathbf_t \mathbf_t^\rightmathbf_t\right\\ &=-\left mathbf\mathbf_t+\mathbf\mathbf_t\rightleft[\mathbf\mathbf_t+\mathbf\mathbf_t\right]^\\ &=\mathbf_\mathbf_^ \end so by induction the form holds for all . Then the evolution of and can be written as :\begin \mathbf_ \\ \mathbf_ \end = \begin -\mathbf & -\mathbf \\ \mathbf & \mathbf \end \begin \mathbf_t \\ \mathbf_t \end \equiv \mathbf \begin\mathbf_t \\ \mathbf_t \end Thus by induction :\begin \mathbf_t \\ \mathbf_t \end = \mathbf^ \begin \mathbf_0 \\ \mathbf_0 \end


See also

* Matrix differential equation *
Difference equation In mathematics, a recurrence relation is an equation according to which the nth term of a sequence of numbers is equal to some combination of the previous terms. Often, only k previous terms of the sequence appear in the equation, for a parameter ...
* Linear difference equation *
Dynamical system In mathematics, a dynamical system is a system in which a function describes the time dependence of a point in an ambient space. Examples include the mathematical models that describe the swinging of a clock pendulum, the flow of water i ...
* Matrix Riccati equation#Mathematical description of the problem and solution


References

{{reflist Linear algebra Matrices Recurrence relations Dynamical systems