Definitioncore
Matrix exponential
Also called exponential of a matrix, e^(At).
The sum of the series I + A + A^2/2! + ..., which gives the solution x(t) = e^(At)x(0) of the linear system x' = Ax.
The matrix exponential of a square matrix is , the power series of the scalar exponential with powers of the matrix in place of powers of a number. Its main use is the solution of linear differential equations: the solution of with is . The same object gives the transition probabilities of a continuous-time Markov chain, the rigid motions of the SE(3) exponential map in robotics, and the limit of the product integral behind the Aalen-Johansen estimator. Unlike the scalar case, holds when and commute, and fails in general when they do not.
Definition
Let . The matrix exponential of is
The series converges for every . Take any submultiplicative matrix norm (see matrix norms). Then , and is finite. So the series converges absolutely, entry by entry, and . The same bound on shows that is a power series in with infinite radius of convergence, so it can be differentiated term by term:
Equivalent characterizations. Each of these defines the same matrix:
- Differential equation. is the unique solution of , . The derivative above shows that it is a solution, and the equation is linear, so it has only one solution by the Picard-Lindelöf theorem. This is why solves .
- Limit. . This is Euler's method with step on .
- Laplace transform. For larger than every real part of an eigenvalue of , . So is the inverse Laplace transform of the resolvent, entry by entry.
- Jordan form. If with in Jordan normal form, then , and for a Jordan block of size , , because and commute and . For a diagonalizable , .
- Polynomial. By the Cayley-Hamilton theorem, and all higher powers are combinations of , so for scalar functions . The functions depend on through its eigenvalues.
Properties. These follow from the series or from characterization 1. Let and scalars.
- , , and is invertible with . So is never singular.
- Similarity. for invertible , because . Also and .
- Eigenvalues. If are the eigenvalues of with multiplicity, the eigenvalues of are , with the same eigenvectors. So .
- Sums. If , then . Proof: the binomial formula holds because the matrices commute, and the Cauchy product of the two absolutely convergent series gives the result. Without commutation the formula fails; see the examples. The converse is false: for and , , but , and are all equal to , because each of the three matrices is diagonalizable with eigenvalues in .
- Decay. as if and only if every eigenvalue of has negative real part, that is, is a Hurwitz matrix. Then there are and with for all ; any below the smallest works, with a that depends on . In control this is the exponential stability of (see exponential stability).
The time-varying system has a state-transition matrix in place of ; in general .
Computation. The defining series is a poor algorithm in floating point. The standard method is scaling and squaring: choose with small, approximate by a Padé approximant , and square the result times, since . Higham (2005) chose the Padé degree (up to 13) and the scaling from a backward error bound; current libraries use this method or a refinement of it. In the real RAM the cost is flops per matrix product, and the number of products is plus a constant. For a large sparse , one needs and not ; Krylov subspace methods give it without forming the matrix (Moler and Van Loan 2003). Methods based on eigenvectors are accurate only when the eigenvector matrix is well conditioned, and fail for defective .
Examples and non-examples
Diagonal. . The modes do not interact.
Nilpotent: the double integrator. For , , so the series stops: . The position is . The entries grow like , not like an exponential: this is the effect of a Jordan block of size 2 at .
Rotation. For , , so the even terms give and the odd terms give :
The eigenvalues are , and . This is a harmonic oscillator.
Jordan block. For , . For the entry first grows to at , then decays.
Transient growth of a Hurwitz matrix. For , with eigenvalues and ,
At the top right entry is . The spectral norm starts at 1, rises to about near , and only then decays. The eigenvalues fix the rate of decay for large , not the size of the transient. The cause is that is far from normal.
. Take and . Then , and
The product is not even symmetric, while is symmetric and so is its exponential.
Non-example: the entrywise exponential. Applying to each entry of is a different operation. For the double integrator matrix above it gives , not . The two agree only for very special , such as .
Non-example as an algorithm: the summed series. In double precision, summing the Taylor series of the matrix term by term until the terms vanish gives a number that is pure rounding error: with the term recurrence it is , while computing instead gives . The true value is . The terms grow to about before they shrink, and their rounding errors swamp the result. Moler and Van Loan (1978) discuss this failure of the series. Scaling and squaring avoids the cancellation.
Non-example: the exponential of the integral. For a time-varying , is the solution matrix of only when commutes with its integral; the state-transition matrix page gives a counterexample.
Related definitions
- State-transition matrix. The solution matrix of . For a constant , . See state-transition matrix.
- Variation of constants. The solution of is . See variation of constants formula. The integral is the second block of the exponential of a block matrix, which is how zero-order hold discretization computes the input matrix of a sampled system.
- Matrix logarithm. A matrix with . It exists for every invertible complex and is not unique. A real invertible has a real logarithm if and only if each Jordan block of a negative eigenvalue occurs an even number of times. Identifying a continuous model from a sampled one needs this logarithm, and the sampling period must avoid the pathological values of the sampled-data system page.
- Product integral. For a time-varying generator, the limit of ordered products gives the transition matrix. With a constant it gives , by characterization 2. The Aalen-Johansen estimator is a product integral of estimated transition intensities.
- Exponential map of a Lie group. For a matrix Lie group, maps the Lie algebra to the group: skew-symmetric matrices to rotations, and twists to rigid motions, as in the SE(3) exponential map and the product of exponentials formula.
- Exponential integrators. Numerical methods for that use and related functions to integrate the stiff linear part exactly. See exponential integrators.
- Hurwitz and Schur matrices. is Hurwitz if all its eigenvalues have negative real parts. Then is a Schur matrix, with all eigenvalues inside the unit circle, for every .
References
- Cleve Moler and Charles Van Loan, Nineteen dubious ways to compute the exponential of a matrix, SIAM Review 20(4), 801-836, 1978, the series, Padé, scaling and squaring, ODE, polynomial and matrix decomposition methods, and why each can fail
- Cleve Moler and Charles Van Loan, Nineteen dubious ways to compute the exponential of a matrix, twenty-five years later, SIAM Review 45(1), 3-49, 2003, the update of the 1978 survey, with scaling and squaring as the method of choice and Krylov methods for e^(A)v
- Nicholas J. Higham, The scaling and squaring method for the matrix exponential revisited, SIAM Journal on Matrix Analysis and Applications 26(4), 1179-1193, 2005, the backward error analysis that chooses the scaling and the degree 13 Padé approximant
- Nicholas J. Higham, Functions of Matrices, Theory and Computation, SIAM, 2008, Chapter 10, Matrix Exponential (properties, conditioning, and the scaling and squaring algorithm)
- Wilson J. Rugh, Linear System Theory, second edition, Prentice Hall, 1996, Chapter 5, Two Important Cases (the time-invariant case and the representations of e^(At))
- Chi-Tsong Chen, Linear System Theory and Design, third edition, Oxford University Press, 1999, Chapter 3 (functions of a square matrix) and Chapter 4 (solution of the state equation)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag XE6NMD Edit this page History Report an error Markdown