Eigenvalues, Eigenvectors, and Diagonalization

Part 1, Chapter 1: Linear Algebra Toolkit

Learning objectives

  • Define eigenvalue and eigenvector via Av=λvA \mathbf{v} = \lambda \mathbf{v}
  • Compute eigenvalues by solving the characteristic equation det(AλI)=0\det(A - \lambda I) = 0
  • Find eigenvectors by row-reducing (AλI)x=0(A - \lambda I) \mathbf{x} = \mathbf{0}
  • Connect eigenvalues to trace, determinant, and the geometry of the transformation

Eigenvalues are the intrinsic stretching factors of a linear transformation, the directions in which the matrix acts as a pure scaling. They are the most powerful concept in finite-dimensional linear algebra. They control the long-run behaviour of dynamical systems, the stability of solutions to differential equations, the principal components of high-dimensional data, and the energy levels of quantum systems. If you take only one thing from this chapter, take the geometric picture: an eigenvector is a direction the matrix preserves; its eigenvalue is the scaling factor along that direction.

The definition

A non-zero vector mathbfv\mathbf{v} is an eigenvector of a square matrix AA with eigenvalue lambda\lambda if Amathbfv=lambdamathbfvA \mathbf{v} = \lambda \mathbf{v}. Geometrically, AA stretches mathbfv\mathbf{v} by the factor lambda\lambda without rotating it (though it may flip when lambda<0\lambda < 0). The zero vector is excluded by convention, otherwise every scalar would qualify as an eigenvalue.

Finding eigenvalues: the characteristic equation

Rearrange Amathbfv=lambdamathbfvA \mathbf{v} = \lambda \mathbf{v} as (AlambdaI)mathbfv=mathbf0(A - \lambda I) \mathbf{v} = \mathbf{0}. For a non-zero mathbfv\mathbf{v} to exist, the matrix AlambdaIA - \lambda I must be singular, equivalently, det(AlambdaI)=0\det(A - \lambda I) = 0. This is the characteristic equation of AA. For a 2times22 \times 2 matrix, it reduces to lambda2operatornametr(A)lambda+det(A)=0\lambda^2 - \operatorname{tr}(A) \lambda + \det(A) = 0.

Finding eigenvectors

Once you have an eigenvalue lambdai\lambda_ii, solve (AlambdaiI)mathbfx=mathbf0(A - \lambda_i I) \mathbf{x} = \mathbf{0}iI)mathbfx=mathbf0 by row reduction. The non-trivial solutions form the eigenspace ElambdaiE_{\lambda_i}. Its dimension is the geometric multiplicity of lambdai\lambda_ii. The algebraic multiplicity is how many times lambdai\lambda_ii appears as a root of the characteristic polynomial. The two coincide for diagonalisable matrices; the gap measures the failure of diagonalisation.

Two beautiful identities

For any ntimesnn \times n matrix with eigenvalues lambda1,ldots,lambdan\lambda_1, \ldots, \lambda_nn (counted with algebraic multiplicity):

  • operatornametr(A)=lambda1+lambda2+cdots+lambda_n\operatorname{tr}(A) = \lambda_1 + \lambda_2 + \cdots + \lambda_nn, the trace is the sum of eigenvalues.
  • det(A)=lambda1lambda2cdotslambda_n\det(A) = \lambda_1 \lambda_2 \cdots \lambda_nn, the determinant is their product.

The matrix-multiplier above lets you see eigenvectors directly: enter a matrix and look for the directions that get scaled without rotating. For A = \begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix}, the eigenvalues are lambda=2,5\lambda = 2, 5, with eigenvectors (1,2)(1, -2) and (1,1)(1, 1) respectively, you can verify by feeding these vectors through the widget.

Where this shows up
  • PageRank algorithm: Google's original algorithm computes the dominant eigenvector of a stochastic matrix encoding the web's link structure. Page importance is literally the entries of that eigenvector, the most-cited eigenvalue computation in industry.
  • Principal Component Analysis (PCA): The principal components of a data set are the eigenvectors of the covariance matrix, ordered by their eigenvalues. Larger eigenvalues = directions with more variance = features that explain the data.
  • Quantum mechanics, observables and measurement: Every observable (energy, position, spin) is a Hermitian operator. Its eigenvalues are the possible measurement outcomes; its eigenvectors are the corresponding states. Spectroscopy data are literal eigenvalue plots.

Pause and think: If Amathbfv=4mathbfvA \mathbf{v} = 4 \mathbf{v}, what is A10mathbfvA^{10} \mathbf{v}? Before computing, predict by powering up the eigenvalue. This is exactly the reason eigenvector decomposition makes matrix powers tractable.

Try it

  • Predict the eigenvalues of A = \begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix} by computing trace and determinant first. Then solve lambda27lambda+10=0\lambda^2 - 7 \lambda + 10 = 0.
  • For each eigenvalue you found, predict the eigenvector by inspecting AlambdaIA - \lambda I. Then verify by computing AmathbfvA \mathbf{v}.
  • A 3times33 \times 3 matrix has eigenvalues 1,2,31, 2, 3. Predict the trace and determinant. Justify with the two beautiful identities.
  • If Amathbfv=4mathbfvA \mathbf{v} = 4 \mathbf{v}, predict A3mathbfvA^3 \mathbf{v} before computing. The answer is 43mathbfv=64mathbfv4^3 \mathbf{v} = 64 \mathbf{v}.
  • Predict: is lambda=0\lambda = 0 ever an eigenvalue of an invertible matrix? Justify in one sentence using the determinant identity.

A trap to watch for

Eigenvectors are defined up to a non-zero scalar multiple, (1,2)(1, -2) and (5,10)(-5, 10) are the same eigenvector in disguise (both lie on the same line through the origin). Students sometimes panic when their textbook lists (1,2)(1, -2) but they computed (1,2)(-1, 2); both are correct. The eigenspace is a subspace, not a unique vector. Conversely, the zero vector is NEVER an eigenvector (by convention), if you got mathbfv=mathbf0\mathbf{v} = \mathbf{0} from row reduction, you probably picked a non-eigenvalue lambda\lambda, because AlambdaIA - \lambda I was invertible and forced mathbfv=mathbf0\mathbf{v} = \mathbf{0}.

What you now know

You can compute eigenvalues from the characteristic equation, find eigenvectors by row reduction, and connect both back to trace and determinant. With eigenvalues in hand, the diagonalisation machinery of §1.7 becomes concrete: count independent eigenvectors, build PP, and the diagonal form falls out. This closes Chapter 1: the linear-algebra toolkit that every subsequent chapter of Garrity rests on.

Mark section complete →

References

  • Garrity, T. (2002). All the Mathematics You Missed. Cambridge University Press, ch. 1, §1.8.
  • Strang, G. (2016). Introduction to Linear Algebra (5th ed.). Wellesley-Cambridge, ch. 6.
  • Axler, S. (2015). Linear Algebra Done Right (3rd ed.). Springer, ch. 5 (eigenvalues, eigenvectors, invariant subspaces).
  • Horn, R. A., Johnson, C. R. (2012). Matrix Analysis (2nd ed.). Cambridge University Press, ch. 1 (spectral theory).
  • Trefethen, L. N., Bau, D. (1997). Numerical Linear Algebra. SIAM, lec. 24-25 (eigenvalue algorithms).

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.