Power Iteration
Power iteration starts with any vector, multiplies by a matrix, and normalizes. The direction converges to the eigenvector of the largest eigenvalue.
Each step multiplies the vector by the matrix and normalizes it. The direction rotates toward the dominant eigenvector, while the Rayleigh quotient converges to the dominant eigenvalue.
What you are seeing
Write the starting vector as a combination of eigenvectors. Each matrix multiplication scales the dominant component the most.
After normalization, the direction rotates toward the dominant eigenvector.
The Rayleigh quotient estimates the eigenvalue once the direction stabilizes.
Why it matters
Power iteration is the core of PageRank, PCA, spectral clustering, and many large-scale numerical methods.
Complexity & details
Each iteration: O(n²) for a dense n×n matrix, or O(nnz) for a sparse matrix. Convergence rate depends on the ratio of the top two eigenvalues.
Frequently asked questions
When does power iteration fail?+
It can fail if the starting vector has no component in the dominant direction, or if the top two eigenvalues have equal magnitude.
Why normalize every step?+
The matrix may scale the vector by a huge factor. Normalization keeps the values finite and lets us compare directions.