10.9  Functions of Matrices, the Exponential, and Linear Differential Equations

We have known since Chapter 2 what p(A) means for a polynomial p. This section gives a meaning to f(A) for a much larger class of functions — square roots, logarithms, sines, and above all eA — and the Jordan form is what makes it possible. The definition needs a well-definedness proof, which turns out to be Hermite interpolation from Chapter 6: whatever f is, f(A) is really p(A) for a polynomial p that agrees with f to the right order at each eigenvalue. With etA in hand, every linear system of differential equations with constant coefficients is solved in one formula.

Throughout this section F=C (or R, when we say so), so that every characteristic polynomial splits (Corollary 6.5.5) and Jordan forms exist.

10.9.1. What a polynomial does to a Jordan block

Start with what we already have. A Jordan block is a scalar plus a nilpotent matrix whose powers stop, and a polynomial applied to it can be read off from a Taylor expansion.

Lemma 10.9.1 (A Polynomial of a Jordan Block)

Let F have characteristic 0, let k≥1, λ∈F, and p∈F[x]. Then p(Jk(λ)) is the upper triangular matrix whose (r,r+j)-entry is (p(Jk(λ)))r,r+j=p(j)(λ)j!(0≤j≤k−1, 1≤r≤k−j), with all entries below the diagonal equal to 0. In particular the value p(λ) fills the diagonal, p′(λ) the superdiagonal, and only the first k derivatives of p at λ are involved.

Proof. Write J=Jk(λ)=λIk+M with M=Jk(0) (Definition 10.3.1). Reading off the columns of M, we have Me1=0 and Mer=er−1 for r≥2, so by induction Mjer=er−j when r>j and Mjer=0 when r≤j. Hence, for 0≤j≤k−1, the matrix Mj has 1 in each position (r,r+j) and 0 elsewhere, and Mk=O. Let d=deg⁡p. By Theorem 6.4.7 (b), applied with c=λ and n=d, p(x)=∑j=0dp(j)(λ)j!(x−λ)j. Substituting J for x — legitimate because evaluation at J is a ring homomorphism (Theorem 6.7.1) — and using J−λIk=M, p(J)=∑j=0dp(j)(λ)j!Mj=∑j=0min(d,k−1)p(j)(λ)j!Mj, since Mj=O for j≥k. Each Mj contributes its coefficient to every position (r,r+j) and to no other position, which is the claim.

For p=xm this reads p(j)(λ)/j!=(mj)λm−j, so (Jk(λ)m)r,r+j=(mj)λm−j, which is the formula behind everything that follows, here and in the next section.

10.9.2. Functions of a matrix

Reading Lemma 10.9.1 backwards suggests the definition. The formula for p(Jk(λ)) uses nothing about p except the numbers p(λ),p′(λ),…,p(k−1)(λ). Any function that has those derivatives can be inserted instead.

To apply f to a matrix, apply it to each Jordan block, putting f(j)(λ)/j! on the j-th superdiagonal.

Definition 10.9.1 (Function of a Matrix)

Let A∈Mn(C) with Jordan form J=Jk1(λ1)⊕⋯⊕Jkm(λm) and A=PJP−1. Let f be a complex-valued function that is defined and at least ki−1 times differentiable at λi for every i — for instance, a function given by a convergent power series on a disc around each eigenvalue. Define f(Jk(λ)):=(f(λ)f′(λ)f″(λ)2!⋯f(k−1)(λ)(k−1)!f(λ)f′(λ)⋱⋮⋱⋱f″(λ)2!f(λ)f′(λ)f(λ))∈Mk(C), the upper triangular matrix with f(j)(λ)/j! in every position (r,r+j), and f(A):=P(f(Jk1(λ1))⊕⋯⊕f(Jkm(λm)))P−1.

In words: the diagonal of f(J) records the values f(λi), and each further superdiagonal records the next derivative, divided by a factorial. For a diagonalizable A every block has size 1, no derivatives are needed, and the definition says the familiar thing: f(A)=Pdiag(f(λ1),…,f(λn))P−1.

Well-definedness. Two choices were made: the invertible P and the order of the blocks. The Jordan form itself is unique only up to the order of the blocks (Theorem 10.3.1), and even for a fixed J there are many P with A=PJP−1. The next theorem removes both worries at once, by identifying f(A) with p(A) for a suitable polynomial p, an expression in which no choice appears.

Theorem 10.9.2 (Functions of a Matrix Are Polynomials in It)

Let A∈Mn(C) with distinct eigenvalues μ1,…,μd, and write mA=(x−μ1)s1⋯(x−μd)sd, so that sl is the largest size of a μl-block of the Jordan form of A (Corollary 10.3.2 (c)). Let f be as in Definition 10.9.1. Then:

  • (a) there is a polynomial p∈C[x] with deg⁡p<deg⁡mA and p(j)(μl)=f(j)(μl)for all l=1,…,d and j=0,…,sl−1, and p is the only such polynomial of degree less than deg⁡mA;
  • (b) for every polynomial q∈C[x] satisfying those deg⁡mA equations, q(A)=p(A);
  • (c) f(A)=p(A). In particular f(A) does not depend on the choice of P or on the order of the blocks, and f(A) is determined by the finitely many numbers f(j)(μl).

The polynomial p of (a) is the Hermite interpolating polynomial of f on the spectrum of A.

Idea. The list of conditions “match f and its first sl−1 derivatives at μl” is exactly a congruence modulo (x−μl)sl, by the Taylor expansion; and the moduli (x−μl)sl are pairwise coprime. So the Chinese Remainder Theorem produces p and shows it is unique below the degree of the product mA — this is Example (Values and Slopes by CRT) with more nodes and higher orders. Once p exists, Lemma 10.9.1 says that p and f do the same thing to every Jordan block of A, because a μl-block has size at most sl and only derivatives up to order sl−1 are consulted.

Proof.

  • (a) For each l let rl:=∑j=0sl−1f(j)(μl)j!(x−μl)j∈C[x]. For g∈C[x], the Taylor expansion of Theorem 6.4.7 (b) at μl, together with the uniqueness of the remainder on division by (x−μl)sl (Theorem 6.1.1), gives g≡rl(mod(x−μl)sl)⟺g(j)(μl)=f(j)(μl) for j=0,…,sl−1, exactly as in Example (Values and Slopes by CRT) (a) for sl=2: the remainder of g on division by (x−μl)sl is ∑j<slg(j)(μl)j!(x−μl)j, and two polynomials of degree less than sl are equal precisely when their coefficients in the basis (1,x−μl,…,(x−μl)sl−1) agree (Theorem 6.4.7 (a)).

    The moduli (x−μ1)s1,…,(x−μd)sd are pairwise coprime: for l≠l′, any common divisor divides both, and a monic common divisor would be a power of x−μl and a power of x−μl′ with μl≠μl′, hence 1 (Lemma 9.5.2, Theorem 6.3.5). Their product is mA. So Theorem 6.6.4 (c) provides exactly one p with deg⁡p<deg⁡mA and p≡rl(mod(x−μl)sl) for every l, which by the displayed equivalence is (a).

  • (b) Let q satisfy the same equations. By the equivalence again, q≡rl≡p(mod(x−μl)sl) for every l, so Theorem 6.6.4 (b) gives mA∣q−p. Writing q−p=mAh and evaluating at A, q(A)−p(A)=mA(A)h(A)=O since mA(A)=O (Definition 9.5.1). Hence q(A)=p(A).

  • (c) Let J=Jk1(λ1)⊕⋯⊕Jkm(λm) be any Jordan form of A and A=PJP−1. Fix i and let l be the index with λi=μl. By Corollary 10.3.2 (c), ki≤sl, so Lemma 10.9.1 and the equations in (a) give (p(Jki(λi)))r,r+j=p(j)(λi)j!=f(j)(λi)j!=(f(Jki(λi)))r,r+j(0≤j≤ki−1), the derivatives involved having order at most ki−1≤sl−1. So p(Jki(λi))=f(Jki(λi)) for every i. Since evaluating a polynomial blockwise gives the polynomial of the block diagonal matrix (Theorem 8.1.4 (a), (b)), p(A)=p(PJP−1)=Pp(J)P−1=P(⨁ip(Jki(λi)))P−1=P(⨁if(Jki(λi)))P−1=f(A), the second equality by Proposition 4.2.6 (c). The left-hand side mentions neither P nor the order of the blocks, so neither does the right-hand side. This proves the theorem.

So the definition is consistent with the old one: if f happens to be a polynomial, then f itself satisfies the interpolation conditions, and (b) gives f(A) in the new sense =f(A) in the old sense.

Warning. f(A) is not f applied to the entries of A. Even for f(x)=x2 this fails: with A=(1101), squaring each entry gives (1101), while A2=(1201). The definition is designed so that f(A) is a polynomial in A, and entrywise application is not.

Example (Square Roots of Two Matrices)

Using Definition 10.9.1 with f(x)=x, the branch with 4=2 and 9=3, compute a square root of

  • (a) A=(5445);
  • (b) B=(4104).

Solution.

  • (a) pA=(x−5)2−16=x2−10x+9=(x−1)(x−9), so the eigenvalues are 1 and 9, distinct, and A is diagonalizable. Solving (A−I)x=0 gives span((1,−1)) and (A−9I)x=0 gives span((1,1)). With P=(11−11), detP=2, and P−1=12(1−111), we have P−1AP=diag(1,9) and f(A)=Pdiag(1,3)P−1=12(13−13)(1−111)=12(4224)=(2112). Check. (2112)2=(5445)=A.

  • (b) B=J2(4) is its own Jordan form, with P=I. Here f(4)=2 and f′(x)=12x, so f′(4)=14, and Definition 10.9.1 gives f(B)=(21402). Check. (21/402)2=(42⋅14+14⋅204)=(4104)=B.

The Hermite polynomial. For (b), mB=(x−4)2, and the interpolating polynomial of degree <2 with p(4)=2, p′(4)=14 is p=2+14(x−4)=14x+1. Indeed p(B)=14B+I=(21/402), as Theorem 10.9.2 (c) predicts.

Quick check. A matrix A∈M5(C) has Jordan form J3(2)⊕J1(2)⊕J1(7). Which values of f and its derivatives does f(A) depend on?

Solution. On f(2),f′(2),f″(2), and f(7): four numbers. Indeed mA=(x−2)3(x−7) by Corollary 10.3.2 (c), so s1=3 for μ1=2 and s2=1 for μ2=7, and Theorem 10.9.2 lists the derivatives of order 0,1,2 at 2 and order 0 at 7. Note deg⁡mA=4, matching the number of conditions and the degree bound on the interpolating polynomial. Nothing about f away from {2,7} matters, and no third derivative is consulted even though dim=5.

10.9.3. The matrix exponential

The most important function of a matrix is the exponential, and it has a second description, as the sum of a series. We check that the series converges, and that its sum is the matrix exp⁡(A) that Definition 10.9.1 produces. Convergence is meant entrywise, as in Chapter 9: a sequence M1,M2,… in Mn(C) converges to M if for each position (r,s) the number sequence (Mm)rs converges to Mrs, and a series of matrices converges if its sequence of partial sums does. No notion of length of a matrix is used anywhere in this section.

Remark. What we assume from analysis. Everything below uses exactly the following facts about real and complex numbers, and nothing else. Chapter 16 will develop the tools that make such statements routine; here they are quoted.

  • (A1) The scalar exponential. For every z∈C the series ∑i≥0zi/i! converges; its sum is written ez. It satisfies ez+w=ezew, e0=1, and eiθ=cos⁡θ+isin⁡θ for real θ. For real s≥0, es≥1.
  • (A2) Termwise differentiation. If a power series ∑m≥0cmtm with cm∈C converges for every real t, then the function t↦∑mcmtm is differentiable on R with derivative ∑m≥1mcmtm−1.
  • (A3) Limits and products. Limits of convergent sequences of complex numbers respect sums, scalar multiples, and products. The derivative of a product of two differentiable functions R→C obeys the product rule, and differentiation is linear.
  • (A4) Zero derivative. A differentiable function R→C whose derivative vanishes everywhere is constant.
  • (A5) Decay. For every integer j≥0 and every real c<0, tject→0 as t→∞.

Fact (A5) is used only in the last exercise of this section. Nothing else about exp, cos, or sin is assumed: the derivative ddtezt=zezt for z∈C is the 1×1 case of Theorem 10.9.4 (b) below, proved from (A2), and the derivatives of cos and sin used in the examples follow from it through Euler’s formula in (A1).

Definition 10.9.2 (Matrix Exponential)

Let A∈Mn(C). The matrix exponential of A is eA:=∑m=0∞Amm!=limM→∞ ∑m=0MAmm!, the limit taken entrywise, provided it exists; A0=I.

That the limit does exist, and what it is, is the content of the next theorem. The Jordan form reduces the question to a single block, where the series can be summed exactly.

Theorem 10.9.3 (The Exponential Series Converges to the Jordan Definition)

Let A∈Mn(C). Then the series ∑mAm/m! converges entrywise, and its sum is the matrix exp⁡(A) given by Definition 10.9.1 for the function f=exp. In particular, for a single Jordan block, eJk(λ)=eλ(1112!⋯1(k−1)!11⋱⋮⋱⋱12!111), the upper triangular matrix with eλ/j! in every position (r,r+j).

Idea. For one block the entries of the partial sums are themselves partial sums of a scalar series, and that series can be recognized: the terms (mj)λm−j/m! simplify to λm−j/(j!(m−j)!), which is 1/j! times the (m−j)-th term of the series for eλ. For general A, conjugation by a fixed P turns each entry of a partial sum into a fixed finite linear combination of entries of the block partial sums, and limits pass through finite linear combinations.

Proof. Step 1. One block. Fix k≥1, λ∈C, and a position (r,r+j) with 0≤j≤k−1. By Lemma 10.9.1 applied to p=xm, (Jk(λ)mm!)r,r+j=1m!(mj)λm−j={λm−jj!(m−j)!,m≥j,0,m<j, using (mj)/m!=1/(j!(m−j)!) for m≥j and (mj)=0 for m<j. Hence the partial sums satisfy ∑m=0M(Jk(λ)mm!)r,r+j=1j!∑i=0M−jλii!(M≥j), after the substitution i=m−j. By (A1) the right-hand side converges to eλ/j! as M→∞. Entries with j<0, that is entries below the diagonal, are 0 in every term. So the series converges entrywise and eJk(λ)=(upper triangular with eλj! on the j-th superdiagonal)=exp⁡(Jk(λ)), the last equality being Definition 10.9.1 for f=exp, whose derivatives are f(j)=exp, so f(j)(λ)/j!=eλ/j!.

Step 2. A Jordan matrix. If J=Jk1(λ1)⊕⋯⊕Jkm(λm), then Jm/m! is the direct sum of the corresponding blocks (Theorem 8.1.4 (b)), so each entry of a partial sum of ∑mJm/m! is either identically 0 or an entry of a partial sum from one block. By Step 1 all of them converge, and eJ=⨁ieJki(λi).

Step 3. General A. By Theorem 10.3.1 there are a Jordan matrix J and an invertible P with A=PJP−1. Then Am=PJmP−1 (Proposition 4.2.6 (c)), so ∑m=0MAmm!=P(∑m=0MJmm!)P−1. Each entry of the left-hand side is a fixed finite linear combination — with coefficients built from the entries of P and P−1, independent of M — of the entries of the middle partial sum. By Step 2 those entries converge, so by (A3) the left-hand side converges entrywise, with eA=PeJP−1=P(⨁ieJki(λi))P−1=exp⁡(A), the last equality by Definition 10.9.1. This proves the theorem.

From now on we write eA for this matrix and use both descriptions freely. Note one consequence of Theorem 10.9.2: eA is a polynomial in A, namely p(A) for the Hermite interpolant of exp on spec(A). Everything that commutes with A therefore commutes with eA.

Theorem 10.9.4 (Properties of the Matrix Exponential)

Let A,B∈Mn(C) and let P∈Mn(C) be invertible.

  • (a) eO=I and eP−1AP=P−1eAP.
  • (b) The function R→Mn(C), t↦etA, is differentiable entrywise, with ddtetA=AetA=etAA.
  • (c) eA is invertible, with (eA)−1=e−A.
  • (d) If AB=BA, then eA+B=eAeB.
  • (e) deteA=etrA.

Idea. Part (b) is termwise differentiation, entry by entry. Everything after it is the same two-line trick: to prove X(t)=Y(t) for two matrix functions, show that Z(t)=e−tCX(t) has derivative O for a suitable C, so Z is constant and equals Z(0). That is why (c) and (d) come after (b), even though the series would also give them. Part (e) is read off the Jordan form: eJ is triangular with eλi on the diagonal.

Proof.

  • (a) Om=O for m≥1 and O0=I, so the series is I. For the second claim, Step 3 of the previous proof applies verbatim with J replaced by P−1AP: the partial sums of ∑m(P−1AP)m/m! are P−1(∑mAm/m!)P, and (A3) lets the limit pass through.

  • (b) Fix a position (r,s). By Theorem 10.9.3 the series ∑mtm(Am)rs/m! converges for every real t, since (tA)m=tmAm. So (A2) applies with cm=(Am)rs/m! and gives ddt(etA)rs=∑m≥1mtm−1m!(Am)rs=∑m≥1tm−1(m−1)!(A⋅Am−1)rs=(A∑l≥0tlAll!)rs, where the last step moves the constant matrix A outside the limit: each entry of A(∑l≤LtlAl/l!) is a fixed linear combination of entries of the partial sum, so (A3) applies. Hence ddtetA=AetA. The same computation with Am=Am−1A gives etAA.

  • (c) Put H(t)=etAe−tA for t∈R. Each entry of H is a finite sum of products of differentiable functions, so by (A3) and (b), H′(t)=(AetA)e−tA+etA(−Ae−tA)=AetAe−tA−AetAe−tA=O, where the second equality uses etAA=AetA from (b). By (A4) every entry of H is constant, so H(t)=H(0)=eOeO=I for all t. At t=1, eAe−A=I, and Theorem 3.4.5 finishes it.

  • (d) Suppose AB=BA. Then B commutes with every partial sum of ∑mtmAm/m!, so by (A3) it commutes with the limit: BetA=etAB for every t. Put G(t)=e−t(A+B)etAetB. Differentiating entrywise with the product rule (A3) and (b), G′(t)=−(A+B)e−t(A+B)etAetB+e−t(A+B)AetAetB+e−t(A+B)etABetB. In the third term replace etAB by BetA; in the first, use (A+B)e−t(A+B)=e−t(A+B)(A+B) from (b). The three terms become e−t(A+B)(−(A+B)+A+B)etAetB=O. By (A4), G is constant, so G(t)=G(0)=I. Multiplying on the left by et(A+B) and using (c), etAetB=et(A+B); put t=1.

  • (e) Write A=PJP−1 with J=⨁iJki(λi) a Jordan matrix. By (a) and Theorem 10.9.3, deteA=det(PeJP−1)=deteJ (Corollary 7.5.7), and eJ=⨁ieJki(λi) is upper triangular with eλi repeated ki times along the diagonal. By Theorem 7.4.6 and (A1), deteJ=∏i(eλi)ki=e∑ikiλi=etrJ=etrA, the last equality because similar matrices have equal traces (Theorem 4.2.5). This proves the theorem.

Part (e) says something striking: deteA≠0 always, which re-proves (c), and if trA=0 then eA∈SLn(C).

The following corollary is the formula actually used in computations. Note that tJk(λ) is not a Jordan block for k≥2 and t≠1, since its superdiagonal entries are t; the commuting law does the work instead.

Corollary 10.9.5 (Exponential of a Jordan Block, with a Parameter)

Let k≥1, λ∈C, and t∈R. Then etJk(λ) is the upper triangular matrix with (etJk(λ))r,r+j=tjeλtj!(0≤j≤k−1) and zeros below the diagonal. Consequently, if A=PJP−1 with J=Jk1(λ1)⊕⋯⊕Jkm(λm), then etA=P(etJk1(λ1)⊕⋯⊕etJkm(λm))P−1. In particular, for a diagonal D=diag(d1,…,dn), etD=diag(etd1,…,etdn).

Proof. Write tJk(λ)=(tλ)Ik+tM with M=Jk(0). The two summands commute, since Ik commutes with everything, so Theorem 10.9.4 (d) gives etJk(λ)=e(tλ)IketM. For the first factor, ((tλ)Ik)m=(tλ)mIk, so the partial sums are (∑m≤M(tλ)m/m!)Ik and e(tλ)Ik=eλtIk by (A1). For the second, Mj=O for j≥k, so the series terminates: etM=∑j=0k−1tjj!Mj, and Mj has 1 in each position (r,r+j), as computed in the proof of Lemma 10.9.1. Multiplying by the scalar eλt gives the entry formula. The second display follows from tA=P(tJ)P−1 with Theorem 10.9.4 (a) and Theorem 8.1.4 (b), exactly as in Step 2 of the proof of Theorem 10.9.3. The diagonal case is the case in which every block has size 1.

Warning. eA+B=eAeB fails when A and B do not commute. Take A=(0100),B=(0010). Both square to O, so the series stop after two terms: eA=I+A=(1101) and eB=I+B=(1011). Then eAeB=(2111)≠(1112)=eBeA. Since A+B=B+A, at most one of the two products can equal eA+B, so the identity must fail for one of the pairs (A,B), (B,A). (In fact it fails for both: (A+B)2=I, so eA+B has all four entries nonzero and none of them equal to 2.) The moral: check AB=BA before splitting an exponential.

10.9.4. Linear systems of differential equations

A system of n linear differential equations with constant coefficients, x1′=a11x1+⋯+a1nxn,…,xn′=an1x1+⋯+annxn, is the single equation x′=Ax for a vector-valued function x:R→Cn, differentiated entrywise. In one dimension the answer is x(t)=etax0; the matrix exponential makes the general answer look exactly the same.

Theorem 10.9.6 (Solution of a Linear System)

Let A∈Mn(C) and x0∈Cn. Then the function x(t)=etAx0(t∈R) is differentiable and satisfies x′(t)=Ax(t) for all t and x(0)=x0; and it is the only differentiable function R→Cn with these two properties.

Idea. Existence is Theorem 10.9.4 (b) applied to a fixed vector. For uniqueness, take any solution y and multiply it by e−tA, the one factor that can undo the growth: the product has derivative 0, hence is constant. This is the same move as in the proofs of parts (c) and (d) above.

Proof. Existence. Each entry of x(t)=etAx0 is a linear combination of entries of etA with constant coefficients, so x is differentiable with x′(t)=(ddtetA)x0 by the linearity of differentiation (A3). By Theorem 10.9.4 (b), x′(t)=AetAx0=Ax(t). And x(0)=eOx0=x0 by Theorem 10.9.4 (a).

Uniqueness. Let y:R→Cn be differentiable with y′=Ay and y(0)=x0. Put z(t)=e−tAy(t). By the product rule (A3) and Theorem 10.9.4 (b) applied to −A, z′(t)=(−Ae−tA)y(t)+e−tAy′(t)=−Ae−tAy(t)+e−tAAy(t)=0, where the last step uses e−tAA=Ae−tA from Theorem 10.9.4 (b). By (A4) each entry of z is constant, so z(t)=z(0)=x0 for all t. Multiplying by etA and using Theorem 10.9.4 (c), y(t)=etAz(t)=etAx0=x(t). This proves the theorem.

The formula is only as useful as our ability to compute etA, and the Jordan form does that. Two shapes of answer occur, and they are worth seeing side by side.

Example (Two Two-Dimensional Systems)

Solve x′=Ax with x(0)=(1,0) for

  • (a) A=(1−221) (complex eigenvalues);
  • (b) A=(2102) (one eigenvalue, one block of size 2).

Solution.

  • (a) pA=(x−1)2+4, with roots λ=1±2i, distinct, so A is diagonalizable over C and every block has size 1. Solving (A−(1+2i)I)x=0: the first row reads −2ix1−2x2=0, so x2=−ix1 and (1,−i) is an eigenvector; (1,i) is one for 1−2i. With P=(11−ii) we get detP=2i and P−1=12i(i−1i1)=12(1i1−i), so P−1AP=diag(1+2i,1−2i). By Corollary 10.9.5, etA=Pdiag(e(1+2i)t,e(1−2i)t)P−1=12(e(1+2i)t+e(1−2i)ti(e(1+2i)t−e(1−2i)t)−i(e(1+2i)t−e(1−2i)t)e(1+2i)t+e(1−2i)t). By (A1), e(1±2i)t=et(cos⁡2t±isin⁡2t), so e(1+2i)t+e(1−2i)t=2etcos⁡2t and e(1+2i)t−e(1−2i)t=2ietsin⁡2t. Substituting, and using i⋅2i=−2, etA=et(cos⁡2t−sin⁡2tsin⁡2tcos⁡2t),x(t)=etA(10)=et(cos⁡2tsin⁡2t). The solution spirals outwards: rotation at angular speed 2, growth at rate 1. The entries are real, as they must be for a real A and a real x0.

    Check. x′(t)=et(cos⁡2t−2sin⁡2t, sin⁡2t+2cos⁡2t), and Ax(t)=et(cos⁡2t−2sin⁡2t, 2cos⁡2t+sin⁡2t). They agree, and x(0)=(1,0).

  • (b) A=J2(2) is its own Jordan form. Writing A=2I+M with M=(0100), the two summands commute and M2=O, so Corollary 10.9.5 with k=2 gives etA=e2t(I+tM)=e2t(1t01). So x(t)=e2t(1,0). A different initial vector shows the new phenomenon: x(0)=(0,1) gives x(t)=e2t(t,1), whose first entry is te2t. A repeated eigenvalue with a block of size k produces solutions containing tjeλt for j<k. This is the same tjλm pattern that Chapter 9 met for recurrences with repeated roots, now in continuous time.

A scalar equation of higher order is a system in disguise, and the translation is the companion matrix of Section 5.

Example (A Second-Order Equation with a Repeated Root)

Solve y″−4y′+4y=0 with y(0)=1 and y′(0)=3.

Solution. Make it a system. Put u=(y,y′). Then u′=(y′,y″)=(y′,4y′−4y), so u′=Mu with M=(01−44),u(0)=(1,3). Note that pM=x(x−4)+4=x2−4x+4 is the polynomial of the equation, and that M=C(pM)⊤ for the companion matrix C(pM)=(0−414) of Definition 10.5.3; by Corollary 10.7.7 the two are similar, so which of them one uses is immaterial.

Exponentiate. pM=(x−2)2. Put N=M−2I=(−21−42); then N2=(4−4−2+28−8−4+4)=O, so 2I and N commute and Theorem 10.9.4 (d) gives, as in the previous example, etM=e2t(I+tN)=e2t(1−2tt−4t1+2t). (No basis change was needed: M is a scalar plus a nilpotent matrix on the nose.)

Read off the answer. u(t)=etM(13)=e2t((1−2t)+3t−4t+3(1+2t))=e2t(1+t3+2t), so y(t)=(1+t)e2t.

Check. y′=e2t+2(1+t)e2t=(3+2t)e2t, which is the second entry of u, as it should be, and y′(0)=3. Then y″=2e2t+2(3+2t)e2t=(8+4t)e2t, and y″−4y′+4y=[(8+4t)−4(3+2t)+4(1+t)]e2t=0. The repeated root 2 produces the term te2t, exactly as the size-2 block predicts.

Chapter 16 will return to eA with norms available, which give quantitative bounds instead of exact formulas. The next section stays with exact formulas and asks the discrete-time question: what happens to Am?

10.9.5. Exercises

A. Check your understanding

Exercise (A1)
  • (a) State the formula for p(Jk(λ)) and say where the factorials come from.
  • (b) Define f(A) for A∈Mn(C) with a given Jordan form, and list the two choices whose irrelevance has to be checked.
  • (c) Which values of f and its derivatives does f(A) depend on? How many numbers is that?
  • (d) State the five properties of eA proved in Theorem 10.9.4, with their hypotheses.
  • (e) True or false: eA+B=eAeB for all A,B∈Mn(C). Justify your answer.
  • (f) True or false: eA can be singular. Justify your answer.

Solution.

  • (a) p(Jk(λ)) is upper triangular with p(j)(λ)/j! in every position (r,r+j) (Lemma 10.9.1). The factorials come from the Taylor expansion p=∑jp(j)(λ)j!(x−λ)j (Theorem 6.4.7), whose j-th term contributes Jk(0)j, the matrix with ones on the j-th superdiagonal.

  • (b) f(A)=P(⨁if(Jki(λi)))P−1 with f(Jk(λ)) as in (a) (Definition 10.9.1). The choices are the matrix P and the order in which the blocks are listed; both are irrelevant because f(A)=p(A) for the Hermite interpolating polynomial p (Theorem 10.9.2).

  • (c) On f(j)(μ) for each eigenvalue μ and each j<sμ, where sμ is the exponent of x−μ in mA, that is, the largest μ-block size. The total number is ∑μsμ=deg⁡mA (Theorem 10.9.2).

  • (d) eP−1AP=P−1eAP for invertible P; ddtetA=AetA=etAA; (eA)−1=e−A; eA+B=eAeB provided AB=BA; and deteA=etrA with no hypothesis.

  • (e) False. With A=(0100) and B=A⊤, the matrices eAeB and eBeA differ, so the identity cannot hold for both orders; see the warning after Theorem 10.9.4.

  • (f) False. deteA=etrA≠0 by Theorem 10.9.4 (e) and (A1), so eA is always invertible (Theorem 7.5.2).

B. Practice

Exercise (B1: Computing exponentials)

Compute etA for each of the following.

  • (a) A=(1331).
  • (b) A=(5105).
  • (c) A=(310031003)=J3(3).

Solution.

  • (a) pA=(x−1)2−9, with roots 4 and −2. Eigenvectors: (A−4I)x=0 gives span((1,1)); (A+2I)x=0 gives span((1,−1)). With P=(111−1) we have detP=−2, P−1=12(111−1), and P−1AP=diag(4,−2), so by Corollary 10.9.5 etA=Pdiag(e4t,e−2t)P−1=12(e4t+e−2te4t−e−2te4t−e−2te4t+e−2t). Check at t=0: both diagonal entries give 1 and both off-diagonal ones 0, so eO=I.

  • (b) A=J2(5), so Corollary 10.9.5 with k=2 gives etA=e5t(I+tM)=e5t(1t01).

  • (c) By Corollary 10.9.5 with k=3 and λ=3, or directly from A=3I+M with M=J3(0) and M3=O, giving etA=e3t(I+tM+t22M2): etA=e3t(1tt2201t001). This is Definition 10.9.1 for f(x)=etx: the j-th superdiagonal carries f(j)(3)/j!=tje3t/j!.

Exercise (B2: Solving systems)

Solve each initial value problem, and verify your answer by differentiating.

  • (a) x′=x+3y, y′=3x+y, with x(0)=2, y(0)=0.
  • (b) x′=(0−330)x with x(0)=(0,1).
  • (c) y‴=0 with y(0)=1, y′(0)=0, y″(0)=2, by turning it into a system.

Solution.

  • (a) This is x′=Ax for the matrix of Exercise (B1: Computing exponentials) (a). By Theorem 10.9.6, x(t)=etA(20)=(e4t+e−2te4t−e−2t), that is, x=e4t+e−2t and y=e4t−e−2t. Check. x′=4e4t−2e−2t and x+3y=e4t+e−2t+3e4t−3e−2t=4e4t−2e−2t; similarly for y′. And x(0)=2, y(0)=0.

  • (b) Write A=3R with R=(0−110), whose eigenvalues are ±i (Example (A Real Matrix with Non-Real Eigenvalues)), so those of A are ±3i, distinct. Repeating the computation of Example (Two Two-Dimensional Systems) (a) with 1±2i replaced by ±3i — eigenvectors (1,−i) for 3i and (1,i) for −3i — gives etA=(cos⁡3t−sin⁡3tsin⁡3tcos⁡3t),x(t)=(−sin⁡3tcos⁡3t). Check. x′(t)=(−3cos⁡3t,−3sin⁡3t) and Ax(t)=(−3cos⁡3t,−3sin⁡3t); and x(0)=(0,1). The solution runs around the unit circle: no growth, since the eigenvalues are purely imaginary.

  • (c) Put u=(y,y′,y″). Then u′=(y′,y″,0)=Mu with M=J3(0), and u(0)=(1,0,2). By Corollary 10.9.5 with λ=0 and k=3, etM=(1tt2/201t001),u(t)=etM(102)=(1+t22t2). So y(t)=1+t2. Check. y′=2t, y″=2, y‴=0, and the three initial values are 1,0,2. The eigenvalue 0 with one block of size 3 gives polynomial solutions tje0t=tj for j<3.

Exercise (B3: A square root and a logarithm)
  • (a) Let A=(2112). Compute f(A) for f(x)=x (positive branch) and verify that f(A)2=A.
  • (b) Let B=(1201). Compute f(B) for f(x)=log⁡x with log⁡1=0, and verify that ef(B)=B.
  • (c) Explain why the same method produces no square root of (0100).

Solution.

  • (a) pA=(x−2)2−1=(x−1)(x−3), eigenvalues 1,3. Eigenvectors (1,−1) for 1 and (1,1) for 3. With P=(11−11) and P−1=12(1−111), f(A)=Pdiag(1,3)P−1=12(1+3−1+3−1+31+3). Squaring, the diagonal entry is 14[(1+3)2+(3−1)2]=14(4+23+4−23)=2, and the off-diagonal entry is 14⋅2(1+3)(3−1)=12(3−1)=1. So f(A)2=A.

  • (b) Here mB=(x−1)2, since (B−I)2=O≠B−I, so by Theorem 10.9.2 the answer is p(B) for the polynomial of degree <2 with p(1)=f(1)=0 and p′(1)=f′(1)=1, namely p=x−1. Hence f(B)=B−I=(0200). Its square is O, so ef(B)=I+f(B)=(1201)=B. The Jordan route gives the same thing: with Q=diag(2,1) we get Q−1BQ=J2(1), and f(J2(1))=(0100), so f(B)=Qf(J2(1))Q−1=(0200).

  • (c) The matrix is J2(0), with the single eigenvalue 0 and a block of size 2. Definition 10.9.1 needs f and f′ at 0, and f(x)=x is not differentiable at 0 — the entry f′(0) does not exist. In fact J2(0) has no square root at all: if X2=J2(0), then X4=J2(0)2=O, so X is nilpotent, so X2=O by Proposition 10.2.1 (a) with n=2, contradicting X2=J2(0)≠O.

C. Going deeper

Exercise (C1: How badly the exponential law fails)

Let A=(0100) and B=(0010) in M2(R).

  • (a) Compute eA, eB, eAeB, and eBeA.
  • (b) Compute eA+B in closed form. Hint: (A+B)2=I, so split the series into even and odd terms.
  • (c) Verify deteA+B=etr(A+B) and det(eAeB)=etrAetrB, and explain why equal determinants do not rescue the identity.
  • (d) Show that eAeB=eC for some C∈M2(R), and find trC.

Solution.

  • (a) A2=B2=O, so eA=I+A=(1101) and eB=I+B=(1011). Then eAeB=(2111),eBeA=(1112).

  • (b) Let K=A+B=(0110). Then K2=I, so K2l=I and K2l+1=K. Splitting the partial sums by parity, which is legitimate because each entry sequence is a sum of two convergent sequences (A3), eK=(∑l≥01(2l)!)I+(∑l≥01(2l+1)!)K=e+e−12I+e−e−12K=(e+e−12e−e−12e−e−12e+e−12), where the two scalar sums were identified by adding and subtracting the series for e1 and e−1 term by term (A1). Numerically the diagonal entries are about 1.543, not 2, so eA+B≠eAeB.

  • (c) tr(A+B)=0 and deteA+B=(e+e−12)2−(e−e−12)2=14[(e+e−1)2−(e−e−1)2]=14⋅4=1=e0. Also det(eAeB)=2−1=1=e0e0. The determinants agree because both matrices are products of exponentials of trace-zero matrices; a determinant is one number and cannot distinguish two matrices, so it gives no information about the identity either way. The entries do.

  • (d) X=eAeB=(2111) is symmetric with detX=1 and trX=3, so pX=x2−3x+1, whose roots 3±52 are real, distinct, and positive. So X=Pdiag(α,β)P−1 with αβ=1, α,β>0. Put C=Pdiag(log⁡α,log⁡β)P−1, a real matrix because P can be taken real (the eigenvalues are real) and the logarithms are real. By Definition 10.9.1 applied to f=exp, eC=Pdiag(α,β)P−1=X. Finally trC=log⁡α+log⁡β=log⁡(αβ)=log⁡1=0, as Theorem 10.9.4 (e) requires, since detX=1.

Exercise (C2: When does every solution die out?)

Let A∈Mn(C). Prove that the following are equivalent:

  • (i) every solution of x′=Ax satisfies x(t)→0 entrywise as t→∞;
  • (ii) every eigenvalue λ of A has Reλ<0.

Hint: compute the entries of etJk(λ) and use (A5). For the failing direction, an eigenvector gives a solution you can write down.

Solution.

  • (ii) ⇒ (i). By Theorem 10.9.6 every solution is x(t)=etAx0, so it suffices to show etA→O entrywise. Write A=PJP−1 with J=⨁iJki(λi) (Theorem 10.3.1). Each entry of etA=PetJP−1 is a fixed linear combination of entries of etJ, so by (A3) it is enough that etJ→O. By Corollary 10.9.5, the nonzero entries of etJk(λ) are tjeλtj!(0≤j≤k−1). Writing λ=c+iω with c=Reλ<0, we get |tjeλt|=tject|eiωt|=tject for t≥0, since |eiωt|=|cos⁡ωt+isin⁡ωt|=1 by (A1). By (A5) this tends to 0, and a complex sequence tends to 0 exactly when its moduli do. Hence etJ→O.

  • (iii) ⇒ (ii). Suppose some eigenvalue λ has Reλ=c≥0, and let v≠0 be an eigenvector. Then x(t)=eλtv is a solution: it is differentiable with x′(t)=λeλtv=eλtAv=Ax(t), and x(0)=v. Pick a coordinate with vr≠0; then |xr(t)|=|eλt||vr|=ect|vr|≥|vr|>0 for every t≥0, because ect≥1 when c≥0. So xr(t) does not tend to 0, and (i) fails. This proves the equivalence.

Found a typo or a mistake? Report it, or read this page’s source

The text of this book is licensed under CC BY-NC-SA 4.0.