The The Power Method finds only the eigenvalue largest in size. To reach any other, apply it to a different matrix with the same eigenvectors. If $A\mathbf{v} = \lambda\mathbf{v}$ and $s$ is a number (the shift), then $$(A - sI)^{-1}\mathbf{v} = \frac{1}{\lambda - s}\,\mathbf{v}.$$
Key idea
Why it works
Worked example: The smallest eigenvalue
- Solve $A\mathbf{y} = (1, 0)$: $\mathbf{y} = \left(\frac{2}{3}, -\frac{1}{3}\right)$, so $\mu_1 = \frac{2}{3}$ and $\mathbf{x}_1 = (1, -0.5)$.
- Solve $A\mathbf{y} = (1, -0.5)$: $\mathbf{y} = \left(\frac{5}{6}, -\frac{2}{3}\right)$, so $\mu_2 = \frac{5}{6}$ and $\mathbf{x}_2 = (1, -0.8)$.
- $\mu$ heads to $1$, so $\lambda = 0 + \frac{1}{1} = 1$, the smallest eigenvalue, with eigenvector $(1, -1)$.
Answer: $\lambda = 1$
Worked example: Recovering λ
- $\lambda = 3.8 + \frac{1}{5} = 4$.
- Distances from $s$: $0.2$ to the eigenvalue $4$, $2.8$ to $1$, $6.2$ to $10$.
- Ratio $\frac{0.2}{2.8} = \frac{1}{14}$: more than one new digit every step.
Answer: $\lambda = 4$, ratio $\frac{1}{14}$
Worked example: A shift too close?
- The computed $\mathbf{y}$ has a large error, but the error is almost entirely along the wanted eigenvector, the direction $(A - sI)^{-1}$ stretches most.
- Scaling removes the size, so the direction is still right. A nearly singular $A - sI$ is the method working well, not failing.
Answer: no
Updating the shift every step to the current Rayleigh quotient gives Rayleigh quotient iteration, which for symmetric matrices triples the number of correct digits each step, at the price of a new factorization each time.
Common mistake