Differential EquationsLinear Systems5 of 6
Linear Systems · 5

Fundamental Matrices and the Matrix Exponential

For a single differential equation x′=ax\xcoord{x'} = a\xcoord{x}, multiplying the starting value x0\xcoord{x_0} by eate^{at} gives the solution x(t)=eatx0\xcoord{x(t)} = e^{at}\xcoord{x_0} right away, and we want a matrix eAte^{At} that does the exact same job for a system x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x}.

1

The Matrix Exponential eAte^{At}

We cannot raise the number ee to a 2×22 \times 2 matrix power by repeated multiplication, so we define eAte^{At} by plugging the matrix AA into the Taylor series for eate^{at}, which only requires squaring, cubing, and adding matrices.

The Matrix Exponential and Its Infinite Series
tt
x\htmlClass{lc-blue}{x}
x′=ax\htmlClass{lc-blue}{x'} = a\htmlClass{lc-blue}{x}
x0\htmlClass{lc-blue}{x_0}
x(t)=eatx0\htmlClass{lc-blue}{x(t)} = e^{at}\htmlClass{lc-blue}{x_0}
x⃗ ′=Ax⃗A=[−43−65]eAt=  ?\begin{aligned} \htmlClass{lc-pink}{\vec{x}\,'} &= A\vec{x} \\[4pt] A &= \begin{bmatrix} -4 & 3 \\ -6 & 5 \end{bmatrix} \\[6pt] e^{At} &= \;? \end{aligned}

Replacing 11 with the identity matrix II and aa with the square matrix AA in the series for eate^{at} defines the matrix exponential:

eAt\displaystyle e^{At} =I+At+12!A2t2+13!A3t3+⋯\displaystyle = I + At + \frac{1}{2!}A^2t^2 + \frac{1}{3!}A^3t^3 + \cdots

Because differentiating with respect to tt pulls a factor of AA out front just like for eate^{at}, ddt(eAt)=AeAt\rate{\frac{d}{dt}(e^{At})} = Ae^{At}, multiplying eAte^{At} by any starting vector x⃗0\vec{x}_0 solves the system x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x}:

x⃗(t)\displaystyle \vec{x}(t) =eAtx⃗0\displaystyle = e^{At}\vec{x}_0
2

When the Infinite Series Gives eAte^{At} Directly

Adding up infinitely many powers of AA by hand takes forever for most matrices, so we only compute eAte^{At} directly from the series in two special cases: when AA is diagonal, or when the powers of AA quickly reach the zero matrix.

Computing the Series for Diagonal and Nilpotent Matrices
A=[300−2]eAt=  ?A=[021003000]eAt=  ?\displaystyle \begin{aligned} A &= \begin{bmatrix} \xcoord{3} & 0 \\ 0 & \ycoord{-2} \end{bmatrix} & e^{At} &= \;? \\[14pt] A &= \begin{bmatrix} 0 & 2 & 1 \\ 0 & 0 & 3 \\ 0 & 0 & 0 \end{bmatrix} & e^{At} &= \;? \end{aligned}

For a diagonal matrix, the entries on the main diagonal never mix when you multiply AA by itself, so each diagonal entry builds its own exponential series.

Text solution
Take powers of the diagonal matrixFor A=[300−2]A = \begin{bmatrix} \xcoord{3} & 0 \\ 0 & \ycoord{-2} \end{bmatrix}, squaring and cubing AA simply raises each diagonal entry to that power while keeping the off-diagonal entries zero.
A2=[3200(−2)2],A3=[3300(−2)3]\displaystyle A^2 = \begin{bmatrix} \xcoord{3^2} & 0 \\ 0 & \ycoord{(-2)^2} \end{bmatrix}, \qquad A^3 = \begin{bmatrix} \xcoord{3^3} & 0 \\ 0 & \ycoord{(-2)^3} \end{bmatrix}
Sum the series in each diagonal entrySubstituting the powers of AA into I+At+12!A2t2+⋯I + At + \frac{1}{2!}A^2t^2 + \cdots turns each diagonal entry λ\lambda into eλte^{\lambda t} and keeps the off-diagonal entries zero.
eAt=[1+3t+12!32t2+⋯001−2t+12!(−2)2t2+⋯]=[e3t00e−2t]\displaystyle \begin{aligned} e^{At} &= \begin{bmatrix} \xcoord{1 + 3t + \frac{1}{2!}3^2t^2 + \cdots} & 0 \\ 0 & \ycoord{1 - 2t + \frac{1}{2!}(-2)^2t^2 + \cdots} \end{bmatrix} \\ &= \begin{bmatrix} \xcoord{e^{3t}} & 0 \\ 0 & \ycoord{e^{-2t}} \end{bmatrix} \end{aligned}

Be careful: you can only put each entry into eλte^{\lambda 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=[021003000]A = \begin{bmatrix} 0 & 2 & 1 \\ 0 & 0 & 3 \\ 0 & 0 & 0 \end{bmatrix}.

Text solution
Multiply powers of AA until they reach the zero matrixEach multiplication shifts the nonzero entries one step toward the top-right corner until A3A^3 becomes all zeros, which makes A4=A5=⋯=0A^4 = A^5 = \cdots = 0.
A2=[021003000][021003000]=[006000000],A3=[000000000]\displaystyle \begin{aligned} A^2 &= \begin{bmatrix} 0 & 2 & 1 \\ 0 & 0 & 3 \\ 0 & 0 & 0 \end{bmatrix}\begin{bmatrix} 0 & 2 & 1 \\ 0 & 0 & 3 \\ 0 & 0 & 0 \end{bmatrix} \\ &= \begin{bmatrix} 0 & 0 & 6 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix}, \\ A^3 &= \begin{bmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix} \end{aligned}
Add the remaining terms of the seriesSince every term from A3t33!\tfrac{A^3t^3}{3!} onward is zero, the infinite series stops after the t2t^2 term.
eAt=I+At+12!A2t2=[100010001]+[02tt003t000]+12[006t2000000]=[12tt+3t2013t001]\displaystyle \begin{aligned} e^{At} &= I + At + \frac{1}{2!}A^2t^2 \\ &= \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} + \begin{bmatrix} 0 & 2t & t \\ 0 & 0 & 3t \\ 0 & 0 & 0 \end{bmatrix} \\ &\quad + \frac{1}{2}\begin{bmatrix} 0 & 0 & 6t^2 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix} \\ &= \begin{bmatrix} 1 & 2t & t + 3t^2 \\ 0 & 1 & 3t \\ 0 & 0 & 1 \end{bmatrix} \end{aligned}
3

Building and Checking a Fundamental Matrix Ψ(t)\Psi(t)

When the powers of AA never reach zero and the entries mix together, we skip the infinite series and first build a fundamental matrix Ψ(t)\Psi(t) by putting independent solutions of x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x} side by side as columns.

Here is how we build Ψ(t)\Psi(t) from the eigenvalue solutions of x⃗′=[−43−65]x⃗\rate{\vec{x}'} = \begin{bmatrix} -4 & 3 \\ -6 & 5 \end{bmatrix}\vec{x} and check that a matrix is a valid fundamental matrix.

Building and Checking a Fundamental Matrix
A=[−43−65]Ψ(t)=  ?A = \begin{bmatrix} -4 & 3 \\ -6 & 5 \end{bmatrix} \qquad \Psi(t) = \;?
λ1=−1\htmlClass{lc-green}{\lambda_1 = -1}
λ2=2\htmlClass{lc-violet}{\lambda_2 = 2}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
Text solution
Put two independent solutions into the columns of Ψ(t)\Psi(t)From the eigenvalue pairs λ1=−1,v⃗1=[11]\firstsol{\lambda_1} = \firstsol{-1}, \firstsol{\vec{v}_1} = \firstsol{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} and λ2=2,v⃗2=[12]\secondsol{\lambda_2} = \secondsol{2}, \secondsol{\vec{v}_2} = \secondsol{\begin{bmatrix} 1 \\ 2 \end{bmatrix}}, place the two straight-line solutions x⃗1(t)=e−t[11]\firstsol{\vec{x}_1(t)} = \firstsol{e^{-t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}} and x⃗2(t)=e2t[12]\secondsol{\vec{x}_2(t)} = \secondsol{e^{2t}\begin{bmatrix} 1 \\ 2 \end{bmatrix}} side by side as columns so the general solution x⃗(t)=c1x⃗1(t)+c2x⃗2(t)\vec{x}(t) = \firstsol{c_1\vec{x}_1(t)} + \secondsol{c_2\vec{x}_2(t)} becomes a single matrix product Ψ(t)c⃗\Psi(t)\vec{c}.
Ψ(t)=[e−te2te−t2e2t],x⃗(t)=[e−te2te−t2e2t][c1c2]=Ψ(t)c⃗\displaystyle \begin{aligned} \Psi(t) &= \begin{bmatrix} \firstsol{e^{-t}} & \secondsol{e^{2t}} \\ \firstsol{e^{-t}} & \secondsol{2e^{2t}} \end{bmatrix}, \\ \vec{x}(t) &= \begin{bmatrix} \firstsol{e^{-t}} & \secondsol{e^{2t}} \\ \firstsol{e^{-t}} & \secondsol{2e^{2t}} \end{bmatrix}\begin{bmatrix} \firstsol{c_1} \\ \secondsol{c_2} \end{bmatrix} = \Psi(t)\vec{c} \end{aligned}
Check that the columns solve the system (Ψ′(t)=AΨ(t)\rate{\Psi'(t)} = A\Psi(t))Differentiate each entry of Ψ(t)\Psi(t) and compare with AΨ(t)A\Psi(t) to check that both columns satisfy x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x} at once.
Ψ′(t)=[−e−t2e2t−e−t4e2t],AΨ(t)=[−43−65][e−te2te−t2e2t]=[−e−t2e2t−e−t4e2t]\displaystyle \begin{aligned} \rate{\Psi'(t)} &= \begin{bmatrix} \firstsol{-e^{-t}} & \secondsol{2e^{2t}} \\ \firstsol{-e^{-t}} & \secondsol{4e^{2t}} \end{bmatrix}, \\ A\Psi(t) &= \begin{bmatrix} -4 & 3 \\ -6 & 5 \end{bmatrix}\begin{bmatrix} \firstsol{e^{-t}} & \secondsol{e^{2t}} \\ \firstsol{e^{-t}} & \secondsol{2e^{2t}} \end{bmatrix} \\ &= \begin{bmatrix} \firstsol{-e^{-t}} & \secondsol{2e^{2t}} \\ \firstsol{-e^{-t}} & \secondsol{4e^{2t}} \end{bmatrix} \end{aligned}
Check that the columns are independent (det⁡(Ψ(t))≠0\det(\Psi(t)) \neq 0)Compute the Wronskian determinant to confirm that neither column is a multiple of the other.
det⁡(Ψ(t))\displaystyle \det(\Psi(t)) =(e−t)(2e2t)−(e2t)(e−t)\displaystyle = (\firstsol{e^{-t}})(\secondsol{2e^{2t}}) - (\secondsol{e^{2t}})(\firstsol{e^{-t}}) =et≠0\displaystyle = e^t \neq 0

As long as the two columns of Ψ(t)\Psi(t) don't lie on the same line through the origin, the parallelogram between them has nonzero area ∣det⁡(Ψ(t))∣|\det(\Psi(t))| and their combinations Ψ(t)c⃗\Psi(t)\vec{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 eAte^{At} from a Fundamental Matrix

A fundamental matrix Ψ(t)\Psi(t) takes a vector of weights c⃗\vec{c} and gives the position x⃗(t)=Ψ(t)c⃗\vec{x}(t) = \Psi(t)\vec{c}, whereas an initial value problem gives us the starting position x⃗(0)\vec{x}(0). We want to use Ψ(t)\Psi(t) to build the matrix exponential eAte^{At} so we can go straight from any x⃗(0)\vec{x}(0) to x⃗(t)\vec{x}(t).

Finding the Matrix Exponential from a Fundamental Matrix
x⃗(t)=Ψ(t)c⃗x⃗(t)=eAtx⃗(0)eAt=  ?\begin{aligned} \vec{x}(t) &= \Psi(t)\vec{c} \\[4pt] \vec{x}(t) &= e^{At}\vec{x}(0) \\[10pt] e^{At} &= \;? \end{aligned}
v⃗1\htmlClass{lc-green}{\vec{v}_1}
v⃗2\htmlClass{lc-violet}{\vec{v}_2}
x⃗(0)\vec{x}(0)
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
x⃗(0)\vec{x}(0)
Ψ(0)−1\Psi(0)^{-1}
c⃗=[c1c2]\vec{c} = \begin{bmatrix} \htmlClass{lc-green}{c_1} \\ \htmlClass{lc-violet}{c_2} \end{bmatrix}
Ψ(t)\Psi(t)
x⃗(t)\vec{x}(t)
x⃗(0)\vec{x}(0)
eAt=Ψ(t)Ψ(0)−1e^{At} = \Psi(t)\Psi(0)^{-1}
x⃗(t)\vec{x}(t)

Setting t=0t = 0 in x⃗(t)=Ψ(t)c⃗\vec{x}(t) = \Psi(t)\vec{c} gives x⃗(0)=Ψ(0)c⃗\vec{x}(0) = \Psi(0)\vec{c}. Because det⁡(Ψ(0))≠0\det(\Psi(0)) \neq 0, we can invert Ψ(0)\Psi(0) to get the weights c⃗=Ψ(0)−1x⃗(0)\vec{c} = \Psi(0)^{-1}\vec{x}(0) and substitute them back into x⃗(t)=Ψ(t)c⃗\vec{x}(t) = \Psi(t)\vec{c}:

x⃗(t)\displaystyle \vec{x}(t) =Ψ(t)Ψ(0)−1⏟eAtx⃗(0)\displaystyle = \underbrace{\Psi(t)\Psi(0)^{-1}}_{e^{At}}\vec{x}(0)

This gives the formula that turns any fundamental matrix into the matrix exponential:

eAt\displaystyle e^{At} =Ψ(t)Ψ(0)−1\displaystyle = \Psi(t)\Psi(0)^{-1}

To invert the 2×22 \times 2 matrix Ψ(0)=[abcd]\Psi(0) = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, swap the main diagonal entries, flip the signs on the off-diagonal entries, and divide by the determinant ad−bcad - bc:

[abcd]−1=1ad−bc[d−b−ca]\displaystyle \begin{bmatrix} a & b \\ c & d \end{bmatrix}^{-1} = \frac{1}{ad - bc}\begin{bmatrix} d & -b \\ -c & a \end{bmatrix}

Now we can finish finding eAte^{At} for A=[−43−65]A = \begin{bmatrix} -4 & 3 \\ -6 & 5 \end{bmatrix} and use it to find the solution starting at x⃗(0)=[35]\vec{x}(0) = \begin{bmatrix} 3 \\ 5 \end{bmatrix}.

Text solution
Plug in t=0t = 0 and invert Ψ(0)\Psi(0)Evaluate Ψ(t)=[e−te2te−t2e2t]\Psi(t) = \begin{bmatrix} \firstsol{e^{-t}} & \secondsol{e^{2t}} \\ \firstsol{e^{-t}} & \secondsol{2e^{2t}} \end{bmatrix} at t=0t = 0 (using e0=1e^0 = 1) and compute its 2×22 \times 2 inverse.
Ψ(0)=[1112],Ψ(0)−1=11(2)−1(1)[2−1−11]=[2−1−11]\displaystyle \begin{aligned} \Psi(0) &= \begin{bmatrix} \firstsol{1} & \secondsol{1} \\ \firstsol{1} & \secondsol{2} \end{bmatrix}, \\ \Psi(0)^{-1} &= \frac{1}{1(2) - 1(1)}\begin{bmatrix} 2 & -1 \\ -1 & 1 \end{bmatrix} \\ &= \begin{bmatrix} 2 & -1 \\ -1 & 1 \end{bmatrix} \end{aligned}
Multiply Ψ(t)Ψ(0)−1\Psi(t)\Psi(0)^{-1} to get eAte^{At}Multiply Ψ(t)\Psi(t) on the right by Ψ(0)−1\Psi(0)^{-1}.
eAt=[e−te2te−t2e2t][2−1−11]=[2e−t−e2t−e−t+e2t2e−t−2e2t−e−t+2e2t]\displaystyle \begin{aligned} e^{At} &= \begin{bmatrix} \firstsol{e^{-t}} & \secondsol{e^{2t}} \\ \firstsol{e^{-t}} & \secondsol{2e^{2t}} \end{bmatrix}\begin{bmatrix} 2 & -1 \\ -1 & 1 \end{bmatrix} \\ &= \begin{bmatrix} \firstsol{2e^{-t}} - \secondsol{e^{2t}} & \firstsol{-e^{-t}} + \secondsol{e^{2t}} \\ \firstsol{2e^{-t}} - \secondsol{2e^{2t}} & \firstsol{-e^{-t}} + \secondsol{2e^{2t}} \end{bmatrix} \end{aligned}
Multiply eAte^{At} by x⃗(0)\vec{x}(0)Multiply eAte^{At} by x⃗(0)=[35]\vec{x}(0) = \begin{bmatrix} 3 \\ 5 \end{bmatrix} to get the path x⃗(t)\vec{x}(t) directly.
x⃗(t)=[2e−t−e2t−e−t+e2t2e−t−2e2t−e−t+2e2t][35]=[e−t+2e2te−t+4e2t]\displaystyle \begin{aligned} &\vec{x}(t) \\ &= \begin{bmatrix} \firstsol{2e^{-t}} - \secondsol{e^{2t}} & \firstsol{-e^{-t}} + \secondsol{e^{2t}} \\ \firstsol{2e^{-t}} - \secondsol{2e^{2t}} & \firstsol{-e^{-t}} + \secondsol{2e^{2t}} \end{bmatrix}\begin{bmatrix} 3 \\ 5 \end{bmatrix} \\ &= \begin{bmatrix} \firstsol{e^{-t}} + \secondsol{2e^{2t}} \\ \firstsol{e^{-t}} + \secondsol{4e^{2t}} \end{bmatrix} \end{aligned}

On a test, always take three seconds to plug t=0t = 0 into your final matrix eAte^{At} in your head. Because eA⋅0=Ψ(0)Ψ(0)−1=Ie^{A\cdot 0} = \Psi(0)\Psi(0)^{-1} = I, you must get [1001]\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}; if you don't, you'll catch a sign or arithmetic mistake before moving on.

If x⃗(0)\vec{x}(0) is one of the columns of Ψ(0)\Psi(0), the weights c⃗\vec{c} are [10]\begin{bmatrix} \firstsol{1} \\ \secondsol{0} \end{bmatrix} or [01]\begin{bmatrix} \firstsol{0} \\ \secondsol{1} \end{bmatrix} and x⃗(t)\vec{x}(t) follows that single column of Ψ(t)\Psi(t). If x⃗(0)\vec{x}(0) starts at [10]\xcoord{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} or [01]\ycoord{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}, Ψ(0)−1\Psi(0)^{-1} gives the weights that combine the columns of Ψ(t)\Psi(t) into the first or second column of eAte^{At}.

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 AA has complex eigenvalues, we still want a real Ψ(t)\Psi(t) and a real eAte^{At}. Taking the real and imaginary parts of a complex solution gives two independent real solutions to put into the columns of Ψ(t)\Psi(t), and then eAt=Ψ(t)Ψ(0)−1e^{At} = \Psi(t)\Psi(0)^{-1} works the exact same way, as we'll see for x⃗′=[2−51−2]x⃗\rate{\vec{x}'} = \begin{bmatrix} 2 & -5 \\ 1 & -2 \end{bmatrix}\vec{x}.

Fundamental Matrices and eᴬᵗ for Complex Eigenvalues
x⃗ ′=[2−51−2]x⃗eAt=  ?\displaystyle \begin{aligned} \rate{\vec{x}\,'} &= \begin{bmatrix} 2 & -5 \\ 1 & -2 \end{bmatrix}\vec{x} \\[8pt] e^{At} &= \;? \end{aligned}
Text solution
Split the complex solution into two real column solutionsFor λ=i\lambda = i with eigenvector v⃗=[2+i1]\vec{v} = \begin{bmatrix} 2 + i \\ 1 \end{bmatrix}, expand eitv⃗=(cos⁡t+isin⁡t)[2+i1]e^{it}\vec{v} = (\cos t + i\sin t)\begin{bmatrix} 2 + i \\ 1 \end{bmatrix} and take the real part and the imaginary part (without the ii) as x⃗1(t)\firstsol{\vec{x}_1(t)} and x⃗2(t)\secondsol{\vec{x}_2(t)}.
x⃗complex(t)=[(2cos⁡t−sin⁡t)+i(cos⁡t+2sin⁡t)cos⁡t+isin⁡t]  ⟹  x⃗1(t)=[2cos⁡t−sin⁡tcos⁡t],x⃗2(t)=[cos⁡t+2sin⁡tsin⁡t]\displaystyle \begin{aligned} \vec{x}_{\text{complex}}(t) &= \begin{bmatrix} \firstsol{(2\cos t - \sin t)} + i\secondsol{(\cos t + 2\sin t)} \\ \firstsol{\cos t} + i\secondsol{\sin t} \end{bmatrix} \\ \implies \firstsol{\vec{x}_1(t)} &= \begin{bmatrix} \firstsol{2\cos t - \sin t} \\ \firstsol{\cos t} \end{bmatrix}, \\ \secondsol{\vec{x}_2(t)} &= \begin{bmatrix} \secondsol{\cos t + 2\sin t} \\ \secondsol{\sin t} \end{bmatrix} \end{aligned}
Form Ψ(t)\Psi(t) and invert Ψ(0)\Psi(0)Place x⃗1(t)\firstsol{\vec{x}_1(t)} and x⃗2(t)\secondsol{\vec{x}_2(t)} side by side into Ψ(t)\Psi(t), evaluate at t=0t = 0 using cos⁡0=1\cos 0 = 1 and sin⁡0=0\sin 0 = 0, and invert Ψ(0)\Psi(0).
Ψ(t)=[2cos⁡t−sin⁡tcos⁡t+2sin⁡tcos⁡tsin⁡t],Ψ(0)=[2110],Ψ(0)−1=1−1[0−1−12]=[011−2]\displaystyle \begin{aligned} \Psi(t) &= \begin{bmatrix} \firstsol{2\cos t - \sin t} & \secondsol{\cos t + 2\sin t} \\ \firstsol{\cos t} & \secondsol{\sin t} \end{bmatrix}, \\ \Psi(0) &= \begin{bmatrix} \firstsol{2} & \secondsol{1} \\ \firstsol{1} & \secondsol{0} \end{bmatrix}, \\ \Psi(0)^{-1} &= \frac{1}{-1}\begin{bmatrix} 0 & -1 \\ -1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} 0 & 1 \\ 1 & -2 \end{bmatrix} \end{aligned}
Multiply Ψ(t)Ψ(0)−1\Psi(t)\Psi(0)^{-1} to get eAte^{At}Multiply the two matrices and check that setting t=0t = 0 gives [1001]\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.
eAt=[2cos⁡t−sin⁡tcos⁡t+2sin⁡tcos⁡tsin⁡t][011−2]=[cos⁡t+2sin⁡t−5sin⁡tsin⁡tcos⁡t−2sin⁡t]\displaystyle \begin{aligned} e^{At} &= \begin{bmatrix} \firstsol{2\cos t - \sin t} & \secondsol{\cos t + 2\sin t} \\ \firstsol{\cos t} & \secondsol{\sin t} \end{bmatrix}\begin{bmatrix} 0 & 1 \\ 1 & -2 \end{bmatrix} \\ &= \begin{bmatrix} \cos t + 2\sin t & -5\sin t \\ \sin t & \cos t - 2\sin t \end{bmatrix} \end{aligned}
6

Repeated Eigenvalues

When a repeated eigenvalue λ\lambda has only one eigenvector direction v⃗\firstsol{\vec{v}}, we use a generalized eigenvector w⃗\secondsol{\vec{w}} from (A−λI)w⃗=v⃗(A - \lambda I)\secondsol{\vec{w}} = \firstsol{\vec{v}} to get a second independent solution x⃗2(t)=eλt(tv⃗+w⃗)\secondsol{\vec{x}_2(t)} = e^{\lambda t}(t\firstsol{\vec{v}} + \secondsol{\vec{w}}) for the second column of Ψ(t)\Psi(t), and then compute eAt=Ψ(t)Ψ(0)−1e^{At} = \Psi(t)\Psi(0)^{-1} as before. Here is how that works for x⃗′=[31−11]x⃗\rate{\vec{x}'} = \begin{bmatrix} 3 & 1 \\ -1 & 1 \end{bmatrix}\vec{x}.

Repeated Eigenvalues and the Big Picture
x⃗ ′=[31−11]x⃗eAt=  ?\begin{aligned} \htmlClass{lc-pink}{\vec{x}\,'} &= \begin{bmatrix} 3 & 1 \\ -1 & 1 \end{bmatrix}\vec{x} \\[10pt] e^{At} &= \;? \end{aligned}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
Text solution
Build the eigenvector and generalized eigenvector solutionsFor the repeated eigenvalue λ=2\lambda = 2, solve (A−2I)v⃗=0⃗(A - 2I)\firstsol{\vec{v}} = \vec{0} to get v⃗=[1−1]\firstsol{\vec{v}} = \firstsol{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} and solve (A−2I)w⃗=v⃗(A - 2I)\secondsol{\vec{w}} = \firstsol{\vec{v}} to get w⃗=[10]\secondsol{\vec{w}} = \secondsol{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}, giving x⃗1(t)=e2tv⃗\firstsol{\vec{x}_1(t)} = e^{2t}\firstsol{\vec{v}} and x⃗2(t)=e2t(tv⃗+w⃗)\secondsol{\vec{x}_2(t)} = e^{2t}(t\firstsol{\vec{v}} + \secondsol{\vec{w}}).
x⃗1(t)=[e2t−e2t],x⃗2(t)=e2t(t[1−1]+[10])=[(t+1)e2t−te2t]\displaystyle \begin{aligned} \firstsol{\vec{x}_1(t)} &= \begin{bmatrix} \firstsol{e^{2t}} \\ \firstsol{-e^{2t}} \end{bmatrix}, \\ \secondsol{\vec{x}_2(t)} &= e^{2t}\left(t\firstsol{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} + \secondsol{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}\right) \\ &= \begin{bmatrix} \secondsol{(t + 1)e^{2t}} \\ \secondsol{-te^{2t}} \end{bmatrix} \end{aligned}
Form Ψ(t)\Psi(t) and invert Ψ(0)\Psi(0)Put x⃗1(t)\firstsol{\vec{x}_1(t)} and x⃗2(t)\secondsol{\vec{x}_2(t)} into the columns of Ψ(t)\Psi(t), plug in t=0t = 0 (which leaves v⃗\firstsol{\vec{v}} and w⃗\secondsol{\vec{w}} as the columns of Ψ(0)\Psi(0)), and invert Ψ(0)\Psi(0).
Ψ(t)=[e2t(t+1)e2t−e2t−te2t],Ψ(0)=[11−10],Ψ(0)−1=[0−111]\displaystyle \begin{aligned} \Psi(t) &= \begin{bmatrix} \firstsol{e^{2t}} & \secondsol{(t + 1)e^{2t}} \\ \firstsol{-e^{2t}} & \secondsol{-te^{2t}} \end{bmatrix}, \\ \Psi(0) &= \begin{bmatrix} \firstsol{1} & \secondsol{1} \\ \firstsol{-1} & \secondsol{0} \end{bmatrix}, \\ \Psi(0)^{-1} &= \begin{bmatrix} 0 & -1 \\ 1 & 1 \end{bmatrix} \end{aligned}
Multiply Ψ(t)Ψ(0)−1\Psi(t)\Psi(0)^{-1} to get eAte^{At}Multiply the two matrices and check that t=0t = 0 gives II.
eAt=[e2t(t+1)e2t−e2t−te2t][0−111]=[(t+1)e2tte2t−te2t(1−t)e2t]\displaystyle \begin{aligned} e^{At} &= \begin{bmatrix} \firstsol{e^{2t}} & \secondsol{(t + 1)e^{2t}} \\ \firstsol{-e^{2t}} & \secondsol{-te^{2t}} \end{bmatrix}\begin{bmatrix} 0 & -1 \\ 1 & 1 \end{bmatrix} \\ &= \begin{bmatrix} (t + 1)e^{2t} & te^{2t} \\ -te^{2t} & (1 - t)e^{2t} \end{bmatrix} \end{aligned}

Key concepts

To find eAte^{At} and solve x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x}, look at the entries of AA before computing any eigenvalues:

Series shortcut for diagonal or zero-power matrices

eAt\displaystyle e^{At} =I+At+12!A2t2+13!A3t3+⋯\displaystyle = I + At + \frac{1}{2!}A^2t^2 + \frac{1}{3!}A^3t^3 + \cdots
Use the series directly only in two cases:

  • Diagonal AA (zeros everywhere off the main diagonal, such as A=[300−2]A = \begin{bmatrix} \xcoord{3} & 0 \\ 0 & \ycoord{-2} \end{bmatrix}): turn each diagonal entry λ\lambda into eλte^{\lambda t} directly to get eAt=[e3t00e−2t]e^{At} = \begin{bmatrix} \xcoord{e^{3t}} & 0 \\ 0 & \ycoord{e^{-2t}} \end{bmatrix}. Never do this to individual entries when off-diagonal entries are nonzero.
  • Powers of AA reach zero (zeros on and below the main diagonal, such as A=[021003000]A = \begin{bmatrix} 0 & 2 & 1 \\ 0 & 0 & 3 \\ 0 & 0 & 0 \end{bmatrix} where A3=0A^3 = 0): multiply powers of AA until Ak=0A^k = 0 and add the remaining terms, eAt=I+At+12!A2t2e^{At} = I + At + \frac{1}{2!}A^2t^2.
Fundamental matrix Ψ(t)\Psi(t) for any other 2×22 \times 2 matrix AA

Find two independent real solutions x⃗1(t)\firstsol{\vec{x}_1(t)} and x⃗2(t)\secondsol{\vec{x}_2(t)} of x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x} (from distinct real eigenvalues eλtv⃗e^{\lambda t}\vec{v}, the real and imaginary parts of a complex eigenvalue solution e(α+iβ)tv⃗e^{(\alpha + i\beta)t}\vec{v}, or a repeated eigenvalue with a generalized eigenvector eλtv⃗e^{\lambda t}\firstsol{\vec{v}} and eλt(tv⃗+w⃗)e^{\lambda t}(t\firstsol{\vec{v}} + \secondsol{\vec{w}})) and place them side by side as columns:

Ψ(t)=[x⃗1(t)x⃗2(t)],x⃗(t)=Ψ(t)c⃗\displaystyle \Psi(t) = \begin{bmatrix} \firstsol{\vec{x}_1(t)} & \secondsol{\vec{x}_2(t)} \end{bmatrix}, \qquad \vec{x}(t) = \Psi(t)\vec{c}
To check whether a matrix Ψ(t)\Psi(t) is a fundamental matrix, check both solutions (Ψ′(t)=AΨ(t)\rate{\Psi'(t)} = A\Psi(t)) and independence (det⁡(Ψ(t))≠0\det(\Psi(t)) \neq 0, which rules out columns that are multiples of each other like [e−t5e−te−t5e−t]\begin{bmatrix} \firstsol{e^{-t}} & \secondsol{5e^{-t}} \\ \firstsol{e^{-t}} & \secondsol{5e^{-t}} \end{bmatrix}).

Matrix exponential eAte^{At} from Ψ(t)\Psi(t)

Multiply Ψ(t)\Psi(t) on the right by Ψ(0)−1\Psi(0)^{-1} so that the matrix starts at II when t=0t = 0, and multiply by x⃗(0)\vec{x}(0) to solve any initial value problem:

eAt\displaystyle e^{At} =Ψ(t)Ψ(0)−1,x⃗(t)\displaystyle = \Psi(t)\Psi(0)^{-1}, \qquad \vec{x}(t) =eAtx⃗(0)\displaystyle = e^{At}\vec{x}(0)
Because eA⋅0=Ie^{A\cdot 0} = I, the columns of eAte^{At} are the exact paths starting at [10]\xcoord{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} and [01]\ycoord{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}. If a problem already gives you the paths starting at [10]\xcoord{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} and [01]\ycoord{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}, put them directly into the columns of eAte^{At} without finding eigenvalues or inverting a matrix.

7

Practice

1

Compute the matrix exponential eAte^{At} for the diagonal matrix A=[−100000004]A = \begin{bmatrix} \xcoord{-1} & 0 & 0 \\ 0 & \ycoord{0} & 0 \\ 0 & 0 & \zcoord{4} \end{bmatrix}, and use it to solve the initial value problem x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x} with x⃗(0)=[3−25]\vec{x}(0) = \begin{bmatrix} \xcoord{3} \\ \ycoord{-2} \\ \zcoord{5} \end{bmatrix}.

Every off-diagonal entry is zero, so each diagonal entry becomes its own exponential. Watch the middle diagonal entry λ2=0\ycoord{\lambda_2} = \ycoord{0} and ask what e0⋅t\ycoord{e^{0\cdot t}} equals.

Turning each diagonal entry λ\lambda into eλte^{\lambda t} (and keeping the off-diagonal zeros as 00) gives:
eAt=[e−t0001000e4t]\displaystyle e^{At} = \begin{bmatrix} \xcoord{e^{-t}} & 0 & 0 \\ 0 & \ycoord{1} & 0 \\ 0 & 0 & \zcoord{e^{4t}} \end{bmatrix}
(Watch out: a common mistake is leaving the middle diagonal entry as 00 instead of e0t=1\ycoord{e^{0t}} = \ycoord{1}, which zeroes out the middle component and gives the wrong solution [3e−t05e4t]\begin{bmatrix} 3e^{-t} \\ 0 \\ 5e^{4t} \end{bmatrix}.)
Multiplying eAte^{At} by x⃗(0)=[3−25]\vec{x}(0) = \begin{bmatrix} \xcoord{3} \\ \ycoord{-2} \\ \zcoord{5} \end{bmatrix} gives:
x⃗(t)=[3e−t−25e4t]\displaystyle \vec{x}(t) = \begin{bmatrix} \xcoord{3e^{-t}} \\ \ycoord{-2} \\ \zcoord{5e^{4t}} \end{bmatrix}
2

Use the infinite series definition eAt=I+At+12!A2t2+13!A3t3+⋯e^{At} = I + At + \frac{1}{2!}A^2t^2 + \frac{1}{3!}A^3t^3 + \cdots to compute eAte^{At} for A=[03−1002000]A = \begin{bmatrix} 0 & 3 & -1 \\ 0 & 0 & 2 \\ 0 & 0 & 0 \end{bmatrix}.

Compute A2A^2 and A3A^3 first to see where the powers of AA reach the zero matrix, then add the remaining terms.

Squaring and cubing AA gives A2=[006000000]A^2 = \begin{bmatrix} 0 & 0 & 6 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix} and A3=[000000000]A^3 = \begin{bmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix}, so the series stops after the t2t^2 term:
eAt=I+At+12A2t2=[100010001]+[03t−t002t000]+12[006t2000000]\displaystyle \begin{aligned} e^{At} &= I + At + \frac{1}{2}A^2t^2 \\ &= \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix} + \begin{bmatrix} 0 & 3t & -t \\ 0 & 0 & 2t \\ 0 & 0 & 0 \end{bmatrix} + \frac{1}{2}\begin{bmatrix} 0 & 0 & 6t^2 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix} \end{aligned}
(Watch out: forgetting to divide the A2t2A^2t^2 term by 2!=22! = 2 leaves 6t26t^2 instead of 3t23t^2 in the top-right entry, giving [13t−t+6t2012t001]\begin{bmatrix} 1 & 3t & -t + 6t^2 \\ 0 & 1 & 2t \\ 0 & 0 & 1 \end{bmatrix}.)
eAt=[13t−t+3t2012t001]\displaystyle e^{At} = \begin{bmatrix} 1 & 3t & -t + 3t^2 \\ 0 & 1 & 2t \\ 0 & 0 & 1 \end{bmatrix}
3

For the system x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x} with A=[1221]A = \begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix}, consider the two matrices Ψ1(t)=[e3t−3e3te3t−3e3t]\Psi_1(t) = \begin{bmatrix} \firstsol{e^{3t}} & \secondsol{-3e^{3t}} \\ \firstsol{e^{3t}} & \secondsol{-3e^{3t}} \end{bmatrix} and Ψ2(t)=[e3te−te3t−e−t]\Psi_2(t) = \begin{bmatrix} \firstsol{e^{3t}} & \secondsol{e^{-t}} \\ \firstsol{e^{3t}} & \secondsol{-e^{-t}} \end{bmatrix}. Check the derivative condition Ψ′(t)=AΨ(t)\rate{\Psi'(t)} = A\Psi(t) and the Wronskian det⁡(Ψ(t))\det(\Psi(t)) to determine whether each matrix is a fundamental matrix of the system.

Checking Ψ′(t)=AΨ(t)\rate{\Psi'(t)} = A\Psi(t) only shows the columns are solutions; what does det⁡(Ψ(t))\det(\Psi(t)) tell you about whether the two columns of Ψ1(t)\Psi_1(t) are independent?

Differentiating and multiplying by A=[1221]A = \begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix} shows that both matrices satisfy the derivative condition:
Ψ1′(t)=AΨ1(t)=[3e3t−9e3t3e3t−9e3t],Ψ2′(t)=AΨ2(t)=[3e3t−e−t3e3te−t]\displaystyle \begin{aligned} \rate{\Psi_1'(t)} = A\Psi_1(t) &= \begin{bmatrix} \firstsol{3e^{3t}} & \secondsol{-9e^{3t}} \\ \firstsol{3e^{3t}} & \secondsol{-9e^{3t}} \end{bmatrix}, \\ \rate{\Psi_2'(t)} = A\Psi_2(t) &= \begin{bmatrix} \firstsol{3e^{3t}} & \secondsol{-e^{-t}} \\ \firstsol{3e^{3t}} & \secondsol{e^{-t}} \end{bmatrix} \end{aligned}
(Watch out: stopping after the derivative check leads to the wrong conclusion that both Ψ1(t)\Psi_1(t) and Ψ2(t)\Psi_2(t) are fundamental matrices.)
Checking the Wronskian determinants:
det⁡(Ψ1(t))=(e3t)(−3e3t)−(−3e3t)(e3t)=0,det⁡(Ψ2(t))=(e3t)(−e−t)−(e−t)(e3t)=−2e2t≠0\displaystyle \begin{aligned} \det(\Psi_1(t)) &= (\firstsol{e^{3t}})(\secondsol{-3e^{3t}}) - (\secondsol{-3e^{3t}})(\firstsol{e^{3t}}) = 0, \\ \det(\Psi_2(t)) &= (\firstsol{e^{3t}})(\secondsol{-e^{-t}}) - (\secondsol{e^{-t}})(\firstsol{e^{3t}}) = -2e^{2t} \neq 0 \end{aligned}
Because det⁡(Ψ1(t))=0\det(\Psi_1(t)) = 0 (its second column is −3-3 times its first column), Ψ1(t)\Psi_1(t) is not a fundamental matrix, whereas Ψ2(t)\Psi_2(t) is a fundamental matrix.
4

For the system x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x} with A=[−58−47]A = \begin{bmatrix} -5 & 8 \\ -4 & 7 \end{bmatrix}, find a fundamental matrix Ψ(t)\Psi(t), compute the matrix exponential eAt=Ψ(t)Ψ(0)−1e^{At} = \Psi(t)\Psi(0)^{-1}, and use eAte^{At} to find the solution with initial condition x⃗(0)=[32]\vec{x}(0) = \begin{bmatrix} 3 \\ 2 \end{bmatrix}.

Find the eigenvalues and eigenvectors of AA to build the columns of Ψ(t)\Psi(t), then make sure you multiply Ψ(t)\Psi(t) by Ψ(0)−1\Psi(0)^{-1} on the right.

The characteristic equation λ2−2λ−3=0\lambda^2 - 2\lambda - 3 = 0 gives λ1=−1\firstsol{\lambda_1} = \firstsol{-1} with v⃗1=[21]\firstsol{\vec{v}_1} = \firstsol{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} and λ2=3\secondsol{\lambda_2} = \secondsol{3} with v⃗2=[11]\secondsol{\vec{v}_2} = \secondsol{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}, so:
Ψ(t)=[2e−te3te−te3t],Ψ(0)=[2111],Ψ(0)−1=[1−1−12]\displaystyle \begin{aligned} \Psi(t) &= \begin{bmatrix} \firstsol{2e^{-t}} & \secondsol{e^{3t}} \\ \firstsol{e^{-t}} & \secondsol{e^{3t}} \end{bmatrix}, \\ \Psi(0) &= \begin{bmatrix} \firstsol{2} & \secondsol{1} \\ \firstsol{1} & \secondsol{1} \end{bmatrix}, \\ \Psi(0)^{-1} &= \begin{bmatrix} 1 & -1 \\ -1 & 2 \end{bmatrix} \end{aligned}
Multiplying Ψ(t)Ψ(0)−1\Psi(t)\Psi(0)^{-1} in that order gives:
eAt=[2e−te3te−te3t][1−1−12]=[2e−t−e3t−2e−t+2e3te−t−e3t−e−t+2e3t]\displaystyle \begin{aligned} e^{At} &= \begin{bmatrix} \firstsol{2e^{-t}} & \secondsol{e^{3t}} \\ \firstsol{e^{-t}} & \secondsol{e^{3t}} \end{bmatrix}\begin{bmatrix} 1 & -1 \\ -1 & 2 \end{bmatrix} \\ &= \begin{bmatrix} \firstsol{2e^{-t}} - \secondsol{e^{3t}} & \firstsol{-2e^{-t}} + \secondsol{2e^{3t}} \\ \firstsol{e^{-t}} - \secondsol{e^{3t}} & \firstsol{-e^{-t}} + \secondsol{2e^{3t}} \end{bmatrix} \end{aligned}
(Watch out: multiplying in the reverse order Ψ(0)−1Ψ(t)\Psi(0)^{-1}\Psi(t) cancels the off-diagonal terms to give [e−t00e3t]\begin{bmatrix} e^{-t} & 0 \\ 0 & e^{3t} \end{bmatrix} and the wrong path [3e−t2e3t]\begin{bmatrix} 3e^{-t} \\ 2e^{3t} \end{bmatrix}.)
Multiplying eAte^{At} by x⃗(0)=[32]\vec{x}(0) = \begin{bmatrix} 3 \\ 2 \end{bmatrix} gives:
x⃗(t)=[2e−t+e3te−t+e3t]\displaystyle \vec{x}(t) = \begin{bmatrix} \firstsol{2e^{-t}} + \secondsol{e^{3t}} \\ \firstsol{e^{-t}} + \secondsol{e^{3t}} \end{bmatrix}
5

Find a real fundamental matrix Ψ(t)\Psi(t) and the matrix exponential eAte^{At} for the system x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x} with A=[0−212]A = \begin{bmatrix} 0 & -2 \\ 1 & 2 \end{bmatrix}.

Expand e(1+i)tv⃗=et(cos⁡t+isin⁡t)v⃗e^{(1+i)t}\vec{v} = e^t(\cos t + i\sin t)\vec{v} for one complex eigenvalue and use its real and imaginary parts as the columns of Ψ(t)\Psi(t).

The characteristic equation λ2−2λ+2=0\lambda^2 - 2\lambda + 2 = 0 gives λ=1±i\lambda = 1 \pm i. Using λ=1+i\lambda = 1 + i with eigenvector v⃗=[−1+i1]\vec{v} = \begin{bmatrix} -1 + i \\ 1 \end{bmatrix}, expanding et(cos⁡t+isin⁡t)[−1+i1]e^t(\cos t + i\sin t)\begin{bmatrix} -1 + i \\ 1 \end{bmatrix} and taking the real and imaginary parts gives:
Ψ(t)=[−et(cos⁡t+sin⁡t)et(cos⁡t−sin⁡t)etcos⁡tetsin⁡t],Ψ(0)=[−1110]\displaystyle \begin{aligned} \Psi(t) &= \begin{bmatrix} \firstsol{-e^t(\cos t + \sin t)} & \secondsol{e^t(\cos t - \sin t)} \\ \firstsol{e^t\cos t} & \secondsol{e^t\sin t} \end{bmatrix}, \\ \Psi(0) &= \begin{bmatrix} \firstsol{-1} & \secondsol{1} \\ \firstsol{1} & \secondsol{0} \end{bmatrix} \end{aligned}
Inverting Ψ(0)\Psi(0) with det⁡(Ψ(0))=−1\det(\Psi(0)) = -1 gives Ψ(0)−1=1−1[0−1−1−1]=[0111]\Psi(0)^{-1} = \frac{1}{-1}\begin{bmatrix} 0 & -1 \\ -1 & -1 \end{bmatrix} = \begin{bmatrix} 0 & 1 \\ 1 & 1 \end{bmatrix}.
(Watch out: forgetting to divide by det⁡(Ψ(0))=−1\det(\Psi(0)) = -1 flips every sign in Ψ(0)−1\Psi(0)^{-1} and gives the negative of eAte^{At}, [−et(cos⁡t−sin⁡t)2etsin⁡t−etsin⁡t−et(cos⁡t+sin⁡t)]\begin{bmatrix} -e^t(\cos t - \sin t) & 2e^t\sin t \\ -e^t\sin t & -e^t(\cos t + \sin t) \end{bmatrix}, which you can catch by noticing t=0t = 0 gives −I-I instead of II.)
Multiplying Ψ(t)Ψ(0)−1\Psi(t)\Psi(0)^{-1} gives:
eAt=[et(cos⁡t−sin⁡t)−2etsin⁡tetsin⁡tet(cos⁡t+sin⁡t)]\displaystyle e^{At} = \begin{bmatrix} \secondsol{e^t(\cos t - \sin t)} & -2e^t\sin t \\ \secondsol{e^t\sin t} & e^t(\cos t + \sin t) \end{bmatrix}
6

Find a fundamental matrix Ψ(t)\Psi(t) and the matrix exponential eAte^{At} for the system x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x} with A=[−1−11−3]A = \begin{bmatrix} -1 & -1 \\ 1 & -3 \end{bmatrix}.

After finding the single eigenvector v⃗\firstsol{\vec{v}} for the repeated eigenvalue λ=−2\lambda = -2, solve (A+2I)w⃗=v⃗(A + 2I)\secondsol{\vec{w}} = \firstsol{\vec{v}} to build the second column e−2t(tv⃗+w⃗)e^{-2t}(t\firstsol{\vec{v}} + \secondsol{\vec{w}}).

The characteristic equation (λ+2)2=0(\lambda + 2)^2 = 0 gives the repeated eigenvalue λ=−2\lambda = -2. Solving (A+2I)v⃗=0⃗(A + 2I)\firstsol{\vec{v}} = \vec{0} gives v⃗=[11]\firstsol{\vec{v}} = \firstsol{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}, and solving (A+2I)w⃗=v⃗(A + 2I)\secondsol{\vec{w}} = \firstsol{\vec{v}} gives w⃗=[10]\secondsol{\vec{w}} = \secondsol{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}.
(Watch out: writing the second solution as te−2tv⃗=[te−2tte−2t]te^{-2t}\firstsol{\vec{v}} = \begin{bmatrix} te^{-2t} \\ te^{-2t} \end{bmatrix} without +w⃗+\secondsol{\vec{w}} makes the second column zero at t=0t = 0, so Ψ(0)=[1010]\Psi(0) = \begin{bmatrix} 1 & 0 \\ 1 & 0 \end{bmatrix} has determinant 00 and cannot be inverted.)
Putting x⃗1(t)=e−2tv⃗\firstsol{\vec{x}_1(t)} = e^{-2t}\firstsol{\vec{v}} and x⃗2(t)=e−2t(tv⃗+w⃗)\secondsol{\vec{x}_2(t)} = e^{-2t}(t\firstsol{\vec{v}} + \secondsol{\vec{w}}) into the columns of Ψ(t)\Psi(t) and inverting Ψ(0)\Psi(0) gives:
Ψ(t)=[e−2t(t+1)e−2te−2tte−2t],Ψ(0)=[1110],Ψ(0)−1=[011−1]\displaystyle \begin{aligned} \Psi(t) &= \begin{bmatrix} \firstsol{e^{-2t}} & \secondsol{(t + 1)e^{-2t}} \\ \firstsol{e^{-2t}} & \secondsol{te^{-2t}} \end{bmatrix}, \\ \Psi(0) &= \begin{bmatrix} \firstsol{1} & \secondsol{1} \\ \firstsol{1} & \secondsol{0} \end{bmatrix}, \\ \Psi(0)^{-1} &= \begin{bmatrix} 0 & 1 \\ 1 & -1 \end{bmatrix} \end{aligned}
Multiplying Ψ(t)Ψ(0)−1\Psi(t)\Psi(0)^{-1} gives:
eAt=[(t+1)e−2t−te−2tte−2t(1−t)e−2t]\displaystyle e^{At} = \begin{bmatrix} \secondsol{(t + 1)e^{-2t}} & -te^{-2t} \\ \secondsol{te^{-2t}} & (1 - t)e^{-2t} \end{bmatrix}
7

In an unknown system x⃗′=Ax⃗\rate{\vec{x}'} = A\vec{x}, a particle starting at x⃗(0)=[10]\vec{x}(0) = \begin{bmatrix} 1 \\ 0 \end{bmatrix} follows the path x⃗1(t)=[3et−2e−tet−e−t]\vec{x}_1(t) = \begin{bmatrix} 3e^t - 2e^{-t} \\ e^t - e^{-t} \end{bmatrix}, and a particle starting at x⃗(0)=[01]\vec{x}(0) = \begin{bmatrix} 0 \\ 1 \end{bmatrix} follows the path x⃗2(t)=[−6et+6e−t−2et+3e−t]\vec{x}_2(t) = \begin{bmatrix} -6e^t + 6e^{-t} \\ -2e^t + 3e^{-t} \end{bmatrix}. Without finding eigenvalues or eigenvectors, write down eAte^{At}, find the path of a particle starting at x⃗(0)=[21]\vec{x}(0) = \begin{bmatrix} 2 \\ 1 \end{bmatrix}, and use ddt(eAt)=AeAt\rate{\frac{d}{dt}(e^{At})} = Ae^{At} at t=0t = 0 to find the matrix AA.

Which starting points do the two columns of eAte^{At} come from, and what does the right side of ddt(eAt)=AeAt\rate{\frac{d}{dt}(e^{At})} = Ae^{At} simplify to when you plug in t=0t = 0 after differentiating?

Because the columns of eAte^{At} are the paths starting at [10]\xcoord{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} and [01]\ycoord{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}, putting x⃗1(t)\xcoord{\vec{x}_1(t)} and x⃗2(t)\ycoord{\vec{x}_2(t)} side by side gives eAte^{At} directly, and multiplying by [21]\begin{bmatrix} 2 \\ 1 \end{bmatrix} gives the path:
eAt=[3et−2e−t−6et+6e−tet−e−t−2et+3e−t],x⃗(t)=eAt[21]=[2e−te−t]\displaystyle \begin{aligned} e^{At} &= \begin{bmatrix} \xcoord{3e^t - 2e^{-t}} & \ycoord{-6e^t + 6e^{-t}} \\ \xcoord{e^t - e^{-t}} & \ycoord{-2e^t + 3e^{-t}} \end{bmatrix}, \\ \vec{x}(t) &= e^{At}\begin{bmatrix} 2 \\ 1 \end{bmatrix} = \begin{bmatrix} 2e^{-t} \\ e^{-t} \end{bmatrix} \end{aligned}
Differentiating eAte^{At} with respect to tt before plugging in t=0t = 0 (where AeA⋅0=AI=AAe^{A\cdot 0} = AI = A) gives:
ddt(eAt)=[3et+2e−t−6et−6e−tet+e−t−2et−3e−t]\displaystyle \rate{\frac{d}{dt}(e^{At})} = \begin{bmatrix} \xcoord{3e^t + 2e^{-t}} & \ycoord{-6e^t - 6e^{-t}} \\ \xcoord{e^t + e^{-t}} & \ycoord{-2e^t - 3e^{-t}} \end{bmatrix}
(Watch out: forgetting the minus sign from the chain rule when differentiating the e−te^{-t} terms leaves −2e−t-2e^{-t} instead of +2e−t+2e^{-t}, which turns the derivatives at t=0t = 0 into the identity matrix [1001]\begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}.)
Evaluating ddt(eAt)\rate{\frac{d}{dt}(e^{At})} at t=0t = 0 gives:
A=[5−122−5]\displaystyle A = \begin{bmatrix} 5 & -12 \\ 2 & -5 \end{bmatrix}