Eigenvalue & SVD Algorithms and Iterative Methods
Why we iterate instead of solving a characteristic polynomial, from power iteration to the QR algorithm and conjugate gradients.
Leads to: PCA (Phase 11), spectral risk, and large sparse solves all rest on these methods.
Learning Objectives
Click a status chip to cycle: Not started → In progress → Studied → Practiced → Needs review → Mastered.
- Explain why eigenvalues must be computed iteratively, not by root-finding.
- Derive power iteration and its convergence rate from the eigengap.
- Relate the QR algorithm and SVD to simultaneous orthogonal iteration.
- Implement power iteration with the Rayleigh quotient and verify the dominant eigenvalue.
- Contrast direct factorizations with Krylov iterative methods for large sparse systems.
Key Vocabulary
- Power iteration
- Repeatedly applying \(A\) and normalizing; converges to the dominant eigenvector.
- Rayleigh quotient
- \(\rho(v)=\dfrac{v^\top A v}{v^\top v}\); best scalar eigenvalue estimate for a given \(v\).
- QR algorithm
- Iterating \(A_k=Q_kR_k,\ A_{k+1}=R_kQ_k\); converges to (block) triangular Schur form revealing eigenvalues.
- SVD
- \(A=U\Sigma V^\top\) with orthogonal \(U,V\) and nonnegative singular values on \(\Sigma\).
- Krylov subspace
- \(\mathrm{span}\{b,Ab,\dots,A^{k-1}b\}\); the search space for CG and GMRES.
- Conjugate gradients
- An iterative solver for symmetric positive-definite systems converging in terms of \(\sqrt{\kappa}\).
Intuition & Motivation
Why iterate?
Computing eigenvalues by forming and rooting the characteristic polynomial is both unstable and, by Abel–Ruffini, impossible in closed form beyond degree four. Every practical method converges through repeated orthogonalization instead.
Power iteration
Write \(v_0=\sum_i c_i x_i\) in an eigenbasis. Then \(A^k v_0=\sum_i c_i\lambda_i^k x_i\), and dividing by \(\lambda_1^k\):
since every ratio \(|\lambda_i/\lambda_1|\lt 1\). Convergence is linear at rate \(|\lambda_2/\lambda_1|\) - the eigengap governs speed.
Interactive: power iteration & the Rayleigh quotient
Implement power iteration and read off the dominant eigenvalue via the Rayleigh quotient; watch convergence track the eigengap.
Direct vs. iterative for large systems
Dense factorizations (LU, QR, Cholesky) are \(O(n^3)\) and store the whole matrix - impossible for the huge sparse systems in PDE-based pricing. Krylov methods (CG for SPD, GMRES otherwise) only need matrix-vector products and converge in a number of steps governed by \(\sqrt{\kappa}\), making them the tool for large sparse problems.
- Trying to compute eigenvalues by rooting the characteristic polynomial - unstable and impossible in closed form past degree 4.
- Running power iteration when \(|\lambda_1|=|\lambda_2|\) (e.g. complex-conjugate pair): it fails to converge to a single direction.
- Forgetting to normalize each power-iteration step, causing overflow/underflow.
- Using CG on a non-symmetric or indefinite matrix; it can break down - use GMRES/MINRES instead.
- Use the Rayleigh quotient, not a single component, as the eigenvalue estimate - it converges twice as fast for symmetric \(A\).
- For the smallest eigenvalue, run power iteration on \(A^{-1}\) (inverse iteration) with a shift.
- Precondition CG to shrink the effective \(\kappa\) and cut iterations dramatically.
- For PCA/risk, you usually need only the top few eigenvectors - a partial (Lanczos/randomized) SVD beats a full one.
Knowledge Check
Practical Exercise
Starting from \(v_0=\sum_i c_i x_i\) (with \(c_1\ne0\) and \(|\lambda_1|\gt |\lambda_2|\ge\dots\)), show that normalized power iteration converges to \(\pm x_1\) and state the convergence rate.
Apply \(A^k\): \(A^k v_0=\lambda_1^k\big(c_1 x_1+\sum_{i\ge2}c_i(\lambda_i/\lambda_1)^k x_i\big)\).
Each ratio \(|\lambda_i/\lambda_1|\lt 1\), so the sum tends to \(c_1 x_1\). After normalization the direction is \(\pm x_1\) (sign depends on \(\mathrm{sign}(\lambda_1^k)\)). The error shrinks like \(|\lambda_2/\lambda_1|^k\), so convergence is linear with rate \(|\lambda_2/\lambda_1|\).
Lesson Summary
Retrieval Practice
Close the lesson and answer from memory before checking. This is deliberate, effortful recall - the single highest-yield study action.
A: The eigengap ratio \(|\lambda_2/\lambda_1|\); a bigger gap means faster linear convergence to the dominant eigenvector.
A: They are roots of the characteristic polynomial, and Abel–Ruffini forbids a radical formula for degree \(\ge5\); hence all methods iterate.
Completion Checklist
- I can explain the core ideas in my own words
- I worked the derivations/examples by hand
- I completed the interactive workbench(es)
- I passed the knowledge check
Source References
This lesson synthesizes and paraphrases concepts from the sources below. No copyrighted text, problem sets, or solutions are reproduced. Return to the originals for full depth.
- Numerical Linear Algebra (Trefethen & Bau, SIAM, 1997) foundational - Lec 24–40 - Lectures 24–40: eigenvalue algorithms, QR iteration, Krylov methods, CG.
- Linear Algebra Done Right (Sheldon Axler, 4th ed., 2024) current - Ch. 5,7 - Eigenvalues, the spectral theorem, and the SVD.
- Monte Carlo Methods in Financial Engineering (Paul Glasserman, 2004) foundational - Ch. 2 - Spectral/PCA structure of covariance for factor simulation.