Power iteration
From Wikipedia, the free encyclopedia
In mathematics, the power iteration is an eigenvalue algorithm: given a matrix A, the algorithm will produce a number λ (the eigenvalue) and a nonzero vector v (the eigenvector), such that Av = λv.
The power iteration is a very simple algorithm. It does not compute a matrix decomposition, and hence it can be used when A is very large sparse matrix. However, it will find only one eigenvalue (the one with the greatest absolute value) and it may converge only slowly.
Contents |
[edit] The method
The power iteration algorithm starts with a vector b0, which may be an approximation to the dominant eigenvector or a random vector. The method is described by the iteration
So, at every iteration, the vector bk is multiplied by the matrix A and normalized.
Under the assumptions:
- A has an eigenvalue that is strictly greater in magnitude than its other eigenvalues
- The starting vector b0 has a nonzero component in the direction of an eigenvector associated with the dominant eigenvalue.
then:
- A subsequence of converges to an eigenvector associated with the dominant eigenvalue
Note that the sequence does not necessarily converge. It can be shown that:
bk = eiφkv1 + rk where: v1 is an eigenvector associated with the dominant eigenvalue, and . The presence of the term eiφk implies that does not converge unless eiφk = 1 Under the two assumptions listed above, the sequence defined by: converges to the dominant eigenvalue.
The method can also be used to calculate the spectral radius of a matrix by computing the Rayleigh quotient
[edit] Analysis
Let A be decomposed into its Jordan canonical form: A = VJV − 1, where the first column of V is an eigenvector of A corresponding to the dominant eigenvalue λ1. Since the dominant eigenvalue of A is unique, the first Jordan block of J is the matrix , where λ1 is the largest eigenvalue of A in magnitude. The starting vector b0 can be written as a linear combination of the columns of V: . By assumption, b0 has a nonzero component in the direction of the dominant eigenvalue, so .
The computationally useful recurrence relation for bk + 1 can be rewritten as: , where the expression: is more amenable to the following analysis.
The expression above simplifies as
as .
The limit follows from the fact that the eigenvalue of is less than in 1 in magnitude, so as
It follows that:
as
Using this fact, bk can be written in a form that emphasizes its relationship with v1 when k is large:
where eiφ = λ1 / | λ1 | and as
The sequence is bounded, so it contains a convergent subsequence. Note that the eigenvector corresponding to the dominant eigenvalue is only unique up to a scalar, so although the sequence may not converge, bk is nearly an eigenvector of A for large k.
Alternatively, if A is diagonalizable, then the following proof yields the same result
Let λ1, λ2, …, λm be the m eigenvalues (counted with multiplicity) of A and let v1, v2, …, vm be the corresponding eigenvectors. Suppose that λ1 is the dominant eigenvalue, so that | λ1 | > | λj | for j > 1.
The initial vector b0 can be written:
If b0 is chosen randomly (with uniform probability), then c1 ≠ 0 with probability 1. Now,
The expression within parentheses converges to v1 because | λj / λ1 | < 1 for j > 1. On the other hand, we have
Therefore, bk converges to (a multiple of) the eigenvector v1. The convergence is geometric, with ratio
where λ2 denotes the second dominant eigenvalue. Thus, the method converges slowly if there is an eigenvalue close in magnitude to the dominant eigenvalue.
[edit] Applications
Power iteration is not used very much because it can find only the dominant eigenvalue. Nevertheless, the algorithm is very useful in some specific situations. For instance, Google uses it to calculate the page rank of documents in their search engine. [1]
Some of the more advanced eigenvalue algorithms can be understood as variations of the power iteration. For instance, the inverse iteration method applies power iteration to the matrix A − 1. Other algorithms look at the whole subspace generated by the vectors bk. This subspace is known as the Krylov subspace. It can be computed by Arnoldi iteration or Lanczos iteration.
[edit] References
- ^ Ipsen, Ilse, and Rebecca M. Wills, Analysis and Computation of Google's PageRank, 7th IMACS International Symposium on Iterative Methods in Scientific Computing, Fields Institute, Toronto, Canada, 5–8 May 2005.
[edit] External links
- Power method, part of lecture notes on numerical linear algebra by E. Bruce Pitman, State University of New York.
- Power method on www.math.gatech.edu