Power Iteration
Power iteration is a foundational Krylov-subspace eigenvalue algorithm that repeatedly multiplies an initial vector by a matrix A and normalizes the result to converge geometrically to the dominant eigenvector.
Power Iteration (also known as the power method or von Mises iteration) is an iterative eigenvalue algorithm in numerical linear algebra and computation and algorithms that computes the dominant eigenvalue λ1 (the eigenvalue of largest modulus) and its corresponding dominant eigenvector v1 of a square matrix A ∈ ℂn×n. Formulated by Austrian mathematician Richard von Mises and Hilda Pollaczek-Geiringer in 1929, the method constructs a sequence of normalized vectors inside the Krylov subspace span{b0, Ab0, A2b0, ..., Akb0} through repeated matrix-vector multiplications and Rayleigh quotient evaluations.
Because power iteration requires only a matrix-vector product y = Abk at each step rather than explicit matrix storage or O(n3) similarity transformations, it operates in O(nnz(A)) time per iteration for sparse matrices with nnz(A) nonzero entries. While full-spectrum solvers such as the QR algorithm and singular value decomposition compute all n eigenvalues of dense matrices, power iteration and its shifted-inverse variants remain the primary computational engines for large-scale network centrality rankings—most notably Google's PageRank algorithm on web graphs with billions of vertices—as well as principal component initialization, Markov chain stationary distributions, and dominant Lyapunov or buckling mode extraction.
Mathematical Formulation and Geometric Convergence Analysis
The Normalized Power Iteration Recurrence and Rayleigh Quotient
Let A ∈ ℂn×n be a diagonalizable matrix whose eigenvalues are ordered by decreasing magnitude with a strict spectral gap behind the dominant eigenvalue:
Starting from an initial unit vector b0 ∈ ℂn (‖b0‖2 = 1) that has a nonzero projection onto the dominant eigenspace, power iteration computes for k = 1, 2, 3, ...:
Periodic normalization by the Euclidean norm ‖wk‖2 prevents floating-point overflow (when |λ1| > 1) or underflow (when |λ1| < 1) under IEEE 754 arithmetic. At step k, the dominant eigenvalue λ1 is estimated via the Rayleigh quotient r(bk):
Spectral Expansion and Asymptotic Rate of Convergence
To analyze convergence, expand the starting vector b0 in the basis of normalized eigenvectors {v1, v2, ..., *vn*} satisfying Avj = λjvj:
Multiplying b0 by Ak and factoring out c1λ1k reveals how the subdominant eigencomponents attenuate geometrically with k:
Because |λj / λ1| ≤ |λ2 / λ1| < 1 for all j ≥ 2, every subdominant term decays at the geometric damping ratio q = |λ2 / λ1|. Consequently, the angle θ(bk, v1) between the iterate bk and the true dominant eigenvector v1 satisfies:
For a Hermitian or real symmetric matrix (A = A*), the eigenvectors {*vj*} form an orthonormal basis, and the Rayleigh quotient r(bk) is stationary at v1 (∇r(v1) = 0). As a result, while the eigenvector error ‖bk − ±v1‖2 decays as O(|λ2/λ1|k), the Rayleigh quotient eigenvalue error converges quadratically faster with respect to the spectral ratio:
Shifted Inverse Iteration, Rayleigh Quotient Iteration, and Deflation
Inverse Iteration and Cubic Rayleigh Quotient Iteration (RQI)
Direct power iteration can find only the largest-magnitude eigenvalue λ1 and converges slowly when the spectral ratio |λ2/λ1| is close to 1 (for example, if |λ2/λ1| = 0.99, gaining one decimal digit of accuracy requires ln(10) / |ln(0.99)| ≈ 230 iterations). Both limitations are overcome by shifted inverse iteration (introduced by Helmut Wielandt in 1944): for any scalar shift σ ∈ ℂ not in the spectrum of A, the shifted-and-inverted matrix (A − σI)−1 shares the identical eigenvectors vj as A, but its eigenvalues are (λj − σ)−1.
If σ is chosen close to a target interior eigenvalue λm so that |λm − σ| ≪ |λj − σ| for all j ≠ m, then (λm − σ)−1 becomes the overwhelmingly dominant eigenvalue of (A − σI)−1. Instead of computing the explicit matrix inverse, each step solves the linear system (A − σI)wk = bk−1 using a precomputed PA = LU factorization via Gaussian elimination or LU decomposition, converging at rate:
When the shift σ is updated dynamically at every step to equal the current Rayleigh quotient σk = r(bk), the procedure becomes Rayleigh Quotient Iteration (RQI). For Hermitian matrices, RQI achieves local cubic convergence:
typically reaching full 16-digit IEEE double-precision accuracy in 3 to 5 iterations, at the cost of a fresh O(n3) (or O(n) tridiagonal) linear solve per step.
| Eigenvalue Algorithm | Target Eigenpair(s) | Cost per Iteration (Dense / Sparse) | Asymptotic Convergence Rate | Primary Use Case |
|---|---|---|---|---|
| Power Iteration | Dominant (λ1, v1) | O(n2) / O(nnz(A)) | Linear: O(|λ2/λ1|k) vector; O(|λ2/λ1|2k) symmetric λ1 | PageRank, Markov chains, spectral norm estimation |
| Shifted Inverse Iteration | Eigenpair closest to shift σ | O(n3) once + O(n2)/step | Linear (rapid): O(|λm − σ| / |λj − σ|)k | Computing eigenvectors from known eigenvalues |
| Rayleigh Quotient Iteration | Local eigenpair near b0 | O(n3) per step (O(n) tridiagonal) | Cubic (Hermitian): O(εk3) | Ultra-rapid refinement of tridiagonal eigenpairs |
| Subspace / Block Power (p cols) | Top p eigenpairs (λ1 .. λp) | O(n2p + np2) | Linear: O(|λp+1/λj|k) | Clustered dominant eigenvalues; leads to QR algorithm |
| Lanczos / Arnoldi Iteration | Outer p eigenpairs | O(nnz(A) · k + nk2) | Superlinear Kaniel–Paige convergence on Krylov subspace | Large sparse scientific eigenvalue problems (ARPACK) |
Applications: Perron–Frobenius Theory, PageRank, and Spectral Norms
By the Perron–Frobenius theorem, every irreducible non-negative matrix A ≥ 0 possesses a positive real dominant eigenvalue r = ρ(A) (the spectral radius) with a strictly positive eigenvector v1 > 0, and if A is primitive (aperiodic), power iteration converges to v1 from any non-negative starting vector. In Google's PageRank algorithm (Brin & Page, 1998), the web hyperlink transition matrix P is modified with a teleportation damping factor α ∈ (0, 1) (typically α = 0.85) to form the primitive stochastic Google matrix G = αP + (1 − α)*ve*T. Because the second eigenvalue of G satisfies |λ2(G)| ≤ α = 0.85 while λ1(G) = 1, power iteration reduces the residual by a factor of 0.8550 ≈ 2.96 × 10−4 in just 50 sparse matrix-vector sweeps regardless of web graph size.
In data science and machine learning, applying power iteration to ATA (via sequential products z = Abk, w = ATz without forming ATA explicitly) extracts the leading right singular vector v1 and largest singular value σ1 = ‖A‖2 = √λ1(ATA), providing fast spectral norm regularization and randomized singular value decomposition initialization.
Frequently Asked Questions
What happens if the starting vector b0 is orthogonal to the dominant eigenvector v1 (c1 = 0)?
In exact real arithmetic, if c1 = 0, power iteration would converge to the second eigenvector v2. In finite-precision IEEE 754 arithmetic, however, rounding errors in Abk introduce a nonzero perturbation of magnitude ~εmach ≈ 10−16 along v1, which is then amplified by (λ1/λ2)k until the iterate eventually rotates toward v1. Choosing a random Gaussian starting vector b0 ensures c1 ≠ 0 with probability 1.
How can power iteration find the second dominant eigenvalue λ2?
Once (λ1, v1) of a symmetric matrix A is computed, Hotelling's deflation forms the deflated matrix A1 = A − λ1v1v1T, which replaces λ1 with 0 while preserving all remaining eigenpairs (λ2, v2), ..., (λn, vn). Alternatively, orthogonal subspace iteration iterates on an n × p block of vectors Bk and re-orthonormalizes its columns at each step via QR factorization—the direct precursor to the full QR algorithm.
Why does power iteration fail when the dominant eigenvalues form a complex conjugate pair?
For a real non-symmetric matrix A whose dominant eigenvalues are complex conjugates λ1,2 = r e±iθ (with |λ1| = |λ2| = r > |λ3|), the ratio |λ2/λ1| = 1 violates the strict spectral gap condition. A single real vector bk oscillates perpetually within the two-dimensional invariant subspace spanned by Re(v1) and Im(v1) without converging to a single direction, requiring a 2-column block power iteration or double-shift QR step to resolve the complex pair.
References
- von Mises, R., & Pollaczek-Geiringer, H. (1929). "Praktische Verfahren der Gleichungsauflösung." Zeitschrift für Angewandte Mathematik und Mechanik (ZAMM), 9(1), 58–77. https://doi.org/10.1002/zamm.19290090105
- Parlett, B. N. (1998). The Symmetric Eigenvalue Problem (Classics in Applied Mathematics, Vol. 20, Chapter 4: Power Iterations). SIAM. https://doi.org/10.1137/1.9781611971163
- Page, L., Brin, S., Motwani, R., & Winograd, T. (1999). The PageRank Citation Ranking: Bringing Order to the Web. Stanford InfoLab Technical Report 1999-66. http://ilpubs.stanford.edu:8090/422/
- Golub, G. H., & Van Loan, C. F. (2013). Matrix Computations (4th ed., Chapter 7.3: Power Iterations and Chapter 8.2: Symmetric Power Methods). Johns Hopkins University Press. https://doi.org/10.56021/9781421407944
- Saad, Y. (2011). Numerical Methods for Large Eigenvalue Problems (Revised ed., Chapter 4: Subspace Iteration). SIAM. https://doi.org/10.1137/1.9781611970739