Samiksha Jaiswal (Editor)

Rayleigh quotient iteration

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

Rayleigh quotient iteration is an eigenvalue algorithm which extends the idea of the inverse iteration by using the Rayleigh quotient to obtain increasingly accurate eigenvalue estimates.

Contents

Rayleigh quotient iteration is an iterative method, that is, it must be repeated until it converges to an answer (this is true for all eigenvalue algorithms). Fortunately, very rapid convergence is guaranteed and no more than a few iterations are needed in practice. The Rayleigh quotient iteration algorithm converges cubically for Hermitian or symmetric matrices, given an initial vector that is sufficiently close to an eigenvector of the matrix that is being analyzed.

Algorithm

The algorithm is very similar to inverse iteration, but replaces the estimated eigenvalue at the end of each iteration with the Rayleigh quotient. Begin by choosing some value μ 0 as an initial eigenvalue guess for the Hermitian matrix A . An initial vector b 0 must also be supplied as initial eigenvector guess.

Calculate the next approximation of the eigenvector b i + 1 by

b i + 1 = ( A μ i I ) 1 b i | | ( A μ i I ) 1 b i | | ,
where I is the identity matrix, and set the next approximation of the eigenvalue to the Rayleigh quotient of the current iteration equal to
μ i = b i A b i b i b i .

To compute more than one eigenvalue, the algorithm can be combined with a deflation technique.

Note that for very small problems it is beneficial to replace the matrix inverse with the adjugate, which will yield the same iteration because it's equal to the inverse up to an irrelevant scale (the inverse of the determinant, specifically). The adjugate is easier to compute explicitly than the inverse (though the inverse is easier to apply to a vector for problems that aren't small), and is more numerically sound because it remains well defined as the eigenvalue converges.

Example

Consider the matrix

A = [ 1 2 3 1 2 1 3 2 1 ]

for which the exact eigenvalues are λ 1 = 3 + 5 , λ 2 = 3 5 and λ 3 = 2 , with corresponding eigenvectors

v 1 = [ 1 φ 1 1 ] , v 2 = [ 1 φ 1 ] and v 3 = [ 1 0 1 ] .

(where φ = 1 + 5 2 is the golden ratio).

The largest eigenvalue is λ 1 5.2361 and corresponds to any eigenvector proportional to v 1 [ 1 0.6180 1 ] .

We begin with an initial eigenvalue guess of

b 0 = [ 1 1 1 ] ,   μ 0 = 200 .

Then, the first iteration yields

b 1 [ 0.57927 0.57348 0.57927 ] ,   μ 1 5.3355

the second iteration,

b 2 [ 0.64676 0.40422 0.64676 ] ,   μ 2 5.2418

and the third,

b 3 [ 0.64793 0.40045 0.64793 ] ,   μ 3 5.2361

from which the cubic convergence is evident.

Octave Implementation

The following is a simple implementation of the algorithm in Octave.

References

Rayleigh quotient iteration Wikipedia