TExcelTAD
Home › Differential Equations › Repeated Eigenvalues

Repeated Eigenvalues

When an eigenvalue is repeated, the eigenvalue method may run out of eigenvectors. An n×nn \times n system needs nn independent solutions; if a double eigenvalue has only one eigenvector, the missing solution involves t eλtt\,e^{\lambda t}, just as a repeated characteristic root did.

Two cases

Suppose λ\lambda has algebraic multiplicity 2.

  1. Complete eigenvalue (two independent eigenvectors v1\mathbf{v}_1, v2\mathbf{v}_2): nothing changes, c1eλtv1+c2eλtv2c_1e^{\lambda t}\mathbf{v}_1 + c_2e^{\lambda t}\mathbf{v}_2. For a 2×22 \times 2 matrix this only happens for A=λIA = \lambda I, and every trajectory is a straight ray (a "star" node).
  2. Defective eigenvalue (one eigenvector v\mathbf{v}): find a generalized eigenvector w\mathbf{w} with
(A−λI) w=v.(A - \lambda I)\,\mathbf{w} = \mathbf{v}.

Then a second solution is

x2=eλt(t v+w).\mathbf{x}_2 = e^{\lambda t}\left(t\,\mathbf{v} + \mathbf{w}\right).

Check: x2′=λeλt(tv+w)+eλtv\mathbf{x}_2' = \lambda e^{\lambda t}(t\mathbf{v} + \mathbf{w}) + e^{\lambda t}\mathbf{v} and Ax2=eλt(tλv+λw+v)A\mathbf{x}_2 = e^{\lambda t}(t\lambda\mathbf{v} + \lambda\mathbf{w} + \mathbf{v}). They agree.

Example

A=[31−11]A = \begin{bmatrix} 3 & 1 \\ -1 & 1 \end{bmatrix}: det⁡(A−λI)=(3−λ)(1−λ)+1=(λ−2)2\det(A - \lambda I) = (3 - \lambda)(1 - \lambda) + 1 = (\lambda - 2)^2. For λ=2\lambda = 2, A−2I=[11−1−1]A - 2I = \begin{bmatrix} 1 & 1 \\ -1 & -1 \end{bmatrix} has rank 1: only one eigenvector, v=(1,−1)\mathbf{v} = (1, -1). Solve (A−2I)w=v(A - 2I)\mathbf{w} = \mathbf{v}: w1+w2=1w_1 + w_2 = 1, so w=(1,0)\mathbf{w} = (1, 0) works.

x=c1e2t[1−1]+c2e2t(t[1−1]+[10]).\mathbf{x} = c_1e^{2t}\begin{bmatrix} 1 \\ -1 \end{bmatrix} + c_2e^{2t}\left(t\begin{bmatrix} 1 \\ -1 \end{bmatrix} + \begin{bmatrix} 1 \\ 0 \end{bmatrix}\right).
python · try it yourself
import sympy as sp

A = sp.Matrix([[3, 1], [-1, 1]])
print("eigenvects:", [(lam, m, [list(v) for v in vs]) for lam, m, vs in A.eigenvects()])
P, J = A.jordan_form()
print("Jordan form J =", J.tolist(), " P =", P.tolist())

t = sp.symbols("t")
v, w = sp.Matrix([1, -1]), sp.Matrix([1, 0])
x2 = sp.exp(2 * t) * (t * v + w)
print("x2 solves the system:", sp.simplify(x2.diff(t) - A * x2) == sp.zeros(2, 1))
eigenvects: [(2, 2, [[-1, 1]])]
Jordan form J = [[2, 1], [0, 2]]  P = [[1, 1], [-1, 0]]
x2 solves the system: True

The Jordan form J=[2102]J = \begin{bmatrix} 2 & 1 \\ 0 & 2 \end{bmatrix} is the "almost diagonal" matrix that replaces Λ\Lambda when AA is not diagonalizable. The columns of PP are an eigenvector and a generalized eigenvector.

The phase portrait: a degenerate node

With λ<0\lambda < 0 and one eigenvector, trajectories approach the origin tangent to the single eigenvector line, but they turn around it: the term tvt\mathbf{v} eventually dominates w\mathbf{w}. This improper (degenerate) node is the borderline between a node and a spiral, just as critical damping sits between overdamped and underdamped springs. In fact, the critically damped spring x′′+2x′+x=0x'' + 2x' + x = 0 in system form has the matrix [01−1−2]\begin{bmatrix} 0 & 1 \\ -1 & -2 \end{bmatrix} with double eigenvalue −1-1.

python · try it yourself
import numpy as np
from scipy.integrate import solve_ivp

A = np.array([[0.0, 1.0], [-1.0, -2.0]])
print("eigenvalues:", np.linalg.eigvals(A))
sol = solve_ivp(lambda t, x: A @ x, (0, 8), [1.0, 1.0], t_eval=[0, 1, 2, 4, 8], rtol=1e-11, atol=1e-14)
for t, x in zip(sol.t, sol.y.T):
    print(f"t = {t}: direction {np.round(x / np.linalg.norm(x), 4)}")
print("eigenvector direction:", np.round(np.array([1, -1]) / np.sqrt(2), 4))
eigenvalues: [-1. -1.]
t = 0: direction [0.7071 0.7071]
t = 1: direction [ 0.9487 -0.3162]
t = 2: direction [ 0.8575 -0.5145]
t = 4: direction [ 0.7894 -0.6139]
t = 8: direction [ 0.7498 -0.6616]
eigenvector direction: [ 0.7071 -0.7071]

Higher multiplicity

For larger defective eigenvalues, chains (A−λI)wk+1=wk(A - \lambda I)\mathbf{w}_{k+1} = \mathbf{w}_k give solutions with t2eλtt^2e^{\lambda t}, t3eλtt^3e^{\lambda t}, and so on. In practice the matrix exponential handles every case at once.

In software

  • Defective matrices are numerically delicate: a tiny perturbation splits a double eigenvalue into two close ones with nearly parallel eigenvectors, so np.linalg.eig returns an ill-conditioned VV. Robust codes avoid diagonalization and use Schur decompositions or scipy.linalg.expm (Eigenvalue Problems and Their Conditioning).
  • Critically damped controllers and filters are designed right at this boundary.

Exercises

Exercise 1: Complete or defective?

Is λ=4\lambda = 4 complete or defective for [4004]\begin{bmatrix} 4 & 0 \\ 0 & 4 \end{bmatrix}? For [4104]\begin{bmatrix} 4 & 1 \\ 0 & 4 \end{bmatrix}?

Answer

Complete for the first, defective for the second.

Solution

A−4IA - 4I is the zero matrix in the first case (every vector is an eigenvector) and [0100]\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix} of rank 1 in the second (only multiples of (1,0)(1, 0)).

Exercise 2: Solve

Solve x′=[4104]x\mathbf{x}' = \begin{bmatrix} 4 & 1 \\ 0 & 4 \end{bmatrix}\mathbf{x}.

Answer

x=c1e4t(1,0)+c2e4t(t,1)\mathbf{x} = c_1e^{4t}(1, 0) + c_2e^{4t}(t, 1).

Solution

v=(1,0)\mathbf{v} = (1, 0); (A−4I)w=v(A - 4I)\mathbf{w} = \mathbf{v} means w2=1w_2 = 1, so w=(0,1)\mathbf{w} = (0, 1), and x2=e4t(t(1,0)+(0,1))\mathbf{x}_2 = e^{4t}(t(1, 0) + (0, 1)). Directly: x2′=4x2x_2' = 4x_2 gives x2=c2e4tx_2 = c_2e^{4t}, then x1′−4x1=c2e4tx_1' - 4x_1 = c_2e^{4t} gives x1=(c1+c2t)e4tx_1 = (c_1 + c_2t)e^{4t}.

Exercise 3: Generalized eigenvector (code)

Find an eigenvector and a generalized eigenvector of [1−113]\begin{bmatrix} 1 & -1 \\ 1 & 3 \end{bmatrix}.

Answer

λ=2\lambda = 2, v=(1,−1)\mathbf{v} = (1, -1), w=(−1,0)\mathbf{w} = (-1, 0) (or any w\mathbf{w} with −w1−w2=1-w_1 - w_2 = 1).

Solution

(1−λ)(3−λ)+1=(λ−2)2(1 - \lambda)(3 - \lambda) + 1 = (\lambda - 2)^2. A−2I=[−1−111]A - 2I = \begin{bmatrix} -1 & -1 \\ 1 & 1 \end{bmatrix}, so v=(1,−1)\mathbf{v} = (1, -1) and −w1−w2=1-w_1 - w_2 = 1.

python · try it yourself
import sympy as sp
A = sp.Matrix([[1, -1], [1, 3]])
P, J = A.jordan_form()
print(J.tolist(), P.tolist())
[[2, 1], [0, 2]] [[-1, 1], [1, 0]]

SymPy's PP has an eigenvector as its first column and a generalized eigenvector as its second; they are scaled differently from ours, which is allowed.

Test yourself

A 2×22 \times 2 matrix with a double eigenvalue and only one eigenvector is called…

  1. symmetric
  2. defective
  3. orthogonal
  4. singular

The second solution for a defective eigenvalue has the form…

  1. e2λtve^{2\lambda t}\mathbf{v}
  2. eλt(tv+w)e^{\lambda t}(t\mathbf{v} + \mathbf{w})
  3. t2vt^2\mathbf{v}
  4. e−λtwe^{-\lambda t}\mathbf{w}

The system form of a critically damped spring has…

  1. two distinct negative eigenvalues
  2. a defective double eigenvalue
  3. complex eigenvalues
  4. a zero eigenvalue