Understanding Eigenvalues and Eigenvectors: A Geometric and Algebraic Primer
A deep dive into eigenvalues, eigenvectors, characteristic polynomials, and their geometric intuition in linear transformations.
Understanding Eigenvalues and Eigenvectors
In linear algebra, linear transformations warp and stretch vector spaces. When matrix acts upon most vectors , the resulting vector changes both its length and its direction.
However, certain special vectors maintain their exact directional orientation under the transformation, experiencing only scalar stretching or shrinking. These vectors are eigenvectors, and their corresponding scale factors are eigenvalues.
1. Mathematical Formulation
Let be a vector space over a field (typically or ), and let be an square matrix representing a linear operator .
A non-zero vector is said to be an eigenvector of corresponding to eigenvalue if and only if:
Rearranging this equation yields a homogeneous linear system:
where denotes the identity matrix.
Notice that while an eigenvector must be strictly non-zero (), the eigenvalue itself may very well be zero ().
2. The Characteristic Equation
For non-trivial solutions () to exist, the null space must be non-trivial. By the fundamental properties of invertible matrices, this requires the operator to be singular:
The determinant expansion defines an -th degree polynomial in , known as the characteristic polynomial:
For any square matrix with eigenvalues counted with algebraic multiplicity:
The roots of the characteristic polynomial are precisely . Factoring and equating polynomial coefficients of degrees and to the determinant expansion yields the identity.
Computation Flowchart
The overall procedural pipeline for solving an eigensystem by hand or symbolically:
3. Concrete Example: A 2 × 2 System
Consider the real matrix:
We formulate the characteristic determinant:
Factoring the polynomial:
Hence, the eigenvalues are and .
Interactive Spectrum Plot
Below is an interactive graph of the characteristic curve . The roots along the horizontal axis correspond to the eigenvalues:
Characteristic Polynomial p(λ) = λ² - 7λ + 10
4. Computational Verification in Python
Using numpy.linalg, we can compute and verify the eigensystem numerically:
import numpy as np
# Define matrix A
A = np.array([
[4.0, 1.0],
[2.0, 3.0]
])
# Compute eigenvalues and right eigenvectors
eigenvalues, eigenvectors = np.linalg.eig(A)
for i, (val, vec) in enumerate(zip(eigenvalues, eigenvectors.T)):
print(f"Eigenvalue {i+1}: {val:.4f}")
print(f"Eigenvector {i+1}: {vec}")
# Verify A * v == lambda * v
Av = A @ vec
lv = val * vec
assert np.allclose(Av, lv), "Eigensystem equality invariant violated!"
In the next article, we will examine spectral decomposition and symmetric positive-definite matrices!