Mathematics Previous page   Next Page

Eigenvalues

An eigenvalue and eigenvector of a square matrix A are a scalar lambda (lower case) and a nonzero vector v that satisfy

This section explains:

Eigenvalue Decomposition

With the eigenvalues on the diagonal of a diagonal matrix lambda (upper case) and the corresponding eigenvectors forming the columns of a matrix V, we have

If V is nonsingular, this becomes the eigenvalue decomposition

A good example is provided by the coefficient matrix of the ordinary differential equation in the previous section.

The statement

produces a column vector containing the eigenvalues. For this matrix, the eigenvalues are complex.

The real part of each of the eigenvalues is negative, so e to the lambda times t power approaches zero as t increases. The nonzero imaginary part of two of the eigenvalues, plus or minus omega, contributes the oscillatory component, sine of omega times t, to the solution of the differential equation.

With two output arguments, eig computes the eigenvectors and stores the eigenvalues in a diagonal matrix.

The first eigenvector is real and the other two vectors are complex conjugates of each other. All three vectors are normalized to have Euclidean length, norm(v,2), equal to one.

The matrix V*D*inv(V), which can be written more succinctly as V*D/V, is within roundoff error of A. And, inv(V)*A*V, or V\A*V, is within roundoff error of D.

Defective Matrices

Some matrices do not have an eigenvector decomposition. These matrices are defective, or not diagonalizable. For example,

For this matrix

produces

There is a double eigenvalue at lambda = 1. The second and third columns of V are the same. For this matrix, a full set of linearly independent eigenvectors does not exist.

The optional Symbolic Math Toolbox extends the capabilities of MATLAB by connecting to Maple, a powerful computer algebra system. One of the functions provided by the toolbox computes the Jordan Canonical Form. This is appropriate for matrices like our example, which is 3-by-3 and has exactly known, integer elements.

The Jordan Canonical Form is an important theoretical concept, but it is not a reliable computational tool for larger matrices, or for matrices whose elements are subject to roundoff errors and other uncertainties.

Schur Decomposition in MATLAB Matrix Computations

The MATLAB advanced matrix computations do not require eigenvalue decompositions. They are based, instead, on the Schur decomposition

where U is an orthogonal matrix and S is a block upper triangular matrix with 1-by-1 and 2-by-2 blocks on the diagonal. The eigenvalues are revealed by the diagonal elements and blocks of S, while the columns of U provide a basis with much better numerical properties than a set of eigenvectors. The Schur decomposition of our defective example is

The double eigenvalue is contained in the lower 2-by-2 block of S.


Previous page  Matrix Powers and Exponentials Singular Value Decomposition Next page

© 1994-2005 The MathWorks, Inc.