Skip to main content

Eigenvalues and Eigenvectors

Most vectors, when you hit them with a matrix, get spun around and stretched into some new direction. But a special few refuse to turn. They come out pointing exactly the way they went in — only longer, shorter, or flipped. Those stubborn directions are eigenvectors, and the factor by which they stretch is the eigenvalue. This one idea — "which directions does a transformation leave alone?" — turns out to be one of the deepest and most useful in all of mathematics. It is how Google once ranked the web, how engineers predict whether a bridge will shake itself apart, and how data scientists compress thousand-dimensional data into a picture you can actually look at.

Learning Objectives

  • Define eigenvalues and eigenvectors geometrically and algebraically from Av=λvAv = \lambda v.
  • Derive and solve the characteristic equation det(AλI)=0\det(A - \lambda I) = 0.
  • Find eigenvectors once eigenvalues are known, and interpret them as invariant directions.
  • Diagonalize a matrix and explain why A=PDP1A = PDP^{-1} makes powers of AA trivial.
  • Connect eigen-analysis to real systems: PageRank, mechanical vibration, and Principal Component Analysis.

Quick Answer

An eigenvector of a square matrix AA is a nonzero vector vv whose direction is unchanged by AA: multiplying gives back a scaled copy, Av=λvAv = \lambda v. The scalar λ\lambda is the corresponding eigenvalue. To find the eigenvalues you solve the characteristic equation det(AλI)=0\det(A - \lambda I) = 0, a polynomial in λ\lambda. For each root you solve (AλI)v=0(A - \lambda I)v = 0 to get its eigenvectors. If an n×nn \times n matrix has nn independent eigenvectors, it can be diagonalized as A=PDP1A = PDP^{-1}, where DD holds the eigenvalues — which makes repeated application (AkA^k) and long-term behaviour easy to compute.

Where It Came From

Eigenvalues were born not from abstract algebra but from a very physical question in the 1700s: how does a spinning body behave? Leonhard Euler, studying the rotation of rigid bodies, and later Lagrange, discovered that every solid object has three special perpendicular axes — the principal axes — about which it spins cleanly without wobbling. Finding those axes meant finding directions that a certain "inertia" matrix left fixed. That is an eigenvector problem, though nobody called it that yet.

The same mathematics erupted again in the study of planetary orbits and, crucially, in vibrations. When Joseph Fourier, Jean d'Alembert, and Daniel Bernoulli analyzed vibrating strings and heat flow, they kept finding that complicated motion decomposes into simple "modes," each vibrating at its own natural frequency. Those frequencies were, once more, eigenvalues. In the 1800s Augustin-Louis Cauchy connected these threads, proving that symmetric matrices arising from physics always have real principal-axis directions — a landmark result we now call the spectral theorem.

The word itself is a translation hybrid. The German mathematician David Hilbert, working around 1904 on integral equations, used eigen — meaning "own" or "characteristic," as in "one's own value" — to name these quantities. English adopted the term half-translated as eigenvalue rather than fully anglicizing it to "characteristic value," and the hybrid stuck. So the motivation was never algebra for its own sake: people needed to know the natural, self-owned behaviours of physical systems, and eigenvalues were the language those behaviours spoke.

The Core Equation: Directions a Matrix Leaves Alone

A matrix AA acts on vectors by multiplication, generally rotating and stretching them. We hunt for the rare vectors that only stretch:

Av=λv,v0. Av = \lambda v, \quad v \neq 0.

Read this as: "applying AA to vv does the same thing as simply scaling vv by the number λ\lambda." Geometrically, vv points along a direction that AA preserves. If λ>1\lambda > 1 the vector lengthens; if 0<λ<1 0 < \lambda < 1 it shrinks; if λ<0\lambda < 0 it flips to the opposite side; if λ=0\lambda = 0 the vector collapses onto the origin (meaning AA is not invertible).

To turn this into something solvable, move everything to one side. Using the identity matrix II so the scalar λ\lambda can be subtracted from a matrix:

AvλIv=0    (AλI)v=0. Av - \lambda I v = 0 \implies (A - \lambda I)v = 0.

This is a homogeneous system. It has a nonzero solution vv only if the matrix AλIA - \lambda I is singular — that is, only if its determinant is zero. That condition is the characteristic equation:

det(AλI)=0. \det(A - \lambda I) = 0.

Solving the Characteristic Equation — A Full Worked Example

Take

A=(2112). A = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}.

Step 1 — Form AλIA - \lambda I:

AλI=(2λ112λ). A - \lambda I = \begin{pmatrix} 2 - \lambda & 1 \\ 1 & 2 - \lambda \end{pmatrix}.

Step 2 — Take the determinant and set it to zero:

(2λ)(2λ)(1)(1)=0. (2 - \lambda)(2 - \lambda) - (1)(1) = 0.

Expanding: λ24λ+41=λ24λ+3=0 \lambda^2 - 4\lambda + 4 - 1 = \lambda^2 - 4\lambda + 3 = 0.

Step 3 — Solve the quadratic: (λ1)(λ3)=0(\lambda - 1)(\lambda - 3) = 0, so λ1=1\lambda_1 = 1 and λ2=3\lambda_2 = 3.

Step 4 — Find each eigenvector by plugging back into (AλI)v=0(A - \lambda I)v = 0.

For λ1=1\lambda_1 = 1:

(1111)(xy)=0    x+y=0    v1=(11). \begin{pmatrix} 1 & 1 \\ 1 & 1 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = 0 \implies x + y = 0 \implies v_1 = \begin{pmatrix} 1 \\ -1 \end{pmatrix}.

For λ2=3\lambda_2 = 3:

(1111)(xy)=0    x+y=0    v2=(11). \begin{pmatrix} -1 & 1 \\ 1 & -1 \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = 0 \implies -x + y = 0 \implies v_2 = \begin{pmatrix} 1 \\ 1 \end{pmatrix}.

Check: Av2=(2112)(11)=(33)=3v2Av_2 = \begin{pmatrix} 2 & 1 \\ 1 & 2 \end{pmatrix}\begin{pmatrix} 1 \\ 1 \end{pmatrix} = \begin{pmatrix} 3 \\ 3 \end{pmatrix} = 3v_2. ✓

Notice the eigenvectors are perpendicular — a guaranteed bonus for symmetric matrices. Two quick sanity tools: the eigenvalues sum to the trace (1+3=4=2+2 1 + 3 = 4 = 2 + 2) and multiply to the determinant (1×3=3=2211 1 \times 3 = 3 = 2\cdot 2 - 1\cdot 1).

Diagonalization: The Payoff

Suppose an n×nn \times n matrix has nn linearly independent eigenvectors. Stack them as columns of a matrix PP, and put the eigenvalues on the diagonal of DD. Then

A=PDP1. A = PDP^{-1}.

This says: to apply AA, first switch to "eigen-coordinates" (P1P^{-1}), where the action is just independent scaling (DD), then switch back (PP). The magic appears when you take powers:

Ak=PDkP1, A^k = PD^kP^{-1},

because all the middle P1PP^{-1}P pairs cancel. Raising a diagonal matrix to a power just raises each entry to that power — trivial. Computing A100A^{100} directly means 99 matrix multiplications; via diagonalization it is one D100D^{100} plus two multiplications.

Worked example. For the AA above,

P=(1111),D=(1003). P = \begin{pmatrix} 1 & 1 \\ -1 & 1 \end{pmatrix}, \quad D = \begin{pmatrix} 1 & 0 \\ 0 & 3 \end{pmatrix}.

Then A10=P(100310)P1A^{10} = P\begin{pmatrix} 1 & 0 \\ 0 & 3^{10} \end{pmatrix}P^{-1}. Since 310=59049 3^{10} = 59049, the largest eigenvalue utterly dominates — the long-term behaviour of repeatedly applying AA is governed almost entirely by λ=3\lambda = 3 and its eigenvector (11)\begin{pmatrix} 1 \\ 1 \end{pmatrix}. This "the biggest eigenvalue wins in the long run" principle is exactly what makes eigenvalues predict the fate of dynamic systems.

Why Eigenvalues Matter: Three Real Engines

PageRank. Google's original algorithm modelled the web as a giant matrix where entry (i,j)(i,j) describes the chance a random surfer moves from page jj to page ii. The ranking of every page is the dominant eigenvector (eigenvalue λ=1\lambda = 1) of that matrix — the steady-state distribution the surfer settles into. Repeatedly multiplying any starting guess by the matrix converges to it, precisely because the top eigenvalue dominates.

Vibrations and stability. Every bridge, building, or aircraft wing has natural frequencies of oscillation. These are eigenvalues of the system's stiffness-and-mass equations; the eigenvectors are the mode shapes. The 1940 Tacoma Narrows Bridge collapse is the classic warning: wind drove the structure near an eigen-frequency and the oscillation grew without bound. Engineers compute eigenvalues to guarantee real-world forcing stays away from them.

Principal Component Analysis (PCA). Given high-dimensional data, PCA finds the covariance matrix and computes its eigenvectors. The eigenvector with the largest eigenvalue points along the direction of greatest variation in the data; the eigenvalue measures how much variance that direction captures. Keeping the top few eigenvectors compresses data while losing minimal information — the backbone of dimensionality reduction, facial recognition, and genomics.

Real-World Applications

  • Search and networks: PageRank, recommendation systems, and detecting communities in social graphs via the graph Laplacian's eigenvalues.
  • Structural and mechanical engineering: modal analysis of bridges, cars, and turbines to avoid resonant failure.
  • Quantum mechanics: measurable quantities (energy levels) are eigenvalues of operators — the Schrödinger equation is an eigenvalue equation.
  • Data science and ML: PCA, spectral clustering, and stability analysis of training dynamics.
  • Population and economics: long-term growth rates of populations (Leslie matrices) and Markov steady states are dominant eigenvalues.

Common Mistakes

  1. Thinking the zero vector is an eigenvector. Since A0=λ0A\mathbf{0} = \lambda \mathbf{0} holds for every λ\lambda, allowing 0\mathbf{0} would make eigenvalues meaningless. Correction: eigenvectors must be nonzero by definition; only eigenvalues can be zero.

  2. Confusing which is scaled by which. Students write Av=vλAv = v\lambda and then try to "divide by vv." You cannot divide by a vector. Correction: treat Av=λvAv = \lambda v as a system and always solve via det(AλI)=0\det(A - \lambda I) = 0, never by division.

  3. Assuming every matrix diagonalizes. A matrix with a repeated eigenvalue may not have enough independent eigenvectors — for example (1101)\begin{pmatrix} 1 & 1 \\ 0 & 1 \end{pmatrix} has only λ=1\lambda = 1 with a single eigenvector direction. Correction: diagonalization requires nn independent eigenvectors; otherwise you need the Jordan form. Also remember real matrices can have complex eigenvalues (rotations do).

Comparison and Connections

Eigenvalues sit alongside several related tools; keeping them distinct prevents confusion.

ConceptWhat it capturesRequires
Eigenvalue λ\lambdaStretch factor along an invariant directionSquare matrix
Eigenvector vvThe invariant direction itselfAv=λvAv = \lambda v, v0v \neq 0
DeterminantProduct of all eigenvalues; volume scalingSquare matrix
TraceSum of all eigenvaluesSquare matrix
Singular values (SVD)Stretch factors of any matrixWorks for non-square too

Singular values generalize the idea to rectangular matrices and are the eigenvalues of ATAA^{T}A (square-rooted). The determinant and trace are just compressed summaries of the eigenvalue spectrum, which is why they serve as quick checks.

Practice Questions

Recall

State the equation defining an eigenvector, and name the equation you solve to find eigenvalues. Answer: Av=λvAv = \lambda v with v0v \neq 0; eigenvalues come from the characteristic equation det(AλI)=0\det(A - \lambda I) = 0.

Understanding

Why must AλIA - \lambda I be singular for an eigenvalue to exist? Guidance: (AλI)v=0(A - \lambda I)v = 0 needs a nonzero solution. A matrix maps a nonzero vector to zero only when it is singular, i.e. its determinant is zero.

Application

Find the eigenvalues of A=(4013)A = \begin{pmatrix} 4 & 0 \\ 1 & 3 \end{pmatrix}. Answer: It is triangular, so eigenvalues are the diagonal entries: λ=4\lambda = 4 and λ=3\lambda = 3. (Check: trace =7= 7, det =12=4×3= 12 = 4 \times 3.)

Analysis

A Markov transition matrix always has λ=1\lambda = 1 as an eigenvalue. Why, and what does its eigenvector represent? Guidance: Columns sum to 1, so the all-ones vector is a left eigenvector for λ=1\lambda = 1; the corresponding right eigenvector (normalized) is the steady-state distribution the system converges to — the basis of PageRank.

FAQ

Can eigenvalues be negative or complex? Yes. Negative eigenvalues flip a vector's direction. Complex eigenvalues appear for rotation-like matrices; they encode rotation plus scaling and come in conjugate pairs for real matrices.

How many eigenvalues does a matrix have? An n×nn \times n matrix has exactly nn eigenvalues counted with multiplicity (some may repeat or be complex), because the characteristic polynomial has degree nn.

Is an eigenvector unique? No. Any nonzero scalar multiple of an eigenvector is also an eigenvector for the same eigenvalue — it is really a whole invariant line (or subspace). We usually pick a convenient or unit-length representative.

What if two eigenvalues are equal? They share an eigenspace that may be one- or higher-dimensional. If it has full dimension, the matrix still diagonalizes; if not, it is "defective" and needs the Jordan normal form.

Do I always need the characteristic polynomial? For hand calculations of small matrices, yes. For large matrices, numerical methods like the QR algorithm or power iteration are used instead — power iteration is literally repeated multiplication converging to the dominant eigenvector, exactly like PageRank.

Quick Revision

  • Definition: Av=λvAv = \lambda v, v0v \neq 0. Eigenvector = invariant direction; eigenvalue = stretch factor.
  • Find eigenvalues: solve det(AλI)=0\det(A - \lambda I) = 0.
  • Find eigenvectors: solve (AλI)v=0(A - \lambda I)v = 0 for each λ\lambda.
  • Sum of eigenvalues = trace; product = determinant (fast checks).
  • Diagonalization: A=PDP1A = PDP^{-1}, so Ak=PDkP1A^k = PD^kP^{-1}.
  • Largest-magnitude eigenvalue dominates long-term behaviour.
  • Symmetric matrices: real eigenvalues, orthogonal eigenvectors.

Prerequisites

  • Matrices and Matrix Operations — the Linear Algebra overview covers matrix multiplication and the identity matrix.
  • Determinants — needed to form and solve the characteristic equation.
  • Diagonalization and matrix powers.
  • Singular Value Decomposition (SVD) — the rectangular-matrix generalization.

Next Topics