The Rayleigh–Ritz method is a direct numerical method of approximating eigenvalues, originated in the context of solving physical boundary value problems and named after Lord Rayleigh and Walther Ritz.

It is used in all applications that involve approximating eigenvalues and eigenvectors, often under different names. In quantum mechanics, where a system of particles is described using a Hamiltonian, the Ritz method uses trial wave functions to approximate the ground state eigenfunction with the lowest energy. In the finite element method context, mathematically the same algorithm is commonly called the Ritz-Galerkin method. The Rayleigh–Ritz method or Ritz method terminology is typical in mechanical and structural engineering to approximate the eigenmodes and resonant frequencies of a structure.

Naming and attribution

The name Rayleigh–Ritz is being debated[1][2] vs. the Ritz method after Walther Ritz, since the numerical procedure has been published by Walther Ritz in 1908-1909. According to A. W. Leissa,[1] Lord Rayleigh wrote a paper congratulating Ritz on his work in 1911, but stating that he himself had used Ritz's method in many places in his book and in another publication. This statement, although later disputed, and the fact that the method in the trivial case of a single vector results in the Rayleigh quotient make the arguable misnomer persist. According to S. Ilanko,[2] citing Richard Courant, both Lord Rayleigh and Walther Ritz independently conceived the idea of utilizing the equivalence between boundary value problems of partial differential equations on the one hand and problems of the calculus of variations on the other hand for numerical calculation of the solutions, by substituting for the variational problems simpler approximating extremum problems in which a finite number of parameters need to be determined; see the article Ritz method for details. Ironically for the debate, the modern justification of the algorithm drops the calculus of variations in favor of the simpler and more general approach of orthogonal projection as in Galerkin method named after Boris Galerkin, thus leading also to the Ritz-Galerkin method naming.

For matrix eigenvalue problems

In numerical linear algebra, the Rayleigh–Ritz method is commonly[3] applied to approximate an eigenvalue problem

for the matrix of size using a projected matrix of a smaller size , generated from a given matrix with orthonormal columns. The matrix version of the algorithm is the most simple:

  1. Compute the matrix , where denotes the complex-conjugate transpose of
  2. Solve the eigenvalue problem
  3. Compute the Ritz vectors and the Ritz value
  4. Output approximations , called the Ritz pairs, to eigenvalues and eigenvectors of the original matrix .

If the subspace with the orthonormal basis given by the columns of the matrix contains vectors that are close to eigenvectors of the matrix , the Rayleigh–Ritz method above finds Ritz vectors that well approximate these eigenvectors. The easily computable quantity determines the accuracy of such an approximation for every Ritz pair.

In the easiest case , the matrix turns into a unit column-vector , the matrix is a scalar that is equal to the Rayleigh quotient , the only solution to the eigenvalue problem is and , and the only one Ritz vector is itself. Thus, the Rayleigh–Ritz method turns into computing of the Rayleigh quotient if .

Another useful connection to the Rayleigh quotient is that for every Ritz pair , allowing to derive some properties of Ritz values from the corresponding theory for the Rayleigh quotient. For example, if is a Hermitian matrix, its Rayleigh quotient (and thus its every Ritz value) is real and takes values within the closed interval of the smallest and largest eigenvalues of .

Example

The matrix

has eigenvalues and the corresponding eigenvectors

Let us take

then

with eigenvalues and the corresponding eigenvectors

so that the Ritz values are and the Ritz vectors are

We observe that each one of the Ritz vectors is exactly one of the eigenvectors of for the given as well as the Ritz values give exactly two of the three eigenvalues of . A mathematical explanation for the exact approximation is based on the fact that the column space of the matrix happens to be exactly the same as the subspace spanned by the two eigenvectors and in this example.

For matrix singular value problems

Truncated singular value decomposition (SVD) in numerical linear algebra can also use the Rayleigh–Ritz method to find approximations to left and right singular vectors of the matrix of size in given subspaces by turning the singular value problem into an eigenvalue problem.

Using the normal matrix

The definition of the singular value and the corresponding left and right singular vectors is and . Having found one set (left of right) of approximate singular vectors and singular values by applying naively the Rayleigh–Ritz method to the Hermitian normal matrix or , whichever one is smaller size, one could determine the other set of left of right singular vectors simply by dividing by the singular values, i.e., and . However, the division is unstable or fails for small or zero singular values.

An alternative approach, e.g., defining the normal matrix as of size , takes advantage of the fact that for a given matrix with orthonormal columns the eigenvalue problem of the Rayleigh–Ritz method for the matrix

can be interpreted as a singular value problem for the matrix . This interpretation allows simple simultaneous calculation of both left and right approximate singular vectors as follows.

  1. Compute the matrix .
  2. Compute the thin, or economy-sized, SVD with matrix , diagonal matrix , and matrix .
  3. Compute the matrices of the Ritz left and right singular vectors.
  4. Output approximations , called the Ritz singular triplets, to selected singular values and the corresponding left and right singular vectors of the original matrix representing an approximate Truncated singular value decomposition (SVD) with left singular vectors restricted to the column-space of the matrix .

The algorithm can be used as a post-processing step where the matrix is an output of an eigenvalue solver, e.g., such as LOBPCG, approximating numerically selected eigenvectors of the normal matrix .

Example

The matrix

has its normal matrix

singular values and the corresponding thin SVD

where the columns of the first multiplier from the complete set of the left singular vectors of the matrix , the diagonal entries of the middle term are the singular values, and the columns of the last multiplier transposed (although the transposition does not change it)

are the corresponding right singular vectors.

Let us take

with the column-space that is spanned by the two exact right singular vectors

corresponding to the singular values 1 and 2.

Following the algorithm step 1, we compute

and on step 2 its thin SVD with

Thus we already obtain the singular values 2 and 1 from and from the corresponding two left singular vectors as and , which span the column-space of the matrix , explaining why the approximations are exact for the given .

Finally, step 3 computes the matrix

recovering from its rows the two right singular vectors as and . We validate the first vector:

and

Thus, for the given matrix with its column-space that is spanned by two exact right singular vectors, we determine these right singular vectors, as well as the corresponding left singular vectors and the singular values, all exactly. For an arbitrary matrix , we obtain approximate singular triplets which are optimal given in the sense of optimality of the Rayleigh–Ritz method.

See also

Notes and references

  1. 1 2 Leissa, A.W. (2005). "The historical bases of the Rayleigh and Ritz methods". Journal of Sound and Vibration. 287 (4–5): 961–978. Bibcode:2005JSV...287..961L. doi:10.1016/j.jsv.2004.12.021.
  2. 1 2 Ilanko, Sinniah (2009). "Comments on the historical bases of the Rayleigh and Ritz methods". Journal of Sound and Vibration. 319 (1–2): 731–733. Bibcode:2009JSV...319..731I. doi:10.1016/j.jsv.2008.06.001.
  3. Trefethen, Lloyd N.; Bau, III, David (1997). Numerical Linear Algebra. SIAM. p. 254. ISBN 978-0-89871-957-4.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.