GO-V.ORG
As seen in

Rayleigh quotient

In mathematics, the Rayleigh quotient ( ) for a given complex Hermitian matrix M and nonzero vector x is defined as R(M, x) = \frac{x^* M x {x^* x . For real matrices and vectors, the condition of being Hermitian reduces to that of being symmetric, and the conjugate transpose x^* to the usual transpose x' . Note that R(M, cx) = R(M, x) for any non-zero scalar c . Recall that a Hermitian (or real symmetric) matrix is diagonalizable with only real eigenvalues. It can be shown that, for a given matrix, the Rayleigh quotient reaches its minimum value \lambda_\text{min (the smallest eigenvalue of M ) when x is v_\text{min (the corresponding eigenvector). Similarly, R(M, x) \leq \lambda_\text{max... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In mathematics, the Rayleigh quotient ( ) for a given complex Hermitian matrix M and nonzero vector x is defined as R(M, x) = \frac{x^* M x}{x^* x}. For real matrices and vectors, the condition of being Hermitian reduces to that of being symmetric, and the conjugate transpose x^* to the usual transpose x' . Note that R(M, cx) = R(M, x) for any non-zero scalar c . Recall that a Hermitian (or real symmetric) matrix is diagonalizable with only real eigenvalues. It can be shown that, for a given matrix, the Rayleigh quotient reaches its minimum value \lambda_\text{min} (the smallest eigenvalue of M ) when x is v_\text{min} (the corresponding eigenvector). Similarly, R(M, x) \leq \lambda_\text{max} , and R(M, v_\text{max}) = \lambda_\text{max} . The Rayleigh quotient is used in the min-max theorem to get exact values of all eigenvalues. It is also used in eigenvalue algorithms (such as Rayleigh quotient iteration) to obtain an eigenvalue approximation from an eigenvector approximation. The range of the Rayleigh quotient (for any matrix, not necessarily Hermitian) is called a numerical range and contains its spectrum. When the matrix is Hermitian, the numerical radius is equal to the spectral norm. Still in functional analysis, \lambda_\text{max} is known as the spectral radius. In the context of C ∗ -algebras or algebraic quantum mechanics, the function that to M associates the Rayleigh–Ritz quotient R(M, x) for a fixed x and M varying through the algebra would be referred to as vector state of the algebra. In quantum mechanics, the Rayleigh quotient gives the expectation value of the observable corresponding to the operator M for a system whose state is given by x . If we fix the complex matrix M , then the resulting Rayleigh quotient map (considered as a function of x ) completely determines M via the polarization identity; indeed, this remains true even if we allow M to be non-Hermitian. However, if we restrict the field of scalars to the real numbers, then the Rayleigh quotient only determines the symmetric part of M . ==Bounds for Hermitian M== As stated in the introduction, for any vector x, one has R(M, x) \in [\lambda_\text{min}, \lambda_\text{max}] , where \lambda_\text{min}, \lambda_\text{max} are respectively the smallest and largest eigenvalues of M (this result is known as the Rayleigh–Ritz principle). This is immediate after observing that the Rayleigh quotient is a weighted average of eigenvalues of M: R(M, x) = \frac{x^* M x}{x^* x} = \frac{\sum_{i=1}^n \lambda_i y_i^2}{\sum_{i=1}^n y_i^2}, where (\lambda_i, v_i) is the i -th eigenpair after orthonormalization, and y_i = v_i^* x is the i -th coordinate of x in the eigenbasis. It is then easy to verify that the bounds are attained at the corresponding eigenvectors v_\text{min}, v_\text{max} . The fact that the quotient is a weighted average of the eigenvalues can be used to identify the second, the third, ... largest eigenvalues. Let \lambda_\text{max} = \lambda_1 \ge \lambda_2 \ge \cdots \ge \lambda_n = \lambda_\text{min} be the eigenvalues in decreasing order. If n = 2 and x is constrained to be orthogonal to v_1 , in which case y_1 = v_1^*x = 0 , then R(M, x) has maximum value \lambda_2 , which is achieved when x = v_2 . ==Special case of covariance matrices== An empirical covariance matrix M can be represented as the product A'A of the normalized data matrix A pre-multiplied by its transpose A' . Being a positive semi-definite matrix, M has non-negative eigenvalues and orthogonal (or orthogonalizable) eigenvectors, which can be demonstrated as follows. Firstly, that the eigenvalues \lambda_i are non-negative: \begin{align} &M v_i = A' A v_i = \lambda_i v_i \\ \Rightarrow{}& v_i' A' A v_i = v_i' \lambda_i v_i \\ \Rightarrow{}& \|A v_i\|^2 = \lambda_i \|v_i\|^2 \\ \Rightarrow{}& \lambda_i = \frac{\|A v_i\|^2}{\|v_i\|^2} \geq 0. \end{align} Secondly, that the eigenvectors v_i are orthogonal to one another: \begin{align} &M v_i = \lambda _i v_i \\ \Rightarrow{}& v_j' M v_i = v_j' \lambda _i v_i \\ \Rightarrow{}& (M v_j)' v_i = \lambda_j v_j' v_i \\ \Rightarrow{}& \lambda_j v_j ' v_i = \lambda _i v_j' v_i \\ \Rightarrow{}& (\lambda_j - \lambda_i) v_j ' v_i = 0 \\ \Rightarrow{}& v_j ' v_i = 0 \end{align} if the eigenvalues are different in the case of multiplicity, the basis can be orthogonalized. To now establish that the Rayleigh quotient is maximized by the eigenvector with the largest eigenvalue, consider decomposing an arbitrary vector x on the basis of the eigenvectors v_i : x = \sum_{i=1}^n \alpha_i v_i, where \alpha_i = \frac{x' v_i}{v_i' v_i} = \frac{\langle x,v_i\rangle}{\|v_i\|^2} is the coordinate of x orthogonally projected onto v_i . Therefore, we have \begin{align} R(M,x) &= \frac{x' A' A x}{x' x} \\ &= \frac{\bigl(\sum_{j=1}^n \alpha_j v_j\bigr)' (A'A) \bigl(\sum_{i=1}^n \alpha_i v_i\bigr)} {\bigl(\sum_{j=1}^n \alpha_j v_j\bigr)' \bigl(\sum_{i=1}^n \alpha_i v_i\bigr)} \\ &= \frac{\bigl(\sum_{j=1}^n \alpha_j v_j\bigr)' \bigl(\sum_{i=1}^n \alpha_i (A'A) v_i\bigr)} {\bigl(\sum_{i=1}^n \alpha_i^2 v_i' v_i\bigr)} \\ &= \frac{\bigl(\sum_{j=1}^n \alpha_j v_j\bigr)' \bigl(\sum_{i=1}^n \alpha_i \lambda_i v_i\bigr)} {\bigl(\sum_{i=1}^n \alpha_i^2 \|v_i\|^2\bigr)}, \end{align} which, by orthonormality of the eigenvectors, becomes \begin{align} R(M,x) &= \frac{\sum_{i=1}^n \alpha_i^2 \lambda_i}{\sum_{i=1}^n \alpha_i^2} \\ &= \sum_{i=1}^n \lambda_i \frac{(x'v_i)^2}{(x'x)(v_i' v_i)^2} \\ &= \sum_{i=1}^n \lambda_i \frac{(x'v_i)^2}{(x'x)}. \end{align} The last representation establishes that the Rayleigh quotient is the sum of the squared cosines of the angles formed by the vector x and each eigenvector v_i , weighted by corresponding eigenvalues. If a vector x maximizes R(M, x) , then any non-zero scalar multiple kx also maximizes R , so the problem can be reduced to the Lagrange problem of maximizing \sum_{i=1}^n \alpha_i^2 \lambda_i under the constraint that \sum_{i=1}^n \alpha_i^2 = 1 . Define \beta_i = \alpha_i^2 . This then becomes a linear program, which always attains its maximum at one of the corners of the domain. A maximum point will have \alpha_1 = \pm 1 and \alpha_i = 0 for all i > 1 (when the eigenvalues are ordered by decreasing magnitude). Thus, the Rayleigh quotient is maximized by the eigenvector with the largest eigenvalue. R(M, cx) = \frac{(cx)^* M cx}{(cx)^* cx} = \frac{c^* c}{c^* c} \frac{x^* M x}{x^* x} = R(M, x). Because of this invariance, it is sufficient to study the special case \|x\|^2 = x^\mathsf{T} x = 1 . The problem is then to find the critical points of the function R(M, x) = x^\mathsf{T} M x, subject to the constraint \|x\|^2 = x^\mathsf{T} x = 1. In other words, it is to find the critical points of \mathcal{L}(x) = x^\mathsf{T} M x - \lambda (x^\mathsf{T} x - 1), where \lambda is a Lagrange multiplier. The stationary points of \mathcal{L}(x) occur at \begin{align} &\frac{d\mathcal{L}(x)}{dx} = 0 \\ \Rightarrow{}& 2x^\mathsf{T} M - 2\lambda x^\mathsf{T} = 0 \\ \Rightarrow{}& 2Mx - 2\lambda x = 0 \text{ (taking the transpose of both sides and noting that }M\text{ is Hermitian)}\\ \Rightarrow{}& M x = \lambda x, \end{align} thus R(M, x) = \frac{x^\mathsf{T} M x}{x^\mathsf{T} x} = \lambda \frac{x^\mathsf{T} x}{x^\mathsf{T} x} = \lambda. Therefore, the eigenvectors x_1, \ldots, x_n of M are the critical points of the Rayleigh quotient, and their corresponding eigenvalues \lambda_1, \ldots, \lambda_n are the stationary values of \mathcal{L} . This property is the basis for principal components analysis and canonical correlation. ==Use in Sturm–Liouville theory== Sturm–Liouville theory concerns the action of the linear operator L(y) = \frac{1}{w(x)}\left(-\frac{d}{dx}\left[p(x)\frac{dy}{dx}\right] + q(x)y\right) on the inner product space defined by \langle{y_1,y_2}\rangle = \int_a^b w(x)y_1(x)y_2(x) \, dx of functions satisfying some specified boundary conditions at a and b. In this case the Rayleigh quotient is \frac{\langle{y,Ly}\rangle}{\langle{y,y}\rangle} = \frac{\int_a^b y(x)\left(-\frac{d}{dx}\left[p(x)\frac{dy}{dx}\right] + q(x)y(x)\right)dx}{\int_a^b{w(x)y(x)^2}dx}. This is sometimes presented in an equivalent form, obtained by separating the integral in the numerator and using integration by parts: \begin{align} \frac{\langle{y,Ly}\rangle}{\langle{y,y}\rangle} &= \frac{ \left \{ \int_a^b y(x)\left(-\frac{d}{dx}\left[p(x)y'(x)\right]\right) dx \right \} + \left \{\int_a^b{q(x)y(x)^2} \, dx \right \}}{\int_a^b{w(x)y(x)^2} \, dx} \\ &= \frac{ \left \{\left. -y(x)\left[p(x)y'(x)\right] \right |_a^b \right \} + \left \{\int_a^b y'(x)\left[p(x)y'(x)\right] \, dx \right \} + \left \{\int_a^b{q(x)y(x)^2} \, dx \right \}}{\int_a^b w(x)y(x)^2 \, dx}\\ &= \frac{ \left \{ \left. -p(x)y(x)y'(x) \right |_a^b \right \} + \left \{ \int_a^b \left [p(x)y'(x)^2 + q(x)y(x)^2 \right] \, dx \right \} } {\int_a^b{w(x)y(x)^2} \, dx}. \end{align} ==Generalizations== For a given pair (A, B) of matrices, and a given non-zero vector x, the generalized Rayleigh quotient is defined as R(A, B; x) := \frac{x^* A x}{x^* B x}. The generalized Rayleigh quotient can be reduced to the Rayleigh quotient R(D, C^*x) through the transformation D = C^{-1} A {C^*}^{-1} , where CC^* is the Cholesky decomposition of the Hermitian positive-definite matrix B. For a given pair (x, y) of non-zero vectors, and a given Hermitian matrix H, the generalized Rayleigh quotient or sometimes two-sided Rayleigh quotient can be defined as R(H; x, y) := \frac{y^* H x}{\sqrt{y^*y \cdot x^*x}} or R(H; x, y) := \frac{y^* H x}{y^*x}, which both coincide with R(H, x) when x = y. In quantum mechanics, this quantity is called a "matrix element" or sometimes a "transition amplitude". ==See also== Numerical range Courant minimax principle Min-max theorem Rayleigh's quotient in vibrations analysis Dirichlet eigenvalue ==References== ==Further reading== Shi Yu, Léon-Charles Tranchevent, Bart Moor, Yves Moreau, Kernel-based Data Fusion for Machine Learning: Methods and Applications in Bioinformatics and Text Mining, Ch. 2, Springer, 2011.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Rayleigh quotient". 1786671390. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1369296687

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·