The Matrix Exponential
Can a single formula solve every linear system of ODEs at once? This holds regardless of the eigenstructure of the coefficient matrix. For scalar equations the answer is the familiar . It is natural to ask whether a matrix version of the exponential could play the same universal role for . The matrix exponential answers this question completely. It is defined for every square matrix , real or complex, diagonalizable or not. It packages the entire solution theory of linear systems into one object. This includes eigenvalues, generalized eigenvectors, resonance terms from repeated roots, and oscillation from complex pairs. All of this satisfies a matrix-valued differential equation. This matters because it replaces case-by-case solution recipes with a single unifying structure. Instead of memorizing separate procedures for distinct real eigenvalues, complex conjugate pairs, and defective (repeated) eigenvalues, one shows something once and for all. Namely, that is the fundamental matrix solution of , normalized to equal the identity at . One then computes it in each case using whatever eigenstructure is available. The exponential also clarifies why the classical recipes work. They are simply different algorithms for evaluating the same underlying series. The big picture is that is to the matrix equation exactly what is to the scalar equation . The caveat is that matrix multiplication does not commute in general. This is the source of nearly every extra subtlety. These include the failure of in general, the need for the Jordan form, and the appearance of polynomial-in- terms. Once this bridge is built, the long-run behavior of solutions becomes clear. Decay, growth, rotation, and resonance become a direct readout of the eigenvalues of . This article defines rigorously as a convergent matrix power series. It proves is the fundamental matrix of with . It establishes its algebraic properties: the group law when matrices commute, invertibility, and the effect of similarity transformations. It also gives complete algorithms for computing it via diagonalization and via the Jordan form. These cover real, complex, and repeated eigenvalue cases uniformly.
- is defined by the convergent series for any square matrix .
- It solves the matrix IVP , , making it the fundamental matrix of .
- is always invertible, with .
- If is diagonalizable, then , reducing computation to scalar exponentials.
- For non-diagonalizable , the Jordan form gives where each Jordan block contributes polynomial-in- correction terms.
- Key idea: turns the linear ODE into pure linear algebra — all solution behavior is read off from the eigenstructure of .
Where this lives today
The matrix exponential is the computational backbone of control theory, where the state-transition matrix propagates the state of a linear time-invariant system forward in time via the variation-of-parameters formula, and stability of a controller reduces to checking that all eigenvalues of the closed-loop matrix have negative real part (so ). In <a class="wiki-link" href="/wiki/math-diffeq-phase-portraits-for-linear-systems" data-track="wiki_article.body.wiki_link">Phase Portraits for Linear Systems</a>, the qualitative behavior — nodes, saddles, spirals, centers — is exactly the geometric picture drawn by the trajectories , and the eigenvalue classification used there is a direct consequence of the computations shown here. In Markov chain theory and continuous-time stochastic processes, the exponential of a generator matrix gives the transition probability matrix of a continuous-time Markov chain, with row sums preserved by properties of the exponential analogous to those proved above. In numerical analysis, computing accurately and efficiently (via scaling-and-squaring combined with Padé approximants, the "expm" algorithm used in software like MATLAB and Julia) is a well-studied problem precisely because naive truncation of the defining series can be numerically unstable for matrices with large norm or highly non-normal structure. In quantum mechanics, the time-evolution operator for a time-independent Hamiltonian is a matrix (or operator) exponential, and its unitarity for Hermitian is the exact analogue of Part 4 of the theorem specialized to skew-Hermitian generators. In statistics, the matrix exponential of a covariance-generating drift matrix appears in continuous-time autoregressive processes and Ornstein–Uhlenbeck-type models used in finance and signal processing.
Ask the tutor: How does the sign pattern of the eigenvalues of determine whether trajectories of spiral inward, spiral outward, or trace closed loops in the phase plane?
Let be an matrix with real or complex entries. The matrix exponential of is the matrix
where . More generally, for a real parameter ,
Each entry of the partial sums converges absolutely and uniformly on any bounded -interval (proved below), so is a well-defined matrix, depending smoothly on .
Intuition
Think first about why the series converges at all. Fix any matrix norm that is submultiplicative, meaning (the operator norm and the Frobenius norm both work). Then , so the series of norms is dominated by the scalar series for , which converges for every . This is the exact matrix analogue of the ratio test showing converges absolutely everywhere — the noncommutativity of matrix multiplication never enters the convergence argument, only the algebra of what the sum equals. Once convergence is settled, the key intuition is dynamical: traces out the trajectory of the system starting at . If happens to be diagonal, say , then is diagonal with entries , and the series splits into independent scalar exponential series — so . Every other case (diagonalizable, complex eigenvalues, defective matrices) is obtained by conjugating this diagonal picture by a change of basis, or by adding polynomial correction terms when eigenvectors run out.
The theorem
Let be an real or complex matrix, and let . Then: 1. (Convergence) The series defining converges absolutely, and uniformly for in any bounded interval, entrywise. 2. (Differential equation) is differentiable in , with
Consequently is the unique fundamental matrix solution of satisfying , and for every (or ), is the unique solution of the initial value problem , . 3. (Group law) If and commute (i.e. ), then . In particular, for every fixed and all ,
4. (Invertibility) is invertible for every , with . 5. (Similarity) If for an invertible matrix , then .
We prove each part in turn, using only the definition of as a series and standard facts about uniform convergence and term-by-term differentiation.
Part 1 (Convergence). Fix a submultiplicative matrix norm (for instance the operator norm induced by the Euclidean norm on or ), which satisfies and . For the partial sums and ,
Fix and restrict to . The right-hand side is bounded by the tail of the convergent scalar series , so the tail sums as , uniformly in . Hence is Cauchy in the (complete, finite-dimensional) space of matrices, uniformly for , so it converges. Since was arbitrary, the series converges for all , absolutely and locally uniformly. Because all matrix norms on the finite-dimensional space of matrices are equivalent, this conclusion is independent of the choice of norm, and it holds entrywise since each entry is dominated in absolute value by the corresponding entry bound.
Part 2 (Differential equation). Because the series converges uniformly on every bounded interval, we may differentiate it term by term (this is justified by the standard theorem that a locally uniformly convergent series of differentiable functions whose derivative series also converges locally uniformly may be differentiated term by term; here the derivative series is , which converges locally uniformly by the identical bound as in Part 1 applied with in place of ). Differentiating term by term,
and by factoring on the right instead of the left, equally (using that every term commutes with ). Setting kills every term except , giving . Thus satisfies the matrix ODE with . The columns of are therefore solutions of , and since is invertible, these solutions are linearly independent at and hence (by the Wronskian/Abel argument for linear systems) for all ; so is a fundamental matrix. Given any , define . Then and , so solves the IVP. Uniqueness follows from the Picard–Lindelöf theorem applied to the linear (hence globally Lipschitz) vector field : any two solutions of the same linear IVP with continuous (here constant) coefficients must coincide on their common interval of existence, which for a linear system is all of .
Part 3 (Group law under commutativity). Suppose . We first show that this hypothesis lets us multiply the two series and rearrange terms using the ordinary binomial theorem. Since and commute, for every ,
exactly as in the scalar binomial theorem — this identity uses commutativity essentially (if the cross terms cannot be collected this way). Hence
This is exactly the Cauchy product of the two absolutely convergent series and (with ). By Mertens' theorem on Cauchy products of absolutely convergent series (which applies entrywise, since each entry series converges absolutely by Part 1), this double sum equals the product of the sums:
Applying this with replaced by and by (which commute, since both are scalar multiples of and any scalar multiples of the same matrix commute) gives , i.e. .
Part 4 (Invertibility). Take in the group law just proved (valid since trivially commutes with itself): , and likewise . Hence is invertible with inverse , for every .
Part 5 (Similarity). Suppose . By induction, for every (base case trivial since both sides are ; inductive step: , using ). Substituting into the series and using that is a continuous linear map (so it commutes with the limit defining the convergent series, by continuity of matrix multiplication and linearity),
This completes the proof of all five parts.
∎If is diagonalizable, with , then
This follows immediately from Part 5 of the theorem together with the direct series computation , valid because for a diagonal matrix, so the series decouples into scalar exponential series.
Worked examples
Example 1: Distinct real eigenvalues, non-symmetric matrix. Let
The characteristic polynomial is , so the eigenvalues are , . For : solve , i.e. , giving . For : solve , i.e. , giving (choosing to clear the fraction from ). So , , and
Check: . Column 1: . ✓. Column 2: . ✓. By the corollary,
Multiplying the first two factors:
and then multiplying by entrywise:
As a check, at this gives , as required. Also differentiating the entry gives , and computing , matching. ✓
Example 2: A defective (non-diagonalizable) matrix with a repeated eigenvalue. Let
i.e. is already a single Jordan block with eigenvalue :
Write where
is nilpotent: , and (direct computation: has a single nonzero entry in position , and shifts that entry off the matrix entirely, giving the zero matrix). Since and commute (as commutes with every matrix), Part 3 of the theorem gives
Because , the series for terminates after two nontrivial terms:
Therefore
This displays the classic signature of a repeated eigenvalue with a deficient eigenspace: the diagonal entries are , but the superdiagonal structure of forces polynomial factors and to appear alongside , exactly the terms familiar from the "repeated roots" method for scalar-reducible systems, now derived directly from the exponential series rather than assumed as an ansatz. Check at : the matrix is . ✓ Differentiating the entry gives ; and , matching. ✓
Why we need the commutativity hypothesis
Let
These do not commute: while , and . Since and (each is nilpotent of index 2), the series truncate:
Multiplying,
Now compute directly. Here , which has eigenvalues with eigenvectors and respectively (check: , ). So with , (since here), and
Carrying out the multiplication, the entry is , not the entry of . Numerically , so
The commutativity hypothesis in Part 3 of the theorem is therefore not a technical convenience — the Cauchy-product argument in the proof genuinely fails (the binomial expansion of has no valid collection of cross terms) when , and the conclusion fails numerically as well.
Scope, edge cases & common traps
| Situation | What to use | Common pitfall |
|---|---|---|
| diagonalizable (distinct or repeated eigenvalues, full eigenspace) | Forgetting must be the inverse, not the transpose, unless is orthogonal | |
| has a complex conjugate eigenvalue pair | Diagonalize over , or use real block | Mixing a complex eigenvector basis into a "real" answer without taking real/imaginary parts correctly |
| defective (fewer eigenvectors than eigenvalue multiplicity) | Jordan form: decomposition, exploit nilpotency of | Assuming is diagonal-looking; missing the polynomial-in- terms |
| Need for two different matrices | Only equals if | Silently assuming the group law for any two matrices |
| Need for large , only asymptotics wanted | Read off dominant eigenvalue's real part directly, skip full computation | Forgetting a repeated eigenvalue contributes growth that can beat a nearby larger but non-repeated eigenvalue for small-to-moderate |
The mathematician behind it
Origins · 1 minGiuseppe Peano and how this was discovered
Giuseppe Peano is best remembered for the Peano axioms of arithmetic and for Peano's existence theorem in ODEs, but he was also among the first, in an 1888 paper, to study systems of linear differential equations with variable and constant coefficients using explicit matrix-series methods, effectively constructing what we now call the fundamental matrix and, in the constant-coefficient case, the matrix exponential. His work sat at the crossroads of the emerging theory of linear algebra (itself still coalescing from the work of Cayley and Sylvester) and the classical theory of linear ODEs developed earlier by Cauchy and Lagrange.
Why does the matrix exponential series always converge, even though matrix multiplication doesn't commute?
Convergence is a question about the size of the terms , not about their algebraic order. Using any submultiplicative matrix norm, , so the whole matrix series is term-by-term dominated in norm by the ordinary scalar series , which converges to for every real number . This scalar bound forces the matrix series to converge absolutely, by the standard comparison test extended to normed vector spaces (here, the finite-dimensional and hence complete space of matrices). Noncommutativity would only threaten identities that rearrange or factor the series, such as , never the bare fact of convergence.
Is the same as taking the exponential of each entry of ?
No, and this is one of the most common beginner mistakes. Entrywise exponentiation ignores the matrix products entirely and has no connection to differential equations. The matrix exponential genuinely mixes the entries of through repeated matrix multiplication, which is exactly what is needed so that holds. For a nondiagonal matrix the two notions differ dramatically — for instance, entrywise exponentiation of an off-diagonal leaves it , whereas the true matrix exponential of a Jordan block produces a -dependent term in that slot, as shown in the worked example.
How is actually computed by hand for exam-style problems?
There are two standard routes. If has linearly independent eigenvectors (i.e. is diagonalizable, guaranteed for example when all eigenvalues are distinct), diagonalize , exponentiate the diagonal entries of scaled by , and conjugate back: . If is defective (a repeated eigenvalue with too few eigenvectors), pass to the Jordan form , split each Jordan block as with nilpotent, and use where is a finite sum because for some block size. Complex conjugate eigenvalue pairs are handled by either working in and taking real parts at the end, or using the real canonical block directly.
Why is called "the" fundamental matrix rather than "a" fundamental matrix?
Any invertible matrix solution of is called a fundamental matrix, and there are infinitely many (any for constant invertible is another one). What singles out is the normalization : it is the unique fundamental matrix equal to the identity at . This normalization is exactly what makes the formula solve the initial value problem directly, without any extra algebra to match initial conditions, which is why it earns the definite article in most treatments.
Does as tell us the system is stable?
Yes, and this is one of the main payoffs of the theory. If every eigenvalue of has strictly negative real part, then in the Jordan form each block contributes terms of the shape with , and since exponential decay always beats polynomial growth, as for every fixed . Since for fixed invertible , this forces entrywise, and hence every solution . This is precisely the asymptotic stability criterion used when reading off long-term behavior in Phase Portraits for Linear Systems.
What goes wrong if I try to define only using eigenvalues, without eigenvectors or Jordan structure?
Eigenvalues alone determine the exponents that appear, but not how they combine to reconstruct the full matrix, nor whether extra polynomial factors of are needed. Two matrices can share exactly the same eigenvalues (even the same characteristic polynomial) yet have completely different exponentials if one is diagonalizable and the other is defective — compare (exponential ) against (exponential with a term), both having the sole eigenvalue with algebraic multiplicity . The eigenvectors (or generalized eigenvectors via the Jordan form) are indispensable extra data.
How does this connect to complex or repeated eigenvalues covered elsewhere?
The matrix exponential is the unifying object behind the case-by-case recipes taught under Complex and Repeated Eigenvalues. A complex conjugate pair produces, via diagonalization over followed by taking real and imaginary parts, the familiar rotation-and-scaling block seen in Systems of First-Order Linear ODEs. A repeated eigenvalue with a deficient eigenspace produces the polynomial-times-exponential terms via the nilpotent part of the Jordan decomposition, exactly the "extra factor" ansatz used in the repeated-root method. The exponential explains why those ansätze work, rather than requiring them to be guessed.