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.
Rayleigh quotient iteration is an
iterative method, that is, it delivers a sequence of approximate solutions that
converges to a true solution in the limit. Very rapid convergence is guaranteed and no more than a few iterations are needed in practice to obtain a reasonable approximation. 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
Matrix most commonly refers to:
* ''The Matrix'' (franchise), an American media franchise
** '' The Matrix'', a 1999 science-fiction action film
** "The Matrix", a fictional setting, a virtual reality environment, within ''The Matrix'' (franchi ...
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
as an initial eigenvalue guess for the Hermitian matrix
. An initial vector
must also be supplied as initial eigenvector guess.
Calculate the next approximation of the eigenvector
by
where
is the identity matrix,
and set the next approximation of the eigenvalue to the Rayleigh quotient of the current iteration equal to
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 is 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
:
for which the exact eigenvalues are
,
and
, with corresponding eigenvectors
: