Differential EquationsLinear Systems3 of 6
Linear Systems · 3

Repeated Eigenvalues and Generalized Eigenvectors

To solve a 2D system x⃗′=Ax⃗\velocity{\vec{x}'} = A\vec{x}, we need two independent solutions to cover the plane. That runs into trouble when a repeated eigenvalue gives us only a single eigenvector line.

When Two Eigenvector Lines Merge into One
x⃗′=Ax⃗\htmlClass{lc-pink}{\vec{x}'} = A\vec{x}
v⃗1\htmlClass{lc-green}{\vec{v}_1}
v⃗2\htmlClass{lc-violet}{\vec{v}_2}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}

When v⃗\eigvec{\vec{v}} is the only eigenvector direction, we only get one straight-line solution, x⃗1(t)=eλtv⃗\eigvec{\vec{x}_1}(t) = e^{\lambda t}\eigvec{\vec{v}}. Multiplying by tt like we did for y′′−4y′+4y=0y'' - 4y' + 4y = 0 doesn't work by itself: the product rule on x⃗2(t)=teλtv⃗\vec{x}_2(t) = te^{\lambda t}\eigvec{\vec{v}} leaves an extra eλtv⃗\leftover{e^{\lambda t}\vec{v}} on the derivative side with nothing on the Ax⃗2(t)A\vec{x}_2(t) side to match it:

eλtv⃗+λteλtv⃗⏟x⃗2′(t)≠λteλtv⃗⏟Ax⃗2(t)\displaystyle \underbrace{\leftover{e^{\lambda t}\vec{v}} + \lambda t e^{\lambda t}\eigvec{\vec{v}}}_{\velocity{\vec{x}_2'(t)}} \neq \underbrace{\lambda t e^{\lambda t}\eigvec{\vec{v}}}_{A\vec{x}_2(t)}

For the two sides of x⃗′=Ax⃗\velocity{\vec{x}'} = A\vec{x} to match, we need a second vector w⃗\genvec{\vec{w}} that produces that missing v⃗\eigvec{\vec{v}} when multiplied by AA.

1

The Drift Matrix and Generalized Eigenvectors

A generalized eigenvector is a vector w⃗\genvec{\vec{w}} pointing off the eigenvector line that the matrix AA stretches by λ\lambda and pushes sideways by the eigenvector v⃗\eigvec{\vec{v}}: Aw⃗=λw⃗+v⃗A\genvec{\vec{w}} = \lambda\genvec{\vec{w}} + \eigvec{\vec{v}}.

The Drift Matrix and Generalized Eigenvectors
Aw⃗=  ?A\htmlClass{lc-violet}{\vec{w}} = \;?
v⃗\htmlClass{lc-green}{\vec{v}}
w⃗\htmlClass{lc-violet}{\vec{w}}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}

Subtracting the usual λ\lambda stretching from AA leaves the drift matrix A−λIA - \lambda I, which sends the eigenvector v⃗\eigvec{\vec{v}} to 0⃗\vec{0} in one step and pushes w⃗\genvec{\vec{w}} onto v⃗\eigvec{\vec{v}} first:

(A−λI)⏟drift matrixw⃗⏟generalizedeigenvector=v⃗,(A−λI)v⃗=0⃗\displaystyle \begin{aligned} \underbrace{(A - \lambda I)}_{\text{drift matrix}}\underbrace{\genvec{\vec{w}}}_{\substack{\text{generalized} \\ \text{eigenvector}}} &= \eigvec{\vec{v}}, \\[4pt] (A - \lambda I)\eigvec{\vec{v}} &= \vec{0} \end{aligned}

Together, these two steps form a chain:

w⃗→A−λIv⃗→A−λI0⃗\displaystyle \genvec{\vec{w}} \xrightarrow{A - \lambda I} \eigvec{\vec{v}} \xrightarrow{A - \lambda I} \vec{0}

A point starting at w⃗\genvec{\vec{w}} drifts steadily in the v⃗\eigvec{\vec{v}} direction as w⃗+tv⃗\genvec{\vec{w}} + t\eigvec{\vec{v}} while growing exponentially by eλte^{\lambda t}, giving our second independent solution:

x⃗2(t)\displaystyle \genvec{\vec{x}_2}(t) =eλt(w⃗+tv⃗)\displaystyle = e^{\lambda t}(\genvec{\vec{w}} + t\eigvec{\vec{v}})

When AA multiplies eλtw⃗e^{\lambda t}\genvec{\vec{w}}, the extra +v⃗+\eigvec{\vec{v}} push from Aw⃗=λw⃗+v⃗A\genvec{\vec{w}} = \lambda\genvec{\vec{w}} + \eigvec{\vec{v}} gives the exact +eλtv⃗+\eigvec{e^{\lambda t}\vec{v}} term needed to match the product rule on teλtv⃗te^{\lambda t}\eigvec{\vec{v}}.

For a matrix with one eigenvector line, the drift vector (A−λI)w⃗(A - \lambda I)\genvec{\vec{w}} is 0⃗\vec{0} on that line and points along the line everywhere else, so a whole line of vectors w⃗\genvec{\vec{w}} gives the exact drift vector v⃗\eigvec{\vec{v}}.

Every vector off the eigenvector line gets stretched plus a drift parallel to the eigenvector, and a whole parallel line of vectors gives that exact eigenvector as the drift.
2

Solving a 2×22 \times 2 System with a Repeated Eigenvalue

Let's use a two-step chain to find the general solution of the system

x⃗′=[31−11]x⃗\displaystyle \velocity{\vec{x}'} = \begin{bmatrix} 3 & 1 \\ -1 & 1 \end{bmatrix}\vec{x}
Solving a 2×2 System with a Repeated Eigenvalue
x⃗′=[31−11]x⃗x⃗(t)=  ?\displaystyle \begin{aligned} \htmlClass{lc-pink}{\vec{x}'} &= \begin{bmatrix} 3 & 1 \\ -1 & 1 \end{bmatrix}\vec{x} \\[6pt] \vec{x}(t) &= \;? \end{aligned}
w⃗→  A−λI  v⃗→  A−λI  0⃗\displaystyle \htmlClass{lc-violet}{\vec{w}} \xrightarrow{\;A - \lambda I\;} \htmlClass{lc-green}{\vec{v}} \xrightarrow{\;A - \lambda I\;} \vec{0}
Text solution
Subtract λ\lambda from the diagonal to find the repeated eigenvalue and drift matrixSetting the determinant of A−λIA - \lambda I to zero gives a double root λ=2\lambda = 2, which we plug back into the diagonal to get the drift matrix A−2IA - 2I.
det⁡(A−λI)=det⁡[3−λ1−11−λ]=(3−λ)(1−λ)−(−1)=λ2−4λ+4=(λ−2)2=0  ⟹  λ=2,2A−2I=[3−21−11−2]=[11−1−1]\displaystyle \begin{aligned} &\det(A - \lambda I) \\ &\quad= \det\begin{bmatrix} 3 - \lambda & 1 \\ -1 & 1 - \lambda \end{bmatrix} \\ &\quad= (3 - \lambda)(1 - \lambda) - (-1) \\ &\quad= \lambda^2 - 4\lambda + 4 \\ &\quad= (\lambda - 2)^2 = 0 \\ &\quad\implies \lambda = 2, 2 \\[6pt] &A - 2I = \begin{bmatrix} 3 - 2 & 1 \\ -1 & 1 - 2 \end{bmatrix} \\ &\quad= \begin{bmatrix} 1 & 1 \\ -1 & -1 \end{bmatrix} \end{aligned}
Build the chain w⃗→v⃗→0⃗\genvec{\vec{w}} \to \eigvec{\vec{v}} \to \vec{0} using A−2IA - 2ISolve (A−2I)v⃗=0⃗(A - 2I)\eigvec{\vec{v}} = \vec{0} for the eigenvector v⃗\eigvec{\vec{v}}, then go back one step to (A−2I)w⃗=v⃗(A - 2I)\genvec{\vec{w}} = \eigvec{\vec{v}} and pick the simplest pair of numbers that adds to 11 (or start with w⃗=[10]\genvec{\vec{w}} = \genvec{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} and multiply by A−2IA - 2I directly to get v⃗\eigvec{\vec{v}}).
[11−1−1][v1v2]=[00]  ⟹  v1+v2=0  ⟹  v⃗=[1−1][11−1−1][w1w2]=[1−1]  ⟹  w1+w2=1  ⟹  w⃗=[10]\displaystyle \begin{aligned} \begin{bmatrix} 1 & 1 \\ -1 & -1 \end{bmatrix}\begin{bmatrix} \eigvec{v_1} \\ \eigvec{v_2} \end{bmatrix} &= \begin{bmatrix} 0 \\ 0 \end{bmatrix} \\ &\implies \eigvec{v_1} + \eigvec{v_2} = 0 \\ &\implies \eigvec{\vec{v}} = \eigvec{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} \\[6pt] \begin{bmatrix} 1 & 1 \\ -1 & -1 \end{bmatrix}\begin{bmatrix} \genvec{w_1} \\ \genvec{w_2} \end{bmatrix} &= \eigvec{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} \\ &\implies \genvec{w_1} + \genvec{w_2} = 1 \\ &\implies \genvec{\vec{w}} = \genvec{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} \end{aligned}
Combine the straight-line and drifting solutionsAdding the straight-line solution along v⃗\eigvec{\vec{v}} and the drifting solution starting at w⃗\genvec{\vec{w}} gives the general solution for any starting point in the plane.
x⃗(t)=c1e2t[1−1]+c2e2t(t[1−1]+[10])\displaystyle \vec{x}(t) = \eigvec{c_1} e^{2t}\eigvec{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} + \genvec{c_2} e^{2t}\left(t\eigvec{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} + \genvec{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}\right)
3

Phase Portrait of an Improper Node

An improper node (also called a degenerate node) is the phase portrait we get when two eigenvector lines merge into one. Trajectories try to turn around the origin like a spiral, but they can't cross the single eigenvector line.

Phase Portrait of an Improper Node
x⃗(t)=c1 e2t[1−1]+c2 e2t(t[1−1]+[10])\begin{aligned} \vec{x}(t) &= \htmlClass{lc-green}{c_1}\, e^{2t}\htmlClass{lc-green}{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} \\[2pt] &\quad + \htmlClass{lc-violet}{c_2}\, e^{2t}\left(t\htmlClass{lc-green}{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} + \htmlClass{lc-violet}{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}\right) \end{aligned}
[1−1]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ -1 \end{bmatrix}}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}

Inside the drifting part w⃗+tv⃗\genvec{\vec{w}} + t\eigvec{\vec{v}}, the tv⃗t\eigvec{\vec{v}} term is much bigger than w⃗\genvec{\vec{w}} whenever ∣t∣|t| is large, so it points along −v⃗\eigvec{-\vec{v}} for large negative tt and along +v⃗\eigvec{+\vec{v}} for large positive tt:

w⃗+tv⃗≈{tv⃗ (parallel to −v⃗)as t→−∞tv⃗ (parallel to +v⃗)as t→+∞\displaystyle \genvec{\vec{w}} + t\eigvec{\vec{v}} \approx \begin{cases} t\eigvec{\vec{v}} \text{ (parallel to } \eigvec{-\vec{v}}\text{)} & \text{as } t \to -\infty \\ t\eigvec{\vec{v}} \text{ (parallel to } \eigvec{+\vec{v}}\text{)} & \text{as } t \to +\infty \end{cases}
λ>0: unstable\lambda > 0:\ \text{unstable}
+v⃗\htmlClass{lc-green}{+\vec{v}}
−v⃗\htmlClass{lc-green}{-\vec{v}}
y=−x\htmlClass{lc-green}{y = -x}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
λ<0: stable\lambda < 0:\ \text{stable}
+v⃗\htmlClass{lc-green}{+\vec{v}}
−v⃗\htmlClass{lc-green}{-\vec{v}}
y=−x\htmlClass{lc-green}{y = -x}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}

When λ>0\lambda > 0, the improper node is unstable: trajectories leave the origin tangent to one direction of v⃗\eigvec{\vec{v}} and sweep out to infinity parallel to the opposite direction of v⃗\eigvec{\vec{v}}. When λ<0\lambda < 0, the improper node is stable: trajectories come in from infinity parallel to one end of the eigenvector line and approach the origin tangent to the other end as t→+∞t \to +\infty.

Off the eigenvector line, every path leaves the origin along one end of the line and bends to run parallel to the other end without ever crossing it.
4

Three-Step Chains for Triple Eigenvalues

When a 3×33 \times 3 matrix has a triple eigenvalue λ,λ,λ\lambda, \lambda, \lambda with only a single eigenvector line v⃗\eigvec{\vec{v}}, we need a third independent solution in 3D space.

Three-Step Chains for Triple Eigenvalues
u⃗→  A−λI  w⃗→  A−λI  v⃗→  A−λI  0⃗x⃗3(t)=  ?\displaystyle \begin{gathered} \htmlClass{lc-orange}{\vec{u}} \xrightarrow{\;A - \lambda I\;} \htmlClass{lc-violet}{\vec{w}} \xrightarrow{\;A - \lambda I\;} \htmlClass{lc-green}{\vec{v}} \xrightarrow{\;A - \lambda I\;} \vec{0} \\[6pt] \htmlClass{lc-orange}{\vec{x}_3}(t) = \;? \end{gathered}

Extending the chain by one step adds a vector u⃗\thirdvec{\vec{u}} that the drift matrix sends to w⃗\genvec{\vec{w}}, which then goes to v⃗\eigvec{\vec{v}} and then to 0⃗\vec{0}:

u⃗→A−λIw⃗→A−λIv⃗→A−λI0⃗\displaystyle \thirdvec{\vec{u}} \xrightarrow{A - \lambda I} \genvec{\vec{w}} \xrightarrow{A - \lambda I} \eigvec{\vec{v}} \xrightarrow{A - \lambda I} \vec{0}

Starting at u⃗\thirdvec{\vec{u}} with drift velocity w⃗\genvec{\vec{w}} and constant drift acceleration v⃗\eigvec{\vec{v}} gives our third solution (the 12\frac{1}{2} cancels the 22 from differentiating t2t^2, so the derivative of 12t2v⃗\frac{1}{2}t^2\eigvec{\vec{v}} matches the drift of tw⃗t\genvec{\vec{w}}):

x⃗3(t)\displaystyle \thirdvec{\vec{x}_3}(t) =eλt(u⃗⏟position+tw⃗⏟velocity+12t2v⃗⏟acceleration)\displaystyle = e^{\lambda t}\left(\underbrace{\thirdvec{\vec{u}}}_{\text{position}} + t\underbrace{\genvec{\vec{w}}}_{\text{velocity}} + \tfrac{1}{2}t^2\underbrace{\eigvec{\vec{v}}}_{\text{acceleration}}\right)
5

Solving a 3×33 \times 3 System with a Triple Eigenvalue

Now let's solve a 3×33 \times 3 system with a triple eigenvalue: find the general solution of

x⃗′=[010−121001]x⃗\displaystyle \velocity{\vec{x}'} = \begin{bmatrix} 0 & 1 & 0 \\ -1 & 2 & 1 \\ 0 & 0 & 1 \end{bmatrix}\vec{x}
Solving a 3×3 System with a Triple Eigenvalue
x⃗′=[010−121001]x⃗x⃗(t)=  ?\displaystyle \begin{aligned} \htmlClass{lc-pink}{\vec{x}'} &= \begin{bmatrix} 0 & 1 & 0 \\ -1 & 2 & 1 \\ 0 & 0 & 1 \end{bmatrix}\vec{x} \\[6pt] \vec{x}(t) &= \;? \end{aligned}
Text solution
Expand the determinant along the bottom row to find the triple eigenvalue and drift matrixSubtracting λ\lambda from the diagonal and expanding along the third row gives the triple root λ=1,1,1\lambda = 1, 1, 1 and the drift matrix A−IA - I.
det⁡(A−λI)=det⁡[−λ10−12−λ1001−λ]=(1−λ)det⁡[−λ1−12−λ]=(1−λ)(λ2−2λ+1)=(1−λ)(λ−1)2=0  ⟹  λ=1,1,1A−I=[−110−111000]\displaystyle \begin{aligned} &\det(A - \lambda I) \\ &\quad= \det\begin{bmatrix} -\lambda & 1 & 0 \\ -1 & 2 - \lambda & 1 \\ 0 & 0 & 1 - \lambda \end{bmatrix} \\ &\quad= (1 - \lambda)\det\begin{bmatrix} -\lambda & 1 \\ -1 & 2 - \lambda \end{bmatrix} \\ &\quad= (1 - \lambda)(\lambda^2 - 2\lambda + 1) \\ &\quad= (1 - \lambda)(\lambda - 1)^2 = 0 \\ &\quad\implies \lambda = 1, 1, 1 \\[6pt] &A - I = \begin{bmatrix} -1 & 1 & 0 \\ -1 & 1 & 1 \\ 0 & 0 & 0 \end{bmatrix} \end{aligned}
Build the three-step chain u⃗→w⃗→v⃗→0⃗\thirdvec{\vec{u}} \to \genvec{\vec{w}} \to \eigvec{\vec{v}} \to \vec{0}You can solve (A−I)v⃗=0⃗(A - I)\eigvec{\vec{v}} = \vec{0}, (A−I)w⃗=v⃗(A - I)\genvec{\vec{w}} = \eigvec{\vec{v}}, and (A−I)u⃗=w⃗(A - I)\thirdvec{\vec{u}} = \genvec{\vec{w}} backwards, or start with a simple vector like u⃗=[001]\thirdvec{\vec{u}} = \thirdvec{\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}} and multiply twice by A−IA - I to get w⃗\genvec{\vec{w}} and v⃗\eigvec{\vec{v}} directly.
u⃗=[001]w⃗=(A−I)u⃗=[−110−111000][001]=[010]v⃗=(A−I)w⃗=[−110−111000][010]=[110],(A−I)v⃗=[000]\displaystyle \begin{aligned} \thirdvec{\vec{u}} &= \thirdvec{\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}} \\[4pt] \genvec{\vec{w}} &= (A - I)\thirdvec{\vec{u}} \\ &= \begin{bmatrix} -1 & 1 & 0 \\ -1 & 1 & 1 \\ 0 & 0 & 0 \end{bmatrix}\thirdvec{\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}} \\ &= \genvec{\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}} \\[4pt] \eigvec{\vec{v}} &= (A - I)\genvec{\vec{w}} \\ &= \begin{bmatrix} -1 & 1 & 0 \\ -1 & 1 & 1 \\ 0 & 0 & 0 \end{bmatrix}\genvec{\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}} \\ &= \eigvec{\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}}, \\[4pt] (A - I)\eigvec{\vec{v}} &= \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix} \end{aligned}
Put together the three independent solutionsEach step further back from 0⃗\vec{0} in the chain adds one more term of u⃗+tw⃗+12t2v⃗\thirdvec{\vec{u}} + t\genvec{\vec{w}} + \frac{1}{2}t^2\eigvec{\vec{v}} to give the general solution in 3D space.
x⃗(t)=c1et[110]+c2et([010]+t[110])+c3et([001]+t[010]+12t2[110])\displaystyle \begin{aligned} & \vec{x}(t) = {} \eigvec{c_1} e^t\eigvec{\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}} \\ & + \genvec{c_2} e^t\left(\genvec{\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}} + t\eigvec{\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}}\right) \\ & + \thirdvec{c_3} e^t\left(\thirdvec{\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}} + t\genvec{\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}} + \tfrac{1}{2}t^2\eigvec{\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}}\right) \end{aligned}

Key concepts

When eigenvalues are real and distinct, or when a repeated eigenvalue already has a full set of independent eigenvectors because A−λI=0A - \lambda I = 0 (as in A=[2002]A = \begin{bmatrix} 2 & 0 \\ 0 & 2 \end{bmatrix}, where every direction is an eigenvector), you already have enough straight-line solutions eλtv⃗e^{\lambda t}\eigvec{\vec{v}} and do not need generalized eigenvectors. You only build a chain when a repeated eigenvalue λ\lambda leaves A−λI≠0A - \lambda I \neq 0 with too few eigenvector lines.

For a 2×22 \times 2 matrix with a repeated eigenvalue λ\lambda and one eigenvector line, the drift matrix A−λIA - \lambda I sends a generalized eigenvector w⃗\genvec{\vec{w}} to the eigenvector v⃗\eigvec{\vec{v}} before sending v⃗\eigvec{\vec{v}} to 0⃗\vec{0}:

w⃗→A−λIv⃗→A−λI0⃗  ⟹  x⃗(t)\displaystyle \genvec{\vec{w}} \xrightarrow{A - \lambda I} \eigvec{\vec{v}} \xrightarrow{A - \lambda I} \vec{0} \implies \vec{x}(t) =c1eλtv⃗+c2eλt(w⃗+tv⃗)\displaystyle = \eigvec{c_1} e^{\lambda t}\eigvec{\vec{v}} + \genvec{c_2} e^{\lambda t}(\genvec{\vec{w}} + t\eigvec{\vec{v}})

Instead of solving two systems backwards, you can pick any vector w⃗\genvec{\vec{w}} off the eigenvector line (like [10]\genvec{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}, or x⃗(0)\vec{x}(0) in an initial value problem) and multiply once by A−λIA - \lambda I to get v⃗=(A−λI)w⃗\eigvec{\vec{v}} = (A - \lambda I)\genvec{\vec{w}}, giving solutions like e2t([10]+t[1−1])e^{2t}\left(\genvec{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} + t\eigvec{\begin{bmatrix} 1 \\ -1 \end{bmatrix}}\right). In the phase plane, this gives an improper node: trajectories meet the origin tangent to v⃗\eigvec{\vec{v}} and head out parallel to v⃗\eigvec{\vec{v}} far away, moving outward if λ>0\lambda > 0 and inward if λ<0\lambda < 0, turning in the direction of the velocity arrow Ax⃗\velocity{A\vec{x}} at a test point like (1,0)(1, 0).

For a 3×33 \times 3 matrix with a triple eigenvalue λ\lambda and one eigenvector line, the chain goes one step further back: u⃗→A−λIw⃗→A−λIv⃗→A−λI0⃗\thirdvec{\vec{u}} \xrightarrow{A - \lambda I} \genvec{\vec{w}} \xrightarrow{A - \lambda I} \eigvec{\vec{v}} \xrightarrow{A - \lambda I} \vec{0}. This adds the constant-acceleration solution x⃗3(t)=eλt(u⃗+tw⃗+12t2v⃗)\thirdvec{\vec{x}_3}(t) = e^{\lambda t}\left(\thirdvec{\vec{u}} + t\genvec{\vec{w}} + \frac{1}{2}t^2\eigvec{\vec{v}}\right), where the eigenvector v⃗\eigvec{\vec{v}} at the end of the chain always gets the highest power of tt, as in et([001]+t[010]+12t2[110])e^t\left(\thirdvec{\begin{bmatrix} 0 \\ 0 \\ 1 \end{bmatrix}} + t\genvec{\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}} + \frac{1}{2}t^2\eigvec{\begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}}\right).

6

Practice

1

Find the general solution of x⃗′=[4−112]x⃗\velocity{\vec{x}'} = \begin{bmatrix} 4 & -1 \\ 1 & 2 \end{bmatrix}\vec{x}.

After finding the repeated eigenvalue λ\lambda, form the drift matrix A−λIA - \lambda I and see what vector comes out when you multiply w⃗=[10]\genvec{\vec{w}} = \genvec{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} by A−λIA - \lambda I.

The characteristic equation is
det⁡[4−λ−112−λ]=(4−λ)(2−λ)+1=λ2−6λ+9=(λ−3)2=0  ⟹  λ=3,3\displaystyle \det\begin{bmatrix} 4 - \lambda & -1 \\ 1 & 2 - \lambda \end{bmatrix} = (4 - \lambda)(2 - \lambda) + 1 = \lambda^2 - 6\lambda + 9 = (\lambda - 3)^2 = 0 \implies \lambda = 3, 3
This gives the drift matrix
A−3I=[1−11−1]\displaystyle A - 3I = \begin{bmatrix} 1 & -1 \\ 1 & -1 \end{bmatrix}
Starting the chain at w⃗=[10]\genvec{\vec{w}} = \genvec{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} and multiplying by A−3IA - 3I gives
v⃗=(A−3I)w⃗=[1−11−1][10]=[11],(A−3I)v⃗=[00]\displaystyle \begin{aligned} \eigvec{\vec{v}} &= (A - 3I)\genvec{\vec{w}} = \begin{bmatrix} 1 & -1 \\ 1 & -1 \end{bmatrix}\genvec{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} = \eigvec{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}, \\[4pt] (A - 3I)\eigvec{\vec{v}} &= \begin{bmatrix} 0 \\ 0 \end{bmatrix} \end{aligned}
When writing x⃗2(t)=e3t(tv⃗+w⃗)\genvec{\vec{x}_2}(t) = e^{3t}(t\eigvec{\vec{v}} + \genvec{\vec{w}}), be careful not to attach tt to w⃗\genvec{\vec{w}} instead of the eigenvector v⃗\eigvec{\vec{v}}, which would give the wrong second term c2e3t(t[10]+[11])\genvec{c_2} e^{3t}\left(t\begin{bmatrix} 1 \\ 0 \end{bmatrix} + \begin{bmatrix} 1 \\ 1 \end{bmatrix}\right).
x⃗(t)=c1e3t[11]+c2e3t(t[11]+[10])\displaystyle \vec{x}(t) = \eigvec{c_1} e^{3t}\eigvec{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \genvec{c_2} e^{3t}\left(t\eigvec{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \genvec{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}\right)
2

Solve the initial value problem x⃗′=[−31−1−1]x⃗\velocity{\vec{x}'} = \begin{bmatrix} -3 & 1 \\ -1 & -1 \end{bmatrix}\vec{x} with x⃗(0)=[21]\vec{x}(0) = \begin{bmatrix} 2 \\ 1 \end{bmatrix}.

Once you have the drift matrix A−λIA - \lambda I, start your chain directly at the initial position w⃗=x⃗(0)=[21]\genvec{\vec{w}} = \vec{x}(0) = \genvec{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}.

The characteristic equation is
det⁡[−3−λ1−1−1−λ]=(−3−λ)(−1−λ)+1=λ2+4λ+4=(λ+2)2=0  ⟹  λ=−2,−2\displaystyle \det\begin{bmatrix} -3 - \lambda & 1 \\ -1 & -1 - \lambda \end{bmatrix} = (-3 - \lambda)(-1 - \lambda) + 1 = \lambda^2 + 4\lambda + 4 = (\lambda + 2)^2 = 0 \implies \lambda = -2, -2
Subtracting λ=−2\lambda = -2 from the diagonal adds 22 to each diagonal entry:
A−(−2)I=A+2I=[−11−11]\displaystyle A - (-2)I = A + 2I = \begin{bmatrix} -1 & 1 \\ -1 & 1 \end{bmatrix}
Starting the chain at w⃗=x⃗(0)=[21]\genvec{\vec{w}} = \vec{x}(0) = \genvec{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} and multiplying by the drift matrix A+2IA + 2I gives v⃗\eigvec{\vec{v}}. Watch out for multiplying w⃗\genvec{\vec{w}} by AA instead of A+2IA + 2I, which gives v⃗=[−5−3]\eigvec{\vec{v}} = \begin{bmatrix} -5 \\ -3 \end{bmatrix} and the wrong solution e−2t[2−5t1−3t]e^{-2t}\begin{bmatrix} 2 - 5t \\ 1 - 3t \end{bmatrix}:
v⃗=(A+2I)[21]=[−11−11][21]=[−1−1]\displaystyle \eigvec{\vec{v}} = (A + 2I)\genvec{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} = \begin{bmatrix} -1 & 1 \\ -1 & 1 \end{bmatrix}\genvec{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} = \eigvec{\begin{bmatrix} -1 \\ -1 \end{bmatrix}}
Plugging w⃗\genvec{\vec{w}} and v⃗\eigvec{\vec{v}} into x⃗(t)=e−2t(w⃗+tv⃗)\vec{x}(t) = e^{-2t}(\genvec{\vec{w}} + t\eigvec{\vec{v}}) gives
x⃗(t)=e−2t([21]+t[−1−1])=e−2t[2−t1−t]\displaystyle \vec{x}(t) = e^{-2t}\left(\genvec{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} + t\eigvec{\begin{bmatrix} -1 \\ -1 \end{bmatrix}}\right) = e^{-2t}\begin{bmatrix} 2 - t \\ 1 - t \end{bmatrix}
3

For x⃗′=[−1−41−5]x⃗\velocity{\vec{x}'} = \begin{bmatrix} -1 & -4 \\ 1 & -5 \end{bmatrix}\vec{x}, find the single eigenvector line, state whether the improper node at the origin is stable or unstable, and determine whether trajectories off the line turn clockwise or counterclockwise and what direction they approach the origin along as t→+∞t \to +\infty.

Find λ\lambda and v⃗\eigvec{\vec{v}} from (A−λI)v⃗=0⃗(A - \lambda I)\eigvec{\vec{v}} = \vec{0}, then compute the velocity arrow x⃗′=Ax⃗\velocity{\vec{x}'} = A\vec{x} at the test point (1,0)(1, 0).

The characteristic equation is
det⁡[−1−λ−41−5−λ]=(−1−λ)(−5−λ)+4=λ2+6λ+9=(λ+3)2=0  ⟹  λ=−3,−3\displaystyle \det\begin{bmatrix} -1 - \lambda & -4 \\ 1 & -5 - \lambda \end{bmatrix} = (-1 - \lambda)(-5 - \lambda) + 4 = \lambda^2 + 6\lambda + 9 = (\lambda + 3)^2 = 0 \implies \lambda = -3, -3
Using A+3I=[2−41−2]A + 3I = \begin{bmatrix} 2 & -4 \\ 1 & -2 \end{bmatrix}, the eigenvector equation (A+3I)v⃗=0⃗(A + 3I)\eigvec{\vec{v}} = \vec{0} gives v1−2v2=0\eigvec{v_1} - 2\eigvec{v_2} = 0. Be careful not to read the coefficients directly as v⃗=[12]\eigvec{\vec{v}} = \begin{bmatrix} 1 \\ 2 \end{bmatrix} (y=2xy = 2x): here v1=2v2\eigvec{v_1} = 2\eigvec{v_2}, so v⃗=[21]\eigvec{\vec{v}} = \eigvec{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} along the line y=12x\eigvec{y = \frac{1}{2}x}.
Since λ=−3<0\lambda = -3 < 0, the improper node is stable. At the test point (1,0)(1, 0), plug into the original matrix AA, since the velocity is x⃗′=Ax⃗\velocity{\vec{x}'} = A\vec{x}:
x⃗′=[−1−41−5][10]=[−11]\displaystyle \velocity{\vec{x}'} = \begin{bmatrix} -1 & -4 \\ 1 & -5 \end{bmatrix}\begin{bmatrix} 1 \\ 0 \end{bmatrix} = \velocity{\begin{bmatrix} -1 \\ 1 \end{bmatrix}}
This velocity arrow at (1,0)(1, 0) points left and up.
Single eigenvector line y=12x\eigvec{y = \frac{1}{2}x} (along v⃗=[21]\eigvec{\vec{v}} = \eigvec{\begin{bmatrix} 2 \\ 1 \end{bmatrix}}); stable; trajectories turn counterclockwise and approach the origin tangent to the line y=12x\eigvec{y = \frac{1}{2}x} as t→+∞t \to +\infty.
4

Find the general solution of x⃗′=[20013−1011]x⃗\velocity{\vec{x}'} = \begin{bmatrix} 2 & 0 & 0 \\ 1 & 3 & -1 \\ 0 & 1 & 1 \end{bmatrix}\vec{x}.

Expand det⁡(A−λI)\det(A - \lambda I) along the top row, then start a three-step chain at u⃗=[100]\thirdvec{\vec{u}} = \thirdvec{\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}} and multiply twice by A−λIA - \lambda I.

Expanding det⁡(A−λI)\det(A - \lambda I) along the top row gives
(2−λ)det⁡[3−λ−111−λ]=(2−λ)(λ2−4λ+4)=(2−λ)(λ−2)2=0  ⟹  λ=2,2,2\displaystyle (2 - \lambda)\det\begin{bmatrix} 3 - \lambda & -1 \\ 1 & 1 - \lambda \end{bmatrix} = (2 - \lambda)(\lambda^2 - 4\lambda + 4) = (2 - \lambda)(\lambda - 2)^2 = 0 \implies \lambda = 2, 2, 2
Subtracting λ=2\lambda = 2 from the diagonal gives the drift matrix
A−2I=[00011−101−1]\displaystyle A - 2I = \begin{bmatrix} 0 & 0 & 0 \\ 1 & 1 & -1 \\ 0 & 1 & -1 \end{bmatrix}
Starting the chain at u⃗=[100]\thirdvec{\vec{u}} = \thirdvec{\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}} and multiplying twice by A−2IA - 2I gives
u⃗=[100]→A−2Iw⃗=[010]→A−2Iv⃗=[011]→A−2I[000]\displaystyle \thirdvec{\vec{u}} = \thirdvec{\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}} \xrightarrow{A - 2I} \genvec{\vec{w}} = \genvec{\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}} \xrightarrow{A - 2I} \eigvec{\vec{v}} = \eigvec{\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}} \xrightarrow{A - 2I} \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}
In the third solution e2t(u⃗+tw⃗+12t2v⃗)e^{2t}\left(\thirdvec{\vec{u}} + t\genvec{\vec{w}} + \frac{1}{2}t^2\eigvec{\vec{v}}\right), watch out for forgetting the 12\frac{1}{2} factor on t2t^2, and for reversing the chain order so 12t2\frac{1}{2}t^2 multiplies u⃗\thirdvec{\vec{u}} instead of v⃗\eigvec{\vec{v}}, which gives the wrong third term c3e2t([011]+t[010]+12t2[100])\thirdvec{c_3} e^{2t}\left(\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix} + t\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix} + \tfrac{1}{2}t^2\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}\right).
x⃗(t)=c1e2t[011]+c2e2t([010]+t[011])+c3e2t([100]+t[010]+12t2[011])\displaystyle \begin{aligned} \vec{x}(t) = {} & \eigvec{c_1} e^{2t}\eigvec{\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}} + \genvec{c_2} e^{2t}\left(\genvec{\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}} + t\eigvec{\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}}\right) \\ & + \thirdvec{c_3} e^{2t}\left(\thirdvec{\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}} + t\genvec{\begin{bmatrix} 0 \\ 1 \\ 0 \end{bmatrix}} + \tfrac{1}{2}t^2\eigvec{\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}}\right) \end{aligned}