Beruflich Dokumente
Kultur Dokumente
Key Terms
Symmetric matrix
Tridiagonal matrix
Orthogonal matrix
QR-factorization
Eigenvalues
We will now complete our study of the matrix eigenvalue problem for symmetric matrices
by developing an algorithm to compute all of the eigenvalues of a symmetric tridiagonal
matrix. The technique which we will develop in this section is called the QR algorithm.
Unlike the technique developed for reduction to tridiagonal form, the QR algorithm is
iterative in nature. The sequence of matrices generated by the algorithm converges to a
diagonal matrix, so the eigenvalues of the “final" matrix in the sequence are just the
elements along main diagonal. As we will continue to use similarity transformations,
these diagonal elements are also the eigenvalues of the original matrix. But we will not
use Householder matrices.
In the case that matrix A is real and square, then the matrix Q will be an orthogonal
matrix.
We use the QR-factorization to generate a sequence of similarity transformations so that the
limit of the sequence will be a diagonal matrix. The eigenvalues of A and AH will be
preserved and will appear on the diagonal of the diagonal matrix.
Define A1 = R0Q0 = Q0TA0Q0 since R0 = Q0TA0. Find the QR-factorization of A1; A1 = Q1R1.
This process preserves the tridiagonal form and the numerical values of the first sub
diagonal and first super diagonal decrease in value as k gets large. We stop the iterative
process when the entries of these off-diagonals are “sufficiently small”. In this case the
sequence appears to be converging to a diagonal matrix.
Example: Apply the basicqr.m iteration to the symmetric tridiagonal matrix
MATLAB has an m-file more robust than basicqr.m. The MATLAB file is qr.m. It has various
options which appear in the help file,
A simple MATLAB code using qr.m which is like for the basic QR-method is given below.
We will not prove the QR theorem. A discussion is given in the text. Orthogonal matrices
constructed in the QR-algorithm are often called rotation matrices.
Notes:
The eig command in MATLAB uses a more robust implementation than that given in
the basic QR-(eigen)method discussed here. This command is quite dependable.
If a matrix has eigenvalues very close in magnitude, then the convergence of the eigen
method based on QR-factorizations can quite slow.
The second distinction from the symmetric problem is that a non-symmetric matrix could
not be easily reduced to a tridiagonal matrix or a matrix in other compact form - matrix
asymmetry causes the fact that after zeroing all the elements below the first subdiagonal
(using an orthogonal transformation) all the elements in the upper triangle are not zeroed,
so we get a matrix in upper Hessenberg form. This slows an algorithm down, because it is
necessary to update all the upper triangles of the matrix after each iteration of the QR
algorithm.
At last, the third distinction is that the eigenvalues of a non-symmetric matrix could be
complex (as are their corresponding eigenvectors).
Algorithm description
Solving a non-symmetric problem of finding eigenvalues is performed in some steps. In
the first step, the matrix is reduced to upper Hessenberg form by using an orthogonal
transformation. In the second step, which takes the most amount of time, the matrix is
reduced to upper Schur form by using an orthogonal transformation. If we only have to
find the eigenvalues, this step is the last because the matrix eigenvalues are located in the
diagonal blocks of a quasi-triangular matrix from the canonical Schur form.
More details at
http://people.math.gatech.edu/~klounici6/2605/Lectures%20notes%20Carlen/chap4.pdf
https://www.math.washington.edu/~morrow/498_13/eigenvalues.pdf
http://web.stanford.edu/class/cme335/lecture4sup.pdf