Power iteration

1

In mathematics, power iteration (also known as the power method) is an eigenvalue algorithm: given a diagonalizable matrix A, the algorithm will produce a number \lambda, which is the greatest (in absolute value) eigenvalue of A, and a nonzero vector v, which is a corresponding eigenvector of \lambda, that is,. The algorithm is also known as the Von Mises iteration. Power iteration is a very simple algorithm, but it may converge slowly. The most time-consuming operation of the algorithm is the multiplication of matrix A by a vector, so it is effective for a very large sparse matrix with appropriate implementation. The speed of convergence is like (see a later section). In words, convergence is exponential with base being the spectral gap.

The method

The power iteration algorithm starts with a vector b_0, which may be an approximation to the dominant eigenvector or a random vector. The method is described by the recurrence relation So, at every iteration, the vector b_k is multiplied by the matrix A and normalized. If we assume A has an eigenvalue that is strictly greater in magnitude than its other eigenvalues and the starting vector b_0 has a nonzero component in the direction of an eigenvector associated with the dominant eigenvalue, then a subsequence converges to an eigenvector associated with the dominant eigenvalue. Without the two assumptions above, the sequence does not necessarily converge. In this sequence, where v_1 is an eigenvector associated with the dominant eigenvalue, and. The presence of the term implies that does not converge unless. Under the two assumptions listed above, the sequence defined by converges to the dominant eigenvalue (with Rayleigh quotient). One may compute this with the following algorithm (shown in Python with NumPy): The vector b_k converges to an associated eigenvector. Ideally, one should use the Rayleigh quotient in order to get the associated eigenvalue. This algorithm is used to calculate the Google PageRank. The method can also be used to calculate the spectral radius (the eigenvalue with the largest magnitude, for a square matrix) by computing the Rayleigh quotient

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 \lambda_{1}. Since generically, the dominant eigenvalue of A is unique, the first Jordan block of J is the 1 \times 1 matrix where \lambda_{1} is the largest eigenvalue of A in magnitude. The starting vector b_0 can be written as a linear combination of the columns of V: By assumption, b_{0} has a nonzero component in the direction of the dominant eigenvalue, so c_{1} \ne 0. The computationally useful recurrence relation for b_{k+1} can be rewritten as: where the expression: is more amenable to the following analysis. The expression above simplifies as The limit follows from the fact that the eigenvalue of is less than 1 in magnitude, so It follows that: Using this fact, b_{k} can be written in a form that emphasizes its relationship with v_{1} when k is large: where 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, b_{k} 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 \lambda_1 is the dominant eigenvalue, so that for j>1. The initial vector b_0 can be written: If b_0 is chosen randomly (with uniform probability), then c1 ≠ 0 with probability 1. Now, On the other hand: Therefore, b_k converges to (a multiple of) the eigenvector v_1. The convergence is geometric, with ratio where \lambda_2 denotes the second dominant eigenvalue. Thus, the method converges slowly if there is an eigenvalue close in magnitude to the dominant eigenvalue.

Applications

Although the power iteration method approximates only one eigenvalue of a matrix, it remains useful for certain computational problems. For instance, Google uses it to calculate the PageRank of documents in their search engine, and Twitter uses it to show users recommendations of whom to follow. The power iteration method is especially suitable for sparse matrices, such as the web matrix, or as the matrix-free method that does not require storing the coefficient matrix A explicitly, but can instead access a function evaluating matrix-vector products Ax. For non-symmetric matrices that are well-conditioned the power iteration method can outperform more complex Arnoldi iteration. For symmetric matrices, the power iteration method is rarely used, since its convergence speed can be easily increased without sacrificing the small cost per iteration; see, e.g., Lanczos iteration and LOBPCG. 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 b_k. This subspace is known as the Krylov subspace. It can be computed by Arnoldi iteration or Lanczos iteration. Gram iteration is a super-linear and deterministic method to compute the largest eigenpair.

This article is derived from Wikipedia and licensed under CC BY-SA 4.0. View the original article.

Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
Bliptext is not affiliated with or endorsed by Wikipedia or the Wikimedia Foundation.

Edit article