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 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:
where: 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.
This can be run as a simulation program with the following simple algorithm:
for each(''simulation'') { // calculate the matrix-by-vector product Ab for(i=0; iNote: The above code assumes real A,b. To handle complex; A becomes conj(A), and tmp*tmp becomes conj(tmp)*tmp
This algorithm is the one used to calculate such things as the Google PageRank.
The method can also be used to calculate the spectral radius of a matrix by computing the Rayleigh quotient
Read more about this topic: Power Iteration
Famous quotes containing the word method:
“I have usually found that there was method in his madness.
Some folk might say there was madness in his method.”
—Sir Arthur Conan Doyle (18591930)
“As a science of the unconscious it is a therapeutic method, in the grand style, a method overarching the individual case. Call this, if you choose, a poets utopia.”
—Thomas Mann (18751955)