Differential EquationsLinear Systems1 of 6
Linear Systems · 1

The Eigenvalue Method

We know how to solve a single differential equation like x′=3x\xvar{x'} = 3\xvar{x}, where the rate of change is just a number times x\xvar{x}, giving x(t)=ce3t\xvar{x(t)} = ce^{3t}. Now we want to solve a system where two variables depend on each other:

x′=x+2yy′=2x+y\displaystyle \begin{aligned} \xvar{x'} &= \xvar{x} + 2\yvar{y} \\ \yvar{y'} &= 2\xvar{x} + \yvar{y} \end{aligned}
1

Straight-Line Solutions

In this system, we cannot solve for x(t)\xvar{x(t)} or y(t)\yvar{y(t)} separately because x′\xvar{x'} depends on y\yvar{y} and y′\yvar{y'} depends on x\xvar{x}. To see how the two variables move together, we look at (x,y)(\xvar{x}, \yvar{y}) as a point in the plane and write its velocity [x′y′]\vel{\begin{bmatrix} x' \\ y' \end{bmatrix}} in matrix form:

[x′y′]=[1221][xy]\displaystyle \vel{\begin{bmatrix} x' \\ y' \end{bmatrix}} = \begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix} \begin{bmatrix} \xvar{x} \\ \yvar{y} \end{bmatrix}
Why Paths Curve and Straight-Line Solutions
x′=x+2yy′=2x+y\begin{aligned} \htmlClass{lc-blue}{x'} &= \htmlClass{lc-blue}{x} + 2\htmlClass{lc-orange}{y} \\ \htmlClass{lc-orange}{y'} &= 2\htmlClass{lc-blue}{x} + \htmlClass{lc-orange}{y} \end{aligned}
(1,0)(\htmlClass{lc-blue}{1}, \htmlClass{lc-orange}{0})
[12]\htmlClass{lc-pink}{\begin{bmatrix} 1 \\ 2 \end{bmatrix}}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
x⃗(t)\displaystyle \vec{x}(t) =eλtv\displaystyle = e^{\lambda t}v

For [1221]\begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix}, the velocity bends paths into curves almost everywhere, except along two special lines through the origin where the velocity points straight along the line.

Here, paths curve in almost every direction, except along two special lines through the origin where velocity lines up with position.
2

Finding Straight-Line Solutions with Eigenvalues

To find the straight-line solutions of x′=x+2y\xvar{x'} = \xvar{x} + 2\yvar{y}, y′=2x+y\yvar{y'} = 2\xvar{x} + \yvar{y}, we need the non-zero directions v=[v1v2]v = \begin{bmatrix} \xvar{v_1} \\ \yvar{v_2} \end{bmatrix} that the matrix [1221]\begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix} multiplies by a number λ\lambda:

[1221][v1v2]⏟eigenvector v=λ⏟eigenvalue[v1v2]\displaystyle \begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix} \underbrace{\begin{bmatrix} \xvar{v_1} \\ \yvar{v_2} \end{bmatrix}}_{\text{eigenvector } v} = \underbrace{\lambda}_{\text{eigenvalue}} \begin{bmatrix} \xvar{v_1} \\ \yvar{v_2} \end{bmatrix}
Finding Straight-Line Solutions with Eigenvalues
[1221][v1v2]=λ[v1v2]λ=  ?v=  ?\displaystyle \begin{aligned} \begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix}\begin{bmatrix} \htmlClass{lc-blue}{v_1} \\ \htmlClass{lc-orange}{v_2} \end{bmatrix} &= \lambda\begin{bmatrix} \htmlClass{lc-blue}{v_1} \\ \htmlClass{lc-orange}{v_2} \end{bmatrix} \\[8pt] \lambda &= \;? \\ v &= \;? \end{aligned}
Text solution
Subtract λ\lambda from the diagonal and set the determinant to zeroFor the two equations in [1−λ221−λ][v1v2]=[00]\begin{bmatrix} 1 - \lambda & 2 \\ 2 & 1 - \lambda \end{bmatrix}\begin{bmatrix} \xvar{v_1} \\ \yvar{v_2} \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} to give a whole line of solutions rather than just [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix}, they must say the same thing, which happens when the determinant is zero:
(1−λ)2−4=0(1−λ)2=41−λ=±2λ1=3,λ2=−1\displaystyle \begin{aligned} (1 - \lambda)^2 - 4 &= 0 \\ (1 - \lambda)^2 &= 4 \\ 1 - \lambda &= \pm 2 \\ \bone{\lambda_1 = 3}, \quad \btwo{\lambda_2} &= \btwo{-1} \end{aligned}
Plug in λ1=3\bone{\lambda_1 = 3} to find the outward straight-line solutionSubtracting 3\bone{3} from the diagonal makes both rows say v1=v2\xvar{v_1} = \yvar{v_2}, so we can pick any non-zero point on the line y=x\bone{y = x}, such as v1=1\xvar{v_1} = 1:
−2v1+2v2=0v1=v2v=[11]  ⟹  x⃗1(t)=e3t[11]\displaystyle \begin{aligned} -2\xvar{v_1} + 2\yvar{v_2} &= 0 \\ \xvar{v_1} &= \yvar{v_2} \\ v = \bone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} &\implies \vec{x}_1(t) = \bone{e^{3t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}} \end{aligned}
Plug in λ2=−1\btwo{\lambda_2 = -1} to find the inward straight-line solutionSubtracting −1\btwo{-1} (adding 11) on the diagonal gives the line y=−x\btwo{y = -x}, where picking v1=1\xvar{v_1} = 1 gives v2=−1\yvar{v_2} = -1:
2v1+2v2=0v2=−v1v=[1−1]  ⟹  x⃗2(t)=e−t[1−1]\displaystyle \begin{aligned} 2\xvar{v_1} + 2\yvar{v_2} &= 0 \\ \yvar{v_2} &= -\xvar{v_1} \\ v = \btwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} &\implies \vec{x}_2(t) = \btwo{e^{-t}\begin{bmatrix} 1 \\ -1 \end{bmatrix}} \end{aligned}
e3t[11]\htmlClass{lc-green}{e^{3t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}}
e−t[1−1]\htmlClass{lc-violet}{e^{-t}\begin{bmatrix} 1 \\ -1 \end{bmatrix}}
y=x\htmlClass{lc-green}{y = x}
y=−x\htmlClass{lc-violet}{y = -x}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}

So any point starting on y=x\bone{y = x} moves outward like e3t\bone{e^{3t}}, while any point starting on y=−x\btwo{y = -x} decays straight into (0,0)(0, 0) like e−t\btwo{e^{-t}}.

3

Combining Straight-Line Solutions for Any Starting Point

Those two solutions cover starting points on the lines y=x\bone{y = x} and y=−x\btwo{y = -x}. Now we want the solution for a starting point anywhere else in the plane, such as (1,0)(\xvar{1}, \yvar{0}) at t=0t = 0.

Combining Straight-Line Solutions for Any Starting Point
x⃗(t)=  ?\vec{x}(t) = \;?
(1,0)(\htmlClass{lc-blue}{1}, \htmlClass{lc-orange}{0})
[11]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}
[1−1]\htmlClass{lc-violet}{\begin{bmatrix} 1 \\ -1 \end{bmatrix}}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
Text solution
Combine the two straight-line solutions into the general solutionBecause [11]\bone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} and [1−1]\btwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} point along different lines, any starting point in the plane can be built from them, and each piece moves on its own along its line:
x⃗(t)=c1e3t[11]+c2e−t[1−1]\displaystyle \vec{x}(t) = \bone{c_1 e^{3t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \btwo{c_2 e^{-t}\begin{bmatrix} 1 \\ -1 \end{bmatrix}}
Plug in t=0t = 0 to find c1\bone{c_1} and c2\btwo{c_2} for (1,0)(\xvar{1}, \yvar{0})Setting t=0t = 0 turns both exponentials into 11 and gives two equations from the top and bottom rows:
c1[11]+c2[1−1]=[10]c1+c2=1c1−c2=0c1=12,c2=12\displaystyle \begin{aligned} \bone{c_1\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \btwo{c_2\begin{bmatrix} 1 \\ -1 \end{bmatrix}} &= \begin{bmatrix} \xvar{1} \\ \yvar{0} \end{bmatrix} \\ \bone{c_1} + \btwo{c_2} &= \xvar{1} \\ \bone{c_1} - \btwo{c_2} &= \yvar{0} \\ \bone{c_1} = \frac{1}{2}, \quad \btwo{c_2} &= \frac{1}{2} \end{aligned}
Write out the pathPlugging c1=12\bone{c_1} = \frac{1}{2} and c2=12\btwo{c_2} = \frac{1}{2} back in gives the path in vector form and as separate functions x(t)\xvar{x(t)} and y(t)\yvar{y(t)}:
[x(t)y(t)]=12e3t[11]+12e−t[1−1]x(t)=12e3t+12e−ty(t)=12e3t−12e−t\displaystyle \begin{aligned} \begin{bmatrix} \xvar{x(t)} \\ \yvar{y(t)} \end{bmatrix} &= \bone{\frac{1}{2}e^{3t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \btwo{\frac{1}{2}e^{-t}\begin{bmatrix} 1 \\ -1 \end{bmatrix}} \\ \xvar{x(t)} &= \bone{\frac{1}{2}e^{3t}} + \btwo{\frac{1}{2}e^{-t}} \\ \yvar{y(t)} &= \bone{\frac{1}{2}e^{3t}} - \btwo{\frac{1}{2}e^{-t}} \end{aligned}

So the path starting at (1,0)(\xvar{1}, \yvar{0}) curves because it is decaying inward along y=−x\btwo{y = -x} like e−t\btwo{e^{-t}} at the same time as it is growing outward along y=x\bone{y = x} like e3t\bone{e^{3t}}.

As t→∞t \to \infty, the e−t\btwo{e^{-t}} piece on y=−x\btwo{y = -x} shrinks to zero while the e3t\bone{e^{3t}} piece on y=x\bone{y = x} grows, bending the curve closer and closer to y=x\bone{y = x} unless the starting point sits right on y=−x\btwo{y = -x}.

Every curved path in the plane is the sum of two independent straight-line motions: an inward piece that shrinks to zero, and an outward piece that grows and takes over.
4

When Both Eigenvalues Have the Same Sign

In the first system, one eigenvalue was positive and one was negative. Now let's find the general solution and long-term behavior when both eigenvalues have the same sign:

x′=−3x+yy′=2x−2y\displaystyle \begin{aligned} \xvar{x'} &= -3\xvar{x} + \yvar{y} \\ \yvar{y'} &= 2\xvar{x} - 2\yvar{y} \end{aligned}
When Both Eigenvalues Have the Same Sign
x′=−3x+yy′=2x−2yx⃗(t)=  ?\displaystyle \begin{aligned} \htmlClass{lc-blue}{x'} &= -3\htmlClass{lc-blue}{x} + \htmlClass{lc-orange}{y} \\ \htmlClass{lc-orange}{y'} &= 2\htmlClass{lc-blue}{x} - 2\htmlClass{lc-orange}{y} \\[8pt] \vec{x}(t) &= \;? \end{aligned}
Text solution
Set the determinant to zero to find the eigenvaluesSubtracting λ\lambda from the diagonal of [−312−2]\begin{bmatrix} -3 & 1 \\ 2 & -2 \end{bmatrix} gives a quadratic with two negative roots:
(−3−λ)(−2−λ)−(1)(2)=0λ2+5λ+6−2=0λ2+5λ+4=0(λ+1)(λ+4)=0λ1=−1,λ2=−4\displaystyle \begin{aligned} (-3 - \lambda)(-2 - \lambda) - (1)(2) &= 0 \\ \lambda^2 + 5\lambda + 6 - 2 &= 0 \\ \lambda^2 + 5\lambda + 4 &= 0 \\ (\lambda + 1)(\lambda + 4) &= 0 \\ \bone{\lambda_1 = -1}, \quad \btwo{\lambda_2} &= \btwo{-4} \end{aligned}
Find the eigenvector for each eigenvalueAdding 11 to the diagonal for λ1=−1\bone{\lambda_1 = -1} and adding 44 to the diagonal for λ2=−4\btwo{\lambda_2 = -4} gives the two straight-line directions:
λ1=−1:−2v1+v2=0  ⟹  v2=2v1  ⟹  v=[12]λ2=−4:1v1+v2=0  ⟹  v2=−v1  ⟹  v=[1−1]\displaystyle \begin{aligned} \bone{\lambda_1 = -1}: \quad -2\xvar{v_1} + \yvar{v_2} = 0 &\implies \yvar{v_2} = 2\xvar{v_1} \implies v = \bone{\begin{bmatrix} 1 \\ 2 \end{bmatrix}} \\ \btwo{\lambda_2 = -4}: \quad 1\xvar{v_1} + \yvar{v_2} = 0 &\implies \yvar{v_2} = -\xvar{v_1} \implies v = \btwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}} \end{aligned}
Combine the straight-line solutions and compare the exponentialsBoth terms decay to zero as t→∞t \to \infty, with e−4t\btwo{e^{-4t}} shrinking much faster than e−t\bone{e^{-t}}:
x⃗(t)=c1e−t[12]⏟slower decay+c2e−4t[1−1]⏟faster decay\displaystyle \vec{x}(t) = \bone{c_1} \underbrace{\bone{e^{-t}\begin{bmatrix} 1 \\ 2 \end{bmatrix}}}_{\text{slower decay}} + \btwo{c_2} \underbrace{\btwo{e^{-4t}\begin{bmatrix} 1 \\ -1 \end{bmatrix}}}_{\text{faster decay}}
λ1=−1,λ2=−4\htmlClass{lc-green}{\lambda_1 = -1},\quad \htmlClass{lc-violet}{\lambda_2 = -4}
[12]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 2 \end{bmatrix}}
[1−1]\htmlClass{lc-violet}{\begin{bmatrix} 1 \\ -1 \end{bmatrix}}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
λ1=1,λ2=4\htmlClass{lc-green}{\lambda_1 = 1},\quad \htmlClass{lc-violet}{\lambda_2 = 4}
[12]\htmlClass{lc-green}{\begin{bmatrix} 1 \\ 2 \end{bmatrix}}
[1−1]\htmlClass{lc-violet}{\begin{bmatrix} 1 \\ -1 \end{bmatrix}}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}

So every solution decays to (0,0)(0, 0) as t→∞t \to \infty, and paths with c1≠0\bone{c_1} \neq 0 approach the origin tangent to the slower-decaying [12]\bone{\begin{bmatrix} 1 \\ 2 \end{bmatrix}} line (whereas if both eigenvalues were positive, like +1\bone{+1} and +4\btwo{+4}, all solutions would grow outward, and paths off the λ=1\bone{\lambda = 1} line would bend parallel to the faster-growing λ=4\btwo{\lambda = 4} line).

Because the fast piece shrinks away first, every path that doesn't start on the fast line comes into the origin tangent to the slow line.
5

Three-Variable Systems in 3D

Now let's find the general solution for a system of three equations in xx, yy, and zz:

x′=2xy′=x+y+2zz′=−x+2y+z\displaystyle \begin{aligned} x' &= 2x \\ y' &= x + y + 2z \\ z' &= -x + 2y + z \end{aligned}
Three-Variable Systems in 3D
x′=2xy′=x+y+2zz′=−x+2y+zx⃗(t)=  ?\displaystyle \begin{aligned} x' &= 2x \\ y' &= x + y + 2z \\ z' &= -x + 2y + z \\[6pt] \vec{x}(t) &= \;? \end{aligned}
Text solution
Expand the 3×33 \times 3 determinant across the top rowBecause the top row of [2−λ0011−λ2−121−λ]\begin{bmatrix} 2 - \lambda & 0 & 0 \\ 1 & 1 - \lambda & 2 \\ -1 & 2 & 1 - \lambda \end{bmatrix} has two zeros, the determinant factors into (2−λ)(2 - \lambda) times the bottom-right 2×22 \times 2 determinant:
det⁡[2−λ0011−λ2−121−λ]=0(2−λ)((1−λ)2−4)=0λ1=2,λ2=3,λ3=−1\displaystyle \begin{aligned} \det\begin{bmatrix} 2 - \lambda & 0 & 0 \\ 1 & 1 - \lambda & 2 \\ -1 & 2 & 1 - \lambda \end{bmatrix} &= 0 \\ (2 - \lambda)\big((1 - \lambda)^2 - 4\big) &= 0 \\ \bone{\lambda_1 = 2}, \quad \btwo{\lambda_2 = 3}, \quad \bthree{\lambda_3} &= \bthree{-1} \end{aligned}
For λ1=2\bone{\lambda_1 = 2}, write two components in terms of the thirdSubtracting 2\bone{2} from the diagonal makes the first equation 0=00 = 0; adding the second and third equations (v1−v2+2v3=0v_1 - v_2 + 2v_3 = 0 and −v1+2v2−v3=0-v_1 + 2v_2 - v_3 = 0) cancels v1v_1 so we can write both v2v_2 and v1v_1 in terms of v3v_3:
v2+v3=0  ⟹  v2=−v3v1−(−v3)+2v3=0  ⟹  v1=−3v3v3=1  ⟹  v=[−3−11]\displaystyle \begin{aligned} v_2 + v_3 = 0 &\implies v_2 = -v_3 \\ v_1 - (-v_3) + 2v_3 = 0 &\implies v_1 = -3v_3 \\ v_3 = 1 &\implies v = \bone{\begin{bmatrix} -3 \\ -1 \\ 1 \end{bmatrix}} \end{aligned}
Find the eigenvectors for λ2=3\btwo{\lambda_2 = 3} and λ3=−1\bthree{\lambda_3 = -1} and combine all threeFor λ2=3\btwo{\lambda_2 = 3} and λ3=−1\bthree{\lambda_3 = -1}, the first equation right away makes v1=0v_1 = 0, leaving a single equation relating v2v_2 and v3v_3:
λ2=3:−v1=0,−2v2+2v3=0  ⟹  v2=v3  ⟹  v=[011]λ3=−1:3v1=0,2v2+2v3=0  ⟹  v2=−v3  ⟹  v=[01−1]x⃗(t)=c1e2t[−3−11]+c2e3t[011]+c3e−t[01−1]\displaystyle \begin{aligned} \btwo{\lambda_2 = 3}: \quad -v_1 = 0, \quad -2v_2 + 2v_3 = 0 &\implies v_2 = v_3 \implies v = \btwo{\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}} \\ \bthree{\lambda_3 = -1}: \quad 3v_1 = 0, \quad 2v_2 + 2v_3 = 0 &\implies v_2 = -v_3 \implies v = \bthree{\begin{bmatrix} 0 \\ 1 \\ -1 \end{bmatrix}} \\ \vec{x}(t) = \bone{c_1 e^{2t}\begin{bmatrix} -3 \\ -1 \\ 1 \end{bmatrix}} + \btwo{c_2 e^{3t}\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}} &+ \bthree{c_3 e^{-t}\begin{bmatrix} 0 \\ 1 \\ -1 \end{bmatrix}} \end{aligned}

So any path in 3D space is a combination of three separate straight-line motions along the three eigenvectors.

Key concepts

When a system's equations don't mix the variables, such as x′=3x\xvar{x'} = 3\xvar{x} and y′=−y\yvar{y'} = -\yvar{y}, you don't need matrices or eigenvalues at all, because each equation solves directly as x(t)=c1e3t\xvar{x(t)} = c_1 e^{3t} and y(t)=c2e−t\yvar{y(t)} = c_2 e^{-t}.

When the variables are mixed together in x⃗′=Ax⃗\vel{\vec{x}'} = A\vec{x}, we separate their motions by finding the straight lines where AA acts like a single number λ\lambda:

Find the growth or decay rates (λ\lambda)

Solve det⁡(A−λI)=0\det(A - \lambda I) = 0. When all eigenvalues are real and different (two in 2D, three in 3D), each one gives a separate straight-line direction. (If det⁡(A−λI)=0\det(A - \lambda I) = 0 gives complex numbers with ii so paths spiral or circle around the origin, or a repeated eigenvalue without enough separate lines, straight-line solutions alone won't build the general solution.)

Find each line's direction (vv) and combine

For each λ\lambda, plug it back into (A−λI)v=0(A - \lambda I)v = 0, write the variables in terms of one free variable, and pick a simple non-zero number to get vv. Combine the straight-line solutions eλtve^{\lambda t}v:

x⃗(t)=c1e3t[11]+c2e−t[1−1]\displaystyle \vec{x}(t) = \bone{c_1 e^{3t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \btwo{c_2 e^{-t}\begin{bmatrix} 1 \\ -1 \end{bmatrix}}

Read the long-term behavior (t→∞t \to \infty) from the exponents

  • Opposite signs (e3t\bone{e^{3t}} and e−t\btwo{e^{-t}}): The e−t\btwo{e^{-t}} piece decays to 00 while the e3t\bone{e^{3t}} piece grows, so paths bend toward the e3t\bone{e^{3t}} line unless c1=0\bone{c_1} = 0 (starting right on the decaying line).
  • Both negative (e−t\bone{e^{-t}} and e−4t\btwo{e^{-4t}}): Every path decays to (0,0)(0, 0), and because e−4t\btwo{e^{-4t}} shrinks to zero faster than e−t\bone{e^{-t}}, paths with c1≠0\bone{c_1} \neq 0 approach (0,0)(0, 0) tangent to the slower-decaying e−t\bone{e^{-t}} line.
  • Both positive (et\bone{e^{t}} and e4t\btwo{e^{4t}}): Every path away from (0,0)(0, 0) grows to infinity, and paths off the et\bone{e^{t}} line bend parallel to the faster-growing e4t\btwo{e^{4t}} line.
6

Practice

1

Find the two straight-line solutions and the general solution of the system x′=2x+3y\xvar{x'} = 2\xvar{x} + 3\yvar{y}, y′=3x+2y\yvar{y'} = 3\xvar{x} + 2\yvar{y}.

Subtract λ\lambda from the diagonal of [2332]\begin{bmatrix} 2 & 3 \\ 3 & 2 \end{bmatrix} and set the determinant to zero: (2−λ)2−9=0(2 - \lambda)^2 - 9 = 0.

Setting the determinant to zero gives the eigenvalues:
(2−λ)2−9=02−λ=±3λ1=5,λ2=−1\displaystyle \begin{aligned} (2 - \lambda)^2 - 9 &= 0 \\ 2 - \lambda &= \pm 3 \\ \bone{\lambda_1 = 5}, \quad \btwo{\lambda_2} &= \btwo{-1} \end{aligned}
Plug each eigenvalue into [2−λ332−λ][v1v2]=[00]\begin{bmatrix} 2 - \lambda & 3 \\ 3 & 2 - \lambda \end{bmatrix}\begin{bmatrix} \xvar{v_1} \\ \yvar{v_2} \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}. (Watch the sign when moving a term to the other side: for λ2=−1\btwo{\lambda_2 = -1}, adding 11 to the diagonal gives 3v1+3v2=03\xvar{v_1} + 3\yvar{v_2} = 0, which means v2=−v1\yvar{v_2} = -\xvar{v_1}, not v2=v1v_2 = v_1; missing that minus sign or swapping the two cases gives the wrong pair e5t[1−1]e^{5t}\begin{bmatrix} 1 \\ -1 \end{bmatrix} and e−t[11]e^{-t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}.)
λ1=5:−3v1+3v2=0  ⟹  v1=v2  ⟹  v=[11],x⃗1(t)=e5t[11]λ2=−1:3v1+3v2=0  ⟹  v2=−v1  ⟹  v=[1−1],x⃗2(t)=e−t[1−1]\displaystyle \begin{aligned} \bone{\lambda_1 = 5}: \quad -3\xvar{v_1} + 3\yvar{v_2} = 0 &\implies \xvar{v_1} = \yvar{v_2} \implies v = \bone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}, \quad \vec{x}_1(t) = \bone{e^{5t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}} \\ \btwo{\lambda_2 = -1}: \quad 3\xvar{v_1} + 3\yvar{v_2} = 0 &\implies \yvar{v_2} = -\xvar{v_1} \implies v = \btwo{\begin{bmatrix} 1 \\ -1 \end{bmatrix}}, \quad \vec{x}_2(t) = \btwo{e^{-t}\begin{bmatrix} 1 \\ -1 \end{bmatrix}} \end{aligned}
x⃗(t)=c1e5t[11]+c2e−t[1−1]\displaystyle \vec{x}(t) = \bone{c_1 e^{5t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \btwo{c_2 e^{-t}\begin{bmatrix} 1 \\ -1 \end{bmatrix}}
2

Solve the initial value problem x′=x+4y\xvar{x'} = \xvar{x} + 4\yvar{y}, y′=2x+3y\yvar{y'} = 2\xvar{x} + 3\yvar{y} with x(0)=1\xvar{x(0)} = 1, y(0)=4\yvar{y(0)} = 4, and write out x(t)\xvar{x(t)} and y(t)\yvar{y(t)}.

Find the eigenvalues and eigenvectors of [1423]\begin{bmatrix} 1 & 4 \\ 2 & 3 \end{bmatrix} first, then plug t=0t = 0 into the general solution to solve for c1\bone{c_1} and c2\btwo{c_2}.

Subtract λ\lambda from the diagonal and set the determinant to zero:
(1−λ)(3−λ)−8=0λ2−4λ−5=0(λ−5)(λ+1)=0λ1=5,λ2=−1\displaystyle \begin{aligned} (1 - \lambda)(3 - \lambda) - 8 &= 0 \\ \lambda^2 - 4\lambda - 5 &= 0 \\ (\lambda - 5)(\lambda + 1) &= 0 \\ \bone{\lambda_1 = 5}, \quad \btwo{\lambda_2} &= \btwo{-1} \end{aligned}
For λ1=5\bone{\lambda_1 = 5}, −4v1+4v2=0-4\xvar{v_1} + 4\yvar{v_2} = 0 gives v=[11]v = \bone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}. For λ2=−1\btwo{\lambda_2 = -1}, adding 11 to the diagonal gives 2v1+4v2=02\xvar{v_1} + 4\yvar{v_2} = 0, so v1=−2v2\xvar{v_1} = -2\yvar{v_2} and v=[−21]v = \btwo{\begin{bmatrix} -2 \\ 1 \end{bmatrix}}.
Now set t=0t = 0 to match [14]\begin{bmatrix} \xvar{1} \\ \yvar{4} \end{bmatrix}. (Don't plug the starting coordinates x(0)=1\xvar{x(0)} = 1 and y(0)=4\yvar{y(0)} = 4 directly in as c1=1c_1 = 1 and c2=4c_2 = 4, which would give x(t)=e5t−8e−tx(t) = e^{5t} - 8e^{-t} and y(t)=e5t+4e−ty(t) = e^{5t} + 4e^{-t}; solve the system for c1\bone{c_1} and c2\btwo{c_2}.)
c1[11]+c2[−21]=[14]c1−2c2=1c1+c2=4c1=3,c2=1\displaystyle \begin{aligned} \bone{c_1\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \btwo{c_2\begin{bmatrix} -2 \\ 1 \end{bmatrix}} &= \begin{bmatrix} \xvar{1} \\ \yvar{4} \end{bmatrix} \\ \bone{c_1} - 2\btwo{c_2} &= \xvar{1} \\ \bone{c_1} + \btwo{c_2} &= \yvar{4} \\ \bone{c_1} = 3, \quad \btwo{c_2} &= 1 \end{aligned}
x(t)\displaystyle \xvar{x(t)} =3e5t−2e−t,y(t)\displaystyle = \bone{3e^{5t}} - \btwo{2e^{-t}}, \quad \yvar{y(t)} =3e5t+e−t\displaystyle = \bone{3e^{5t}} + \btwo{e^{-t}}
3

Find the general solution of x′=−4x+2y\xvar{x'} = -4\xvar{x} + 2\yvar{y}, y′=x−3y\yvar{y'} = \xvar{x} - 3\yvar{y}. Describe what happens to solutions as t→∞t \to \infty, and give the line through the origin that paths with c1≠0\bone{c_1} \neq 0 approach tangent to.

After finding both negative eigenvalues, compare e−2t\bone{e^{-2t}} and e−5t\btwo{e^{-5t}} as tt gets large: which term is still left when the other has nearly shrunk to zero?

Find the eigenvalues and eigenvectors of [−421−3]\begin{bmatrix} -4 & 2 \\ 1 & -3 \end{bmatrix}:
(−4−λ)(−3−λ)−2=0λ2+7λ+10=0(λ+2)(λ+5)=0λ1=−2,λ2=−5\displaystyle \begin{aligned} (-4 - \lambda)(-3 - \lambda) - 2 &= 0 \\ \lambda^2 + 7\lambda + 10 &= 0 \\ (\lambda + 2)(\lambda + 5) &= 0 \\ \bone{\lambda_1 = -2}, \quad \btwo{\lambda_2} &= \btwo{-5} \end{aligned}
λ1=−2:−2v1+2v2=0  ⟹  v1=v2  ⟹  v=[11]λ2=−5:1v1+2v2=0  ⟹  v1=−2v2  ⟹  v=[−21]\displaystyle \begin{aligned} \bone{\lambda_1 = -2}: \quad -2\xvar{v_1} + 2\yvar{v_2} = 0 &\implies \xvar{v_1} = \yvar{v_2} \implies v = \bone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} \\ \btwo{\lambda_2 = -5}: \quad 1\xvar{v_1} + 2\yvar{v_2} = 0 &\implies \xvar{v_1} = -2\yvar{v_2} \implies v = \btwo{\begin{bmatrix} -2 \\ 1 \end{bmatrix}} \end{aligned}
x⃗(t)=c1e−2t[11]+c2e−5t[−21]\displaystyle \vec{x}(t) = \bone{c_1 e^{-2t}\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \btwo{c_2 e^{-5t}\begin{bmatrix} -2 \\ 1 \end{bmatrix}}
Because both eigenvalues are negative, all solutions decay to (0,0)(0, 0) as t→∞t \to \infty. (Don't pick the λ2=−5\btwo{\lambda_2 = -5} line y=−12x\btwo{y = -\frac{1}{2}x} just because 55 is larger than 22: with a minus sign in the exponent, e−5t\btwo{e^{-5t}} shrinks to zero much faster than e−2t\bone{e^{-2t}}, leaving the e−2t\bone{e^{-2t}} term last.) Paths with c1≠0\bone{c_1} \neq 0 approach the origin tangent to the slower-decaying line y=x\bone{y = x} (along [11]\bone{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}).
4

For the system x′=3x−2y\xvar{x'} = 3\xvar{x} - 2\yvar{y}, y′=2x−2y\yvar{y'} = 2\xvar{x} - 2\yvar{y}, almost all solutions grow without bound as t→∞t \to \infty. Find the line of starting points (x(0),y(0))(\xvar{x(0)}, \yvar{y(0)}) whose solutions instead decay to (0,0)(0, 0) as t→∞t \to \infty, and write the exact solution starting on this line with x(0)=3\xvar{x(0)} = 3.

Write the general solution with both eigenvalues; what must the coefficient on the positive-eigenvalue term be so that the solution decays to (0,0)(0, 0)?

Find the eigenvalues and eigenvectors of [3−22−2]\begin{bmatrix} 3 & -2 \\ 2 & -2 \end{bmatrix}:
(3−λ)(−2−λ)+4=0λ2−λ−2=0(λ−2)(λ+1)=0λ1=2,λ2=−1\displaystyle \begin{aligned} (3 - \lambda)(-2 - \lambda) + 4 &= 0 \\ \lambda^2 - \lambda - 2 &= 0 \\ (\lambda - 2)(\lambda + 1) &= 0 \\ \bone{\lambda_1 = 2}, \quad \btwo{\lambda_2} &= \btwo{-1} \end{aligned}
λ1=2:1v1−2v2=0  ⟹  v1=2v2  ⟹  v=[21]λ2=−1:4v1−2v2=0  ⟹  v2=2v1  ⟹  v=[12]\displaystyle \begin{aligned} \bone{\lambda_1 = 2}: \quad 1\xvar{v_1} - 2\yvar{v_2} = 0 &\implies \xvar{v_1} = 2\yvar{v_2} \implies v = \bone{\begin{bmatrix} 2 \\ 1 \end{bmatrix}} \\ \btwo{\lambda_2 = -1}: \quad 4\xvar{v_1} - 2\yvar{v_2} = 0 &\implies \yvar{v_2} = 2\xvar{v_1} \implies v = \btwo{\begin{bmatrix} 1 \\ 2 \end{bmatrix}} \end{aligned}
In x⃗(t)=c1e2t[21]+c2e−t[12]\vec{x}(t) = \bone{c_1 e^{2t}\begin{bmatrix} 2 \\ 1 \end{bmatrix}} + \btwo{c_2 e^{-t}\begin{bmatrix} 1 \\ 2 \end{bmatrix}}, a solution decays to (0,0)(0, 0) only when there is no growing e2t\bone{e^{2t}} term (c1=0\bone{c_1} = 0), which means (x(0),y(0))=c2[12](\xvar{x(0)}, \yvar{y(0)}) = \btwo{c_2\begin{bmatrix} 1 \\ 2 \end{bmatrix}} lies on the line y=2x\btwo{y = 2x}.
With x(0)=3\xvar{x(0)} = 3, we need c2=3\btwo{c_2} = 3, giving y(0)=6\yvar{y(0)} = 6. (Be sure to multiply [12]\btwo{\begin{bmatrix} 1 \\ 2 \end{bmatrix}} by c2=3\btwo{c_2} = 3 to match x(0)=3\xvar{x(0)} = 3 rather than leaving e−t[12]e^{-t}\begin{bmatrix} 1 \\ 2 \end{bmatrix} without c2c_2.)
x⃗(t)=3e−t[12](x(t)=3e−t,  y(t)=6e−t)\displaystyle \vec{x}(t) = \btwo{3e^{-t}\begin{bmatrix} 1 \\ 2 \end{bmatrix}} \quad \big(\xvar{x(t)} = \btwo{3e^{-t}}, \; \yvar{y(t)} = \btwo{6e^{-t}}\big)
5

Find the general solution of the 3D system x′=xx' = x, y′=x+2y+3zy' = x + 2y + 3z, z′=−x+3y+2zz' = -x + 3y + 2z.

Expand det⁡(A−λI)=0\det(A - \lambda I) = 0 across the top row [1−λ00]\begin{bmatrix} 1 - \lambda & 0 & 0 \end{bmatrix} to factor out (1−λ)(1 - \lambda) right away.

Expanding the determinant of [1−λ0012−λ3−132−λ]\begin{bmatrix} 1 - \lambda & 0 & 0 \\ 1 & 2 - \lambda & 3 \\ -1 & 3 & 2 - \lambda \end{bmatrix} across the top row gives the three eigenvalues:
(1−λ)((2−λ)2−9)=0λ1=1,λ2=5,λ3=−1\displaystyle \begin{aligned} (1 - \lambda)\big((2 - \lambda)^2 - 9\big) &= 0 \\ \bone{\lambda_1 = 1}, \quad \btwo{\lambda_2 = 5}, \quad \bthree{\lambda_3} &= \bthree{-1} \end{aligned}
For λ1=1\bone{\lambda_1 = 1}, subtracting 1\bone{1} from the diagonal makes the top equation 0v1+0v2+0v3=00v_1 + 0v_2 + 0v_3 = 0, while the second and third rows are v1+v2+3v3=0v_1 + v_2 + 3v_3 = 0 and −v1+3v2+v3=0-v_1 + 3v_2 + v_3 = 0. (Unlike λ2=5\btwo{\lambda_2 = 5} and λ3=−1\bthree{\lambda_3 = -1}, where the top row makes v1=0v_1 = 0, here 0v1=00v_1 = 0 does not pin down v1v_1, and taking v=[100]v = \begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix} does not satisfy the bottom two equations, giving the wrong first term c1et[100]c_1 e^t\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}.) Adding the bottom two equations cancels v1v_1:
4v2+4v3=0  ⟹  v2=−v3v1+(−v3)+3v3=0  ⟹  v1=−2v3v3=1  ⟹  v=[−2−11]\displaystyle \begin{aligned} 4v_2 + 4v_3 = 0 &\implies v_2 = -v_3 \\ v_1 + (-v_3) + 3v_3 = 0 &\implies v_1 = -2v_3 \\ v_3 = 1 &\implies v = \bone{\begin{bmatrix} -2 \\ -1 \\ 1 \end{bmatrix}} \end{aligned}
For λ2=5\btwo{\lambda_2 = 5} and λ3=−1\bthree{\lambda_3 = -1}, the top row makes v1=0v_1 = 0:
λ2=5:−4v1=0,−3v2+3v3=0  ⟹  v2=v3  ⟹  v=[011]λ3=−1:2v1=0,3v2+3v3=0  ⟹  v2=−v3  ⟹  v=[01−1]\displaystyle \begin{aligned} \btwo{\lambda_2 = 5}: \quad -4v_1 = 0, \quad -3v_2 + 3v_3 = 0 &\implies v_2 = v_3 \implies v = \btwo{\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}} \\ \bthree{\lambda_3 = -1}: \quad 2v_1 = 0, \quad 3v_2 + 3v_3 = 0 &\implies v_2 = -v_3 \implies v = \bthree{\begin{bmatrix} 0 \\ 1 \\ -1 \end{bmatrix}} \end{aligned}
x⃗(t)=c1et[−2−11]+c2e5t[011]+c3e−t[01−1]\displaystyle \vec{x}(t) = \bone{c_1 e^t\begin{bmatrix} -2 \\ -1 \\ 1 \end{bmatrix}} + \btwo{c_2 e^{5t}\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}} + \bthree{c_3 e^{-t}\begin{bmatrix} 0 \\ 1 \\ -1 \end{bmatrix}}