Differential EquationsLinear Systems2 of 6
Linear Systems · 2

Complex Eigenvalues and Spirals

When a system [x′y′]=A[xy]\begin{bmatrix} \xcoord{x'} \\ \ycoord{y'} \end{bmatrix} = A\begin{bmatrix} \xcoord{x} \\ \ycoord{y} \end{bmatrix} rotates the plane, no straight line through the origin stays lined up with its velocity arrows, and our eigenvalue equation gives complex numbers.

1

Why Rotation Gives Complex Eigenvalues

To see what happens when a system spins every point around the origin instead of stretching along straight lines, we look for the eigenvalues of a pure rotation system:

[x′y′]=[0−110][xy]\displaystyle \begin{bmatrix} \xcoord{x'} \\ \ycoord{y'} \end{bmatrix} = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}\begin{bmatrix} \xcoord{x} \\ \ycoord{y} \end{bmatrix}
Why Rotation Gives Complex Eigenvalues
[x′y′]=[0−110][xy]λ=  ?\begin{bmatrix} \htmlClass{lc-blue}{x'} \\ \htmlClass{lc-orange}{y'} \end{bmatrix} = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}\begin{bmatrix} \htmlClass{lc-blue}{x} \\ \htmlClass{lc-orange}{y} \end{bmatrix} \qquad \lambda = \;?
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}

Subtracting λ\lambda from the diagonal and setting the determinant to zero gives a negative square, which brings in i=−1i = \sqrt{-1}:

det⁡[−λ−11−λ]=λ2+1=0  ⟹  λ2=−1  ⟹  λ=±i\displaystyle \det\begin{bmatrix} -\lambda & -1 \\ 1 & -\lambda \end{bmatrix} = \lambda^2 + 1 = 0 \implies \lambda^2 = -1 \implies \lambda = \pm i

At every point (x,y)(\xcoord{x}, \ycoord{y}), the velocity arrow (−y,x)(-\ycoord{y}, \xcoord{x}) points 90∘90^\circ sideways to the line from the origin. No line through the origin has arrows pointing along it, so there are no straight-line solutions.

At every point on the plane, the velocity arrow stays turned 90∘90^\circ sideways to the line from the origin, so no line through the origin ever has velocity pointing along it.
2

Scale and Spin: Reading α±iβ\alpha \pm i\beta

Once we find a complex eigenvalue λ=α±iβ\lambda = \alpha \pm i\beta, we want to read the shape of the trajectories and the time TT for one full turn directly from the two numbers α\alpha and β\beta.

To plug λ=α+iβ\lambda = \alpha + i\beta into eλte^{\lambda t}, we use Euler's formula to rewrite the imaginary exponent as a rotation in terms of cosine and sine:

eiβt\displaystyle e^{i\beta t} =cos⁡(βt)+isin⁡(βt)\displaystyle = \cos(\beta t) + i\sin(\beta t)
Scale and Spin: Reading α ± iβ
λ=α±iβe(α+iβ)t=  ?\displaystyle \begin{aligned} \lambda &= \alpha \pm i\beta \\[6pt] e^{(\alpha + i\beta)t} &= \;? \end{aligned}

Splitting the exponent separates the factor that scales the whole solution from how fast the angle turns around the origin:

e(α+iβ)t\displaystyle e^{(\alpha + i\beta)t} =eαt⏟scale(cos⁡(βt)+isin⁡(βt))⏟spin, T=2πβ\displaystyle = \underbrace{e^{\alpha t}}_{\text{scale}} \underbrace{(\cos(\beta t) + i\sin(\beta t))}_{\text{spin, } T = \frac{2\pi}{\beta}}
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
Spiral sink\text{Spiral sink}
(α<0, eαt shrinks)(\alpha < 0,\ e^{\alpha t}\text{ shrinks})
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
T=2πβT = \tfrac{2\pi}{\beta}
Center\text{Center}
(α=0, e0t=1)(\alpha = 0,\ e^{0t} = 1)
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
Spiral source\text{Spiral source}
(α>0, eαt grows)(\alpha > 0,\ e^{\alpha t}\text{ grows})

Moving λ=α+iβ\lambda = \alpha + i\beta across α=0\alpha = 0 changes the trajectory between an inward spiral sink (α<0\alpha < 0), a closed-loop center (α=0\alpha = 0), and an outward spiral source (α>0\alpha > 0), while increasing β\beta winds the turns tighter and shortens the time T=2πβT = \frac{2\pi}{\beta} for one full turn.

The real part of the eigenvalue sets whether the path spirals in, closes into a loop, or spirals out, while the imaginary part sets how tightly it winds and how long one full turn takes.
3

Two Real Solutions from One Complex Eigenvalue

Our coordinates x\xcoord{x} and y\ycoord{y} are real numbers, so we need a way to turn the complex eigenvalue λ=i\lambda = i of our rotation system into two independent real solutions:

[x′y′]=[0−110][xy],λ=±i\displaystyle \begin{bmatrix} \xcoord{x'} \\ \ycoord{y'} \end{bmatrix} = \begin{bmatrix} 0 & -1 \\ 1 & 0 \end{bmatrix}\begin{bmatrix} \xcoord{x} \\ \ycoord{y} \end{bmatrix}, \quad \lambda = \pm i
Two Real Solutions from One Complex Eigenvalue
λ=α±iβx⃗(t)=eλt v⃗two real solutions=  ?\displaystyle \begin{aligned} \lambda &= \alpha \pm i\beta \\ \vec{x}(t) &= e^{\lambda t}\,\vec{v} \\[6pt] \text{two real solutions} &= \;? \end{aligned}

Because the original matrix AA contains only real numbers, the real terms and the ii terms of eλtv⃗e^{\lambda t}\vec{v} never mix when multiplied by AA, so each part solves x⃗′=Ax⃗\velocity{\vec{x}'} = A\vec{x} on its own:

x⃗(t)\displaystyle \vec{x}(t) =eλtv⃗\displaystyle = e^{\lambda t}\vec{v} =(Real vector)⏟first real solution+i(Imaginary vector)⏟second real solution\displaystyle = \underbrace{\firstsol{(\text{Real vector})}}_{\firstsol{\text{first real solution}}} + i\underbrace{\secondsol{(\text{Imaginary vector})}}_{\secondsol{\text{second real solution}}}
Text solution
Find the eigenvector for λ=i\lambda = i from the bottom rowSubtracting ii from the diagonal gives a system where the bottom row immediately relates v1v_1 and v2v_2.
[−i−11−i][v1v2]=[00]  ⟹  v1−iv2=0  ⟹  v1=iv2→v2=1v⃗=[i1]\displaystyle \begin{bmatrix} -i & -1 \\ 1 & -i \end{bmatrix}\begin{bmatrix} v_1 \\ v_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies v_1 - iv_2 = 0 \implies v_1 = iv_2 \xrightarrow{v_2 = 1} \vec{v} = \begin{bmatrix} i \\ 1 \end{bmatrix}
Multiply eit=cos⁡t+isin⁡te^{it} = \cos t + i\sin t into the eigenvector using i2=−1i^2 = -1Multiplying cos⁡t+isin⁡t\cos t + i\sin t into the top and bottom entries separates each row into real and ii terms.
x⃗(t)=(cos⁡t+isin⁡t)[i1]=[icos⁡t+i2sin⁡tcos⁡t+isin⁡t]=[−sin⁡t+icos⁡tcos⁡t+isin⁡t]\displaystyle \vec{x}(t) = (\cos t + i\sin t)\begin{bmatrix} i \\ 1 \end{bmatrix} = \begin{bmatrix} i\cos t + i^2\sin t \\ \cos t + i\sin t \end{bmatrix} = \begin{bmatrix} \firstsol{-\sin t} + i\secondsol{\cos t} \\ \firstsol{\cos t} + i\secondsol{\sin t} \end{bmatrix}
Separate the terms without ii and the terms next to iiPutting the real terms into the first vector and the coefficients of ii (dropping the ii) into the second vector gives the general solution.
x⃗(t)=c1[−sin⁡tcos⁡t]+c2[cos⁡tsin⁡t]\displaystyle \vec{x}(t) = \firstsol{c_1\begin{bmatrix} -\sin t \\ \cos t \end{bmatrix}} + \secondsol{c_2\begin{bmatrix} \cos t \\ \sin t \end{bmatrix}}

With α=0\alpha = 0 and β=1\beta = 1, there is no exponential out front to grow or shrink the radius, so every trajectory moves around a counterclockwise circle of period T=2πT = 2\pi.

4

Finding the General Solution for a Spiral Sink

Now let's find the general solution when the eigenvalue has both a real part α\alpha and an imaginary part β\beta:

[x′y′]=[0−21−2][xy]\displaystyle \begin{bmatrix} \xcoord{x'} \\ \ycoord{y'} \end{bmatrix} = \begin{bmatrix} 0 & -2 \\ 1 & -2 \end{bmatrix}\begin{bmatrix} \xcoord{x} \\ \ycoord{y} \end{bmatrix}
Finding the General Solution for a Spiral Sink
[x′y′]=[0−21−2][xy]x⃗(t)=  ?\displaystyle \begin{aligned} \begin{bmatrix} \htmlClass{lc-blue}{x'} \\ \htmlClass{lc-orange}{y'} \end{bmatrix} &= \begin{bmatrix} 0 & -2 \\ 1 & -2 \end{bmatrix}\begin{bmatrix} \htmlClass{lc-blue}{x} \\ \htmlClass{lc-orange}{y} \end{bmatrix} \\[8pt] \vec{x}(t) &= \;? \end{aligned}
Text solution
Subtract λ\lambda from the diagonal and solve the determinant equationExpanding the determinant and completing the square gives a complex pair with α=−1\alpha = -1 and β=1\beta = 1.
det⁡[−λ−21−2−λ]=(−λ)(−2−λ)−(−2)(1)=λ2+2λ+2=(λ+1)2+1=0  ⟹  λ=−1±i\displaystyle \det\begin{bmatrix} -\lambda & -2 \\ 1 & -2-\lambda \end{bmatrix} = (-\lambda)(-2-\lambda) - (-2)(1) = \lambda^2 + 2\lambda + 2 = (\lambda + 1)^2 + 1 = 0 \implies \lambda = -1 \pm i
Read the eigenvector for λ=−1+i\lambda = -1 + i from the easier bottom rowFor a 2×22 \times 2 matrix, both rows of (A−λI)v⃗=0⃗(A - \lambda I)\vec{v} = \vec{0} are multiples of each other and give the same relationship between v1v_1 and v2v_2. Don't waste time row-reducing complex numbers; just pick the row that is easier to read.
[1−i−21−1−i][v1v2]=[00]  ⟹  v1+(−1−i)v2=0  ⟹  v1=(1+i)v2→v2=1v⃗=[1+i1]\displaystyle \begin{bmatrix} 1 - i & -2 \\ 1 & -1 - i \end{bmatrix}\begin{bmatrix} v_1 \\ v_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies v_1 + (-1 - i)v_2 = 0 \implies v_1 = (1 + i)v_2 \xrightarrow{v_2 = 1} \vec{v} = \begin{bmatrix} 1 + i \\ 1 \end{bmatrix}
Keep the scale e−te^{-t} out front and multiply out (cos⁡t+isin⁡t)v⃗(\cos t + i\sin t)\vec{v}Multiplying cos⁡t+isin⁡t\cos t + i\sin t into the vector and using i2=−1i^2 = -1 lets us group the real terms and the ii terms on the top row.
x⃗(t)=e(−1+i)t[1+i1]=e−t(cos⁡t+isin⁡t)[1+i1]=e−t[(cos⁡t−sin⁡t)+i(sin⁡t+cos⁡t)cos⁡t+isin⁡t]\displaystyle \begin{aligned} \vec{x}(t) &= e^{(-1+i)t}\begin{bmatrix} 1 + i \\ 1 \end{bmatrix} \\ &= e^{-t}(\cos t + i\sin t)\begin{bmatrix} 1 + i \\ 1 \end{bmatrix} \\ &= e^{-t}\begin{bmatrix} \firstsol{(\cos t - \sin t)} + i\secondsol{(\sin t + \cos t)} \\ \firstsol{\cos t} + i\secondsol{\sin t} \end{bmatrix} \end{aligned}
Split the real and imaginary vectors into the general solutionPutting the terms without ii into the first vector and the terms next to ii into the second vector (dropping the ii) gives our two real solutions.
x⃗(t)=c1e−t[cos⁡t−sin⁡tcos⁡t]+c2e−t[sin⁡t+cos⁡tsin⁡t]\displaystyle \vec{x}(t) = \firstsol{c_1} e^{-t}\firstsol{\begin{bmatrix} \cos t - \sin t \\ \cos t \end{bmatrix}} + \secondsol{c_2} e^{-t}\secondsol{\begin{bmatrix} \sin t + \cos t \\ \sin t \end{bmatrix}}

Because α=−1<0\alpha = -1 < 0 and β=1\beta = 1, every trajectory shrinks by e−te^{-t} while completing one full turn every T=2πT = 2\pi, spiraling inward to the origin as a spiral sink.

5

Initial Conditions and Sketching the Spiral

To find the specific solution of [x′y′]=[0−21−2][xy]\begin{bmatrix} \xcoord{x'} \\ \ycoord{y'} \end{bmatrix} = \begin{bmatrix} 0 & -2 \\ 1 & -2 \end{bmatrix}\begin{bmatrix} \xcoord{x} \\ \ycoord{y} \end{bmatrix} that starts at (2,1)(2, 1) at t=0t = 0, and to sketch which way the spiral spins, we plug in t=0t = 0 and test one velocity arrow on the plane.

Initial Conditions and Sketching the Spiral
x⃗(t)=c1e−t[cos⁡t−sin⁡tcos⁡t]+c2e−t[sin⁡t+cos⁡tsin⁡t]\begin{aligned} \vec{x}(t) &= \htmlClass{lc-green}{c_1}e^{-t}\htmlClass{lc-green}{\begin{bmatrix} \cos t - \sin t \\ \cos t \end{bmatrix}} \\[2pt] &\quad + \htmlClass{lc-violet}{c_2}e^{-t}\htmlClass{lc-violet}{\begin{bmatrix} \sin t + \cos t \\ \sin t \end{bmatrix}} \end{aligned}
(2, 1)(2,\ 1)
c1=  ?c2=  ?\htmlClass{lc-green}{c_1} = \;?\qquad \htmlClass{lc-violet}{c_2} = \;?
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}
Text solution
Plug t=0t = 0 into the general solution to solve for c1c_1 and c2c_2Using e0=1e^0 = 1, cos⁡0=1\cos 0 = 1, and sin⁡0=0\sin 0 = 0 simplifies the general solution into two linear equations.
[21]=c1[1−01]+c2[0+10]=c1[11]+c2[10]  ⟹  c1=1,c2=1\displaystyle \begin{bmatrix} 2 \\ 1 \end{bmatrix} = \firstsol{c_1}\firstsol{\begin{bmatrix} 1 - 0 \\ 1 \end{bmatrix}} + \secondsol{c_2}\secondsol{\begin{bmatrix} 0 + 1 \\ 0 \end{bmatrix}} = \firstsol{c_1}\firstsol{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \secondsol{c_2}\secondsol{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} \implies \firstsol{c_1} = 1, \quad \secondsol{c_2} = 1
Test the point (1,0)(1, 0) in the original matrix AA to find the spin directionRather than memorizing a formula for clockwise versus counterclockwise, check which way the velocity arrow points on the right side of the origin.
[0−21−2][10]=[01](points straight up at (1,0)  ⟹  counterclockwise)\displaystyle \begin{gathered} \begin{bmatrix} 0 & -2 \\ 1 & -2 \end{bmatrix}\begin{bmatrix} 1 \\ 0 \end{bmatrix} = \velocity{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} \\ (\text{points straight up at } (1, 0) \\ \implies \text{counterclockwise}) \end{gathered}

Starting at (2,1)(2, 1), the trajectory spirals inward counterclockwise into (0,0)(0, 0), completing one full turn every T=2πT = 2\pi units of time.

Every starting point (x0,y0)(\xcoord{x_0}, \ycoord{y_0}) sets the weights c1\firstsol{c_1} and c2\secondsol{c_2} for a path that leaves (x0,y0)(\xcoord{x_0}, \ycoord{y_0}) along its velocity arrow A[x0y0]A\begin{bmatrix} \xcoord{x_0} \\ \ycoord{y_0} \end{bmatrix} and spirals counterclockwise into the origin with period T=2πT = 2\pi.

Wherever you start, the weights adjust to trace a new spiral that follows the velocity arrow and winds counterclockwise into the origin, completing one full turn every 2π2\pi.
6

Tilted Elliptical Centers

When the eigenvalues are purely imaginary (α=0\alpha = 0), the trajectories still form closed loops around a center, but here the loops are tilted ellipses instead of circles:

[x′y′]=[1−51−1][xy]\displaystyle \begin{bmatrix} \xcoord{x'} \\ \ycoord{y'} \end{bmatrix} = \begin{bmatrix} 1 & -5 \\ 1 & -1 \end{bmatrix}\begin{bmatrix} \xcoord{x} \\ \ycoord{y} \end{bmatrix}
Tilted Elliptical Centers
[x′y′]=[1−51−1][xy]λ=  ?x⃗(t)=  ?\displaystyle \begin{aligned} \begin{bmatrix} \htmlClass{lc-blue}{x'} \\ \htmlClass{lc-orange}{y'} \end{bmatrix} &= \begin{bmatrix} 1 & -5 \\ 1 & -1 \end{bmatrix}\begin{bmatrix} \htmlClass{lc-blue}{x} \\ \htmlClass{lc-orange}{y} \end{bmatrix} \\[8pt] \lambda &= \;? \\ \vec{x}(t) &= \;? \end{aligned}
Text solution
Subtract λ\lambda from the diagonal and solve the determinant equationSetting the determinant to zero gives purely imaginary eigenvalues with α=0\alpha = 0 and β=2\beta = 2.
det⁡[1−λ−51−1−λ]=(1−λ)(−1−λ)−(−5)(1)=λ2+4=0  ⟹  λ=±2i\displaystyle \det\begin{bmatrix} 1 - \lambda & -5 \\ 1 & -1 - \lambda \end{bmatrix} = (1 - \lambda)(-1 - \lambda) - (-5)(1) = \lambda^2 + 4 = 0 \implies \lambda = \pm 2i
Find the eigenvector for λ=2i\lambda = 2i using the bottom rowPicking the bottom row gives v1v_1 directly in terms of v2v_2.
[1−2i−51−1−2i][v1v2]=[00]  ⟹  v1+(−1−2i)v2=0  ⟹  v1=(1+2i)v2→v2=1v⃗=[1+2i1]\displaystyle \begin{bmatrix} 1 - 2i & -5 \\ 1 & -1 - 2i \end{bmatrix}\begin{bmatrix} v_1 \\ v_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies v_1 + (-1 - 2i)v_2 = 0 \implies v_1 = (1 + 2i)v_2 \xrightarrow{v_2 = 1} \vec{v} = \begin{bmatrix} 1 + 2i \\ 1 \end{bmatrix}
Multiply e2it=cos⁡2t+isin⁡2te^{2it} = \cos 2t + i\sin 2t into the eigenvector and splitMultiplying out the top entry with i2=−1i^2 = -1 and separating the real terms from the ii terms gives the general solution.
x⃗(t)=(cos⁡2t+isin⁡2t)[1+2i1]=[(cos⁡2t−2sin⁡2t)+i(sin⁡2t+2cos⁡2t)cos⁡2t+isin⁡2t]x⃗(t)=c1[cos⁡2t−2sin⁡2tcos⁡2t]+c2[sin⁡2t+2cos⁡2tsin⁡2t]\displaystyle \begin{aligned} \vec{x}(t) &= (\cos 2t + i\sin 2t)\begin{bmatrix} 1 + 2i \\ 1 \end{bmatrix} \\ &= \begin{bmatrix} \firstsol{(\cos 2t - 2\sin 2t)} + i\secondsol{(\sin 2t + 2\cos 2t)} \\ \firstsol{\cos 2t} + i\secondsol{\sin 2t} \end{bmatrix} \\ \vec{x}(t) &= \firstsol{c_1}\firstsol{\begin{bmatrix} \cos 2t - 2\sin 2t \\ \cos 2t \end{bmatrix}} + \secondsol{c_2}\secondsol{\begin{bmatrix} \sin 2t + 2\cos 2t \\ \sin 2t \end{bmatrix}} \end{aligned}
Check the velocity arrow at (1,0)(1, 0) for the spin directionPlugging (1,0)(1, 0) into the original matrix shows which way the closed loops turn on the right side of the origin.
[1−51−1][10]=[11](moves up on the right side ofthe origin  ⟹  counterclockwise)\displaystyle \begin{gathered} \begin{bmatrix} 1 & -5 \\ 1 & -1 \end{bmatrix}\begin{bmatrix} 1 \\ 0 \end{bmatrix} = \velocity{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} \\ (\text{moves up on the right side of} \\ \text{the origin} \implies \text{counterclockwise}) \end{gathered}

Because α=0\alpha = 0, nothing scales the solution up or down, but the loops aren't circles: the c1\firstsol{c_1} solution is at (1,1)(1, 1) at t=0t = 0 and at (−2,0)(-2, 0) at t=π4t = \frac{\pi}{4}, farther from the origin. The paths trace tilted ellipses centered at the origin, spinning counterclockwise and returning to their starting points every T=2π2=πT = \frac{2\pi}{2} = \pi.

Key concepts

Summary of Complex Eigenvalues and Spirals
(1, 0)(1,\ 0)
[01]\htmlClass{lc-pink}{\begin{bmatrix} 0 \\ 1 \end{bmatrix}}
λ=α±iβ\lambda = \alpha \pm i\beta
x\htmlClass{lc-blue}{x}
y\htmlClass{lc-orange}{y}

When det⁡(A−λI)=0\det(A - \lambda I) = 0 gives two different real eigenvalues, the matrix stretches along straight-line eigenvectors and you build the solution directly from eλtv⃗e^{\lambda t}\vec{v} without sines or cosines. When det⁡(A−λI)=0\det(A - \lambda I) = 0 leads to a negative square, such as (λ+1)2=−1  ⟹  λ=−1±i(\lambda + 1)^2 = -1 \implies \lambda = -1 \pm i, the matrix is rotating the plane and has complex eigenvalues λ=α±iβ\lambda = \alpha \pm i\beta.

The two numbers in λ=α±iβ\lambda = \alpha \pm i\beta tell you how the trajectories behave through e(α+iβ)t=eαt(cos⁡(βt)+isin⁡(βt))e^{(\alpha + i\beta)t} = e^{\alpha t}(\cos(\beta t) + i\sin(\beta t)):

Radial scale (α\alpha)

eαte^{\alpha t} scales the whole solution, giving an inward spiral sink when α<0\alpha < 0 (like λ=−1±i\lambda = -1 \pm i with scale e−te^{-t}), a center of closed loops when α=0\alpha = 0 (like λ=±2i\lambda = \pm 2i with e0t=1e^{0t} = 1), and an outward spiral source when α>0\alpha > 0 (like λ=2±3i\lambda = 2 \pm 3i with scale e2te^{2t}).

Spin speed (β\beta)

β\beta sits inside cos⁡(βt)\cos(\beta t) and sin⁡(βt)\sin(\beta t), so one full turn around the origin takes time T=2πβT = \frac{2\pi}{\beta} (for λ=±2i\lambda = \pm 2i, T=2π2=πT = \frac{2\pi}{2} = \pi).

Two real solutions from one λ\lambda

Pick λ=α+iβ\lambda = \alpha + i\beta, read one complex eigenvector v⃗\vec{v} from the easier row of (A−λI)v⃗=0⃗(A - \lambda I)\vec{v} = \vec{0} (such as v1=(1+i)v2  ⟹  v⃗=[1+i1]v_1 = (1 + i)v_2 \implies \vec{v} = \begin{bmatrix} 1 + i \\ 1 \end{bmatrix}), multiply out eαt(cos⁡(βt)+isin⁡(βt))v⃗e^{\alpha t}(\cos(\beta t) + i\sin(\beta t))\vec{v} using i2=−1i^2 = -1, and put the real terms and the ii terms (without the ii) into your two c1,c2\firstsol{c_1}, \secondsol{c_2} vectors.

Spin direction

Multiply the original matrix AA by the test point [10]\begin{bmatrix} 1 \\ 0 \end{bmatrix} on the right side of the origin. If the velocity arrow points up (like [01]\velocity{\begin{bmatrix} 0 \\ 1 \end{bmatrix}} or [11]\velocity{\begin{bmatrix} 1 \\ 1 \end{bmatrix}}), the paths spin counterclockwise; if it points down, they spin clockwise.

7

Practice

1

For the system [x′y′]=[−34−4−3][xy]\begin{bmatrix} \xcoord{x'} \\ \ycoord{y'} \end{bmatrix} = \begin{bmatrix} -3 & 4 \\ -4 & -3 \end{bmatrix}\begin{bmatrix} \xcoord{x} \\ \ycoord{y} \end{bmatrix}, find the eigenvalues, classify the origin as a spiral sink, spiral source, or center, give the radial scale factor and the time TT for one full turn, and test the point (1,0)(1, 0) to determine whether trajectories spin clockwise or counterclockwise.

After finding λ=α±iβ\lambda = \alpha \pm i\beta, which part goes into the exponential scale eαte^{\alpha t}, and which way does the vertical component of A[10]A\begin{bmatrix} 1 \\ 0 \end{bmatrix} point on the right side of the origin?

Subtract λ\lambda from the diagonal and set the determinant to zero:
det⁡[−3−λ4−4−3−λ]=(λ+3)2+16=0  ⟹  λ=−3±4i\displaystyle \det\begin{bmatrix} -3 - \lambda & 4 \\ -4 & -3 - \lambda \end{bmatrix} = (\lambda + 3)^2 + 16 = 0 \implies \lambda = -3 \pm 4i
Since α=−3<0\alpha = -3 < 0, the origin is a spiral sink with radial scale factor e−3te^{-3t}. Since β=4\beta = 4, one full turn takes:
T\displaystyle T =2π4\displaystyle = \frac{2\pi}{4} =π2\displaystyle = \frac{\pi}{2}
Test the point (1,0)(1, 0) in the original matrix:
[−34−4−3][10]=[−3−4]\displaystyle \begin{bmatrix} -3 & 4 \\ -4 & -3 \end{bmatrix}\begin{bmatrix} 1 \\ 0 \end{bmatrix} = \velocity{\begin{bmatrix} -3 \\ -4 \end{bmatrix}}
(Watch out: don't assume β=4>0\beta = 4 > 0 means counterclockwise. Assuming +4i+4i always spins counterclockwise skips checking the matrix and gives the wrong spin direction. At (1,0)(1, 0) on the right side of the origin, y′=−4\ycoord{y'} = -4 points downward.)
Because the velocity arrow points downward on the right side of the origin, trajectories spin clockwise.
2

Find the general solution of [x′y′]=[21−13−2][xy]\begin{bmatrix} \xcoord{x'} \\ \ycoord{y'} \end{bmatrix} = \begin{bmatrix} 2 & 1 \\ -13 & -2 \end{bmatrix}\begin{bmatrix} \xcoord{x} \\ \ycoord{y} \end{bmatrix}, and describe the shape, spin direction, and period TT of its trajectories.

In (A−3iI)v⃗=0⃗(A - 3iI)\vec{v} = \vec{0}, compare the top row and the bottom row. Which row has a plain 11 that lets you solve without dividing by a complex number?

Find the eigenvalues from the determinant equation:
det⁡[2−λ1−13−2−λ]=λ2+9=0  ⟹  λ=±3i\displaystyle \det\begin{bmatrix} 2 - \lambda & 1 \\ -13 & -2 - \lambda \end{bmatrix} = \lambda^2 + 9 = 0 \implies \lambda = \pm 3i
Using λ=3i\lambda = 3i and the easier top row of [2−3i1−13−2−3i][v1v2]=[00]\begin{bmatrix} 2 - 3i & 1 \\ -13 & -2 - 3i \end{bmatrix}\begin{bmatrix} v_1 \\ v_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}:
(2−3i)v1+v2=0  ⟹  v2=(−2+3i)v1→v1=1v⃗=[1−2+3i]\displaystyle (2 - 3i)v_1 + v_2 = 0 \implies v_2 = (-2 + 3i)v_1 \xrightarrow{v_1 = 1} \vec{v} = \begin{bmatrix} 1 \\ -2 + 3i \end{bmatrix}
(Watch out: when moving (2−3i)v1(2 - 3i)v_1 to the other side, flip the sign on both parts to get −2+3i-2 + 3i, and remember i2=−1i^2 = -1 when multiplying (3i)(isin⁡3t)=−3sin⁡3t(3i)(i\sin 3t) = -3\sin 3t. Forgetting i2=−1i^2 = -1 gives +3sin⁡3t+3\sin 3t and the wrong bottom row [−2cos⁡3t+3sin⁡3t]\begin{bmatrix} -2\cos 3t + 3\sin 3t \end{bmatrix}.)
Multiply e3it=cos⁡3t+isin⁡3te^{3it} = \cos 3t + i\sin 3t into the eigenvector and split into real and ii parts:
(cos⁡3t+isin⁡3t)[1−2+3i]=[cos⁡3t+isin⁡3t(−2cos⁡3t−3sin⁡3t)+i(3cos⁡3t−2sin⁡3t)]x⃗(t)=c1[cos⁡3t−2cos⁡3t−3sin⁡3t]+c2[sin⁡3t3cos⁡3t−2sin⁡3t]\displaystyle \begin{aligned} (\cos 3t + i\sin 3t)\begin{bmatrix} 1 \\ -2 + 3i \end{bmatrix} &= \begin{bmatrix} \firstsol{\cos 3t} + i\secondsol{\sin 3t} \\ \firstsol{(-2\cos 3t - 3\sin 3t)} + i\secondsol{(3\cos 3t - 2\sin 3t)} \end{bmatrix} \\ \vec{x}(t) &= \firstsol{c_1}\firstsol{\begin{bmatrix} \cos 3t \\ -2\cos 3t - 3\sin 3t \end{bmatrix}} + \secondsol{c_2}\secondsol{\begin{bmatrix} \sin 3t \\ 3\cos 3t - 2\sin 3t \end{bmatrix}} \end{aligned}
Because α=0\alpha = 0 and β=3\beta = 3, and A[10]=[2−13]A\begin{bmatrix} 1 \\ 0 \end{bmatrix} = \velocity{\begin{bmatrix} 2 \\ -13 \end{bmatrix}} points downward on the right side of the origin, the trajectories are tilted ellipses (a center) spinning clockwise with period T=2π3T = \frac{2\pi}{3}.
3

Find the general solution of [x′y′]=[2−510][xy]\begin{bmatrix} \xcoord{x'} \\ \ycoord{y'} \end{bmatrix} = \begin{bmatrix} 2 & -5 \\ 1 & 0 \end{bmatrix}\begin{bmatrix} \xcoord{x} \\ \ycoord{y} \end{bmatrix}.

Complete the square on λ2−2λ+5=0\lambda^2 - 2\lambda + 5 = 0, then use the bottom row of (A−λI)v⃗=0⃗(A - \lambda I)\vec{v} = \vec{0} to find v⃗\vec{v}.

Find the eigenvalues from the determinant equation:
det⁡[2−λ−51−λ]=λ2−2λ+5=(λ−1)2+4=0  ⟹  λ=1±2i\displaystyle \det\begin{bmatrix} 2 - \lambda & -5 \\ 1 & -\lambda \end{bmatrix} = \lambda^2 - 2\lambda + 5 = (\lambda - 1)^2 + 4 = 0 \implies \lambda = 1 \pm 2i
Picking λ=1+2i\lambda = 1 + 2i gives [1−2i−51−1−2i][v1v2]=[00]\begin{bmatrix} 1 - 2i & -5 \\ 1 & -1 - 2i \end{bmatrix}\begin{bmatrix} v_1 \\ v_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix}; from the bottom row:
v1=(1+2i)v2→v2=1v⃗=[1+2i1]\displaystyle v_1 = (1 + 2i)v_2 \xrightarrow{v_2 = 1} \vec{v} = \begin{bmatrix} 1 + 2i \\ 1 \end{bmatrix}
Multiply e(1+2i)tv⃗e^{(1+2i)t}\vec{v} out:
e(1+2i)t[1+2i1]=et(cos⁡2t+isin⁡2t)[1+2i1]=et[(cos⁡2t−2sin⁡2t)+i(sin⁡2t+2cos⁡2t)cos⁡2t+isin⁡2t]\displaystyle e^{(1+2i)t}\begin{bmatrix} 1 + 2i \\ 1 \end{bmatrix} = e^t(\cos 2t + i\sin 2t)\begin{bmatrix} 1 + 2i \\ 1 \end{bmatrix} = e^t\begin{bmatrix} \firstsol{(\cos 2t - 2\sin 2t)} + i\secondsol{(\sin 2t + 2\cos 2t)} \\ \firstsol{\cos 2t} + i\secondsol{\sin 2t} \end{bmatrix}
(Watch out: keep β=2\beta = 2 inside cos⁡2t\cos 2t and sin⁡2t\sin 2t, and drop the ii when pulling out the second vector. Writing cos⁡t\cos t and sin⁡t\sin t instead of 2t2t gives c1et[cos⁡t−2sin⁡tcos⁡t]+c2et[sin⁡t+2cos⁡tsin⁡t]c_1 e^t\begin{bmatrix} \cos t - 2\sin t \\ \cos t \end{bmatrix} + c_2 e^t\begin{bmatrix} \sin t + 2\cos t \\ \sin t \end{bmatrix}.)
Splitting the real and imaginary vectors gives the general solution:
x⃗(t)=c1et[cos⁡2t−2sin⁡2tcos⁡2t]+c2et[sin⁡2t+2cos⁡2tsin⁡2t]\displaystyle \vec{x}(t) = \firstsol{c_1} e^t\firstsol{\begin{bmatrix} \cos 2t - 2\sin 2t \\ \cos 2t \end{bmatrix}} + \secondsol{c_2} e^t\secondsol{\begin{bmatrix} \sin 2t + 2\cos 2t \\ \sin 2t \end{bmatrix}}
4

Solve the initial value problem [x′y′]=[−1−21−3][xy]\begin{bmatrix} \xcoord{x'} \\ \ycoord{y'} \end{bmatrix} = \begin{bmatrix} -1 & -2 \\ 1 & -3 \end{bmatrix}\begin{bmatrix} \xcoord{x} \\ \ycoord{y} \end{bmatrix} with [x(0)y(0)]=[31]\begin{bmatrix} \xcoord{x(0)} \\ \ycoord{y(0)} \end{bmatrix} = \begin{bmatrix} 3 \\ 1 \end{bmatrix}, and describe the path starting from (3,1)(3, 1) (inward or outward, clockwise or counterclockwise, and the time TT for one full turn).

Find the general solution first, then plug in t=0t = 0 where cos⁡0=1\cos 0 = 1 and sin⁡0=0\sin 0 = 0 to see what both vectors become before solving for c1c_1 and c2c_2.

Find the eigenvalues:
det⁡[−1−λ−21−3−λ]=λ2+4λ+5=(λ+2)2+1=0  ⟹  λ=−2±i\displaystyle \det\begin{bmatrix} -1 - \lambda & -2 \\ 1 & -3 - \lambda \end{bmatrix} = \lambda^2 + 4\lambda + 5 = (\lambda + 2)^2 + 1 = 0 \implies \lambda = -2 \pm i
For λ=−2+i\lambda = -2 + i, the bottom row of [1−i−21−1−i][v1v2]=[00]\begin{bmatrix} 1 - i & -2 \\ 1 & -1 - i \end{bmatrix}\begin{bmatrix} v_1 \\ v_2 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} gives v1=(1+i)v2v_1 = (1 + i)v_2, so v⃗=[1+i1]\vec{v} = \begin{bmatrix} 1 + i \\ 1 \end{bmatrix} and the general solution is:
x⃗(t)=c1e−2t[cos⁡t−sin⁡tcos⁡t]+c2e−2t[sin⁡t+cos⁡tsin⁡t]\displaystyle \vec{x}(t) = \firstsol{c_1} e^{-2t}\firstsol{\begin{bmatrix} \cos t - \sin t \\ \cos t \end{bmatrix}} + \secondsol{c_2} e^{-2t}\secondsol{\begin{bmatrix} \sin t + \cos t \\ \sin t \end{bmatrix}}
Plug in t=0t = 0:
[31]=c1[11]+c2[10]  ⟹  c1=1,c2=2\displaystyle \begin{bmatrix} 3 \\ 1 \end{bmatrix} = \firstsol{c_1}\firstsol{\begin{bmatrix} 1 \\ 1 \end{bmatrix}} + \secondsol{c_2}\secondsol{\begin{bmatrix} 1 \\ 0 \end{bmatrix}} \implies \firstsol{c_1} = 1, \quad \secondsol{c_2} = 2
(Watch out: the second vector has +cos⁡t+\cos t in its top entry, so at t=0t = 0 it becomes [10]\secondsol{\begin{bmatrix} 1 \\ 0 \end{bmatrix}}, not [00]\begin{bmatrix} 0 \\ 0 \end{bmatrix}. Just setting c1=3\firstsol{c_1} = 3 and c2=1\secondsol{c_2} = 1 from the initial point (3,1)(3, 1) gives e−2t[4cos⁡t−2sin⁡t3cos⁡t+sin⁡t]e^{-2t}\begin{bmatrix} 4\cos t - 2\sin t \\ 3\cos t + \sin t \end{bmatrix}, which misses (3,1)(3, 1) at t=0t = 0.)
Combining the two terms gives the solution:
x⃗(t)=e−2t[3cos⁡t+sin⁡tcos⁡t+2sin⁡t]\displaystyle \vec{x}(t) = e^{-2t}\begin{bmatrix} 3\cos t + \sin t \\ \cos t + 2\sin t \end{bmatrix}
Because α=−2<0\alpha = -2 < 0 and A[10]=[−11]A\begin{bmatrix} 1 \\ 0 \end{bmatrix} = \velocity{\begin{bmatrix} -1 \\ 1 \end{bmatrix}} points upward on the right side of the origin, the path spirals inward counterclockwise from (3,1)(3, 1) toward (0,0)(0, 0), completing one full turn every T=2πT = 2\pi.