7.4 Systems of equations and the matrix exponential
The system x' = Ax is solved by x(t) = e^(tA) x(0), where the matrix exponential is the exponential series with a matrix in place of the number. It always converges, and it is computed by diagonalizing, by splitting A into a scalar part and a nilpotent part (Jordan form), or by Putzer's method. The eigenvalues also decide the shape of the solution curves.
Taught in 375/376Apostol, not taughtBeyond the courseApostol 7.1 to 7.19Technau, MATH 376 lectures of April 15 to 24MATH 376 worksheets 24 to 26 and 28, homework 10MATH 376 final 5(b), practice final 7(b) and 7(f)
In 7.2 one equation y′=ry was solved by y=y(0)ert. A system of such equations, with a matrix in place of r, deserves the same answer: x(t)=etAx(0). This chapter makes sense of etA (an infinite series of matrices), proves it solves the system, and teaches the ways to compute it. Along the way the eigenvalues of 2.8 and the Jordan blocks of 3.6 return, now with a job: they tell us how the solution moves.
Quick checkIf A=CDC−1 with D diagonal, what is A3?
A3=CDC−1CDC−1CDC−1 and each C−1C in the middle is I, leaving CD3C−1. The order matters: C on the left, C−1 on the right.Review: diagonalization
Quick checkFor which real numbers x does the series ∑k=0∞k!xk converge?
The ratio of consecutive terms is k+1x→0, which is below 1 for every x, so the series converges absolutely everywhere by the ratio test. The matrix series will use this same fact.Review: the ratio test
Quick checkThe equation y′′+4y=0 is written as x′=Ax with x=(y,y′). Which is A?
x1′=y′=x2 and x2′=y′′=−4y=−4x1, so the rows are (0,1) and (−4,0). This is the companion matrix of 7.2.Review: the companion matrix
The picture
For a 2×2 matrix A, a solution x(t) of x′=Ax is a point moving in the plane, and its path is a curve. The velocity of the point at the position x is Ax. The picture draws many such curves at once. The four sliders are the entries a,b,c,d of A=[acbd]. The arrows show the direction of time. The dashed purple lines are the eigendirections (when they are real): the lines through the origin spanned by real eigenvectors of A. Drag the orange dot to start a new curve.
Four words, used loosely for now (chapter 7.6 will define them carefully). The curve traced by one solution is its orbit, and the plane with many orbits drawn in is the phase portrait. An equilibrium is a point where the velocity is zero, so a solution that starts there never moves; for x′=Ax the origin is always one, because AO=O. In this chapter an equilibrium is called stable when every solution tends to it as t→∞, and unstable when solutions move away from it. (The careful definition of stable is weaker, and under it a centre also counts as stable. That is the point of 7.6.)
Go through the presets. Saddle: one eigenvalue positive and one negative; curves come in along one eigendirection and leave along the other. Stable node and unstable node: both eigenvalues of the same sign, so everything runs into or out of the origin. Spirals: complex eigenvalues α±iβ turn the curves around the origin; they shrink if α<0 and grow if α>0. Centre: pure imaginary eigenvalues give closed loops. One eigenvector: a repeated eigenvalue with only one eigendirection bends the curves round it. The last preset is the matrix of the 376 final’s Problem 5(b): trace 4, determinant 7, an unstable spiral. The theorems below explain every picture.
Where this came from· Laguerre's series and Putzer's shortcut
The power series I+A+A2/2!+⋯ for a matrix was introduced by Edmond Laguerre in 1867, as Nicholas Higham’s survey of the matrix exponential records. The point is the pattern: y′=ay has the solution eaty(0), and x′=Ax has etAx(0). Textbooks computed etA by putting A into Jordan form, which is delicate: a tiny change of A can change the Jordan form completely (chapter 3.6). In 1966 E. J. Putzer published “Avoiding the Jordan canonical form in the discussion of linear systems with constant coefficients” in the American Mathematical Monthly, volume 73, pages 2 to 7. His method writes etA as a combination of the matrices I, A−λ1I, (A−λ1I)(A−λ2I), … using only the eigenvalues; Apostol presents it in section 7.13, and we prove it below.
The idea, in words
Why· Three ideas: the series, the flow, the eigen-directions
The series. The number eat is ∑(at)k/k!, the solution of x′=ax with x(0)=1. Replace a by a matrix A and 1 by the identity matrix. Matrices can be multiplied and added, so ∑tkAk/k! makes sense term by term; the only question is whether it converges, and it does, for every matrix and every t, because k! grows faster than any power of ∥A∥. The flow.x(t)=etAx(0) says: to find where the point is at time t, apply the matrix etA to where it started. The matrices etA form a one-parameter family with e(s+t)A=esAetA: flowing for s and then for t is flowing for s+t. The eigen-directions. If Av=λv, then etAv=eλtv (every power Ak multiplies v by λk). So along an eigenvector the point moves by the scalar rule eλt. When there is a basis of eigenvectors, this solves everything; when there is not, a nilpotent part adds powers of t (the shear et[10t1] of the repeated-root case in 7.2).
Definitions and theorems
Systems of differential equations
Definition T
System of differential equations
A system of differential equations (first order) is x′(t)=F(t,x(t)) with x(t)∈Rn (or Cn); this is the form into which every higher-order equation is turned (7.1). The system is linear if F(t,x)=A(t)x+g(t) with a matrix function A and a vector function g; it is homogeneous if g=0. In this chapter A is a constant matrix. Technau writes the general linear system as y′=q+Py and the constant-coefficient homogeneous case as y′=Ay.
In one lineSeveral unknown functions x1(t),…,xn(t) whose derivatives are given in terms of t and the unknowns; in vector form x′=F(t,x). It is linear if x′=A(t)x+g(t) and has constant coefficients if A does not depend on t.
Why it existsMany quantities interact (two populations, two currents, position and velocity). A system tracks them together as one point moving in Rn.
The existence and uniqueness theorem of 7.1 for linear systems gives immediately: for every starting vector b and starting time a, the IVP x′=Ax, x(a)=b has exactly one solution, and it is defined for all t∈R. The task is to write it down.
Fact TMATH 376 worksheet 25 #6; Apostol 7.10
Eigenvectors give solutions
If Av=λv, then x(t)=eλtv satisfies x′=Ax (for complex λ and v too). Hence if A has a basis of eigenvectors v1,…,vn with eigenvalues λ1,…,λn, every solution is x(t)=c1eλ1tv1+⋯+cneλntvn, where c=(c1,…,cn) are the coordinates of x(0) in that basis.
In one lineIf Av=λv with v=O, then x(t)=eλtv solves x′=Ax.
Why it is trueDifferentiating eλtv brings down λ, and λv=Av.
ProofApostol 7.10
The idea: Differentiate; then write the starting vector in the eigenbasis and use linearity and uniqueness.
x′=λeλtv.
dtdeλt=λeλt and v is constant.
Ax=eλtAv=λeλtv=x′.
Av=λv, and A commutes with the scalar eλt.
So ∑cjeλjtvj is a solution with the right starting vector.
The equation is linear, so sums and multiples of solutions are solutions. At t=0 the combination equals ∑cjvj=x(0).
So it is the solution.
Uniqueness (7.1): a linear IVP has exactly one solution. ■
Worked example MATH 376 worksheet 28 #4
Turn y'' + 4y = 0 into a system and compute e^(tA) from the series.
Solution.
Write the system. With x=(y,y′): x′=Ax and A=[0−410]. The companion matrix of 7.2.
Compute the powers.A2=[−400−4]=−4I. So A2k=(−4)kI and A2k+1=(−4)kA. Multiply A by itself once; the pattern then repeats.
Split the series into even and odd powers.etA=∑k(2k)!(−4)kt2kI+∑k(2k+1)!(−4)kt2k+1A. Even k in ∑tkAk/k! give multiples of I; odd k give multiples of A.
Recognise the sums.(−4)kt2k=(−1)k(2t)2k, so the first sum is cos2t and the second is 21sin2t. The series for cosine and sine (1.6).
Assemble.etA=cos2tI+21sin2tA=[cos2t−2sin2t21sin2tcos2t]. The first row applied to (y(0),y′(0)) gives y=y(0)cos2t+2y′(0)sin2t, the answer from 7.2.
Answer.etA=[cos2t−2sin2t21sin2tcos2t].
Norms and convergence of matrix series
To say that a series of matrices converges we need a notion of distance for matrices. Technau’s course uses the simplest one.
Definition T
Matrix norm
For an n×n matrix A=(aij) define the matrix norm∥A∥=∑i,j=1n∣aij∣ (the 1-norm of 4.1 on Rn2, called ∥A∥1 in Technau’s notes). It satisfies the three norm axioms because it is a norm on Rn2. Any other norm with ∥AB∥≤∥A∥∥B∥, such as the operator norm of 3.5, would do equally well. Distance and convergence of matrices are those of this norm; since all norms on Rn2 are equivalent, the choice does not change which sequences converge.
In one lineFor this chapter, ∥A∥=∑i,j∣aij∣: the sum of the absolute values of all entries. It is a norm, and it satisfies ∥AB∥≤∥A∥∥B∥.
Why it existsIt measures the size of a matrix by one number, makes the set of n×n matrices a complete normed space, and has the extra property ∥AB∥≤∥A∥∥B∥ that powers need.
Theorem TMATH 376 homework 10 #2; Technau, April 15 (8.3)
The matrix norm is submultiplicative
For n×n matrices A,B: ∥AB∥≤∥A∥∥B∥. Consequently ∥Ak∥≤∥A∥k for all k≥1.
In one line∥AB∥≤∥A∥∥B∥, hence ∥Ak∥≤∥A∥k.
Why it is trueEach entry of AB is a sum of products; bounding by absolute values and then adding extra non-negative terms gives the product of the two norms.
ProofTechnau, April 15
The idea: Triangle inequality inside each entry of the product, then enlarge the sum by allowing independent indices.
∥AB∥=∑i,j∑kaikbkj≤∑i,j,k∣aik∣∣bkj∣.
(AB)ij=∑kaikbkj, and the absolute value of a sum is at most the sum of the absolute values.
≤∑i,k∑l,j∣aik∣∣blj∣.
Adding the extra non-negative terms ∣aik∣∣blj∣ with l=k only makes the sum larger.
=(∑i,k∣aik∣)(∑l,j∣blj∣)=∥A∥∥B∥.
The double sum factors into two independent double sums.
So ∥Ak∥≤∥A∥k.
Induction on k: ∥Ak+1∥=∥A⋅Ak∥≤∥A∥∥Ak∥≤∥A∥k+1. ■
Worked example MATH 376 worksheet 24 #1
Compute the matrix norm of A = [[1, −2], [3, 0]] and B = [[1, 1, 0], [−1, 2, 4]].
Solution.
Add the absolute values of all entries of A.1+2+3+0=6. The definition: every entry counts, no maximum and no row sums.
Do the same for B.1+1+0+1+2+4=9. The definition works for any shape of matrix; submultiplicativity is for square ones.
Answer.∥A∥=6 and ∥B∥=9. (This is not the operator norm and not the largest column sum.)
Your answerWhat is ∥A∥=∑i,j∣aij∣ for A=[13−20]?
Add the absolute values of the four entries.
∣1∣+∣−2∣+∣3∣+∣0∣=6.
Theorem TMATH 376 worksheet 24 #2
Absolutely convergent matrix series converge
Let M0,M1,… be n×n matrices with ∑k∥Mk∥<∞. Then the partial sums SN=∑k≤NMk converge to a matrix S, and ∥S∥≤∑k∥Mk∥.
In one lineIf ∑k∥Mk∥ converges as a series of numbers, then ∑kMk converges in the space of matrices.
Why it is trueThe partial sums of the matrix series are within the tail of the number series of each other, and the space of matrices is complete.
ProofMATH 376 worksheet 24 #2
The idea: Show the partial sums are Cauchy using the triangle inequality, then apply completeness of R^(n^2).
For m>n: ∥Sm−Sn∥=∑k=n+1mMk≤∑k=n+1m∥Mk∥.
Triangle inequality for the norm, applied repeatedly.
So given ε>0 there is N with ∥Sm−Sn∥<ε for m>n>N: (SN) is Cauchy.
The number series ∑∥Mk∥ converges, so its partial sums are Cauchy (1.2): the tails ∑k>n∥Mk∥ tend to 0.
So SN→S for some matrix S.
Rn2 with this norm is complete (4.2), so every Cauchy sequence converges.
Passing to the limit, ∥S∥≤∑k∥Mk∥.
∥SN∥≤∑k≤N∥Mk∥ and norms are continuous. ■
The matrix exponential
Definition T
Matrix exponential
For an n×n matrix M (real or complex) the matrix exponential is eM=∑k=0∞k!1Mk, where M0=I. For a real number t and a matrix A, etA=∑kk!tkAk.
In one lineFor a square matrix M, eM=∑k=0∞k!Mk=I+M+2!M2+⋯.
Why it existsIt is the exponential function applied to a matrix, defined by the same series, and it is the solution operator of the system x′=Ax.
Theorem TTechnau, April 15 and 17 (Lemma 8.3); MATH 376 worksheet 24 #3; Apostol 7.5
The matrix exponential always converges
For every n×n matrix M, the series defining eM converges, and ∥eM∥≤n−1+e∥M∥.
In one lineFor every square matrix M the series ∑Mk/k! converges, and ∥eM∥≤n−1+e∥M∥.
Why it is trueCompare with the number series for e∥M∥, using ∥Mk∥≤∥M∥k for k≥1. The first term is the identity, whose norm is n, not 1.
ProofTechnau, April 17; the constant corrects the worksheet
The idea: Bound the norm of each term with k at least 1 by the term of the number series for e to the power of the norm, treat the first term separately, then apply absolute convergence.
For k≥1: k!Mk≤k!∥M∥k.
Submultiplicativity: ∥Mk∥≤∥M∥k for k≥1.
With r=∥M∥: ∑k≥0k!Mk≤n+∑k≥1k!∥M∥k=n−1+e∥M∥<∞.
The number series ∑k!rk converges for every real r (ratio test, 1.6), and its sum is er. The k=0 term of the matrix series is I, with ∥I∥=n (the sum of the absolute values of the n ones).
So ∑Mk/k! converges and ∥eM∥≤n−1+e∥M∥. ■
The previous theorem on absolutely convergent matrix series, with Mk=k!Mk.The worksheet states the bound as e to the norm. That is false for n at least 2: for M = 0 the left side is the norm of I, which is n, and the right side is 1.
Watch out· e to the power of a matrix is not the matrix of exponentials of entries
etA is NOT the matrix [etaij]. For A=[01−10] the entrywise exponentials would have entries e0=1 and e±t, while the true etA is the rotation matrix with entries cost and ±sint. The only case where the two agree is a diagonal matrix, and then only on the diagonal.
Theorem TTechnau, April 17 (Proposition 8.4); MATH 376 worksheet 24 #4; Apostol 7.6
The derivative of e^(tA)
For every square matrix A and all real t: dtdetA=AetA=etAA, where the derivative of a matrix is taken entry by entry.
In one linedtdetA=AetA=etAA.
Why it is trueEach entry of etA is a power series in t with infinite radius of convergence, so it can be differentiated term by term, and the shifted series is A times the original.
ProofTechnau, April 17
The idea: The (i,j) entry is a power series in t whose coefficients are bounded by those of an exponential series. Differentiate it term by term (1.6), shift the index, and recognise A times the series.
(etA)ij=∑k≥0αktk.
The (i,j) entry of tkAk/k! is αktk with αk=(Ak)ij/k!.
The power series has radius of convergence ∞.
A single entry is at most the norm: ∣αk∣≤k!∥Ak∥≤k!∥A∥k. The comparison test then gives absolute convergence for every t.
So dtd∑kαktk=∑k≥1kαktk−1=∑k≥1(k−1)!(Ak)ijtk−1.
Put m=k−1, and use Am+1=A⋅Am, so that (Am+1)ij=(A⋅Am)ij.
So dtdetA=AetA=etAA.
Also Am+1=Am⋅A, so the same computation gives etAA. ■
Proof workshopRebuild the proof that the derivative of e^(tA) is A e^(tA)Technau, April 17
Tap the lines in the order a proof would write them. Each line can only use what is already above it.
Entry (i,j) of the sum is the sum of the entries (i,j).
A single entry is at most the norm, the norm of a power is at most the power of the norm, and the series ∑rk/k! converges everywhere.
First say what the entry looks like: you need the coefficients αk before you can bound them.
Power series can be differentiated term by term inside the radius of convergence.
This needs the radius to be known (infinite), from the line before.
Shifting the index and splitting off one factor of A from the front.
The derivative has to be written down before you can shift its index.
Theorem TMATH 376 worksheet 24 #5; Apostol 7.8
The law of exponents for one matrix
For every square A and all real s,t: (a) e0A=I; (b) e(s+t)A=esAetA; (c) etAe−tA=I, so (etA)−1=e−tA.
In one linee0A=I, e(s+t)A=esAetA, and etA is invertible with inverse e−tA.
Why it is trueBoth sides of the law solve the same matrix differential equation with the same starting matrix, and the solution is unique.
ProofMATH 376 worksheet 24 #5
The idea: (a) is the series at t = 0. For (b), fix s: the two sides are functions of t satisfying X' = AX with X(0) = e^{sA}, so they are equal by uniqueness (7.1). (c) is (b) with s = -t.
(a) e0A=I.
Every term with k≥1 has a factor 0k=0; the k=0 term is I.
(b) Let F(t)=e(t+s)A. Then F′=AF and F(0)=esA.
The derivative theorem and the chain rule: dtde(t+s)A=Ae(t+s)A.
Let G(t)=etAesA. Then G′=AG and G(0)=esA.
The product rule and the derivative theorem: G′=AetAesA=AG, and G(0)=IesA.
So F=G for all t.
Each column of F and of G solves the vector IVP x′=Ax with the same starting vector. Linear systems have exactly one solution for each starting vector (7.1).
(c) etAe−tA=e0A=I. ■
Put s=−t in (b) and use (a).
Theorem TTechnau, April 17 (Theorem 8.6); Apostol 7.9
Solution of the linear system
Let A be an n×n constant matrix, b∈Rn and a∈R. Then x(t)=e(t−a)Ab is the unique solution of x′=Ax, x(a)=b on R.
In one lineThe IVP x′=Ax, x(a)=b has the unique solution x(t)=e(t−a)Ab, defined for all real t.
Why it is trueThe derivative theorem shows it is a solution, and uniqueness comes from the existence theorem of 7.1.
ProofTechnau, April 17
The idea: Differentiate with the chain rule and evaluate at a. Uniqueness is the linear existence theorem of 7.1.
x′(t)=Ae(t−a)Ab=Ax(t).
Chain rule and the derivative theorem: dtde(t−a)A=Ae(t−a)A.
x(a)=e0Ab=b.
e0A=I.
So it is the only solution.
A linear system with continuous coefficients has exactly one solution for each starting vector (7.1). ■
Theorem TMATH 376 homework 10 #4; Apostol 7.8
e^(A+B) equals e^A e^B when A and B commute
(a) If AB=BA, then et(A+B)=etAetB for all t, in particular eA+B=eAeB. (b) For A=[1000] and B=[0010] one has eAeB=[e0e1] but eA+B=[e0e−11].
In one lineIf AB=BA then eA+B=eAeB. Without AB=BA the equation can fail.
Why it is trueBoth sides, as functions of t in etAetB and et(A+B), solve the same differential equation with the same starting matrix.
ProofMATH 376 homework 10 #4
The idea: (a) Show e^(tA) commutes with B, differentiate the product e^(tA) e^(tB), and use uniqueness. (b) Compute both sides.
BetA=etAB.
AB=BA gives BAk=AkB for every k by induction. Multiplication by B is continuous, so it passes through the convergent sum.
Let F(t)=etAetB. Then F′(t)=AetAetB+etABetB.
Product rule and the derivative theorem: F′=AetAetB+etABetB.
=AF+BetAetB=(A+B)F.
Move B to the left across etA by the first step.
F(0)=I, so F(t)=et(A+B).
et(A+B) solves the same equation X′=(A+B)X with X(0)=I. Uniqueness (7.1) applied to each column.
Now the example.
(b) Ak=A for k≥1 gives eA=I+(e−1)A=diag(e,1). B2=0 gives eB=I+B. The product is diag(e,1)[1011]=[e0e1].
The two products differ in the top-right entry: e against e−1.
A+B=[1010] satisfies (A+B)2=A+B, so (A+B)k=A+B for k≥1 and eA+B=I+(e−1)(A+B)=[e0e−11]. And AB=B=0=BA. ■
Proof workshopRebuild: e^(A+B) = e^A e^B when AB = BAMATH 376 homework 10 #4
Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.
Since AB=BA, B commutes with every Ak and so with etA.
Let F(t)=etAetB. Then F′=AetAetB+etABetB.
F′=AF+BetAetB=(A+B)F.
F(0)=I and et(A+B) solves the same problem, so F(t)=et(A+B).
Quick checkFor which pair of matrices is eA+B=eAeB guaranteed?
Commuting matrices behave like numbers, and the proof above works. For non-commuting ones the equation can fail, as the example with e−1 against e shows. AB=0 does not make A and B commute in general, and the two sides need not be equal.
Corollary TMATH 376 practice final 7(b)
e^A is always invertible
For any square A: eAe−A=e−AeA=I, so eA is invertible with inverse e−A. (Label B: deteA=etrA, hence deteA>0 for a real matrix.)
In one lineFor every square matrix A, eA is invertible and (eA)−1=e−A. Moreover deteA=etrA (a fact beyond the course).
Why it is trueA and −A commute, so eAe−A=e0=I. The determinant formula follows from the triangular form of A.
ProofMATH 376 practice final 7(b); 3.6
The idea: A and -A commute, so the law of exponents applies. For the determinant, use the Schur form A = U T U* and the fact that e^T is triangular with diagonal entries e to the power of the diagonal entries of T.
eAe−A=eA+(−A)=e0=I, and in the other order the same.
A(−A)=(−A)A, so the commuting law applies with B=−A.
So eA is invertible, with inverse e−A.
A square matrix with a two-sided inverse is invertible (2.4).
Let A=UTU∗.
(B) Schur (3.6): A=UTU∗ with T upper triangular and U unitary. Powers conjugate: Ak=UTkU∗, so eA=UeTU∗.
eT is upper triangular with diagonal et11,…,etnn.
Powers of an upper triangular matrix are upper triangular with the diagonal entries raised to the same power, so the diagonal of eT has entries ∑ktiik/k!=etii.
deteA=∏etii=e∑tii=etrA.
The determinant of a triangular matrix is the product of its diagonal (2.7); the product rule for determinants kills U and U∗; the diagonal of T is the eigenvalues, which add up to the trace. ■
Computing e^(tA)
The series is a definition, not a method. We want closed forms. Five cases, in the order you should try them.
Fact TTechnau, April 20 (Lemma 8.8); MATH 376 worksheet 25 #1
The exponential of a diagonal matrix
If D=diag(d1,…,dn) then Dk=diag(d1k,…,dnk) and etD=diag(ed1t,…,ednt). The system x′=Dx is n separate equations xi′=dixi, with solutions xi=ciedit.
In one lineetdiag(d1,…,dn)=diag(ed1t,…,ednt).
Why it is truePowers of a diagonal matrix are diagonal, entry by entry, so the series splits into n ordinary exponential series.
Theorem TTechnau, April 20 (Lemma 8.9); MATH 376 worksheet 25 #2; Apostol 7.10
Exponential of a diagonalizable matrix
Let A=CDC−1 with C invertible and D=diag(λ1,…,λn). Then etA=Cdiag(eλ1t,…,eλnt)C−1. The columns of C are eigenvectors of A with eigenvalues λ1,…,λn (in the same order).
In one lineIf A=CDC−1 with D diagonal, then etA=CetDC−1.
Why it is truePowers of A are CDkC−1, and C and C−1 factor out of the whole series.
ProofTechnau, April 20
The idea: Powers: A^k = C D^k C^(-1). Sum the series and pull C out of the sum.
Ak=CDkC−1.
Middle factors C−1C=I cancel (the quiz of this chapter).
etA=∑kk!tkCDkC−1=C(∑kk!tkDk)C−1.
Multiplication by the fixed matrices C and C−1 is continuous and linear, so it passes through a convergent series.
=CetDC−1. ■
The diagonal case.
Worked example MATH 376 worksheet 25 #4
Compute e^(tA) and the solution with x(0) = (1, 0) for A = [[3, 1], [1, 3]].
Solution. Use the stepper to follow the six moves.
Answer.etA=21[e4t+e2te4t−e2te4t−e2te4t+e2t] and x(t)=21(e4t+e2t,e4t−e2t).
Worked example MATH 376 worksheet 25 #5; homework 10 #3
A triangular matrix and a diagonal one: A = [[5, 2], [0, 1]] with x(0) = (a, b); and A = diag(1, 2, ..., n) with y(0) = (1, 2, ..., n).
Solution.
Eigenvalues of the triangular matrix. They are the diagonal entries 5 and 1. The characteristic polynomial of a triangular matrix is the product of the λ−aii.
Eigenvectors. For 5: A−5I=[002−4] forces the second coordinate 0, so v1=(1,0). For 1: A−I=[4020] gives 2x+y=0, so v2=(1,−2). Eigenvalues on the diagonal, but the eigenvectors still have to be computed.
Assemble.C=[101−2], C−1=[1021−21], so etA=[e5t0et−2et][1021−21]=[e5t02e5t−etet]. Multiply CetD by C−1.
The solution.x(t)=(ae5t+b2e5t−et,bet). Apply to (a,b).
The diagonal matrix.diag(1,…,n) gives yi′=iyi, yi(0)=i, so yi=ieit and y(t)=(et,2e2t,…,nent). Decoupled equations; no matrix to invert.
Answer.x(t)=(ae5t+b2e5t−et,bet) and yi(t)=ieit.
When the eigenvalues are complex, the formula still holds over C, and the imaginary parts cancel in the end. There are two shortcuts that avoid complex arithmetic altogether.
For real a,b: et(aI+bJ)=eat(cosbtI+sinbtJ)=eat[cosbtsinbt−sinbtcosbt]. The eigenvalues of the block are a±ib.
In one lineFor A=[ab−ba]=aI+bJ with J=[01−10]: etA=eat[cosbtsinbt−sinbtcosbt].
Why it is trueaI commutes with bJ, so the exponential splits as eat times ebtJ; and J2=−I turns the series into cosine and sine.
ProofMATH 376 worksheet 26 #3
The idea: Split off the scalar part with the law of exponents. Then J squared is minus the identity, so even powers give cosine and odd powers give sine.
et(aI+bJ)=eatIebtJ=eatebtJ.
aI commutes with every matrix, so the commuting law applies.
J2=−I.
Direct multiplication: J2=[−100−1]. So J2m=(−1)mI and J2m+1=(−1)mJ.
Even powers of btJ give multiples of I, odd powers multiples of J; the coefficients are the series of cosine and sine.
For a=0, b=1 this says that etJ is the rotation by the angle t: the solution of x′=Jx is a point going round the origin at unit speed, which is the picture’s “centre”. Technau’s April 22 example gets the same matrix by diagonalizing over C: J has eigenvalues ±i and eigenvectors (1,∓i), and the product Cdiag(eit,e−it)C−1 simplifies by Euler’s formula to the rotation. So the answer is real although the working is complex.
Recognise the block.A=[12−21] has the form aI+bJ with a=1, b=2. Diagonal entries equal, off-diagonal entries opposite.
Write etA.etA=et[cos2tsin2t−sin2tcos2t]. The block theorem.
Apply to (3,−1).x(t)=et(3cos2t+sin2t,3sin2t−cos2t). First coordinate 3cos2t−(−1)sin2t; second 3sin2t+(−1)cos2t.
Check. At t=0 this is (3,−1). Starting value.
Answer.x(t)=et(3cos2t+sin2t,3sin2t−cos2t): a spiral growing like et.
Not every real matrix with complex eigenvalues is of the block form, but every 2×2 one satisfies a short formula, thanks to the Cayley–Hamilton theorem. This is what the final’s Problem 5(b) needed.
Theorem AApostol 7.13 (formulas 7.33 to 7.35); MATH 376 final 5(b)
Exponential of a 2 by 2 matrix
Let A be a 2×2 matrix with eigenvalues λ,μ (repeated if the characteristic polynomial has a double root). Then the three formulas above hold. In the third, a,b are real and b=0 whenever A is real with complex eigenvalues. Equivalently in the complex case: (A−aI)2=−b2I.
In one lineFor a 2×2 matrix with eigenvalues λ,μ: if λ=μ, etA=eλt(I+t(A−λI)); if λ=μ, etA=eλtI+λ−μeλt−eμt(A−λI); if λ,μ=a±ib, etA=eat(cosbtI+bsinbt(A−aI)).
Why it is trueBy Cayley–Hamilton (A−λI)(A−μI)=O, so every power of A is a combination of I and A−λI, and so is the whole series. The coefficients are found from a first-order system.
ProofApostol 7.13
The idea: This is Putzer's theorem for n = 2, proved in general below. Here we give the complex case directly from (A - aI)^2 = -b^2 I.
(A−aI)2+b2I=O, that is, (A−aI)2=−b2I.
The characteristic polynomial of A is (t−a)2+b2 (roots a±ib). By the Cayley–Hamilton theorem (3.6), A satisfies it.
Put N=A−aI. Then etA=eatetN with N2=−b2I.
aI commutes with A−aI, so etA=eatet(A−aI) by the commuting law.
etN=cosbtI+bsinbtN.
N2m=(−b2)mI and N2m+1=(−b2)mN. Even powers give cosine, odd powers give b1 times sine, exactly as in the block theorem.
So etA=eat(cosbtI+bsinbt(A−aI)).
Substitute back. The other two cases are the general Putzer formulas with n=2 (below). ■
Worked example MATH 376 final 5(b)
MATH 376 final 5(b): solve y1' = y1 + 2y2, y2' = −2y1 + 3y2, and give the real general solution.
Solution.
Write the matrix.A=[1−223] and y′=Ay. This is as far as you got on the exam, and it earned 1 of 4.
Plan, in case time runs out. Eigenvalues come from λ2−4λ+7, so λ=2±i3, and the real solutions are combinations of e2tcos3t and e2tsin3t. The exam cover says that a plan, written in notation, earns partial credit. This line alone would have earned more than the matrix did.
Find the characteristic polynomial. Trace =4, determinant =1⋅3−2⋅(−2)=7, so λ2−4λ+7=0 and λ=24±16−28=2±i3. Trace and determinant give the 2×2 polynomial at once (2.8).
Use the shortcut. With a=2, b=3: A−2I=[−1−221], and (A−2I)2=[1−42−2−2+2−4+1]=−3I. This confirms (A−aI)2=−b2I with b2=3.
Write the exponential.etA=e2t(cos3tI+3sin3t(A−2I))=e2t[cos3t−3sin3t−32sin3t32sin3tcos3t+3sin3t]. Substitute A−2I into the formula.
Apply to (c1,c2) with real constants.y1=e2t[c1cos3t+32c2−c1sin3t] and y2=e2t[c2cos3t+3c2−2c1sin3t]. The problem asks for real-valued solutions, and c1=y1(0), c2=y2(0) are real.
Check.y1′(0)=2c1+(2c2−c1)=c1+2c2, which equals y1(0)+2y2(0). The first equation of the system at t=0.
Answer. The general real solution is the pair y1,y2 above. The point spirals outward (growth rate e2t, angular speed 3), as in the last preset of the picture.
Your answerIn the solution of final 5(b) with c1=1, c2=0: y1(t)=e2t[cos3t−31sin3t]. What is y1(π/3)? (One decimal.)
3t=π there. What are the cosine and sine of π?
At t=π/3 we have 3t=π, so cosπ=−1 and sinπ=0. Hence y1=−e2π/3=−e3.6276=−37.62.
The (A−aI)2=−b2I shortcut is only for 2×2 matrices. For a complex eigenvalue of a matrix of any size there is a second route that never leaves real numbers: take the real and imaginary parts of one complex solution.
Theorem TTechnau, April 22; MATH 376 course notes (real and imaginary parts); Apostol 7.10
Real and imaginary parts of a complex solution
Let A be a real n×n matrix and Av=λv with λ=a+ib, b=0, v=u+iw (u,w∈Rn). Then z(t)=eλtv=x1(t)+ix2(t), with x1,x2 real vector functions as above. Both solve x′=Ax, and they are linearly independent. The same holds for the conjugate eigenvalue λˉ and gives nothing new. Together with the solutions from the other eigenvalues they give n independent real solutions.
In one lineIf A is real and Av=λv with λ=a+ib, b=0, and v=u+iw with u,w real vectors, then x1=eat(cosbtu−sinbtw) and x2=eat(sinbtu+cosbtw) are two independent real solutions of x′=Ax.
Why it is trueThe solution z=eλtv is complex, but A is real, so the real part and the imaginary part of the equation z′=Az are two separate real equations. Each part is a real solution.
Proofcourse notes (real and imaginary parts)
The idea: Write the complex solution as real part plus i times imaginary part, and compare real and imaginary parts of z' = Az using that A is real. Independence comes from the starting vectors u and w.
Euler's formula: eλt=eat(cosbt+isinbt). Multiply out with v=u+iw and use i2=−1.
z=eλtv satisfies z′=Az.
The eigenvector theorem above holds for complex λ and v.
So x1′=Ax1 and x2′=Ax2.
z′=x1′+ix2′ and, because A has real entries, Az=Ax1+iAx2 with Ax1,Ax2 real. Two complex vectors are equal exactly when their real parts and their imaginary parts are equal.
If αx1+βx2=O for all t, then at t=0 we get αu+βw=O, so α=β=0. The solutions are independent. ■
At t=0: x1(0)=u and x2(0)=w. The vectors v and vˉ are eigenvectors for the different eigenvalues λ=λˉ, so they are independent over C (2.8). Now u=21(v+vˉ) and w=2i1(v−vˉ) are obtained from v,vˉ by an invertible change, so u,w are independent too.
Worked example MATH 376 final 5(b), course notes
MATH 376 final 5(b) a third way: real and imaginary parts of e^(λt)v for A = [[1, 2], [−2, 3]].
Solution.
Eigenvalue.λ=2+i3, from λ2−4λ+7=0. Trace 4, determinant 7 as before.
Eigenvector.(A−λI)v=O has first row (−1−i3)v1+2v2=0. Take v1=2 and v2=1+i3. Check the second row: −2⋅2+(1−i3)(1+i3)=−4+1+3=0.
Split v.v=u+iw with u=(2,1) and w=(0,3). u is the real part of v and w the imaginary part.
Write the two real solutions.x1=e2t(cos3tu−sin3tw)=e2t(2cos3t,cos3t−3sin3t) and x2=e2t(sin3tu+cos3tw)=e2t(2sin3t,sin3t+3cos3t). The theorem, with a=2, b=3.
General real solution.x=k1x1+k2x2 with real k1,k2. Two independent solutions of a system in the plane are a basis of the solution space.
Match the starting vector.x(0)=(2k1,k1+3k2)=(c1,c2) gives k1=2c1 and k2=232c2−c1. Then y1=e2t[c1cos3t+32c2−c1sin3t]. This is the first coordinate found before with etA. The second coordinate matches too.
Answer. The same general real solution as before, now found without a matrix exponential. For a matrix with complex eigenvalues of size 3×3 or more this is the route to use.
Quick checkA real 2×2 matrix has the eigenvalue 1+2i with eigenvector v=(1,i). Which is a real solution of x′=Ax?
e(1+2i)t(1,i)=et(cos2t+isin2t)(1,i)=et(cos2t+isin2t,−sin2t+icos2t). The real part is et(cos2t,−sin2t) and the imaginary part is et(sin2t,cos2t). The exponent uses the real part 1 of the eigenvalue and the frequency is the imaginary part 2, which rules out the third option.
Next, the matrices that cannot be diagonalized (such a matrix is called defective). (A matrix can be diagonalized exactly when, for every eigenvalue, the number of independent eigenvectors equals the multiplicity of the eigenvalue as a root of the characteristic polynomial: 2.8.)
Definition T
Nilpotent matrix
A square matrix N is nilpotent if Nk=O for some positive integer k. Example: N=[0010] has N2=O.
In one lineA square matrix N with Nk=O for some k.
Why it existsThe exponential series of a nilpotent matrix stops after k terms, so it is a polynomial in t. Every defective matrix is a scalar matrix plus a nilpotent one on each Jordan block.
Let A=λI+N with Nk=O. Then etA=eλt∑j=0k−1j!tjNj. In particular, for N2=O: etA=eλt(I+tN).
In one lineIf A=λI+N with Nk=O, then etA=eλt(I+tN+2!t2N2+⋯+(k−1)!tk−1Nk−1).
Why it is trueλI commutes with N, so the exponential splits, and the series of etN ends at Nk−1.
ProofMATH 376 worksheet 24 #6(b)
The idea: Law of exponents for the commuting pair λI and N, and the series of e^(tN) is a finite sum.
etA=eλtetN.
λI commutes with N, so et(λI+N)=etλIetN.
etN=∑j<kj!tjNj.
Nj=O for j≥k, so all later terms of the series are zero. ■
Worked example MATH 376 worksheet 24 #6(b), worksheet 28 #5; new
Defective matrices: A = [[1, 1], [0, 1]]; x' = [[2, 1], [0, 2]]x with x(0) = (1, 1); and A = [[3, 1], [−1, 1]].
Solution.
Split the first matrix.A=I+N with N=[0010] and N2=O. The only eigenvalue is 1, doubled, with a single eigendirection, so A cannot be diagonalized.
Apply the theorem.etA=et(I+tN)=et[10t1]. This is the shear of 2.8, now with a growing factor.
Second system.[2012]=2I+N, so etA=e2t[10t1] and x(t)=e2t[1+t1]. Apply to (1,1): first coordinate 1⋅1+t⋅1.
Check.x2′=2x2 since x2=e2t. And x1′=(3+2t)e2t=2x1+x2=2(1+t)e2t+e2t. Both equations of the system hold.
The third matrix needs no eigenvectors. The trace is 4 and the determinant is 3+1=4, so the characteristic polynomial is (λ−2)2. Then A−2I=[1−11−1] and (A−2I)2=O (by Cayley–Hamilton, or by multiplying). So etA=e2t(I+t(A−2I))=e2t[1+t−tt1−t]. For a 2×2 matrix with a double eigenvalue λ, A−λI is nilpotent, so this works without computing a Jordan basis.
Your answerFor x′=[2012]x, x(0)=(1,1), the solution is x(t)=e2t(1+t,1). What is the first coordinate at t=1? (Three decimals.)
Put t=1 in e2t(1+t).
x1(1)=e2(1+1)=2e2=2×7.389=14.778.
For larger matrices the general statement is the Jordan form. If A=CJC−1 (3.6) then, exactly as in the diagonalizable theorem, etA=CetJC−1, and etJ is computed block by block: for a Jordan block Jk(λ)=λI+N with N the matrix with ones directly above the diagonal, Nk=O and the nilpotent theorem applies. For example,
et[200120012]=e2t100t102t2t1.
This is the matrix reason why a root of multiplicity m in 7.2 gives ert,tert,…,tm−1ert: a Jordan block of size m has Nm=O and etN contains the powers up to tm−1.
Theorem AApostol 7.13 (Theorem 7.9); Putzer 1966
Putzer's method
Let A be n×n with eigenvalues λ1,…,λn (in any order, repeated according to multiplicity). Define P0=I and Pk=∏m=1k(A−λmI). Let r1,…,rn be the functions determined by the triangular system r1′=λ1r1, r1(0)=1; rk+1′=λk+1rk+1+rk, rk+1(0)=0 (1≤k<n). Then etA=r1(t)P0+r2(t)P1+⋯+rn(t)Pn−1.
In one lineWith eigenvalues λ1,…,λn listed with multiplicity and P0=I, Pk=(A−λ1I)⋯(A−λkI), one has etA=∑k=0n−1rk+1(t)Pk, where r1′=λ1r1, r1(0)=1 and rk+1′=λk+1rk+1+rk, rk+1(0)=0.
Why it is trueThe right-hand side F(t) satisfies F′=AF and F(0)=I thanks to the Cayley–Hamilton theorem, so it equals etA by uniqueness. No eigenvectors and no Jordan form are needed.
ProofApostol 7.13
The idea: Define F as the right-hand side. Show F' = AF using the recursion for the r_k and the relation P_{k+1} = (A - λ_{k+1}I)P_k, with Cayley–Hamilton killing the last term. F(0) = I, so F = e^(tA) by uniqueness.
Let F(t)=∑k=0n−1rk+1(t)Pk. Then F(0)=I.
At t=0 only r1 is non-zero: r1(0)=1, rk(0)=0 for k>1, and P0=I.
F′=∑k=0n−1(λk+1rk+1+rk)Pk.
The recursion, with the convention r0=0.
F′−λnF=∑k=0n−2rk+1[(λk+1−λn)Pk+Pk+1].
Subtract λnF. The k=n−1 term of ∑(λk+1−λn)rk+1Pk is zero, and the sum ∑krkPk is re-indexed by k→k+1.
Pk+1=(A−λk+1I)Pk, so the bracket is (A−λk+1I+λk+1I−λnI)Pk=(A−λnI)Pk.
F′−λnF=(A−λnI)F−rnPn=(A−λnI)F.
(A−λnI)Pn−1=Pn=pA(A), where pA is the characteristic polynomial, and pA(A)=O by the Cayley–Hamilton theorem (3.6).
So F′=AF.
Cancel λnF on both sides.
So F(t)=etA.
etA solves the same IVP X′=AX, X(0)=I, and the solution is unique (7.1). ■
Worked example Apostol 7.13, Examples 1 and 2; MATH 376 worksheet 25 #5
Putzer's method for [[5, 2], [0, 1]], and the general repeated case.
Solution.
Eigenvalues, in any order.λ1=5, λ2=1. Triangular matrix: the diagonal.
The matrices Pk.P0=I and P1=A−5I=[002−4]. Pk is the product of the first k factors (A−λmI).
Solve the system for r1,r2.r1′=5r1, r1(0)=1 gives r1=e5t. Then r2′=r2+e5t, r2(0)=0 gives r2=4e5t−et. Solve in order: each equation uses the previous r. Check: r2′=45e5t−et and r2+e5t=4e5t−et+4e5t.
Assemble.etA=e5tI+4e5t−et[002−4]=[e5t02e5t−etet]. The same matrix as by diagonalization in the previous example.
The general formulas for n=2. If λ1=λ2=λ the system is r1′=λr1, r2′=λr2+r1 with solutions r1=eλt, r2=teλt, so etA=eλtI+teλt(A−λI). For λ1=λ=μ=λ2 we get r2=λ−μeλt−eμt. These are the formulas of the 2×2 theorem; with λ=a+ib, μ=a−ib they give the cos and sin form.
Answer.etA=[e5t02e5t−etet].
Why· Which method for which matrix
Look at A and ask, in this order. (1) Diagonal?etA=diag(edit). (2) Scalar plus nilpotent, such as [2012] or any 2×2 with a double eigenvalue? eλt(I+tN+⋯). (3) A 2×2 with complex eigenvalues a±ib? eat(cosbtI+bsinbt(A−aI)), real from the start. (4) Distinct real eigenvalues, any size: diagonalize, CetDC−1, or Putzer. (5) Anything else: Jordan form or Putzer. Always end by checking e0A=I and one entry of the differential equation. For a problem that only asks for the SOLUTION with a given starting vector, the eigenvalue method (x=∑cjeλjtvj) avoids computing C−1.
Inhomogeneous systems
Theorem TTechnau, April 20 (Theorem 8.7); MATH 376 worksheet 26 #1; Apostol 7.16
Variation of constants for systems
Let A be constant and g continuous on an interval J∋a. The IVP x′=Ax+g, x(a)=b has exactly one solution on J:
x(t)=e(t−a)Ab+∫ate(t−s)Ag(s)ds.
In one lineThe IVP x′=Ax+g(t), x(a)=b has the unique solution x(t)=e(t−a)Ab+∫ate(t−s)Ag(s)ds.
Why it is trueSet x=etAu and let the constant vector u vary. Then etAu′=g, and u′=e−tAg is integrated at once. The matrix etA plays the role of the whole homogeneous basis.
ProofMATH 376 worksheet 26 #1
The idea: Make the ansatz x = e^(tA) u(t), derive u' = e^(-tA) g, integrate, and use the law of exponents to combine. Uniqueness is 7.1.
Put x(t)=etAu(t).
This is Lagrange's idea of 7.3 for systems: the homogeneous solution etAc with c replaced by a function u(t).
x′=AetAu+etAu′=Ax+etAu′.
Product rule and the derivative theorem.
So etAu′=g, and u′=e−tAg.
Compare with the equation x′=Ax+g.
u(t)=e−aAb+∫ate−sAg(s)ds.
Integrate from a to t, with u(a)=e−aAb so that x(a)=b.
x(t)=e(t−a)Ab+∫ate(t−s)Ag(s)ds.
Multiply by etA and use the law of exponents etAe−aA=e(t−a)A and etAe−sA=e(t−s)A. ■
Worked example MATH 376 worksheet 26 #2
Solve x1' = 2x1 + e^t, x2' = −x2 + t with x(0) = (1, 2).
Solution.
Write A, g.A=diag(2,−1), g(s)=(es,s). The equations are decoupled, but the formula works the same way for any A.
Compute etA.etA=diag(e2t,e−t). Diagonal.
The homogeneous part.etAx(0)=(e2t,2e−t). Do not forget this term.
The integrand.e(t−s)Ag(s)=(e2(t−s)es,e−(t−s)s)=(e2t−s,ses−t). Replace t by t−s in etA and multiply by g(s). The variable of integration is s.
Integrate each coordinate in s from 0 to t. First: e2t∫0te−sds=e2t(1−e−t)=e2t−et. Second: e−t∫0tsesds=e−t(tet−et+1)=t−1+e−t. The second uses integration by parts: ∫sesds=ses−es.
Add.x1=e2t+e2t−et=2e2t−et and x2=2e−t+t−1+e−t=t−1+3e−t. Homogeneous part plus the integral.
Check.x(0)=(2−1,−1+3)=(1,2). And x1′=4e2t−et=2x1+et; x2′=1−3e−t=−x2+t. Starting value and both equations.
Answer.x(t)=(2e2t−et,t−1+3e−t).
The scalar variation of parameters of 7.3 is this formula in disguise: for y′′+a1y′+a0y=R the system has g=(0,R), the matrix e(t−s)A has the top-right entry G(t,s) (the Green’s function), and the first coordinate of the formula is yp(t)=∫atG(t,s)R(s)ds.
Power series and the Neumann series
A third way to solve y′=ry is to assume a power series and match coefficients. It is the method of Technau’s April 22 lecture and worksheet 26.
Worked example Technau, April 22 (Example 8.12); MATH 376 worksheets 26 #5, #6 and 28 #7
Power series: y' = ry; y'' − xy' − y = 0 with y(0) = 1, y'(0) = 0; y'' + y = 0 with y(0) = 0, y'(0) = 1.
Solution.
Assume a series. For y′=ry put y=∑k≥0αktk. Then y′=∑k≥0(k+1)αk+1tk. Differentiate term by term inside the radius of convergence (1.6) and shift the index so that every sum shows tk.
Match coefficients.(k+1)αk+1=rαk, so αk=k!rkα0, and y=α0ert. Two power series are equal when their coefficients agree. Induction on the recurrence.
Second problem: series. Put y=∑anxn. Then y′′=∑(n+2)(n+1)an+2xn and xy′=∑n≥1nanxn. Every sum is written with xn.
Recurrence. The x0 coefficient: 2a2−a0=0. For n≥1: (n+2)(n+1)an+2−nan−an=0, so an+2=n+2an, which also covers n=0. Divide by n+1=0.
Starting values.a0=y(0)=1, a1=y′(0)=0. All odd coefficients are 0, and a2=21, a4=81, a6=481; in general a2m=2mm!1. a2m=a2m−2/(2m).
Sum.y=∑mm!(x2/2)m=ex2/2. Check: y′=xy, y′′=y+xy′=y+x2y, so y′′−xy′−y=y+x2y−x2y−y=0.
Third problem.an+2=−(n+2)(n+1)an with a0=0, a1=1 gives a2m+1=(2m+1)!(−1)m, so y=sint. The series of sine, recovered from the equation.
Answer.α0ert; ex2/2; sint.
Theorem TMATH 376 practice final 7(f); Technau, April 15
The Neumann series
Let A be a square matrix with ∥A∥=∑i,j∣aij∣<1. Then I−A is invertible and (I−A)−1=I+A+A2+⋯.
In one lineIf ∥A∥<1 for the matrix norm of this chapter, then I−A is invertible and (I−A)−1=∑k≥0Ak.
Why it is trueThe geometric series of matrices converges because ∥Ak∥≤∥A∥k is a geometric series of numbers, and the telescoping sum shows the sum is the inverse.
ProofMATH 376 practice final 7(f)
The idea: Absolute convergence of the matrix geometric series by submultiplicativity, then multiply by I - A and telescope.
∑k∥Ak∥<∞.
Submultiplicativity: ∥Ak∥≤∥A∥k. The geometric series ∑∥A∥k converges since ∥A∥<1 (1.6).
So S=∑k≥0Ak exists.
Absolutely convergent matrix series converge (this chapter).
(I−A)S=limN(I−AN+1)=I.
Multiplication by I−A is continuous and linear, so it passes through the series. The terms telescope: ∑k≤NAk−∑k≤NAk+1=I−AN+1, and ∥AN+1∥≤∥A∥N+1→0.
Likewise S(I−A)=I, so S=(I−A)−1.
The same computation with S on the left: A commutes with S. A matrix with a two-sided inverse is invertible. ■
This is the matrix version of the geometric series, and the reason that the iteration x↦Ax+b of 4.2 converges to (I−A)−1b when ∥A∥<1: the iterates are b+Ab+A2b+⋯.
Phase portraits: a first look
We now explain the picture. Everything follows from the formulas for etA.
Theorem Bstandard; preview of 7.6
Classification of planar linear systems
Let A be a real 2×2 matrix with trace τ and determinant Δ=0; its eigenvalues are the roots of λ2−τλ+Δ. (a) Δ<0: two real eigenvalues of opposite signs, a saddle. (b) Δ>0 and τ2−4Δ>0: two real eigenvalues of the same sign, a node, stable if τ<0 (everything tends to O) and unstable if τ>0. (c) Δ>0 and τ2−4Δ<0: complex eigenvalues a±ib with a=τ/2, a spiral, stable if τ<0, unstable if τ>0; if τ=0 the orbits are closed curves, a centre. (d) τ2=4Δ: a repeated eigenvalue, a degenerate node (straight-line orbits if A is a multiple of I, bent curves round the one eigendirection if not). Every solution tends to O as t→∞ if and only if both eigenvalues have negative real part, that is τ<0<Δ.
In one lineFor a real 2×2 matrix with trace τ and determinant Δ=0: Δ<0 is a saddle; Δ>0, τ2>4Δ is a node; Δ>0, τ2<4Δ, τ=0 is a spiral; τ=0<Δ is a centre. The origin attracts everything exactly when τ<0<Δ.
Why it is trueThe eigenvalues are the roots of λ2−τλ+Δ. Their signs and whether they are real decide the solutions c1eλ1tv1+c2eλ2tv2 or eat times a rotation.
Proofstandard
The idea: Read the answer off the formulas for e^(tA) in each case.
(a) The product of the eigenvalues is Δ; negative means opposite signs.
Real distinct eigenvalues: x=c1eλ1tv1+c2eλ2tv2 by the eigenvector theorem. If λ1>0>λ2 the v1-part grows and the v2-part decays: orbits approach the v2 line and then run off along v1, a saddle. Their product is Δ, so (a) is Δ<0.
(b) Same sign: all orbits tend to O (or all run off), according to the sign of τ.
Both eλit tend to 0 if both λi<0, and both blow up if both are positive. The sum is τ.
(c) Complex eigenvalues: orbits wind around O while their distance changes by eat.
By the 2×2 theorem etA=eat(cosbtI+bsinbt(A−aI)): a bounded oscillating factor times eat. The factor eat shrinks or grows according to the sign of a=τ/2; a=0 gives a periodic motion.
(d) Repeated eigenvalue: the nilpotent theorem.
A repeated eigenvalue gives eλt(I+tN) with N2=O; the decay or growth is that of eλt with λ=τ/2, and the term tN bends the orbits when N=O.
So all orbits tend to O exactly when τ<0<Δ.
In (b), (c), (d) the long-term behaviour is governed by Reλ, and τ=λ1+λ2, Δ=λ1λ2. For real roots, both negative is τ<0<Δ; for complex roots the real part τ/2<0 with Δ>0. ■
Worked example MATH 376 final 5(b), worksheets 24 to 26 and 28; new
Compute τ, Δ and τ2−4Δ for each. The table below lists them. Trace and determinant are the only inputs.
Matrix
τ
Δ
τ2−4Δ
Eigenvalues
Type
[122−1]
0
−5
20
±5
saddle
[1−223]
4
7
−12
2±i3
unstable spiral
[3113]
6
8
4
4,2
unstable node
[5021]
6
5
16
5,1
unstable node
[2012]
4
4
0
2,2
unstable degenerate node
[01−10]
0
1
−4
±i
centre
[−301−1]
−4
3
4
−3,−1
stable node
Apply the classification. The determinant sign separates the saddle; the discriminant τ2−4Δ separates node from spiral; the sign of τ separates stable from unstable. Each row is a single read-off.
Answer. As in the last column. Only the last matrix has all solutions tending to O. The final’s 5(b) matrix (row 2) spirals outward, with growth rate e2t since the real part of the eigenvalues is τ/2=2.
Quick checkA 2×2 real matrix has trace −2 and determinant 5. What do the solutions of x′=Ax do?
τ2−4Δ=4−20=−16<0, so the eigenvalues are complex: λ=2−2±4i=−1±2i. The real part is −1<0, so the orbits decay, and the imaginary part makes them turn.
Quick checkTwo different solutions of x′=Ax pass through the same point of the plane at different times. What follows?
At the common point both solutions are solutions of the IVP with the same starting point at their own times; by the autonomous time-shift argument of 7.1 (stretch problem) they are the same curve, traversed with a delay. Orbits of x′=Ax never cross.
Python labComputing e^(tA) two ways
import numpy as npdef expm_series(A, t, terms): # e^(tA) = I + tA + (tA)^2/2! + ... (each new term = previous term times tA / k) S, term = np.eye(len(A)), np.eye(len(A)) for k in range(1, terms): term = term @ (t * A) / k S = S + term return Sdef expm_eig(A, t): # e^(tA) = C e^(tD) C^(-1), valid when A has n independent eigenvectors lam, C = np.linalg.eig(A.astype(complex)) return (C @ np.diag(np.exp(lam * t)) @ np.linalg.inv(C)).realA = np.array([[1.0, 2.0], [-2.0, 3.0]]) # final 5(b): eigenvalues 2 +- i sqrt(3)t = 1.0ref = expm_eig(A, t)print("series terms largest entry error vs eigen method")for n in [2, 4, 8, 12, 16, 20, 25]: print(f"{n:6d} {np.max(np.abs(expm_series(A, t, n) - ref)):.2e}")# the same code on a matrix that cannot be diagonalizedS = np.array([[1.0, 1.0], [0.0, 1.0]]) # a shear: e^(tS) = e^t [[1, t], [0, 1]]exact = np.exp(t) * np.array([[1, t], [0, 1]])print("\nshear, series with 25 terms, error:", np.max(np.abs(expm_series(S, t, 25) - exact)))lam, C = np.linalg.eig(S)print("shear, eigenvector matrix C:\n", C, "\n det C =", np.linalg.det(C))print("shear, eigen method error:", np.max(np.abs(expm_eig(S, t) - exact)))
Try this.Run it: the series reaches machine precision (4×10−15) with 25 terms, and the eigen method CetDC−1 gives the same matrix. Both handle the complex eigenvalues of the final's 5(b) matrix. Then the shear [1011], which cannot be diagonalized: the series is still correct (error 4×10−16), but the matrix of eigenvectors C has determinant about 2×10−16 (its two columns are the same direction) and the eigen method returns an answer wrong by 2.72=e. Now put a small number eps in the bottom-left corner, S = np.array([[1.0, 1.0], [eps, 1.0]]): the matrix is diagonalizable again, but its eigenvectors are almost parallel, and for eps equal to 1e-2, 1e-6, 1e-10 the eigen method's error grows from about 10−15 to 10−13 to 10−11 (compared with a 40-term series), while the series stays accurate. A defective matrix is the limit of an ill-conditioned eigenvector basis (chapter 3.5 on conditioning).
Where it is used
Used inside maths· Inside maths: one-parameter groups, rotations and the determinant
The family t↦etA is a one-parameter group: e(s+t)A=esAetA and e0A=I. For A=J it is the group of rotations of the plane, t↦ rotation by the angle t, and the matrix J (the “infinitesimal rotation”) is its derivative at t=0. In general, matrices A with AT=−A exponentiate to orthogonal matrices (3.3): rotations of R3 are eA for a skew-symmetric A, which is how robotics and graphics store orientations. The identity deteA=etrA says that the flow of x′=Ax multiplies areas (volumes) by ettrA, and the Abel formula of 7.3 is its scalar case. A continuous-time Markov chain is p′=Qp with Q a rate matrix (columns summing to 0, off-diagonal entries non-negative): for two states with rates a and b, Q=[−aab−b], the null vector (b,a)/(a+b) is the stationary distribution, and etQ is a stochastic matrix for every t≥0 (2.11).
Used in the real world· Medicine: how a drug leaves the blood (two compartments)
A drug is injected into the blood (compartment 1). It is eliminated at rate 0.5 per hour, passes into tissue (compartment 2) at rate 0.3 per hour, and returns from tissue at rate 0.2 per hour. With x=(x1,x2) the amounts: x1′=−(0.5+0.3)x1+0.2x2, x2′=0.3x1−0.2x2, so A=[−0.80.30.2−0.2] with trace −1 and determinant 0.1. The eigenvalues are −0.887 and −0.113 per hour: a stable node with two time scales. The fast one has half-life ln2/0.887=0.78 hours (the drug spreads from blood to tissue) and the slow one ln2/0.113=6.15 hours (the drug leaves slowly from the tissue). A graph of blood concentration against time on a log scale therefore shows two straight lines, a steep one and then a shallow one: the two-phase decline that doctors observe for many drugs. The matrix exponential etA gives the amounts at any time, and the variation of constants formula handles a drip: with infusion rate g=(g0,0) the amounts settle at the equilibrium −A−1g.
Used in the real world· Epidemiology: why 'R0 above 1' decides an epidemic (linearised SIR)
In the model of Kermack and McKendrick (1927) a population of N is divided into susceptible S, infected I and recovered R: S′=−βSI/N, I′=βSI/N−γI, R′=γI. At the start almost everyone is susceptible, S≈N, so I′≈(β−γ)I: a linear equation with solution I=I0e(β−γ)t. With β=0.3 per day and γ=0.1 per day, the growth rate is 0.2 per day and the number of cases doubles every ln2/0.2=3.47 days. The ratio R0=β/γ=3 is the number of people one case infects. If a fraction p of the population is immune, S≈(1−p)N and the growth rate becomes β(1−p)−γ, which is negative exactly when p>1−R01=32. With p=0.6 the growth rate is still 0.3×0.4−0.1=0.02 per day (slow growth), and above p=32 the epidemic dies out. The sign of one eigenvalue, the number β(1−p)−γ, is the whole question; this is the linearisation at the disease-free state that 7.6 treats in general.
Used in the real world· Machine learning: stability of a linear recurrent layer
A linear recurrent layer with hidden state hk+1=Whk has hk=Wkh0, and the continuous-time version h′=Ah has h(t)=etAh(0). Both fade away exactly when the eigenvalues of W are inside the unit circle (respectively those of A have negative real part). A network with an eigenvalue of W of size 1.1 multiplies the signal by 1.1100≈13780 over a hundred steps, which is the exploding gradient problem; size 0.9 gives 0.9100≈2.7×10−5, the vanishing gradient. The classification of this chapter (spiral if the eigenvalues are complex, node if real) tells you which of the two behaviours you will see.
Traps
Watch out· Write the plan when the computation does not finish
On the 376 final (5(b)) you wrote the matrix A=[1−223] and stopped: no eigenvalues, no exponential, no real solution. The rubric gave 1 of 4. The cover page of every exam says that a method written in notation earns partial credit. One line, ‘eigenvalues 2±i3, so y=e2t(…cos3t+…sin3t)’, would have earned more than the matrix did. The fastest complete route for any 2×2 with complex eigenvalues is the (A−aI)2=−b2I shortcut above.
Watch out· e^(A+B) is not e^A e^B unless A and B commute
Homework 10 #4 gives the explicit counterexample: eAeB=[e0e1] but eA+B=[e0e−11]. Being invertible, or being diagonalizable, does not rescue it: for A=diag(2,1) and B=[1012] (both diagonalizable) one finds eA+B=e3[1011] but eAeB=e3[10e−11]. In every use of the law of exponents ask: do they commute? aI and anything commute; A with itself, with 2A, with A2, with eA, with A−λI commute. That is why et(λI+N)=eλtetN is allowed.
Watch out· Do not exponentiate entry by entry
etA=[etaij]. For A=[0010] the entrywise exponentials would give [11et1] but the true etA=[10t1]. Only diagonal matrices exponentiate entrywise.
Watch out· Order and matching in C e^(tD) C^(-1)
The factor C goes on the left and C−1 on the right. The j-th eigenvalue on the diagonal of D must correspond to the j-th column of C. Check: e0⋅A must come out as I. And C needs n independent eigenvectors; check detC=0, or a defective matrix (such as [2012]) will give nonsense.
Watch out· A defective matrix has polynomial factors as well as exponentials
[1011] has the single eigenvalue 1, but etA=et[10t1] is not etI. The t in the corner comes from the nilpotent part. If a 2×2 matrix has a repeated eigenvalue and is not a multiple of I, use eλt(I+t(A−λI)).
Watch out· Give a real answer when the problem is real
The final asked for ‘general real-valued solutions y1,y2:R→R’. An answer with e(2+i3)t and complex constants is not what was asked. Use the real shortcut, or take real and imaginary parts, and keep c1,c2 real.
Watch out· Variation of constants: e^((t-s)A) inside, integrate in s, and do not forget e^(tA) x(0)
In x(t)=etAx(0)+∫0te(t−s)Ag(s)ds the matrix inside the integral has t−s in its exponent, g is evaluated at s, and t is a constant for the integration. Dropping the first term (homogeneous part) is the commonest slip.
Watch out· This matrix norm is the sum of all absolute values, not the operator norm
Worksheet 24 uses ∥A∥=∑i,j∣aij∣. For A=[13−20] this is 6. It is not the largest singular value and not the largest row or column sum. It is submultiplicative, which is the property the convergence proof needs.
Problems
checkMATH 376 worksheet 24 #1
Compute ∥A∥ for A=[13−20] and for B=[1−11204]. Bound ∥A3∥ using submultiplicativity.
Solution
∥A∥=1+2+3+0=6 and ∥B∥=1+1+0+1+2+4=9. By submultiplicativity ∥A3∥≤63=216. (The true value is ∥A3∥=42, with A2=[−53−2−6] and A3=[−11−1510−6]; the bound is not tight.)
checkMATH 376 worksheet 24 #6(a), worksheet 25 #1
Give etA and the general solution of x′=Ax for A=diag(2,−1).
Solution
etA=diag(e2t,e−t), and with x(0)=(c1,c2): x(t)=(e2tc1,e−tc2). One coordinate grows, the other decays: a saddle.
checkMATH 376 practice final 7(b)
True or false: for every square matrix A, eA is invertible. Give the reason.
Solution
True. A and −A commute, so eAe−A=eA+(−A)=e0=I. Hence (eA)−1=e−A. (Also deteA=etrA=0.)
check
Classify the origin for x′=Ax: (a) A=[−114−1]; (b) A=[0−330]; (c) A=[−200−2].
Solution
(a) τ=−2, Δ=1−4=−3<0: a saddle (eigenvalues −1±2, i.e. 1 and −3). (b) τ=0, Δ=9: a centre (eigenvalues ±3i); orbits are circles traversed clockwise. (c) τ=−4, Δ=4, τ2=4Δ: a stable degenerate node (a star): A=−2I, every orbit is a straight line into O, etA=e−2tI.
useMATH 376 worksheet 25 #4, #5
Solve x′=[3113]x, x(0)=(1,0) by the eigenvalue method, without computing C−1.
Solution
Eigenpairs: 4,(1,1) and 2,(1,−1). Write (1,0)=21(1,1)+21(1,−1). Then x(t)=21e4t(1,1)+21e2t(1,−1)=21(e4t+e2t,e4t−e2t), the same as before. The starting vector’s coordinates in the eigenbasis are all that is needed.
useMATH 376 worksheet 25 #3
Let A=CDC−1 with D diagonal and let x′=Ax, x(0)=x0. Show that y=C−1x satisfies y′=Dy, and use this to find x.
Solution
C−1 is a constant matrix, so it passes through the derivative: y′=C−1x′=C−1Ax=C−1CDC−1x=DC−1x=Dy. In the eigenvector coordinates y the system falls apart into yj′=λjyj, with y(0)=C−1x0. So y(t)=etDC−1x0 and x=Cy=CetDC−1x0, the formula of the diagonalizable theorem. For A=[3113] this is the computation of the stepper above.
usecourse notes on real and imaginary parts
Find two real solutions of x′=[01−10]x by taking real and imaginary parts of eλtv, and check they agree with etJ.
Solution
The eigenvalue λ=i has eigenvector v=(1,−i) (first row: −iv1−v2=0). So u=(1,0), w=(0,−1), a=0, b=1. Then x1=costu−sintw=(cost,sint) and x2=sintu+costw=(sint,−cost). The first is the first column of etJ, the rotation matrix. The second is minus its second column, −(−sint,cost). Both are combinations of the columns of etJ, as they must be.
useMATH 376 worksheet 26 #4; new numbers
Solve x′=[02−20]x with x(0)=(1,1), and describe the orbit.
Solution
A=0I+2J, so etA=[cos2tsin2t−sin2tcos2t] and x(t)=(cos2t−sin2t,sin2t+cos2t). The length of x is constant, 2: the point goes counter-clockwise round the circle of radius 2 with angular speed 2, one lap every π seconds.
useMATH 376 final 5(b) variant
Solve x′=[11−5−3]x with x(0)=(1,0), by the shortcut of this chapter.
Solution
Trace −2, determinant −3+5=2, so λ2+2λ+2=0 and λ=−1±i: a=−1, b=1. A+I=[21−5−2] and (A+I)2=[4−52−2−10+10−5+4]=−I. So etA=e−t(costI+sint(A+I)) and x(0)=(1,0) gives x(t)=e−t(cost+2sint,sint). A stable spiral.
useMATH 376 worksheet 26 #1, #2 style
Solve x′=[−100−2]x+[1e−2t] with x(0)=(0,0).
Solution
e(t−s)A=diag(e−(t−s),e−2(t−s)). x1=∫0te−(t−s)⋅1ds=e−t(et−1)=1−e−t. x2=∫0te−2(t−s)e−2sds=e−2t∫0t1ds=te−2t. (The forcing in the second coordinate is at the natural rate e−2t: resonance, hence the factor t.) Check: x2′=e−2t−2te−2t=−2x2+e−2t.
proveMATH 376 worksheet 24 #2
Prove: if ∑k∥Mk∥ converges, then ∑kMk converges in the space of n×n matrices.
Solution
Plan. Show the partial sums are Cauchy, then use completeness.
∥Sm−Sn∥≤∑k=n+1m∥Mk∥, which is as small as we like for large n because the tails of the convergent number series go to 0. So (SN) is Cauchy in Rn2, which is complete (4.2). Hence SN converges. ■
proveMATH 376 worksheet 24 #5, homework 10 #4
Prove that e(s+t)A=esAetA using only the series (not the uniqueness theorem).
Solution
Plan. Multiply the two absolutely convergent series and group by total degree; the binomial theorem applies because sA and tA commute.
esAetA=∑p,q≥0p!q!sptqAp+q (a Cauchy product of two absolutely convergent series, justified as in 1.6 applied entrywise). Group by m=p+q: ∑mm!Am∑p=0m(pm)sptm−p=∑mm!(s+t)mAm=e(s+t)A. The binomial theorem (s+t)m=∑(pm)sptm−p is for numbers, so no commutativity of matrices is needed here: all the matrices are powers of the SAME A. ■
proveMATH 376 worksheet 25 #2, #6
Prove that if A=CDC−1 then Ak=CDkC−1 for all k≥0, deduce etA=CetDC−1, and prove that if Av=λv then etAv=eλtv.
Solution
Plan. Induction for the power; then the series; then apply the series to v.
k=0: both sides are I. If Ak=CDkC−1 then Ak+1=AkA=CDkC−1CDC−1=CDk+1C−1. So etA=∑k!tkCDkC−1=C(∑k!tkDk)C−1=CetDC−1. If Av=λv then Akv=λkv by induction, so etAv=∑k!tkAkv=∑k!(λt)kv=eλtv. ■
proveMATH 376 practice final 7(f)
Let ∥A∥=∑i,j∣aij∣<1. Show that I−A is invertible and (I−A)−1=∑k≥0Ak.
Solution
Plan. Absolute convergence by submultiplicativity, then telescope.
∥Ak∥≤∥A∥k, a geometric series with ratio below 1, so S=∑Ak converges absolutely. (I−A)∑k≤NAk=I−AN+1→I since ∥AN+1∥≤∥A∥N+1→0. So (I−A)S=I, and likewise S(I−A)=I. ■ (Submultiplicativity: ∑kaikbkj≤∑k∣aik∣∣bkj∣, then sum over i,j and enlarge the sum to independent indices.)
proveMATH 376 homework 10 #5
Show that there is a constant C with ∣log(k!)−klogk+k∣≤Clogk for all k≥2. Deduce that (k!)1/k≥k/e, and hence that (k!)1/k→∞. (This is the fact the lecture uses to show that the series for etA has infinite radius of convergence by the root test.)
Solution
Plan. Compare the sum logk!=∑i≤klogi with the integral of log, using that log is increasing.
On [i−1,i] we have logt≤logi, so logi≥∫i−1ilogtdt. Add over i=2,…,k: logk!≥∫1klogtdt=klogk−k+1. On [i,i+1] we have logt≥logi, so logi≤∫ii+1logtdt. Add over i=1,…,k: logk!≤∫1k+1logtdt=(k+1)log(k+1)−k. So
Now klog(1+k1)≤1 (because log(1+x)≤x), and log(k+1)≤logk2=2logk for k≥2. Also 1≤log2logk for k≥2. So the middle quantity lies between 1 and 1+2logk≤(2+log21)logk≤4logk, and C=4 works. For the second claim, the lower bound logk!≥klogk−k gives k!≥(k/e)k and so (k!)1/k≥k/e→∞. ■
stretch
Prove that for a real 2×2 matrix with complex eigenvalues a±ib (b=0), every solution of x′=Ax has the form x(t)=eat(cosbtu+sinbtw) for fixed real vectors u,w, and find u and w in terms of x(0).
Solution
By the 2×2 theorem etAx(0)=eat(cosbtx(0)+sinbtb1(A−aI)x(0)). So u=x(0) and w=b1(A−aI)x(0). Both are real vectors. For the final’s 5(b) matrix with x(0)=(c1,c2): u=(c1,c2) and w=31(−c1+2c2,−2c1+c2), matching the formulas found there. ■
stretch
Show that the origin is a centre if and only if trA=0 and detA>0, and that in that case the function V(x)=xTMx is constant along solutions for some positive definite matrix M. (Hint: for A=[acb−a] try M=[−caab] when b>0>c.)
Solution
Trace 0 and determinant Δ>0 means eigenvalues ±iΔ, pure imaginary, so by the classification the orbits are closed. Conversely, the classification says a centre needs τ=0<Δ. For A=[acb−a] with Δ=−a2−bc>0 (so bc<−a2≤0, b and c of opposite signs) take b>0>c (if b<0<c, use −M with the same formula for M; the computation below is unchanged and −M is positive definite) and M=[−caab], which is positive definite (−c>0 and detM=−bc−a2=Δ>0, 3.2). Then dtdxTMx=x′TMx+xTMx′=xT(ATM+MA)x. Multiplying out the four products, ATM+MA is the zero matrix (for instance, in position (1,1) the product ATM gives a(−c)+ca=0 and MA gives (−c)a+ac=0; the other three positions cancel in the same way), so V is constant along solutions: the orbits are the ellipses V= const. ■
Summary
A systemx′=Ax with constant A is solved by x(t)=e(t−a)Ax(a), where the matrix exponentialetA=∑tkAk/k! converges for every matrix, because ∥Ak∥≤∥A∥k (submultiplicativity of the sum-of-entries norm) and k! beats any exponential.
Properties: dtdetA=AetA (term-by-term differentiation); e(s+t)A=esAetA and etA is invertible with inverse e−tA (uniqueness of solutions, 7.1). eA+B=eAeB only if AB=BA, and etA is never the entrywise exponential.
Computing etA: diagonal, entrywise; diagonalizable, CetDC−1 (or the eigenvalue method x=∑cjeλjtvj); scalar plus nilpotent, eλt(I+tN+⋯) (a Jordan block); real 2×2 with eigenvalues a±ib, eat(cosbtI+bsinbt(A−aI)) because (A−aI)2=−b2I; and in general Putzer’s method from the eigenvalues alone, proved with Cayley–Hamilton.
Inhomogeneous: x(t)=e(t−a)Ab+∫ate(t−s)Ag(s)ds (variation of constants), the system form of 7.3.
A power series ansatz recovers ert, ex2/2 and sint; the Neumann series gives (I−A)−1=∑Ak when ∥A∥<1.
Phase portraits in the plane: trace τ and determinant Δ decide saddle (Δ<0), node, spiral, centre (τ=0<Δ); everything decays exactly when τ<0<Δ. Orbits never cross (uniqueness).
Your 376 trap: on the final’s 5(b) you wrote only the matrix. Write eigenvalues and the form of the real solution first, then the shortcut (A−aI)2=−b2I finishes it in four lines.
Watch and read
The same ideas explained by someone else. Use these when an explanation here does not land.
MATH 376: Lectures of April 15 to 24 define e^A, prove that it converges and that d/dt e^(tA) = A e^(tA), and compute it for diagonalizable matrices. Worksheets 24 to 26 and homework 10 cover norms, the series, the law of exponents (and its failure), the nilpotent and rotation cases, and variation of constants. The final's 5(b) (4 points) was x' = Ax with complex eigenvalues.
MATH 541 / Lie theory: The exponential maps a matrix A to e^A and turns the tangent space at the identity of a matrix group into the group itself: skew-symmetric matrices go to rotations. The identity det e^A = e^(tr A) says the determinant of the group element is the exponential of the trace.
Control, physics, CS 532: A linear system x' = Ax is stable exactly when every eigenvalue of A has negative real part. Linear recurrent networks, coupled oscillators and linearised epidemic models are all analysed this way.