For a single differential equation x′=ax, multiplying the starting value x0 by eat gives the solution x(t)=eatx0 right away, and we want a matrix eAt that does the exact same job for a system x′=Ax.
1
The Matrix Exponential eAt
We cannot raise the number e to a 2×2 matrix power by repeated multiplication, so we define eAt by plugging the matrix A into the Taylor series for eat, which only requires squaring, cubing, and adding matrices.
The Matrix Exponential and Its Infinite Series
Replacing 1 with the identity matrix I and a with the square matrix A in the series for eat defines the matrix exponential:
eAt=I+At+2!1A2t2+3!1A3t3+⋯
Because differentiating with respect to t pulls a factor of A out front just like for eat,dtd(eAt)=AeAt, multiplying eAt by any starting vector x0 solves the system x′=Ax:
x(t)=eAtx0
2
When the Infinite Series Gives eAt Directly
Adding up infinitely many powers of A by hand takes forever for most matrices, so we only compute eAt directly from the series in two special cases: when A is diagonal, or when the powers of A quickly reach the zero matrix.
Computing the Series for Diagonal and Nilpotent Matrices
AA=[300−2]=000200130eAteAt=?=?
For a diagonal matrix, the entries on the main diagonal never mix when you multiply A by itself, so each diagonal entry builds its own exponential series.
Text solution
Take powers of the diagonal matrixFor A=[300−2], squaring and cubing A simply raises each diagonal entry to that power while keeping the off-diagonal entries zero.
A2=[3200(−2)2],A3=[3300(−2)3]
Sum the series in each diagonal entrySubstituting the powers of A into I+At+2!1A2t2+⋯ turns each diagonal entry λ into eλt and keeps the off-diagonal entries zero.
Be careful: you can only put each entry into eλt when every off-diagonal entry is zero, because nonzero off-diagonal entries mix the rows and columns together as soon as you square the matrix.
Now take a matrix with zeros on and below the main diagonal, A=000200130.
Text solution
Multiply powers of A until they reach the zero matrixEach multiplication shifts the nonzero entries one step toward the top-right corner until A3 becomes all zeros, which makes A4=A5=⋯=0.
When the powers of A never reach zero and the entries mix together, we skip the infinite series and first build a fundamental matrixΨ(t) by putting independent solutions of x′=Ax side by side as columns.
Here is how we build Ψ(t) from the eigenvalue solutions of x′=[−4−635]x and check that a matrix is a valid fundamental matrix.
Building and Checking a Fundamental Matrix
A=[−4−635]Ψ(t)=?
λ1=−1
λ2=2
x
y
Text solution
Put two independent solutions into the columns of Ψ(t)From the eigenvalue pairs λ1=−1,v1=[11] and λ2=2,v2=[12], place the two straight-line solutions x1(t)=e−t[11] and x2(t)=e2t[12] side by side as columns so the general solution x(t)=c1x1(t)+c2x2(t) becomes a single matrix product Ψ(t)c.
Check that the columns solve the system (Ψ′(t)=AΨ(t))Differentiate each entry of Ψ(t) and compare with AΨ(t) to check that both columns satisfy x′=Ax at once.
Check that the columns are independent (det(Ψ(t))=0)Compute the Wronskian determinant to confirm that neither column is a multiple of the other.
det(Ψ(t))=(e−t)(2e2t)−(e2t)(e−t)=et=0
As long as the two columns of Ψ(t) don't lie on the same line through the origin, the parallelogram between them has nonzero area ∣det(Ψ(t))∣ and their combinations Ψ(t)c can reach every point in the plane. If the second column lines up with the first, the parallelogram flattens to zero area and every combination is stuck on a single line.
Two solutions form a fundamental matrix as long as they don't start on the same line, keeping the area between them open so their combinations can reach the whole plane.
4
Finding eAt from a Fundamental Matrix
A fundamental matrix Ψ(t) takes a vector of weights c and gives the position x(t)=Ψ(t)c, whereas an initial value problem gives us the starting position x(0). We want to use Ψ(t) to build the matrix exponential eAt so we can go straight from any x(0) to x(t).
Finding the Matrix Exponential from a Fundamental Matrix
x(t)x(t)eAt=Ψ(t)c=eAtx(0)=?
v1
v2
x(0)
x
y
x(0)
Ψ(0)−1
c=[c1c2]
Ψ(t)
x(t)
x(0)
eAt=Ψ(t)Ψ(0)−1
x(t)
Setting t=0 in x(t)=Ψ(t)c gives x(0)=Ψ(0)c. Because det(Ψ(0))=0, we can invert Ψ(0) to get the weights c=Ψ(0)−1x(0) and substitute them back into x(t)=Ψ(t)c:
x(t)=eAtΨ(t)Ψ(0)−1x(0)
This gives the formula that turns any fundamental matrix into the matrix exponential:
eAt=Ψ(t)Ψ(0)−1
To invert the 2×2 matrix Ψ(0)=[acbd], swap the main diagonal entries, flip the signs on the off-diagonal entries, and divide by the determinant ad−bc:
[acbd]−1=ad−bc1[d−c−ba]
Now we can finish finding eAt for A=[−4−635] and use it to find the solution starting at x(0)=[35].
Text solution
Plug in t=0 and invert Ψ(0)Evaluate Ψ(t)=[e−te−te2t2e2t] at t=0 (using e0=1) and compute its 2×2 inverse.
On a test, always take three seconds to plug t=0 into your final matrix eAt in your head. Because eA⋅0=Ψ(0)Ψ(0)−1=I, you must get [1001]; if you don't, you'll catch a sign or arithmetic mistake before moving on.
If x(0) is one of the columns of Ψ(0), the weights c are [10] or [01] and x(t) follows that single column of Ψ(t). If x(0) starts at [10] or [01],Ψ(0)−1 gives the weights that combine the columns of Ψ(t) into the first or second column of eAt.
Every starting point splits along the two eigenvector directions into weights that shape its path, and starting at a unit axis vector traces a column of the matrix exponential.
5
Complex Eigenvalues
When A has complex eigenvalues, we still want a real Ψ(t) and a real eAt. Taking the real and imaginary parts of a complex solution gives two independent real solutions to put into the columns of Ψ(t), and then eAt=Ψ(t)Ψ(0)−1 works the exact same way, as we'll see for x′=[21−5−2]x.
Fundamental Matrices and eᴬᵗ for Complex Eigenvalues
x′eAt=[21−5−2]x=?
Text solution
Split the complex solution into two real column solutionsFor λ=i with eigenvector v=[2+i1], expand eitv=(cost+isint)[2+i1] and take the real part and the imaginary part (without the i) as x1(t) and x2(t).
When a repeated eigenvalue λ has only one eigenvector direction v, we use a generalized eigenvector w from (A−λI)w=v to get a second independent solution x2(t)=eλt(tv+w) for the second column of Ψ(t), and then compute eAt=Ψ(t)Ψ(0)−1 as before. Here is how that works for x′=[3−111]x.
Repeated Eigenvalues and the Big Picture
x′eAt=[3−111]x=?
x
y
Text solution
Build the eigenvector and generalized eigenvector solutionsFor the repeated eigenvalue λ=2, solve (A−2I)v=0 to get v=[1−1] and solve (A−2I)w=v to get w=[10], giving x1(t)=e2tv and x2(t)=e2t(tv+w).
To find eAt and solve x′=Ax, look at the entries of A before computing any eigenvalues:
Series shortcut for diagonal or zero-power matrices
eAt=I+At+2!1A2t2+3!1A3t3+⋯
Use the series directly only in two cases:
Diagonal A (zeros everywhere off the main diagonal, such as A=[300−2]): turn each diagonal entry λ into eλt directly to get eAt=[e3t00e−2t]. Never do this to individual entries when off-diagonal entries are nonzero.
Powers of A reach zero (zeros on and below the main diagonal, such as A=000200130 where A3=0): multiply powers of A until Ak=0 and add the remaining terms, eAt=I+At+2!1A2t2.
Fundamental matrix Ψ(t) for any other 2×2 matrix A
Find two independent real solutions x1(t) and x2(t) of x′=Ax (from distinct real eigenvalues eλtv, the real and imaginary parts of a complex eigenvalue solution e(α+iβ)tv, or a repeated eigenvalue with a generalized eigenvector eλtv and eλt(tv+w)) and place them side by side as columns:
Ψ(t)=[x1(t)x2(t)],x(t)=Ψ(t)c
To check whether a matrix Ψ(t) is a fundamental matrix, check both solutions (Ψ′(t)=AΨ(t)) and independence (det(Ψ(t))=0, which rules out columns that are multiples of each other like [e−te−t5e−t5e−t]).
Matrix exponential eAt from Ψ(t)
Multiply Ψ(t) on the right by Ψ(0)−1 so that the matrix starts at I when t=0, and multiply by x(0) to solve any initial value problem:
eAt=Ψ(t)Ψ(0)−1,x(t)=eAtx(0)
Because eA⋅0=I, the columns of eAt are the exact paths starting at [10] and [01]. If a problem already gives you the paths starting at [10] and [01], put them directly into the columns of eAt without finding eigenvalues or inverting a matrix.
7
Practice
1
Compute the matrix exponential eAt for the diagonal matrix A=−100000004, and use it to solve the initial value problem x′=Ax with x(0)=3−25.
Every off-diagonal entry is zero, so each diagonal entry becomes its own exponential. Watch the middle diagonal entry λ2=0 and ask what e0⋅t equals.
Turning each diagonal entry λ into eλt (and keeping the off-diagonal zeros as 0) gives:
eAt=e−t0001000e4t
(Watch out: a common mistake is leaving the middle diagonal entry as 0 instead of e0t=1, which zeroes out the middle component and gives the wrong solution 3e−t05e4t.)
Multiplying eAt by x(0)=3−25 gives:
x(t)=3e−t−25e4t
2
Use the infinite series definition eAt=I+At+2!1A2t2+3!1A3t3+⋯ to compute eAt for A=000300−120.
Compute A2 and A3 first to see where the powers of A reach the zero matrix, then add the remaining terms.
Squaring and cubing A gives A2=000000600 and A3=000000000, so the series stops after the t2 term:
(Watch out: forgetting to divide the A2t2 term by 2!=2 leaves 6t2 instead of 3t2 in the top-right entry, giving 1003t10−t+6t22t1.)
eAt=1003t10−t+3t22t1
3
For the system x′=Ax with A=[1221], consider the two matrices Ψ1(t)=[e3te3t−3e3t−3e3t] and Ψ2(t)=[e3te3te−t−e−t]. Check the derivative condition Ψ′(t)=AΨ(t) and the Wronskian det(Ψ(t)) to determine whether each matrix is a fundamental matrix of the system.
Checking Ψ′(t)=AΨ(t) only shows the columns are solutions; what does det(Ψ(t)) tell you about whether the two columns of Ψ1(t) are independent?
Differentiating and multiplying by A=[1221] shows that both matrices satisfy the derivative condition:
Because det(Ψ1(t))=0 (its second column is −3 times its first column), Ψ1(t) is not a fundamental matrix, whereas Ψ2(t) is a fundamental matrix.
4
For the system x′=Ax with A=[−5−487], find a fundamental matrix Ψ(t), compute the matrix exponential eAt=Ψ(t)Ψ(0)−1, and use eAt to find the solution with initial condition x(0)=[32].
Find the eigenvalues and eigenvectors of A to build the columns of Ψ(t), then make sure you multiply Ψ(t) by Ψ(0)−1 on the right.
The characteristic equation λ2−2λ−3=0 gives λ1=−1 with v1=[21] and λ2=3 with v2=[11], so:
(Watch out: multiplying in the reverse order Ψ(0)−1Ψ(t) cancels the off-diagonal terms to give [e−t00e3t] and the wrong path [3e−t2e3t].)
Multiplying eAt by x(0)=[32] gives:
x(t)=[2e−t+e3te−t+e3t]
5
Find a real fundamental matrix Ψ(t) and the matrix exponential eAt for the system x′=Ax with A=[01−22].
Expand e(1+i)tv=et(cost+isint)v for one complex eigenvalue and use its real and imaginary parts as the columns of Ψ(t).
The characteristic equation λ2−2λ+2=0 gives λ=1±i. Using λ=1+i with eigenvector v=[−1+i1], expanding et(cost+isint)[−1+i1] and taking the real and imaginary parts gives:
Inverting Ψ(0) with det(Ψ(0))=−1 gives Ψ(0)−1=−11[0−1−1−1]=[0111].
(Watch out: forgetting to divide by det(Ψ(0))=−1 flips every sign in Ψ(0)−1 and gives the negative of eAt,[−et(cost−sint)−etsint2etsint−et(cost+sint)], which you can catch by noticing t=0 gives −I instead of I.)
Multiplying Ψ(t)Ψ(0)−1 gives:
eAt=[et(cost−sint)etsint−2etsintet(cost+sint)]
6
Find a fundamental matrix Ψ(t) and the matrix exponential eAt for the system x′=Ax with A=[−11−1−3].
After finding the single eigenvector v for the repeated eigenvalue λ=−2, solve (A+2I)w=v to build the second column e−2t(tv+w).
The characteristic equation (λ+2)2=0 gives the repeated eigenvalue λ=−2. Solving (A+2I)v=0 gives v=[11], and solving (A+2I)w=v gives w=[10].
(Watch out: writing the second solution as te−2tv=[te−2tte−2t] without +w makes the second column zero at t=0, so Ψ(0)=[1100] has determinant 0 and cannot be inverted.)
Putting x1(t)=e−2tv and x2(t)=e−2t(tv+w) into the columns of Ψ(t) and inverting Ψ(0) gives:
In an unknown system x′=Ax, a particle starting at x(0)=[10] follows the path x1(t)=[3et−2e−tet−e−t], and a particle starting at x(0)=[01] follows the path x2(t)=[−6et+6e−t−2et+3e−t]. Without finding eigenvalues or eigenvectors, write down eAt, find the path of a particle starting at x(0)=[21], and use dtd(eAt)=AeAt at t=0 to find the matrix A.
Which starting points do the two columns of eAt come from, and what does the right side of dtd(eAt)=AeAt simplify to when you plug in t=0 after differentiating?
Because the columns of eAt are the paths starting at [10] and [01], putting x1(t) and x2(t) side by side gives eAt directly, and multiplying by [21] gives the path:
Differentiating eAt with respect to t before plugging in t=0 (where AeA⋅0=AI=A) gives:
dtd(eAt)=[3et+2e−tet+e−t−6et−6e−t−2et−3e−t]
(Watch out: forgetting the minus sign from the chain rule when differentiating the e−t terms leaves −2e−t instead of +2e−t, which turns the derivatives at t=0 into the identity matrix [1001].)