TOPIC 3 / 3
Eigenvalues & Orthogonal Projection
For a long equation, swipe sideways inside its formula box to see every term.
Meaning & notation
Most vectors change direction under a matrix. Eigenvectors identify exceptional directions on which the whole transformation acts like multiplication by one number. Projection is a complementary idea: retain the component inside a chosen subspace and discard the perpendicular component. A projection therefore acts with eigenvalue one on its target and zero on the perpendicular directions.
- Eigenpair
- For a square matrix A, a nonzero vector v and scalar lambda form an eigenpair when Av=lambda v. The scalar may be zero even though v cannot be zero.
- Diagonalization
- A diagonalization factors A as P times D times the inverse of P, using a basis of eigenvectors in the columns of P and matching eigenvalues in the diagonal matrix D.
- Orthogonal projection
- The orthogonal projection of b onto a subspace is the vector p in that subspace for which is perpendicular to every vector in the subspace.
Conditions before calculation
- Eigenvalues require a square matrix. Real matrices can have nonreal eigenvalues, so specify whether calculations are over the real or complex numbers.
- An n by n matrix is diagonalizable exactly when it has n independent eigenvectors. Distinct eigenvalues guarantee independence; repeated eigenvalues alone do not settle the question.
- For least squares, the normal equations always hold at a minimizer. The inverse of A transpose A exists only when A has full column rank; real symmetric matrices admit an orthonormal eigenbasis.
Why the method works
1. Find preserved directions
A nonzero solution of the homogeneous eigenvector equation exists exactly when its coefficient matrix is singular.
2. Check multiplicities
For each eigenvalue, solve its nullspace problem. Count independent eigenvectors, not just roots of the characteristic polynomial, before using a diagonalization.
3. Minimize perpendicular error
Moving within the column space cannot shorten a perpendicular residual. Algebraically, its dot product with each column vanishes, giving the normal equations.
Worked examples
EXAMPLE 1
Diagonalize the matrix with rows (3,1) and (0,2).
The triangular determinant gives two distinct roots.
Solving each nullspace gives directions (1,0) and (-1,1). Direct multiplication verifies eigenvalues 3 and 2.
Use those independent vectors as columns; their determinant is 1.
Conclusion: The two eigenvectors form a basis, so powers of A reduce to powers of 3 and 2.
EXAMPLE 2
Project onto the line spanned by .
Every candidate on the line has form ca. Require its residual to be perpendicular to a.
Solve the scalar equation using the squared length of a.
The projection is (2,2), with residual (1,-1). Their direction test succeeds.
Conclusion: The closest point is (2,2); the least-squares error has squared length 2.
Pitfalls & counterexamples
Tempting claim: Every square matrix is diagonalizable.
Correction: Enough independent eigenvectors are required.
Test the claim: The matrix with rows (1,1) and (0,1) has only the eigenvalue 1 and a one-dimensional eigenspace.
Check your understanding
Can zero be an eigenvalue of an invertible matrix?
Write a reason before opening the explanation. This reflection is not graded or saved.
Compare your reasoning
No.
A zero eigenvalue would give a nonzero v with Av=0, contradicting invertibility.
Explore an interactive illustration
Project b onto the line spanned by . This illustrates a one-column least-squares problem.
Moving point: (3, 3)
. Projection=(3,3); residual=(0,0). Its dot product with (1,1) is 0, confirming perpendicularity.
Connect this idea
Eigenvalues govern modes in linear differential equations. Orthogonal projection produces least-squares regression and separates explained components from residuals.
Reference reading
Use these texts to study the underlying definitions and theorems in greater depth. The explanations and examples above are written for Numerive.