Chapter 17 · Linear Algebra Computation

Eigenvalues and Eigenvectors

Directions that survive a transformation

Eigenvectors Characteristic polynomial Dynamics Power iteration

Opening idea

Most vectors change direction when a matrix acts on them. For example, if $$ A= \begin{bmatrix} 2&1\\ 1&2 \end{bmatrix},

Big question. Directions that survive a transformation

Learning goals

  1. Define eigenvalues and eigenvectors.
  2. Check whether a vector is an eigenvector.
  3. Interpret eigenvectors geometrically.
  4. Derive the characteristic equation.
  5. Compute eigenvalues of $2\times 2$ matrices.
  6. Find eigenspaces by solving homogeneous systems.
  7. Understand algebraic and geometric multiplicity.
  8. Recognize when a matrix may be diagonalizable.
  9. Use Python to compute and visualize eigenvectors.
  10. Connect eigenvalues to dynamics, stability, and data.

Core formulas

Eigenvector equation
$$Av=\lambda v,\qquad v\ne 0$$
Characteristic equation
$$\det(A-\lambda I)=0$$
Trace/determinant for 2 by 2
$$\lambda_1+\lambda_2=\operatorname{tr}(A),\quad \lambda_1\lambda_2=\det(A)$$
Diagonalization preview
$$A=SDS^{-1}\quad\Longrightarrow\quad A^k=SD^kS^{-1}$$

Chapter map from the uploaded QMD

The interactive page follows the chapter sequence and turns key computational ideas into live tools.

  1. 17.1 The eigenvector equation
  2. 17.2 Geometric meaning
  3. 17.3 First example
  4. 17.4 Checking an eigenvector
  5. 17.5 Python plot: eigenvectors versus ordinary vectors
  6. 17.6 From eigenvector equation to homogeneous system
  7. 17.7 Characteristic polynomial
  8. 17.8 Example: eigenvalues of a 2\times 2 matrix
  9. 17.9 Finding eigenspaces
  10. 17.10 Example: eigenspaces
  11. 17.11 Python: eigenvalues and eigenvectors
  12. 17.12 Triangular matrices
  13. 17.13 Example: triangular matrix
  14. 17.14 Trace and determinant
  15. 17.15 Complex eigenvalues
  16. 17.16 Eigenvalues and powers of a matrix

Interactive Lab 1: Eigenvalues of a $2\times2$ matrix

Adjust $A=\begin{bmatrix}a&b\\c&d\end{bmatrix}$. Real eigen-directions are shown when they exist.

Eigen report

Interactive Lab 2: Eigenvector checker

Check whether $v$ is an eigenvector by comparing $Av$ with $v$.

Interactive Lab 3: Dynamics $x_{k+1}=Ax_k$

Algorithmic summary

  1. 1Compute $\det(A-\lambda I)$.
  2. 2Solve the characteristic equation for eigenvalues.
  3. 3For each $\lambda$, solve $(A-\lambda I)v=0$.
  4. 4Use eigenvectors to understand stretching, sign flip, collapse, or rotation.
  5. 5For dynamics, study repeated multiplication by following dominant directions.

Common mistakes to avoid

  • Allowing the zero vector as an eigenvector.
  • Solving $\det(A)=0$ instead of $\det(A-\lambda I)=0$.
  • Finding eigenvalues but not eigenspaces.
  • Assuming every matrix has real eigenvalues.
  • Assuming repeated eigenvalues always give enough eigenvectors.
AI-age connection. Eigenvectors organize long-term behavior in graph ranking, PCA, spectral clustering, Markov chains, stability analysis, and dimensionality reduction.

Quick checks

What is the main computational object in this chapter?

Use the formulas and live labs above: identify the matrix/vector operation that turns the concept into computation.

What geometric picture should you keep in mind?

Follow the canvas visualization: a vector, subspace, transformed square, fitted line, or special direction depending on the chapter.

What should be checked after computation?

Check the defining property: orthogonality, $Q^TQ=I$, residual condition, determinant sign/size, or $Av=\lambda v$.