Unit 8, lesson 44

Complex Eigenvalues and Planar Phase Portraits

How a complex eigenvector of a real matrix yields two real solutions, and how the eigenvalues sort planar linear phase portraits into nodes, saddles, spirals and centers, with their stability and direction of turning.

  • Video 44
  • Systems and Eigenvalue Methods

The matrix with rows (−1,−2)(-1, -2) and (2,−1)(2, -1) has the characteristic equation (λ+1)2+4=0(\lambda + 1)^2 + 4 = 0, which has no real roots, so no real direction is kept by the matrix. The system X′=AXX' = AX is still real, with tt as the independent variable and X′=dX/dtX' = dX/dt, and its solutions are real curves in the plane. Where do they come from, and what do they look like? This lesson extracts two real solutions from one complex eigenvector, reads growth and rotation from the eigenvalue, and sorts the phase portraits of planar linear systems into nodes, saddles, spirals and centers, each with the conditions it needs.

Key terms

Complex eigenvector

Definition Let AA be a real n×nn \times n matrix. A complex number λ\lambda with det⁡(A−λI)=0\det(A - \lambda I) = 0 is an eigenvalue of AA, and a nonzero vector vv with complex entries and Av=λvAv = \lambda v is a complex eigenvector for it. Taking complex conjugates in Av=λvAv = \lambda v gives Avˉ=λˉvˉA\bar{v} = \bar{\lambda}\bar{v}, because the entries of AA are real. So the nonreal eigenvalues of a real matrix come in conjugate pairs α±iβ\alpha \pm i\beta with real α\alpha and β≠0\beta \ne 0, and the conjugate of an eigenvector for one is an eigenvector for the other. Write v=p+iqv = p + iq with real vectors pp and qq. When β≠0\beta \ne 0, the vectors pp and qq are linearly independent. Otherwise vv would be a complex multiple of a single real vector w≠0w \ne 0, which would then satisfy Aw=λwAw = \lambda w, and the real vector AwAw cannot equal the nonreal multiple λw\lambda w. For a real 2×22 \times 2 matrix the eigenvalues are nonreal exactly when (tr⁡A)2<4det⁡A(\operatorname{tr} A)^2 < 4\det A, and then α=12tr⁡A\alpha = \tfrac{1}{2}\operatorname{tr} A.

In plain words A real matrix can have an eigenvalue that is not real, and then its eigenvectors cannot be real either. The complex numbers are only a tool for the calculation. The real vectors pp and qq inside the eigenvector are what the real solutions are built from.

Example For

A=[−1−22−1],A = \begin{bmatrix} -1 & -2 \\ 2 & -1 \end{bmatrix},

the characteristic polynomial is λ2+2λ+5=(λ+1)2+4\lambda^2 + 2\lambda + 5 = (\lambda + 1)^2 + 4, so λ=−1±2i\lambda = -1 \pm 2i. For λ=−1+2i\lambda = -1 + 2i the first row of A−λIA - \lambda I is (−2i,−2)(-2i, -2), so an eigenvector (a,b)T(a, b)^{T} needs −2ia−2b=0-2ia - 2b = 0, that is b=−iab = -ia, and a=1a = 1 gives v=(1,−i)Tv = (1, -i)^{T}. To check,

Av=(−1+2i, 2+i)T,λv=(−1+2i, i−2i2)T,\begin{aligned} Av &= (-1 + 2i,\ 2 + i)^{T}, \\[0.4em] \lambda v &= (-1 + 2i,\ i - 2i^2)^{T}, \end{aligned}

and i−2i2=2+ii - 2i^2 = 2 + i, so the two agree. Here p=(1,0)Tp = (1, 0)^{T} and q=(0,−1)Tq = (0, -1)^{T}. The conjugate eigenvalue −1−2i-1 - 2i has the eigenvector vˉ=(1,i)T\bar{v} = (1, i)^{T}.

Real and imaginary part solutions

Definition Let AA be a real matrix with Av=λvAv = \lambda v, where λ=α+iβ\lambda = \alpha + i\beta, β≠0\beta \ne 0 and v=p+iqv = p + iq. The complex function Z(t)=eλtvZ(t) = e^{\lambda t}v solves X′=AXX' = AX by the same computation as for a real mode. Euler’s formula eλt=eαt(cos⁡βt+isin⁡βt)e^{\lambda t} = e^{\alpha t}(\cos\beta t + i\sin\beta t) splits it as Z=U+iWZ = U + iW with the real vector functions

U=eαt(pcos⁡βt−qsin⁡βt),W=eαt(psin⁡βt+qcos⁡βt).\begin{aligned} U &= e^{\alpha t}(p\cos\beta t - q\sin\beta t), \\[0.4em] W &= e^{\alpha t}(p\sin\beta t + q\cos\beta t). \end{aligned}

Both are solutions. Substituting Z=U+iWZ = U + iW into Z′=AZZ' = AZ gives U′+iW′=AU+iAWU' + iW' = AU + iAW, and since AA, UU and WW are real, the real parts and the imaginary parts agree separately. At t=0t = 0 they equal pp and qq, which are independent. So for a 2×22 \times 2 matrix every real solution is X=c1U+c2WX = c_1U + c_2W for exactly one pair of real constants, fixed by X(0)=c1p+c2qX(0) = c_1p + c_2q. The conjugate eigenpair gives U−iWU - iW and nothing new. The factor eαte^{\alpha t} is the envelope, and the trigonometric factors repeat with period 2π/∣β∣2\pi/\lvert\beta\rvert.

In plain words One complex mode carries two real solutions, its real part and its imaginary part. The real part of the eigenvalue says whether they grow or decay, and the imaginary part says how fast they turn.

Example For the matrix above, α=−1\alpha = -1, β=2\beta = 2, p=(1,0)Tp = (1, 0)^{T} and q=(0,−1)Tq = (0, -1)^{T}, so

U=e−t(cos⁡2t, sin⁡2t)T,W=e−t(sin⁡2t, −cos⁡2t)T.\begin{aligned} U &= e^{-t}(\cos 2t,\ \sin 2t)^{T}, \\[0.4em] W &= e^{-t}(\sin 2t,\ -\cos 2t)^{T}. \end{aligned}

The start X(0)=(1,0)T=pX(0) = (1, 0)^{T} = p gives c1=1c_1 = 1 and c2=0c_2 = 0, so X=UX = U. Its derivative is

X′=e−t[−cos⁡2t−2sin⁡2t2cos⁡2t−sin⁡2t].X' = e^{-t}\begin{bmatrix} -\cos 2t - 2\sin 2t \\ 2\cos 2t - \sin 2t \end{bmatrix}.

The first row of AA applied to XX gives e−t(−cos⁡2t−2sin⁡2t)e^{-t}(-\cos 2t - 2\sin 2t) and the second gives e−t(2cos⁡2t−sin⁡2t)e^{-t}(2\cos 2t - \sin 2t), so X′=AXX' = AX.

Phase portrait

Definition For a planar autonomous system X′=F(X)X' = F(X), the phase plane is the plane of states X=(x1,x2)TX = (x_1, x_2)^{T}. Each solution traces a trajectory, the curve of its points X(t)X(t), marked with an arrow in the direction of increasing tt. The vector F(X)F(X) at a point is the velocity of the solution passing through it, so it is tangent to that trajectory. A phase portrait shows the equilibria, the points where F(X)=0F(X) = 0, and enough trajectories with arrows to show the behavior everywhere. When solutions are unique, two different trajectories never meet. For X′=AXX' = AX the origin is always an equilibrium, and it is the only one exactly when det⁡A≠0\det A \ne 0. A change of coordinates Y=PXY = PX with a real invertible matrix PP gives Y′=PAP−1YY' = PAP^{-1}Y, a matrix with the same eigenvalues, and it carries trajectories to trajectories. It can turn circles into ellipses, but it cannot change whether solutions grow, decay or stay on closed curves.

In plain words A phase portrait is a map of the state plane with time hidden. The curves show where states go and the arrows show which way they move, so read the arrows as well as the curves. A closed curve without an arrow does not tell you the direction of time.

Example For the matrix above, the arrows at four points of the unit circle are as follows.

State XXArrow AXAXDirection
(1,0)T(1, 0)^{T}(−1,2)T(-1, 2)^{T}left and up
(0,1)T(0, 1)^{T}(−2,−1)T(-2, -1)^{T}left and down
(−1,0)T(-1, 0)^{T}(1,−2)T(1, -2)^{T}right and down
(0,−1)T(0, -1)^{T}(2,1)T(2, 1)^{T}right and up

Every arrow points partly inward and partly counterclockwise. For every state, XTAX=−x12−x22X^{T}AX = -x_1^2 - x_2^2, so along every solution

ddt∥X∥2=2XTAX=−2∥X∥2,\begin{aligned} \frac{d}{dt}\lVert X \rVert^2 &= 2X^{T}AX \\[0.4em] &= -2\lVert X \rVert^2, \end{aligned}

which gives ∥X(t)∥=∥X(0)∥ e−t\lVert X(t) \rVert = \lVert X(0) \rVert\,e^{-t}. Every trajectory other than the equilibrium winds counterclockwise toward the origin.

Nodes and saddles

Definition Let AA be a real 2×22 \times 2 matrix with real nonzero eigenvalues λ1\lambda_1 and λ2\lambda_2, and write τ=tr⁡A\tau = \operatorname{tr} A and Δ=det⁡A\Delta = \det A. The origin of X′=AXX' = AX is a node when the eigenvalues have the same sign, which means Δ>0\Delta > 0 and τ2≥4Δ\tau^2 \ge 4\Delta. It is a stable node, asymptotically stable with every solution tending to 00 as t→∞t \to \infty, when both are negative, so τ<0\tau < 0. It is an unstable node, with every nonzero solution unbounded as t→∞t \to \infty, when both are positive, so τ>0\tau > 0. With distinct eigenvalues the two eigenvector lines are invariant, and every nonzero trajectory not on the line of the eigenvalue farther from 00 approaches the origin tangent to the line of the eigenvalue closer to 00, as t→∞t \to \infty for a stable node and as t→−∞t \to -\infty for an unstable one. A repeated eigenvalue gives a star node when A=λIA = \lambda I, with every line through the origin invariant, and otherwise a degenerate node with a single eigenvector line. The origin is a saddle when λ1<0<λ2\lambda_1 < 0 < \lambda_2, which means Δ<0\Delta < 0. Solutions on the line of λ1\lambda_1 tend to 00, solutions on the line of λ2\lambda_2 move away, and every other solution is unbounded as t→∞t \to \infty, so a saddle is unstable. A zero eigenvalue, which occurs exactly when Δ=0\Delta = 0, gives infinitely many equilibria and falls outside these types.

In plain words At a node every solution heads into the origin, or every solution leaves it. With distinct eigenvalues, the curves near the origin line up with the slower eigenvector line, except the ones on the faster line itself. At a saddle one line pulls states in and the other pushes them out. Every start off the attracting line is eventually pushed out, so one attracting line does not make the equilibrium stable.

Example Consider the two matrices

A1=[−210−1],A2=[1141].\begin{gathered} A_1 = \begin{bmatrix} -2 & 1 \\ 0 & -1 \end{bmatrix}, \\[0.4em] A_2 = \begin{bmatrix} 1 & 1 \\ 4 & 1 \end{bmatrix}. \end{gathered}

The first has the eigenvalues −2-2 and −1-1 with eigenvectors (1,0)T(1, 0)^{T} and (1,1)T(1, 1)^{T}. Its origin is a stable node, and trajectories off the line of (1,0)T(1, 0)^{T} enter it tangent to the line of (1,1)T(1, 1)^{T}. The second has τ=2\tau = 2 and Δ=−3\Delta = -3, so its origin is a saddle. Its eigenvalues are 33 and −1-1 with eigenvectors (1,2)T(1, 2)^{T} and (1,−2)T(1, -2)^{T}. The solution e−t(1,−2)Te^{-t}(1, -2)^{T} on the attracting line tends to 00, while the solution e3t(1,2)T+e−t(1,−2)Te^{3t}(1, 2)^{T} + e^{-t}(1, -2)^{T}, which starts at (2,0)T(2, 0)^{T}, is unbounded.

Spiral

Definition Let AA be a real 2×22 \times 2 matrix with eigenvalues α±iβ\alpha \pm i\beta, where β≠0\beta \ne 0 and α≠0\alpha \ne 0. In terms of τ\tau and Δ\Delta this means τ2<4Δ\tau^2 < 4\Delta and τ≠0\tau \ne 0, with α=τ/2\alpha = \tau/2. The origin of X′=AXX' = AX is then a spiral, also called a focus. Every nonzero solution has the form X(t)=eαtQ(t)X(t) = e^{\alpha t}Q(t), where QQ is a nonzero periodic vector function with period T=2π/∣β∣T = 2\pi/\lvert\beta\rvert whose values trace an ellipse centered at the origin, so X(t+T)=eαTX(t)X(t + T) = e^{\alpha T}X(t). When α<0\alpha < 0 the solutions wind around the origin infinitely often while tending to it as t→∞t \to \infty, and the origin is a stable spiral, which is asymptotically stable. When α>0\alpha > 0 they wind outward and are unbounded, an unstable spiral. All trajectories turn the same way, counterclockwise when the lower left entry a21a_{21} of AA is positive and clockwise when it is negative. The reason is that the angular rate x1x2′−x2x1′x_1x_2' - x_2x_1' is a quadratic form in the state that keeps one sign away from the origin, and at (1,0)T(1, 0)^{T} it equals a21a_{21}. That entry cannot be 00 here, since τ2−4Δ=(a11−a22)2+4a12a21\tau^2 - 4\Delta = (a_{11} - a_{22})^2 + 4a_{12}a_{21} is negative.

In plain words A spiral combines rotation, set by the imaginary part of the eigenvalue, with steady shrinking or growth, set by the real part. After each period of the rotation the state has been scaled by the same factor.

Example The matrix with rows (−1,−2)(-1, -2) and (2,−1)(2, -1) has α=−1\alpha = -1 and β=2\beta = 2, so its origin is a stable spiral. The solution from (1,0)T(1, 0)^{T} is X(t)=e−t(cos⁡2t,sin⁡2t)TX(t) = e^{-t}(\cos 2t, \sin 2t)^{T}, and since cos⁡22t+sin⁡22t=1\cos^2 2t + \sin^2 2t = 1, its distance from the origin is ∥X(t)∥=e−t\lVert X(t) \rVert = e^{-t}. Its arrow at the start is (−1,2)T(-1, 2)^{T}, left and up, in line with a21=2>0a_{21} = 2 > 0, so it turns counterclockwise. One full turn takes the time π\pi and shrinks the distance from the origin by the factor e−π≈0.0432e^{-\pi} \approx 0.0432. For this matrix the periodic factor (cos⁡2t,sin⁡2t)T(\cos 2t, \sin 2t)^{T} traces the unit circle, but for most matrices it traces an ellipse.

Center

Definition Let AA be a real 2×22 \times 2 matrix with eigenvalues ±iβ\pm i\beta, where β≠0\beta \ne 0. This means τ=0\tau = 0 and Δ>0\Delta > 0, with β2=Δ\beta^2 = \Delta. The origin of the linear system X′=AXX' = AX is then a center. Every nonzero solution is periodic with period 2π/∣β∣2\pi/\lvert\beta\rvert, and its trajectory is an ellipse centered at the origin, a circle only for special matrices. The origin is stable but not asymptotically stable, since solutions keep to their ellipses forever without approaching it. This conclusion holds for the exactly linear system. A nonlinear system whose linear part at an equilibrium has the eigenvalues ±iβ\pm i\beta may have a center, a stable spiral or an unstable spiral there. Such an equilibrium is not hyperbolic, so the linear part does not decide, and the nonlinear terms do.

In plain words When the eigenvalues have no real part, nothing makes the motion grow or decay, so every solution goes around the same closed curve again and again. That balance is exact for a linear system, and small nonlinear terms can tip it either way.

Example The oscillator y′′+4y=0y'' + 4y = 0 with X=(y,y′)TX = (y, y')^{T} gives

A=[01−40],A = \begin{bmatrix} 0 & 1 \\ -4 & 0 \end{bmatrix},

with τ=0\tau = 0, Δ=4\Delta = 4 and eigenvalues ±2i\pm 2i. The solution from (1,0)T(1, 0)^{T} is X(t)=(cos⁡2t,−2sin⁡2t)TX(t) = (\cos 2t, -2\sin 2t)^{T}. It satisfies x12+x22/4=1x_1^2 + x_2^2/4 = 1, so it runs around an ellipse with period π\pi, clockwise since a21=−4<0a_{21} = -4 < 0. In the rescaled coordinates Y=(2x1,x2)TY = (2x_1, x_2)^{T} the system becomes

Y′=[02−20]Y,Y' = \begin{bmatrix} 0 & 2 \\ -2 & 0 \end{bmatrix} Y,

whose trajectories are circles. The picture changes, but the motion is the same, periodic and neither growing nor decaying.

Check yourself

  1. Find the eigenvalues and classify the origin of X′=AXX' = AX for each matrix.
A1=[1221],A2=[1−51−1],A3=[−311−3]\begin{gathered} A_1 = \begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix}, \\[0.4em] A_2 = \begin{bmatrix} 1 & -5 \\ 1 & -1 \end{bmatrix}, \\[0.4em] A_3 = \begin{bmatrix} -3 & 1 \\ 1 & -3 \end{bmatrix} \end{gathered}
Show the answer

For A1A_1, τ=2\tau = 2 and Δ=1−4=−3<0\Delta = 1 - 4 = -3 < 0. The eigenvalues are the roots of λ2−2λ−3\lambda^2 - 2\lambda - 3, namely 33 and −1-1, so the origin is a saddle. For A2A_2, τ=0\tau = 0 and Δ=−1+5=4>0\Delta = -1 + 5 = 4 > 0, so the eigenvalues are ±2i\pm 2i and the origin of this linear system is a center, traversed counterclockwise since a21=1>0a_{21} = 1 > 0. For A3A_3, τ=−6\tau = -6 and Δ=9−1=8\Delta = 9 - 1 = 8, and λ2+6λ+8=(λ+2)(λ+4)\lambda^2 + 6\lambda + 8 = (\lambda + 2)(\lambda + 4) gives the eigenvalues −2-2 and −4-4, so the origin is a stable node.

  1. Solve X′=AXX' = AX with X(0)=(1,1)TX(0) = (1, 1)^{T} for the matrix below, classify the origin, and give the direction of turning.
A=[1−15−3]A = \begin{bmatrix} 1 & -1 \\ 5 & -3 \end{bmatrix}
Show the answer

Here τ=−2\tau = -2 and Δ=−3+5=2\Delta = -3 + 5 = 2, so λ2+2λ+2=0\lambda^2 + 2\lambda + 2 = 0 and λ=−1±i\lambda = -1 \pm i. For λ=−1+i\lambda = -1 + i the first row of A−λIA - \lambda I is (2−i,−1)(2 - i, -1), so an eigenvector (a,b)T(a, b)^{T} needs b=(2−i)ab = (2 - i)a, and v=(1,2−i)Tv = (1, 2 - i)^{T}. The second entries of AvAv and λv\lambda v agree as well, since 5−3(2−i)=−1+3i5 - 3(2 - i) = -1 + 3i and (−1+i)(2−i)=−1+3i(-1 + i)(2 - i) = -1 + 3i. So p=(1,2)Tp = (1, 2)^{T}, q=(0,−1)Tq = (0, -1)^{T}, α=−1\alpha = -1, β=1\beta = 1 and

U=e−t(cos⁡t, 2cos⁡t+sin⁡t)T,W=e−t(sin⁡t, 2sin⁡t−cos⁡t)T.\begin{aligned} U &= e^{-t}(\cos t,\ 2\cos t + \sin t)^{T}, \\[0.4em] W &= e^{-t}(\sin t,\ 2\sin t - \cos t)^{T}. \end{aligned}

The start needs c1p+c2q=(c1,2c1−c2)T=(1,1)Tc_1p + c_2q = (c_1, 2c_1 - c_2)^{T} = (1, 1)^{T}, so c1=c2=1c_1 = c_2 = 1 and

X(t)=e−t[cos⁡t+sin⁡tcos⁡t+3sin⁡t].X(t) = e^{-t}\begin{bmatrix} \cos t + \sin t \\ \cos t + 3\sin t \end{bmatrix}.

As a check, x1′=−2e−tsin⁡t=x1−x2x_1' = -2e^{-t}\sin t = x_1 - x_2 and x2′=e−t(2cos⁡t−4sin⁡t)=5x1−3x2x_2' = e^{-t}(2\cos t - 4\sin t) = 5x_1 - 3x_2. Since α=−1<0\alpha = -1 < 0, the origin is a stable spiral, and a21=5>0a_{21} = 5 > 0 makes the solutions turn counterclockwise.

  1. The linear part of the system x1′=x2−x1(x12+x22)x_1' = x_2 - x_1(x_1^2 + x_2^2), x2′=−x1−x2(x12+x22)x_2' = -x_1 - x_2(x_1^2 + x_2^2) at the origin has the eigenvalues ±i\pm i. A classmate concludes that the origin is a center. Show that the distance from the origin decreases along every nonzero solution, and explain the mistake.
Show the answer

Write r2=x12+x22r^2 = x_1^2 + x_2^2. Along a solution,

ddtr2=2x1x1′+2x2x2′=2x1x2−2x12r2−2x1x2−2x22r2=−2r2(x12+x22)=−2r4,\begin{aligned} \frac{d}{dt}r^2 &= 2x_1x_1' + 2x_2x_2' \\[0.4em] &= 2x_1x_2 - 2x_1^2r^2 \\[0.4em] &\quad - 2x_1x_2 - 2x_2^2r^2 \\[0.4em] &= -2r^2(x_1^2 + x_2^2) = -2r^4, \end{aligned}

which is negative at every nonzero state. So the distance decreases strictly, and no nonzero trajectory is closed. Solving (r2)′=−2(r2)2(r^2)' = -2(r^2)^2 gives r(t)2=r02/(1+2r02t)r(t)^2 = r_0^2/(1 + 2r_0^2t) for t≥0t \ge 0, so every solution tends to the origin, more slowly than any exponential. The angle satisfies θ′=(x1x2′−x2x1′)/r2=−1\theta' = (x_1x_2' - x_2x_1')/r^2 = -1, so the solutions spiral clockwise into the origin, which is asymptotically stable. The classification by eigenvalues describes the linear system x1′=x2x_1' = x_2, x2′=−x1x_2' = -x_1, which does have a center. With eigenvalues on the imaginary axis the equilibrium of the nonlinear system is not hyperbolic, and here the cubic terms decide the behavior.

How this lesson connects