Finding the dominant direction by repeated multiplication
Solving a characteristic polynomial is hopeless for a matrix, and often only the largest eigenpair is wanted, for example the first principal component. Power iteration finds it with nothing but matrix-vector products. Start from any vector and repeat . Each multiplication stretches the component along the dominant eigenvector more than every other component, so after enough steps the vector points along it.
Write in eigenvectors. After steps the coefficients are multiplied by , so the ratio of the second to the first is . The method converges when and the starting vector has some component along , and the speed is set by : close eigenvalues mean slow convergence. The normalisation only stops the numbers from overflowing; the direction is what matters. The eigenvalue estimate is the Rayleigh quotient. For the next eigenpair subtract from a symmetric and repeat, which is called deflation.
- Update: multiply by , divide by the norm, repeat; each step costs one matrix-vector product.
- Speed: the error falls like , so close top eigenvalues converge slowly.
- Needs: a gap and a start vector not orthogonal to .
Power iteration is the method behind PageRank, and it is how a first principal component of thousands of assets is computed cheaply when the covariance matrix is huge or never formed explicitly (only products are available). Library routines for the full decomposition cost about operations, while each power step costs for a dense matrix.
Lab · what's graded
7 tasks · 100 pts- What it converges to15 pts
- A Rayleigh quotient20 pts
- The convergence ratio10 pts
- How many iterations15 pts
- The algorithm in order15 pts
- When it is slow or fails15 pts
- Why normalise10 pts