Finding the dominant direction by repeated multiplication
Solving a characteristic polynomial is hopeless for a 1000×1000 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 x0 and repeat xk+1=Axk/∥Axk∥. Each multiplication stretches the component along the dominant eigenvector more than every other component, so after enough steps the vector points along it.
Write x0=c1v1+c2v2+⋯ in eigenvectors. After k steps the coefficients are multiplied by λik, so the ratio of the second to the first is (λ2/λ1)k. The method converges when ∣λ1∣>∣λ2∣ and the starting vector has some component along v1, and the speed is set by ∣λ2/λ1∣: 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 λ1v1v1T from a symmetric A and repeat, which is called deflation.
A few steps by handTake A=(2112), whose eigenvalues are 3 and 1 with dominant eigenvector (1,1). Start at x0=(1,0). Then Ax0=(2,1), and the Rayleigh quotient of (2,1) is 5(2,1)⋅(5,4)=514=2.8, already close to 3. The next product is A(2,1)=(5,4), pointing nearly along (1,1). The error shrinks by ∣λ2/λ1∣=1/3 per step, so to gain a factor 10−6 you need k with 3k≥106, which is k=13.
Update: multiply by A, divide by the norm, repeat; each step costs one matrix-vector product.
Speed: the error falls like ∣λ2/λ1∣k, so close top eigenvalues converge slowly.
Needs: a gap ∣λ1∣>∣λ2∣ and a start vector not orthogonal to v1.
The same idea ranks web pagesPower 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 Ax are available). Library routines for the full decomposition cost about n3 operations, while each power step costs n2 for a dense matrix.
Lab · what's graded
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
0/ 7 answered
1Choice15 ptsNot answered
When ∣λ1∣>∣λ2∣, power iteration on a matrix converges (in direction) to which vector?
2Numeric answer20 ptsNot answered
For A=(2112) and x=(2,1) compute xTAx/xTx.
Rayleighquotient=accepted: ± 0.01
3Numeric answer10 ptsNot answered
A matrix has eigenvalues 3 and 1. By what factor does the error shrink in each power step?
ratio=accepted: ± 0.005
4Numeric answer15 ptsNot answered
With a ratio of 1/3 per step, what is the smallest whole number of steps k that shrinks the error by a factor of at least 106 (that is, 3k≥106)?
k=accepted: ± 0.01
5Order the steps15 ptsNot answered
Put the steps of power iteration in order.
Drag to reorder, or focus an item, press Space to lift it, the arrow keys to move it and Space to drop it.
1Divide by the norm to get a unit vector
2Report the Rayleigh quotient as the eigenvalue
3Start from a non-zero vector
4Repeat until the direction stops changing
5Multiply the vector by the matrix
6Choice15 ptsNot answered
Select every situation in which plain power iteration converges slowly or does not converge.
7Explain in words10 ptsNot answered
In one or two sentences, say why we divide by the norm after each multiplication.
Math modeKeyboard or LaTeX inputTask 1 of 7 · Ctrl ⏎ to check