Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Open In Colab Binder

Counting the ways to combine long and short syllables and tracking how rabbits breed seem to have nothing to do with each other, yet both lead to recursively defined sequences. The tradition of Indian prosody and Fibonacci’s Liber Abaci of 1202 are different threads in the history of such problems. For the Fibonacci sequence, the ratio of consecutive terms approaches the golden ratio φ=(1+5)/2\varphi=(1+\sqrt5)/2; Binet’s formula, in turn, writes a sequence of integers as a combination of powers of irrational numbers. What structure is hidden behind all this?

Modern linear algebra lays a remarkably clean card on the table: the golden ratio φ\varphi is, in essence, the dominant eigenvalue of a 2×22 \times 2 state transition matrix. Once you have mastered the geometric viewpoint of diagonalizing a matrix, the square root of five and the irrational powers in Binet’s formula reveal themselves as naturally as a finely made gift being unwrapped—a number-theoretic coincidence spanning two thousand years turns out, in a linear space, to be nothing more than a completely standard eigenvalue computation.

This is precisely the ultimate lens that this chapter sets out to forge for you.

If a nonzero vector v\mathbf{v} satisfies Av=λv\mathbf{A}\mathbf{v}=\lambda\mathbf{v}, then the one-dimensional subspace it spans is left invariant by the transformation; v\mathbf{v} is called an eigenvector and λ\lambda an eigenvalue. In the real case this can be pictured as stretching, compressing, reversing, or collapsing to zero along a single line. But a real matrix need not have any real eigendirection—a rotation of the plane by ninety degrees is an example—while the identity matrix has every nonzero vector as an eigenvector. Over the complex numbers every nonempty square matrix has at least one eigenvalue, yet it need not have enough linearly independent eigenvectors to be diagonalized.

The eigen in the German word Eigenwert means “own” or “proper.” Eigenvalues are unchanged by a similarity change of basis, which expresses an intrinsic property of the operator; but a list of eigenvalues alone is usually not enough to reconstruct the whole operator.

This language shows a remarkable universality across modern science and engineering:

  • The quantum world. The bound-state eigenvalues of the Hamiltonian operator give the discrete energy levels; the frequency of a spectral line is determined by an energy difference hν=Ei−Ejh\nu=E_i-E_j and is not itself an eigenvalue.

  • Information networks. PageRank models the web with a damped random transition matrix, and the weights of the web pages are given by the nonnegative stationary eigenvector for the eigenvalue 1 whose components sum to 1.

  • High-dimensional data. Principal component analysis (PCA) in machine learning takes the covariance matrix of high-dimensional data and uses the eigenvector belonging to the largest eigenvalue to lock onto the principal axis of greatest variance (the eigenvalue is a scalar and only gives the amount of variance in that direction); it is a cornerstone of modern dimensionality reduction.

Chapter 9 will reveal why the eigenvalues of symmetric systems must be purely real; Chapter 10 will explain why the observables of quantum mechanics are described by self-adjoint operators, with the measurement rules given jointly by the eigenvalues and the corresponding spectral projections; and the singular value decomposition (SVD) of Chapter 11 will carry this beautiful idea of the eigen-spectrum all the way to matrices of arbitrary shape and to finite-dimensional linear maps.

Different worlds, read through the same eigenspace.

Chapter Structure and Learning Objectives

The story of the Fibonacci sequence pays off in full in §8.3: how the recurrence is written in matrix form, how the eigenvalues emerge as the golden ratio, and how diagonalization yields Binet’s formula. But to follow that story, we first need to lay the foundation in the first two sections of this chapter.

§8.1 begins by stating the central problem clearly. How does the geometric intuition of an “unchanged direction” become an algebraic condition that can be computed? The answer lies in the characteristic polynomial, in the equation det⁡(A−λI)=0\det(\mathbf{A} - \lambda\mathbf{I}) = 0—finding eigenvalues is equivalent to finding the roots of a polynomial, and the fundamental theorem of algebra guarantees that the roots exist over the complex numbers. Here geometric intuition and algebraic tools shake hands for the first time.

§8.2 goes deeper into the structure of the characteristic polynomial. An eigenvalue can be a repeated root, and the gap between algebraic multiplicity and geometric multiplicity is precisely the watershed that decides whether a matrix can be “fully understood.” This section also introduces the Cayley–Hamilton theorem—every matrix satisfies its own characteristic equation. At first glance it looks like magic; on reflection it is nothing more than an inevitable consequence of linear dependence.

§8.3 reaches the central goal: change the basis so that the matrix becomes as simple as possible. A matrix being diagonalizable means that, in some basis, the linear transformation is nothing but independent scaling along each direction. This section answers “when can this be done” and “what can we do once it is done”—the closed-form formula for the Fibonacci sequence is the most concise demonstration of the power of diagonalization.

§8.4 faces an unavoidable reality: not every matrix can be diagonalized. The Jordan canonical form gives the most general answer—even when a matrix cannot be fully diagonalized, it can be brought to an almost diagonal block structure. This is one of the deepest theorems of finite-dimensional linear algebra, and a stage that cannot be bypassed in understanding the inner structure of matrices.

§8.5 verifies the conclusions of this chapter in Python and implements numerical methods such as power iteration, so that you can feel the distance between “diagonalizing by hand” and “efficient solution by computer”—both near and far.

Once you have read this chapter, you will have a far deeper answer than before to the question “what, really, is a matrix?”; and the sequence that left traces both in the Indian tradition of prosody and in Liber Abaci, and whose structure linear algebra finally brought into view, will become your most concrete memory of the power of eigenvalues.


8.1 Fundamentals of Eigenvalues and Eigenvectors

At its core, the eigenvalue problem is a search for the invariant subspaces and invariant directions of a matrix. When a matrix is viewed as a linear transformation, eigenvalues and eigenvectors give us the simplest way to represent the mapping and reveal the intrinsic structure and properties of the matrix. This section starts from the definition, introduces the basic concepts of eigenvalues and eigenvectors, and explores how to compute them and what they mean geometrically.

8.1.1 The Characteristic Equation and the Characteristic Polynomial

The concepts of eigenvalue and eigenvector grew out of a close study of the basic behavior of linear transformations. When a linear transformation acts on certain special vectors, the direction of these vectors is preserved and only their magnitude is scaled.

This definition has three key ingredients:

  1. Square matrices only. The eigenvalue problem applies only to square matrices, that is, matrices whose number of rows equals their number of columns.

  2. Nonzero vectors. An eigenvector must be a nonzero vector; otherwise the equation would hold automatically for every λ\lambda.

  3. Invariance of direction. After the transformation, an eigenvector still lies on its original invariant line, and its length is multiplied by ∣λ∣|\lambda|; a negative value reverses it, and the value zero sends it to zero (here we mean real eigenvalues).

To solve for eigenvalues and eigenvectors, we need to turn the defining equation of an eigenvalue into a form that is easier to work with.

The definition of an eigenvalue can be rewritten as: Av=λv\mathbf{A}\mathbf{v} = \lambda\mathbf{v}, Av−λv=0\mathbf{A}\mathbf{v} - \lambda\mathbf{v} = \mathbf{0}, (A−λI)v=0(\mathbf{A} - \lambda\mathbf{I})\mathbf{v} = \mathbf{0}

where I\mathbf{I} is the n×nn \times n identity matrix. Since we require the eigenvector v\mathbf{v} to be nonzero, A−λI\mathbf{A} - \lambda\mathbf{I} must be a singular matrix, that is, its determinant must be zero:

det⁡(A−λI)=0\det(\mathbf{A} - \lambda\mathbf{I}) = 0

This equation is called the characteristic equation of the matrix A\mathbf{A}. When the determinant on the left is expanded, it is a polynomial in λ\lambda, called the characteristic polynomial of the matrix A\mathbf{A}.

Historical significance and applications.

This is one of the major achievements of the mathematician Gauss in the early nineteenth century, and a central theorem of algebra. It tells us that the field of complex numbers is algebraically closed: every polynomial equation in one variable with complex coefficients can be solved within the complex numbers.

It is a concise existence theorem; in practice, other constructive methods (such as Newton’s method) are still needed to actually compute the roots, and the relevant Python packages can usually find approximate solutions that meet the required precision.

A direct corollary is that a polynomial of degree nn has exactly nn roots in the complex numbers (counted with multiplicity), so an n×nn \times n matrix has exactly nn eigenvalues (possibly repeated). These eigenvalues may be real or complex, even when all the entries of the matrix are real.

Standard procedure for computing eigenvalues and eigenvectors.

  1. Compute the characteristic polynomial pA(λ)=det⁡(A−λI)p_A(\lambda) = \det(\mathbf{A} - \lambda\mathbf{I}).

  2. Solve the characteristic equation pA(λ)=0p_A(\lambda) = 0 to obtain the eigenvalues.

  3. For each eigenvalue λi\lambda_i, solve the homogeneous linear system (A−λiI)v=0(\mathbf{A} - \lambda_i\mathbf{I})\mathbf{v} = \mathbf{0} to obtain the corresponding eigenvectors.

============================================================
  Example 8.1 | Symbolic Computation of the Characteristic Polynomial
============================================================

▶ Step 1: Define the matrix A
----------------------------------------
⎡3  1⎤
⎢    ⎥
⎣1  3⎦

▶ Step 2: Compute the characteristic polynomial p_A(λ) = det(A - λI)
----------------------------------------
  Expanded: p_A(λ) = lambda**2 - 6*lambda + 8
  Factored: p_A(λ) = (lambda - 4)*(lambda - 2)

▶ Step 3: Solve p_A(λ) = 0
----------------------------------------
  Eigenvalues: λ₀ = 2,  λ₁ = 4

8.1.2 Geometric Interpretation of Eigenvalues and Eigenvectors

Eigenvalues and eigenvectors carry deep geometric meaning: they reveal the essential behavior of a linear transformation. To search for invariant vectors yourself, see Experiment 1.

Basic geometric interpretation.

  • Eigenvectors represent the invariant directions of a linear transformation.

  • Eigenvalues represent the stretching or compression ratios along these directions.

When a matrix A\mathbf{A} acts on a vector space as a linear transformation, most vectors are not only scaled but also change direction. Eigenvectors are the exception—they are only stretched or compressed along their original direction, and the scaling ratio is exactly the corresponding eigenvalue. An interesting and important question: does a rotation matrix still have invariant eigenvectors?

Depending on the eigenvalue, we can observe several typical situations:

  • When λ>1\lambda > 1, the eigenvector is stretched.

  • When 0<λ<10 < \lambda < 1, the eigenvector is compressed.

  • When λ<0\lambda < 0, the eigenvector’s direction is reversed and it is scaled by ∣λ∣|\lambda|.

  • When λ=0\lambda = 0, the eigenvector is mapped to the zero vector, indicating that these directions “vanish” under the transformation.

  • When λ=1\lambda = 1, the eigenvector is left completely unchanged.

As shown in Chapter 3, several typical transformations have the following eigenvalues and eigenvectors:

  1. The identity matrix I\mathbf{I}:

    • Every nonzero vector is an eigenvector, and the corresponding eigenvalue is always 1.

    • Geometric interpretation: the identity transformation, which leaves every vector unchanged.

  2. A projection matrix P\mathbf{P} (projecting onto some subspace):

    • The only eigenvalues are 0 and 1.

    • The eigenvectors for the eigenvalue 1 lie in the subspace and are left unchanged.

    • The eigenvectors for the eigenvalue 0 are perpendicular to the subspace and are mapped to zero.

  3. A two-dimensional rotation matrix R\mathbf{R}:

    • If the angle of rotation is not an integer multiple of π\pi, there are no real eigenvalues.

    • The eigenvalues are complex, of the form e±iθe^{±i\theta} (θ\theta is the angle of rotation).

    • Geometric interpretation: under this condition on the angle there is no real invariant line.

    • This also shows that complex matrices arise naturally.

Through geometric intuition we have seen that eigenvalues and eigenvectors reveal the “principal axes” and the “scaling factors” of a linear transformation. But this is only the tip of the iceberg. In Section 8.2 we explore the deeper theoretical properties of eigenvalues, including eigenspaces and the notions of algebraic and geometric multiplicity, which provide the theoretical foundation for understanding the complete structure of a matrix.

8.2 Theoretical Properties of Eigenvalues

This section explores the important theoretical properties of eigenvalues in depth, relates eigenvalues to other properties of a matrix, and introduces the concept of an eigenspace. These theoretical foundations provide a solid framework for understanding matrix structure and for applying eigenvalue analysis.

8.2.1 Relations Between Eigenvalues and Matrix Properties

Eigenvalues are closely connected with several basic properties of a matrix, and these connections reveal the essential features of the matrix’s intrinsic structure.

The relation between the trace and the sum of the eigenvalues can be proved from the expansion of the characteristic polynomial. After the characteristic polynomial pA(λ)=det⁡(A−λI)p_A(\lambda) = \det(\mathbf{A} - \lambda\mathbf{I}) is expanded, the coefficient of λn−1\lambda^{n-1} is exactly (−1)n−1tr(A)(-1)^{n-1}\text{tr}(\mathbf{A}).

The relation between the determinant and the product of the eigenvalues explains the invertibility condition for a square matrix: a square matrix A\mathbf{A} is invertible if and only if all of its eigenvalues are nonzero, that is, det⁡(A)≠0\det(\mathbf{A}) \neq 0.

8.2.2 Eigenspaces, Algebraic Multiplicity, and Geometric Multiplicity

For each eigenvalue, the corresponding eigenvectors (together with the zero vector) form a vector subspace, called the eigenspace.

Eigenspaces have the following important properties:

  1. Subspace property. An eigenspace is a subspace of the vector space: it is closed under addition and under scalar multiplication.

  2. Invariant subspace. If v∈Eλ\mathbf{v} \in E_\lambda, then Av∈Eλ\mathbf{A}\mathbf{v} \in E_\lambda. That is, the matrix A\mathbf{A} maps the eigenspace into itself.

  3. Eigenvectors for distinct eigenvalues are linearly independent. If λ0,λ1,…,λk−1\lambda_0, \lambda_1, \ldots, \lambda_{k-1} are pairwise distinct, then the corresponding nonzero eigenvectors v0,…,vk−1\mathbf{v}_0, \ldots, \mathbf{v}_{k-1} must be linearly independent (see the theorem below).

This theorem is one of the cornerstones of eigenvalue theory: it guarantees that eigenvectors taken from distinct eigenvalues always form a linearly independent set, which lays the theoretical foundation for the diagonalization of matrices that follows.

A short dimension count, together with the finite-dimensional abstract linear algebra of Chapter 4, readily shows that if the eigenvalues of a square matrix A\mathbf{A} are pairwise distinct, then A\mathbf{A} can be diagonalized using the corresponding eigenvectors; this means that collecting all the eigenspaces recovers the entire domain. But things do not always go so smoothly—eigenvalues sometimes repeat.

When an eigenvalue λ\lambda is a repeated root, “repeated” has two quite different meanings, and the gap between these two meanings decides whether the matrix can be diagonalized.

  • Algebraic multiplicity answers: how “heavy” is this eigenvalue in the polynomial?

  • Geometric multiplicity answers: how many independent invariant axes can this eigenvalue hold up?

Side-by-side comparison.

Algebraic multiplicity aλa_\lambdaGeometric multiplicity gλg_\lambda
Defined viathe characteristic polynomial (algebra)the kernel (geometry)
How to computethe multiplicity of λ\lambda as a rootn−rank⁡(A−λI)n - \operatorname{rank}(\mathbf{A}-\lambda\mathbf{I})
Intuitive meaninghow many directions are “expected”how many independent directions there “actually” are

Over C\mathbb{C} (or, more generally, when the characteristic polynomial splits completely over F\mathbb{F}), if gλ=aλg_\lambda = a_\lambda holds for every eigenvalue, the matrix is diagonalizable. If any eigenvalue has gλ<aλg_\lambda < a_\lambda, the Jordan canonical form (§8.4) is needed to handle those “missing directions.”

The next two examples use the same eigenvalue λ=2\lambda = 2 to illustrate two extreme situations.

Besides illustrating the situation gλ<aλg_\lambda < a_\lambda, these two examples are highly representative in form—they are exactly the prototypes of the Jordan canonical form, and they preview the conclusions of our study of non-diagonalizable matrices.

8.2.3 ◆The Cayley–Hamilton Theorem

The Cayley–Hamilton theorem links a square matrix to its characteristic equation and gives the concise result pA(A)=0p_{\mathbf{A}}(\mathbf{A}) = \mathbf{0}. For this expression to make sense, we first need to define polynomial functions of a matrix.

Here F\mathbb{F} denotes the field containing the entries of the matrix; the Cayley–Hamilton theorem does not require the characteristic polynomial to split over that field.

8.3 Similarity Transformations and Diagonalization

In Sections 8.1 and 8.2 we studied eigenvalues and their eigenspaces one at a time. Now we ask a global question: taken together, can these eigenspaces rebuild the entire vector space?

If the answer is yes, we can find a basis made up entirely of eigenvectors, and in that basis the matrix representation of the linear transformation becomes extremely simple—this is diagonalization. To reach this goal we need a tool for “switching viewpoints”: the similarity transformation. It lets us move freely between different bases and thus look for the basis that best reveals the structure of the matrix.

8.3.1 Similarity Transformations: Looking at the Same Thing from Another Angle

Geometric meaning. A\mathbf{A} and B\mathbf{B} are the matrix representations of the same linear transformation T:V→VT: V \to V in different bases.

Suppose we have two bases:

  • The standard basis Bstd={e0,e1,…,en−1}\mathcal{B}_{\text{std}} = \{\mathbf{e}_0, \mathbf{e}_1, \ldots, \mathbf{e}_{n-1}\}: the matrix representation of the linear transformation TT is A\mathbf{A}.

  • A new basis Bnew={v0,v1,…,vn−1}\mathcal{B}_{\text{new}} = \{\mathbf{v}_0, \mathbf{v}_1, \ldots, \mathbf{v}_{n-1}\}: the matrix representation of the same TT is B\mathbf{B}.

Here P=[v0,v1,…,vn−1]\mathbf{P} = [\mathbf{v}_0, \mathbf{v}_1, \ldots, \mathbf{v}_{n-1}] is the change-of-basis matrix.

Why is the formula B=P−1AP\mathbf{B} = \mathbf{P}^{-1}\mathbf{A}\mathbf{P}?

[x]new basis→P[x]standard basisB↓↓A[y]new basis←P−1[y]standard basis\begin{array}{ccccc} [\mathbf{x}]_{\text{new basis}} & \overset{\mathbf{P}}{\rightarrow} & [\mathbf{x}]_{\text{standard basis}} \\[10pt] {\mathbf{B}}↓ & & ↓{\mathbf{A}} \\[10pt] [\mathbf{y}]_{\text{new basis}} & \overset{\mathbf{P}^{-1}}{\leftarrow} & [\mathbf{y}]_{\text{standard basis}} \end{array}

Consider the coordinates [x]Bnew[\mathbf{x}]_{\mathcal{B}_{\text{new}}} of a vector x\mathbf{x} in the new basis. To compute the coordinates of T(x)T(\mathbf{x}) in the new basis, we go through the following steps:

[x]new→P[x]std→A[y]std→P−1[y]new[\mathbf{x}]_{\text{new}} \overset{\mathbf{P}}{\rightarrow} [\mathbf{x}]_{\text{std}} \overset{\mathbf{A}}{\rightarrow} [\mathbf{y}]_{\text{std}} \overset{\mathbf{P}^{-1}}{\rightarrow}[\mathbf{y}]_{\text{new}}

Therefore, the matrix representation of the linear transformation in the new basis Bnew\mathcal{B}_{\text{new}} is

B=P−1AP‾\underline{\mathbf{B} = \mathbf{P}^{-1}\mathbf{A}\mathbf{P}}

Intuition. These invariants are all intrinsic properties of the linear transformation itself and do not change with the viewpoint (the choice of basis):

  • Eigenvalues: the stretching factors along the eigendirections, independent of the coordinate system

  • Determinant: in real geometry, the signed factor by which volume is scaled (its absolute value is the ordinary volume factor), independent of the coordinate system

  • Trace: the sum of all the eigenvalues, reflecting the overall “strength” of the transformation

  • Rank: the dimension of the image, that is, the number of “effective directions” after the transformation

  • Nullity: the dimension of the kernel, that is, the number of directions “flattened to zero”

8.3.2 Definition of and Conditions for Diagonalization

With the concept of a similarity transformation in hand, we can now pose an important question: can we find a special basis in which the matrix takes diagonal form?

Diagonalization is exactly such a special similarity transformation: the new basis is made up of eigenvectors.

Geometric meaning of diagonalization. Diagonalization means that, in the basis formed by the eigenvectors, the linear transformation reduces to simple scaling along each coordinate axis, with no rotation or shear at all.

This corollary follows directly from Theorem Theorem 2: eigenvectors corresponding to pairwise distinct eigenvalues are necessarily linearly independent.

8.3.3 Applications of Diagonalization

Diagonalization turns complicated matrix operations into simple operations on diagonal matrices. Diagonal matrices have the following features:

  • Powers are easy. For Dk\mathbf{D}^k, simply raise each diagonal entry to the kk-th power.

  • Functions are easy. For f(D)f(\mathbf{D}), simply apply the function to each diagonal entry.

  • Decoupling. The diagonal form decomposes the vector space into independent one-dimensional subspaces.

These properties make diagonalization extremely useful in the following settings:

Application 1: Computing powers of a matrix

If A=PDP−1\mathbf{A} = \mathbf{P}\mathbf{D}\mathbf{P}^{-1}, then

Ak=(PDP−1)k=PDkP−1\mathbf{A}^k = (\mathbf{P}\mathbf{D}\mathbf{P}^{-1})^k = \mathbf{P}\mathbf{D}^k\mathbf{P}^{-1}

and powers of a diagonal matrix are very easy to compute:

Dk=(λ0k0⋯00λ1k⋯0⋮⋮⋱⋮00⋯λn−1k)\mathbf{D}^k = \begin{pmatrix} \lambda_0^k & 0 & \cdots & 0 \\ 0 & \lambda_1^k & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \lambda_{n-1}^k \end{pmatrix}

Application 2: Solving difference equations

Consider the system of linear difference equations

xk+1=Axk\mathbf{x}_{k+1} = \mathbf{A}\mathbf{x}_k

If A\mathbf{A} is diagonalizable, then

xk=Akx0=PDkP−1x0\mathbf{x}_k = \mathbf{A}^k\mathbf{x}_0 = \mathbf{P}\mathbf{D}^k\mathbf{P}^{-1}\mathbf{x}_0

This reduces the problem to simple operations on a diagonal matrix.

Application 3: Simplifying the computation of matrix functions

For a function f(x)f(x), if A=PDP−1\mathbf{A}= \mathbf{P}\mathbf{D}\mathbf{P}^{-1} is diagonalizable, we can define the matrix function f(A)f(\mathbf{A}):

f(A):=Pf(D)P−1=Pdiag(f(λ0),f(λ1),…,f(λn−1))P−1f(\mathbf{A}) := \mathbf{P}f(\mathbf{D})\mathbf{P}^{-1} = \mathbf{P}\text{diag}(f(\lambda_0), f(\lambda_1), \ldots, f(\lambda_{n-1}))\mathbf{P}^{-1}

In particular, the matrix exponential is

eA=Pdiag(eλ0,eλ1,…,eλn−1)P−1e^{\mathbf{A}} = \mathbf{P}\text{diag}(e^{\lambda_0}, e^{\lambda_1}, \ldots, e^{\lambda_{n-1}})\mathbf{P}^{-1}

Application 4: Solving systems of differential equations

Diagonalization has an important application to solving systems of linear differential equations. Consider the first-order linear system

dxdt=Ax\frac{d\mathbf{x}}{dt} = \mathbf{A}\mathbf{x}

where x(t)∈Rn\mathbf{x}(t) \in \mathbb{R}^n is the unknown vector-valued function and A\mathbf{A} is an n×nn \times n constant coefficient matrix.

If A\mathbf{A} can be diagonalized as A=PDP−1\mathbf{A} = \mathbf{P}\mathbf{D}\mathbf{P}^{-1}, then the solution can be written as

x(t)=eAtx0=PeDtP−1x0\mathbf{x}(t) = e^{\mathbf{A}t}\mathbf{x}_0 = \mathbf{P}e^{\mathbf{D}t}\mathbf{P}^{-1}\mathbf{x}_0

where x0=x(0)\mathbf{x}_0 = \mathbf{x}(0) is the initial condition and

eDt=diag(eλ0t,eλ1t,…,eλn−1t)e^{\mathbf{D}t} = \text{diag}(e^{\lambda_0 t}, e^{\lambda_1 t}, \ldots, e^{\lambda_{n-1} t})

8.4 The Jordan Canonical Form

Not every matrix is diagonalizable. When a matrix is not diagonalizable, we need a more general canonical form—the Jordan canonical form.

8.4.1 Overview of the Jordan Canonical Form

In Section 8.2.2 we saw examples of non-diagonalizable matrices (Examples Example 4 and Example 5). What these matrices have in common is that some eigenvalue has geometric multiplicity smaller than its algebraic multiplicity, that is, gλ<aλg_\lambda < a_\lambda. This means that the eigenvalue does not have enough linearly independent eigenvectors to form a complete diagonalizing basis.

Jordan blocks: intuition and cause

To understand the alternative when diagonalization is impossible, we return to the “pirate ship” analogy of Example Example 5:

Repeated application of the nilpotent matrix A\mathbf{A} makes vectors “fall level by level”; mathematically, this corresponds to a chain of generalized eigenvectors.

When diagonalization fails, the operator (A−λI)(\mathbf{A} - \lambda\mathbf{I}) induces this kind of chained filtration structure in the space (because of the minimal polynomial, the chain cannot grow indefinitely):

{0}⊂ker⁡(A−λI)⊂ker⁡(A−λI)2⊂⋯⊂ker⁡(A−λI)k\{\mathbf{0}\} \subset \ker(\mathbf{A} - \lambda\mathbf{I}) \subset \ker(\mathbf{A} - \lambda\mathbf{I})^2 \subset \cdots \subset \ker(\mathbf{A} - \lambda\mathbf{I})^k

Merely extending the basis layer by layer along the kernels is not enough; we must choose a chain basis satisfying (A−λI)v0=0(\mathbf{A}-\lambda\mathbf{I})\mathbf{v}_0=\mathbf{0} and (A−λI)vj=vj−1(\mathbf{A}-\lambda\mathbf{I})\mathbf{v}_j=\mathbf{v}_{j-1}. The same eigenvalue may require several chains, and each chain of length kk corresponds to a Jordan block Jk(λ)\mathbf{J}_k(\lambda):

Jk(λ)=(λ10⋯00λ1⋯000λ⋯0⋮⋮⋮⋱⋮000⋯λ)k×k\mathbf{J}_k(\lambda) = \begin{pmatrix} \lambda & 1 & 0 & \cdots & 0 \\ 0 & \lambda & 1 & \cdots & 0 \\ 0 & 0 & \lambda & \cdots & 0 \\ \vdots & \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & 0 & \cdots & \lambda \end{pmatrix}_{k \times k}
  • Main diagonal: every entry is the eigenvalue λ\lambda.

  • Superdiagonal: every entry is 1; this is precisely the mathematical trace of vectors being “pushed level by level” along the kernel chain.

  • Structural essence: a Jordan block captures exactly the property of being “almost diagonalizable”: it differs from the diagonal matrix λIk\lambda\mathbf{I}_k only by a nilpotent matrix consisting entirely of the 1s on the superdiagonal.


The Jordan canonical form theorem

Since each eigenvalue breaks down into a number of Jordan blocks according to its kernel chains, assembling these blocks along the diagonal like pieces of a jigsaw puzzle produces the ultimate form in the similarity classification of arbitrary matrices.


Theoretical value and numerical limitations

Although the Jordan canonical form is perfect in theory, there is a huge gap between its algebraic structure and numerical computation:

  • A perfect answer about algebraic structure:

  • Geometric multiplicity gλg_\lambda: corresponds to the number of Jordan blocks for the eigenvalue λ\lambda (that is, dim⁡ker⁡(A−λI)\dim\ker(\mathbf{A}-\lambda\mathbf{I})).

  • Algebraic multiplicity aλa_\lambda: corresponds to the total size of all the Jordan blocks for the eigenvalue λ\lambda.

  • Exponent of the factor (t−λ)(t-\lambda) in the minimal polynomial: corresponds to the size of the largest Jordan block for the eigenvalue λ\lambda.

  • A numerical disaster:

  • Extremely unstable structure: how the Jordan blocks split is extremely sensitive to tiny perturbations of the matrix entries. For example, (0100)\begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix} has only one block, but adding just an ϵ\epsilon in the lower right corner immediately makes the matrix diagonalizable.

  • High computational cost: determining exactly the order at which the generalized eigenspaces stabilize (that is, the end of the kernel chain) involves high powers of matrices, and numerical errors grow rapidly. In practical numerical ODE computations, other, more stable algorithms are used.

Where this topic sits in the course For these reasons, the numerical procedure of computing generalized eigenvector chains by hand lies outside the practical scope of this course, but the theoretical framework of the existence and uniqueness of the Jordan canonical form is worth understanding. Our main purpose in studying it is to understand how it brings the theory of matrix similarity to a perfect close. In practical numerical applications we turn to more stable tools, such as the singular value decomposition (SVD) of Chapter 11.


The Concavity Theorem for Kernel Dimension Increments

Underlying the theory of the Jordan canonical form is a geometrically very elegant property. For a linear map N:V→VN: V \to V, the layer-by-layer dimension increments of its kernel chain

{0}⊂ker⁡(N)⊂ker⁡(N2)⊂ker⁡(N3)⊂⋯\{\mathbf{0}\} \subset \ker(N) \subset \ker(N^2) \subset \ker(N^3) \subset \cdots

namely

dim⁡ker⁡(N)−0⏟d1  ≥  dim⁡ker⁡(N2)−dim⁡ker⁡(N)⏟d2  ≥  dim⁡ker⁡(N3)−dim⁡ker⁡(N2)⏟d3  ≥  ⋯\underbrace{\dim\ker(N) - 0}_{d_1} \;\ge\; \underbrace{\dim\ker(N^2) - \dim\ker(N)}_{d_2} \;\ge\; \underbrace{\dim\ker(N^3) - \dim\ker(N^2)}_{d_3} \;\ge\; \cdots

are monotonically nonincreasing. This concavity is the behind-the-scenes guarantee that the distribution of Jordan block sizes is unique.

8.4.2 Applications of the Jordan Canonical Form

Although computing the Jordan canonical form is beyond the scope of this course, the application formulas for 2×2 Jordan blocks are very important and relatively simple. These formulas are indispensable for solving difference equations and differential equations with non-diagonalizable matrices. For the complete derivations, visual comparisons, and application exercises, see Experiment 7.

Recall the form of a 2×2 Jordan block:

J2(λ)=(λ10λ)\mathbf{J}_2(\lambda) = \begin{pmatrix} \lambda & 1 \\ 0 & \lambda \end{pmatrix}

Key observation: in the non-diagonalizable case, the general solution admits terms of the “polynomial × exponential” type (for particular initial values the coefficients of the polynomial terms may vanish); this is the essential difference from the diagonalizable case.

Application 1: Computing powers of a matrix

The formula for powers of a Jordan block is

J2(λ)n=(λnnλn−10λn)\mathbf{J}_2(\lambda)^n = \begin{pmatrix} \lambda^n & n\lambda^{n-1} \\ 0 & \lambda^n \end{pmatrix}

This power formula is stated for λ≠0\lambda\neq0. In addition, J0=I\mathbf{J}^0=\mathbf{I}; when Jk(0)=N\mathbf{J}_k(0)=\mathbf{N}, use Jk(0)n=Nn\mathbf{J}_k(0)^n=\mathbf{N}^n directly, which is zero for n≥kn\ge k; this avoids negative powers and the ambiguity of 00.

Comparison with the diagonalizable case.

  • For the diagonal matrix, (λ00λ)n=(λn00λn)\begin{pmatrix} \lambda & 0 \\ 0 & \lambda \end{pmatrix}^n = \begin{pmatrix} \lambda^n & 0 \\ 0 & \lambda^n \end{pmatrix}; the structure is unchanged by taking powers.

  • For the Jordan block, the term nλn−1n\lambda^{n-1} appears in the upper right corner, that is, a “polynomial × exponential” term.

Where does this extra term in the upper right corner come from? It comes from the fact that the binomial expansion of J2(λ)=λI+N\mathbf{J}_2(\lambda) = \lambda\mathbf{I} + \mathbf{N} (where the nilpotent matrix satisfies N2=0\mathbf{N}^2 = \mathbf{0}) terminates after finitely many terms—for the derivation and a numerical check, see Experiment 7, §1.1.

Application 2: Solving difference equations

Consider the system of linear difference equations xn+1=Axn\mathbf{x}_{n+1} = \mathbf{A}\mathbf{x}_n.

If A\mathbf{A} is similar to a Jordan canonical form, A=PJP−1\mathbf{A} = \mathbf{P}\mathbf{J}\mathbf{P}^{-1}, then

xn=Anx0=PJnP−1x0\mathbf{x}_n = \mathbf{A}^n\mathbf{x}_0 = \mathbf{P}\mathbf{J}^n\mathbf{P}^{-1}\mathbf{x}_0

By the power formula of Application 1, when λ≠0\lambda\neq0 the general solution admits terms of the form nλn−1n\lambda^{n-1}, that is, a polynomial (nn) times an exponential (λn\lambda^n); for particular initial values (for example, ones lying in the eigenspace) their coefficients may be zero. For a complete comparison of the trajectories in the diagonalizable case (gλ=aλg_\lambda = a_\lambda) and the non-diagonalizable case (gλ<aλg_\lambda < a_\lambda), see Part 1 of Experiment 7.

Application 3: The matrix exponential

The matrix exponential of a 2×2 Jordan block is

eJ2(λ)t=eλt(1t01)e^{\mathbf{J}_2(\lambda)t} = e^{\lambda t}\begin{pmatrix} 1 & t \\ 0 & 1 \end{pmatrix}

This formula for the matrix exponential holds for all λ\lambda (including λ=0\lambda=0) and is not subject to the restriction λ≠0\lambda\neq0 on the discrete powers in Application 1.

Comparison with the diagonalizable case.

  • For the diagonal matrix, ediag⁡(λ,λ)t=(eλt00eλt)e^{\operatorname{diag}(\lambda,\lambda)t} = \begin{pmatrix} e^{\lambda t} & 0 \\ 0 & e^{\lambda t} \end{pmatrix}; the upper right corner is zero.

  • For the Jordan block, the term t eλtt\,e^{\lambda t} appears in the upper right corner, which is how “polynomial × exponential” shows up in continuous time.

This formula is the core tool for solving systems of differential equations with non-diagonalizable matrices. The tt in the upper right corner comes from the fact that the Taylor expansion eNt=I+Nte^{\mathbf{N}t} = \mathbf{I} + \mathbf{N}t of the nilpotent part N\mathbf{N} (N2=0\mathbf{N}^2=\mathbf{0}) terminates after finitely many terms—for the derivation, see Part 3 of Experiment 7.

Application 4: Solving systems of differential equations

Consider the first-order linear system

dxdt=Ax\frac{d\mathbf{x}}{dt} = \mathbf{A}\mathbf{x}

If A=PJP−1\mathbf{A} = \mathbf{P}\mathbf{J}\mathbf{P}^{-1}, then the solution is

x(t)=eAtx0=PeJtP−1x0\mathbf{x}(t) = e^{\mathbf{A}t}\mathbf{x}_0 = \mathbf{P}e^{\mathbf{J}t}\mathbf{P}^{-1}\mathbf{x}_0

By the matrix exponential formula of Application 3, the general solution admits terms of the form teλtte^{\lambda t}, that is, a polynomial (tt) times an exponential (eλte^{\lambda t}). For the complete computations in the two cases—decoupling by a similarity transformation (gλ=aλg_\lambda = a_\lambda) and a Jordan block (gλ<aλg_\lambda < a_\lambda)—together with phase-space trajectories and the application to radioactive decay chains, see Part 2 of Experiment 7 and its Exercises 1 and 2.

Generalization to Jordan Blocks of Any Size

The formulas above generalize to Jordan blocks of any size. For a k×kk \times k Jordan block

Jk(λ)=(λ1λ⋱⋱1λ)\mathbf{J}_k(\lambda) = \begin{pmatrix} \lambda & 1 & & \\ & \lambda & \ddots & \\ & & \ddots & 1 \\ & & & \lambda \end{pmatrix}

the general solution admits polynomial factors of degree up to k−1k-1; for particular initial values the coefficients may be zero:

  • Difference equations: when λ≠0\lambda\neq0, the general solution admits njλnn^j \lambda^n, j=0,1,…,k−1j = 0, 1, \ldots, k-1

  • Differential equations: the general solution admits tjeλtt^j e^{\lambda t}, j=0,1,…,k−1j = 0, 1, \ldots, k-1

The 2×2 case (k=2k=2) consists of exactly the two terms j=0,1j=0, 1, that is, a constant term and a linear term. Larger Jordan blocks admit higher-degree polynomials, but the essential “polynomial × exponential” structure is unchanged.

In practice, Jordan blocks of high dimension are computed with a computer algebra system (such as Python’s sympy.jordan_form()) rather than by hand.

The four applications side by side (2×2 Jordan block; the polynomial-times-exponential form for difference equations is restricted to λ≠0\lambda\neq0)

Diagonalizable (gλ=aλg_\lambda = a_\lambda)Jordan block (gλ<aλg_\lambda < a_\lambda)
An\mathbf{A}^nPdiag⁡(λn)P−1\mathbf{P}\operatorname{diag}(\lambda^n)\mathbf{P}^{-1}nλn−1n\lambda^{n-1} appears in the upper right corner (Application 1)
Difference equation xn\mathbf{x}_nsuperposition of pure exponentials λn\lambda^nterms of the form nλnn\lambda^n appear (Application 2)
eAte^{\mathbf{A}t}Pdiag⁡(eλt)P−1\mathbf{P}\operatorname{diag}(e^{\lambda t})\mathbf{P}^{-1}teλtte^{\lambda t} appears in the upper right corner (Application 3)
Differential equation x(t)\mathbf{x}(t)superposition of pure exponentials eλte^{\lambda t}terms of the form teλtte^{\lambda t} appear (Application 4)

The common root: the 2×2 Jordan block here equals λI+N\lambda\mathbf{I} + \mathbf{N} with N2=0\mathbf{N}^2 = \mathbf{0}, so the binomial expansion or the Taylor expansion terminates after the linear term, which admits a polynomial factor; particular initial values can make its coefficient zero.

8.5 Numerical Methods for Computing Eigenvalues

The earlier sections of this chapter have already shown NumPy’s basic tools for computing eigenvalues (such as np.linalg.eig()). In this section we explore a few basic iterative numerical methods: the power method and the inverse power method. These methods are especially useful for large matrices or when only particular eigenvalues are needed.


8.5.1 The Power Method: Finding the Largest Eigenvalue Iteratively

When we only need the largest eigenvalue of a matrix (the eigenvalue of largest modulus) and its eigenvector, the power method provides a simple and effective iterative algorithm.

Basic principle

Suppose the matrix A\mathbf{A} has nn linearly independent eigenvectors v0,v1,…,vn−1\mathbf{v}_0, \mathbf{v}_1, \ldots, \mathbf{v}_{n-1}, with corresponding eigenvalues satisfying

∣λ0∣>∣λ1∣≥∣λ2∣≥⋯≥∣λn−1∣|\lambda_0| > |\lambda_1| \geq |\lambda_2| \geq \cdots \geq |\lambda_{n-1}|

For any initial vector x0=∑i=0n−1civi\mathbf{x}_0 = \sum_{i=0}^{n-1} c_i \mathbf{v}_i (assuming c0≠0c_0 \neq 0), multiply repeatedly:

xk+1=Axk∥Axk∥\mathbf{x}_{k+1} = \frac{\mathbf{A}\mathbf{x}_k}{\|\mathbf{A}\mathbf{x}_k\|}

First normalize the eigenvectors to unit length. The unimodular coefficient in the equation below is a sign ±1\pm1 in the real case and a phase in the complex case; the conclusion is convergence in direction, not necessarily convergence of the vectors themselves. One can show that

xk≈Akx0∥Akx0∥≈c0λ0kv0∥c0λ0kv0∥=c0λ0k∣c0λ0k∣v0\mathbf{x}_k \approx \frac{\mathbf{A}^k \mathbf{x}_0}{\|\mathbf{A}^k \mathbf{x}_0\|} \approx \frac{c_0 \lambda_0^k \mathbf{v}_0}{\|c_0 \lambda_0^k \mathbf{v}_0\|} = \frac{c_0\lambda_0^k}{|c_0\lambda_0^k|}\mathbf{v}_0

that is, the sequence {xk}\{\mathbf{x}_k\} converges to the direction of the dominant eigenvector v0\mathbf{v}_0.

Estimating the eigenvalue with the Rayleigh quotient

We estimate the eigenvalue with the Rayleigh quotient; for real symmetric or Hermitian matrices, the error of the eigenvalue estimate can be one order higher than the error of the vector, but this does not change the vector iteration here or its number of iterations:

λ≈R(A,x)=x∗Axx∗x\lambda \approx R(\mathbf{A}, \mathbf{x}) = \frac{\mathbf{x}^* \mathbf{A} \mathbf{x}}{\mathbf{x}^* \mathbf{x}}

For a unit vector x\mathbf{x}, this simplifies to R(A,x)=x∗AxR(\mathbf{A}, \mathbf{x}) = \mathbf{x}^* \mathbf{A} \mathbf{x}.

Convergence analysis

The rate of convergence of the power method depends on the eigenvalue ratio ∣λ1/λ0∣|\lambda_1/\lambda_0|:

  • If ∣λ1∣≪∣λ0∣|\lambda_1| \ll |\lambda_0| (the dominant eigenvalue is much larger than the others), convergence is fast.

  • If ∣λ1∣≈∣λ0∣|\lambda_1| \approx |\lambda_0| (there are eigenvalues close to it), convergence is slow.

  • The number of iterations is about O(log⁡(1/ϵ)/log⁡(∣λ0/λ1∣))O(\log(1/\epsilon) / \log(|\lambda_0/\lambda_1|)), where ϵ\epsilon is the error tolerance.

Python implementation

8.5.2 The Inverse Power Method: Finding the Smallest Eigenvalue

The inverse power method is used to compute the smallest eigenvalue of a matrix (smallest in modulus) and its eigenvector. Its core idea is very clever:

Key observation

If λ\lambda is an eigenvalue of A\mathbf{A}, then 1/λ1/\lambda is an eigenvalue of A−1\mathbf{A}^{-1}, with the same eigenvector:

Av=λv⇒A−1v=1λv\mathbf{A}\mathbf{v} = \lambda\mathbf{v} \quad \Rightarrow \quad \mathbf{A}^{-1}\mathbf{v} = \frac{1}{\lambda}\mathbf{v}

Therefore:

  • the smallest eigenvalue λmin⁡\lambda_{\min} of A\mathbf{A} corresponds to the largest eigenvalue 1/λmin⁡1/\lambda_{\min} of A−1\mathbf{A}^{-1};

  • applying the power method to A−1\mathbf{A}^{-1} yields λmin⁡\lambda_{\min}.

The algorithm

The iteration formula of the inverse power method is

Axk+1=xk⇒xk+1=A−1xk\mathbf{A}\mathbf{x}_{k+1} = \mathbf{x}_k \quad \Rightarrow \quad \mathbf{x}_{k+1} = \mathbf{A}^{-1}\mathbf{x}_k

In actual computation, we do not compute A−1\mathbf{A}^{-1} explicitly; instead, in each iteration we solve the linear system

Ay=xk,xk+1=y∥y∥\mathbf{A}\mathbf{y} = \mathbf{x}_k, \quad \mathbf{x}_{k+1} = \frac{\mathbf{y}}{\|\mathbf{y}\|}

Key advantages

The key advantages of the inverse power method are:

  1. No explicit inverse is needed. Each iteration only requires solving the linear system Ay=x\mathbf{A}\mathbf{y} = \mathbf{x}.

  2. Numerical stability. For well-conditioned matrices, solving a linear system is more stable than inverting the matrix.

  3. Rate of convergence. It depends on ∣λn−1/λn−2∣|\lambda_{n-1}/\lambda_{n-2}| (with the eigenvalues arranged in decreasing order of modulus, the ratio of the eigenvalue of smallest modulus to the one of second-smallest modulus); this conclusion assumes that the matrix is invertible and diagonalizable, that the eigenvalue of smallest modulus is unique, and that the initial vector has a nonzero component along its eigendirection.

Python implementation

8.6 Summary: From Invariant Directions to a Complete Picture of the Matrix

This chapter started from a question that can be stated in almost a single sentence: does a linear transformation have vectors whose “direction stays fixed”? Starting from this question, we followed a tightly linked logical path through five sections and arrived at one of the deepest structure theorems of finite-dimensional linear algebra. Before closing the chapter, it is worth looking back along this path and confirming its place in the book as a whole.

Review of the Theoretical Thread

§8.1 set up the language: the characteristic equation det⁡(A−λI)=0\det(\mathbf{A} - \lambda\mathbf{I}) = 0 translates the geometric question “which directions are invariant” into the problem of finding the roots of the characteristic polynomial. The fundamental theorem of algebra guarantees that the roots exist over the complex numbers, and geometric intuition tells us how eigenvalues encode stretching, compression, and even reversal along each direction—a two-dimensional rotation through an angle that is not an integer multiple of π\pi has no real eigenvector, which is precisely the algebraic statement that in this case there is no real invariant line.

§8.2 deepened our understanding of eigenvalues: the trace equals the sum of the eigenvalues, and the determinant equals their product; these two equations anchor global properties of the matrix directly to its eigenvalue structure. More important is the inequality 1≤gλ≤aλ1 \leq g_\lambda \leq a_\lambda between geometric and algebraic multiplicity, which measures precisely how far a matrix is from being diagonalizable. The Cayley–Hamilton theorem builds a bridge between matrices and the algebra of polynomials: every matrix is a solution of its own characteristic equation, and this seemingly magical conclusion is the algebraic foundation of the Jordan theory that follows.

§8.3 answered the global question: if the characteristic polynomial splits completely over the field in use (for example, when working over C\mathbb{C}) and gλ=aλg_\lambda = a_\lambda for all eigenvalues, then the matrix can be brought to the diagonal form D=P−1AP\mathbf{D} = \mathbf{P}^{-1}\mathbf{A}\mathbf{P} using eigenvectors as the basis. The similarity invariants (trace, determinant, characteristic polynomial) ensure that a change of basis does not change the essence of the linear transformation. Once diagonalization is achieved, powers of the matrix, functions of the matrix, and even difference equations and systems of differential equations all revolve around scalar operations on the eigenvalues; Binet’s formula for the Fibonacci sequence is the most elegant demonstration of this idea.

§8.4 faced the case of failure honestly: not every matrix is diagonalizable. The Jordan canonical form theorem tells us that even when diagonalization fails, every complex square matrix is similar to a nearly diagonal matrix assembled from Jordan blocks—the sizes of the blocks record the depths of the chains of generalized eigenvectors, and diagonalizability is just the special case in which every Jordan block degenerates to 1×11 \times 1. This is one of the ultimate classification results of finite-dimensional linear algebra.

§8.5 brought the theory back down to earth: power iteration and the inverse power method use the most basic matrix multiplication (or the solution of linear equations) to approach the dominant eigenvalue and the smallest eigenvalue step by step; the Rayleigh quotient provides an estimate of the eigenvalue; convergence is governed mainly by the spectral ratio and the initial vector; and nontrivial Jordan blocks may also introduce polynomial factors. This path from theory to algorithm embodies the enduring spirit of linear algebra, in which abstraction and computation complement each other.

Connections to Other Chapters

This chapter does not stand alone. It starts from the determinants of Chapter 7: the characteristic equation det⁡(A−λI)=0\det(\mathbf{A} - \lambda\mathbf{I}) = 0 is itself an application of the determinant, and the identity “the determinant equals the product of the eigenvalues” is the most direct bridge between the two chapters. In Chapter 7 the determinant described the factor by which a real linear map scales signed volume, with the ordinary volume factor given by its absolute value; in this chapter that factor is decomposed into the product of the eigenvalues, and its geometric meaning becomes clearer as a result—the matrix scales space separately along each eigendirection, and the determinant is the total product of these scalings.

Chapter 9 introduces inner product structure, and there the theory of eigenvalues takes a qualitative leap. Symmetric (Hermitian) matrices not only have real eigenvalues; their eigenvectors can also be chosen to form a mutually orthogonal basis—diagonalization is then no longer merely an algebraic possibility but the most natural geometric decomposition. Once the spectral decomposition of §9.3 is available, one can see directly that the values of the Rayleigh quotient R(A,x)=x∗Ax/∥x∥2R(\mathbf{A}, \mathbf{x}) = \mathbf{x}^* \mathbf{A}\mathbf{x} / \|\mathbf{x}\|^2 lie exactly in [λmin⁡,λmax⁡][\lambda_{\min}, \lambda_{\max}]—the simplest form of the min-max theorem. The similarity invariants discussed in this chapter are refined further, in the context of the symmetric matrices of Chapter 9, into the spectral theorem, which gives a structurally stronger guarantee.

Further on, the singular value decomposition (SVD) of Chapter 11 can be viewed as the natural generalization of eigenvalue theory to non-square matrices: for a general m×nm \times n matrix A\mathbf{A}, the matrices A∗A\mathbf{A}^*\mathbf{A} and AA∗\mathbf{A}\mathbf{A}^* have the same nonzero eigenvalues, equal to the squares of the nonzero singular values; in their full spectra, the numbers of zero eigenvalues are n−rank⁡An-\operatorname{rank}\mathbf{A} and m−rank⁡Am-\operatorname{rank}\mathbf{A} respectively, and the left and right singular vectors are eigenvectors of these two positive semidefinite matrices. The whole language built in this chapter—eigenspaces, algebraic and geometric multiplicity, the minimal polynomial—will be borrowed there, but its object expands from the eigenvalue problem of square matrices to more general matrix factorizations.

The Role of This Chapter in the Book

If the abstract theory of linear spaces in Chapter 4 laid down the language of the whole book, and the determinants of Chapter 7 supplied the geometric tool of “volume,” then what this chapter does is use eigenvalues and eigenvectors to open up the internal structure of matrices.

Before this, a matrix was still a black box to us: vectors go in, vectors come out, but it is hard to say clearly what the geometric essence of the transformation itself is. Eigenvalue theory gives us a key—find the “principal axis directions” of the matrix and the corresponding scaling ratios, and the geometric behavior of the linear transformation decomposes from a complicated mixture of effects into independent scaling along each eigendirection. From diagonalization to the Jordan canonical form, this decomposition extends from the most ideal case all the way to the most general one, and finally gives a complete picture of the classification in finite-dimensional complex linear algebra.

The influence of this picture reaches far beyond linear algebra itself. The long-term behavior of dynamical systems is determined by the dominant eigenvalue; in quantum mechanics, the eigenvalues of the Hamiltonian operator are the energies of the system; Google’s PageRank algorithm essentially computes the dominant eigenvector of the transition matrix of a Markov chain; and in deep learning, the spectral structure of attention matrices determines a model’s ability to capture long-range dependencies. The eigenvalue problem has flourished for three hundred years precisely because “searching for invariant directions” is itself one of the most pervasive structures in nature and in the world of information.

In this sense, this chapter is not only the end point of one theory but also the starting point of the chapters that follow: with the perspective of eigenvalues, look again at the symmetric matrices of Chapter 9, the quantum operators of Chapter 10, and the singular value decomposition of Chapter 11, and you will find that those more complicated theories are simply different answers, in different settings, to the same core question.

Concept Map