DIAGONAL MATRIX
In linear algebra, a 'diagonal matrix' is a square matrix in which the entries outside the main diagonal are all zero. The diagonal entries themselves may or may not be zero. Thus, the matrix D = (di,j) with
n columns and n rows is diagonal if:
:
For example, the following matrix is diagonal:
:
The term ''diagonal matrix'' may sometimes refer to a rectangular ''m''-by-''n'' matrix in case only the entries of the form ai,i are non-zero. However, in this article we will consider only square matrices.
Any diagonal matrix is also a symmetric matrix. Also, if the entries come from the field 'R' or 'C', then it is a normal matrix as well.
Equivalently, we can define a diagonal matrix as a matrix that is both upper- and lower-triangular.
The identity matrix ''I''''n'' and any square zero matrix are diagonal. A one-dimensional matrix is always diagonal.
A diagonal matrix with all its main diagonal entries equal is a 'scalar matrix', that is, a scalar multiple λ''I'' of the identity matrix ''I''. Its effect on a vector is scalar multiplication by λ. The scalar matrices are the center of the algebra of matrices: that is, they are precisely the matrices that commute with all other square matrices of the same size.
The operations of matrix addition and matrix multiplication are especially simple for diagonal matrices. Write diag(''a''1,...,''a''''n'') for a diagonal matrix whose diagonal entries starting in the upper left corner are ''a''1,...,''a''''n''. Then, for addition, we have
:diag(''a''1,...,''a''''n'') + diag(''b''1,...,''b''''n'') = diag(''a''1+''b''1,...,''a''''n''+''b''''n'')
and for matrix multiplication,
:diag(''a''1,...,''a''''n'') · diag(''b''1,...,''b''''n'') = diag(''a''1''b''1,...,''a''''n''''b''''n'').
The diagonal matrix diag(''a''1,...,''a''''n'') is invertible if and only if the entries ''a''1,...,''a''''n'' are all non-zero. In this case, we have
:diag(''a''1,...,''a''''n'')-1 = diag(''a''1-1,...,''a''''n''-1).
In particular, the diagonal matrices form a subring of the ring of all ''n''-by-''n'' matrices.
Multiplying the matrix ''A'' from the ''left'' with diag(''a''1,...,''a''''n'') amounts to multiplying the ''i''-th ''row'' of ''A'' by ''a''''i'' for all ''i''; multiplying the matrix ''A'' from the ''right'' with diag(''a''1,...,''a''''n'') amounts to multiplying the ''i''-th ''column'' of ''A'' by ''a''''i'' for all ''i''.
The eigenvalues of diag(''a''1, ..., ''a''''n'') are ''a''1, ..., ''a''''n''. The unit vectors 'e'1, ..., 'e'''n'' form a basis of eigenvectors. The determinant of diag(''a''1, ..., ''a''''n'') is the product ''a''1...''a''''n''.
The adjugate of a diagonal matrix is again diagonal.
A square matrix is diagonal if and only if it is triangular and normal.
Diagonal matrices occur in many areas of linear algebra. Because of the simple description of the matrix operation and eigenvalues/eigenvectors given above, it is always desirable to represent a given matrix or linear map by a diagonal matrix.
In fact, a given ''n''-by-''n'' matrix ''A'' is similar to a diagonal matrix (meaning that there is a matrix ''X'' such that ''XAX''-1 is diagonal) if and only if it has ''n'' linearly independent eigenvectors. Such matrices are said to be diagonalizable.
Over the field of real or complex numbers, more is true. The spectral theorem says that every normal matrix is unitarily similar to a diagonal matrix (if ''AA''
★ = ''A''
★ ''A'' then there exists a unitary matrix ''U'' such that ''UAU''
★ is diagonal). Furthermore, the singular value decomposition implies that for any matrix ''A'', there exist unitary matrices ''U'' and ''V'' such that ''UAV''
★ is diagonal with positive entries.
★ Tridiagonal matrix
★
★ Roger A. Horn and Charles R. Johnson, ''Matrix Analysis'', Cambridge University Press, 1985. ISBN 0-521-30586-1 (hardback), ISBN 0-521-38632-2 (paperback).
n columns and n rows is diagonal if:
:
For example, the following matrix is diagonal:
:
The term ''diagonal matrix'' may sometimes refer to a rectangular ''m''-by-''n'' matrix in case only the entries of the form ai,i are non-zero. However, in this article we will consider only square matrices.
Any diagonal matrix is also a symmetric matrix. Also, if the entries come from the field 'R' or 'C', then it is a normal matrix as well.
Equivalently, we can define a diagonal matrix as a matrix that is both upper- and lower-triangular.
The identity matrix ''I''''n'' and any square zero matrix are diagonal. A one-dimensional matrix is always diagonal.
A diagonal matrix with all its main diagonal entries equal is a 'scalar matrix', that is, a scalar multiple λ''I'' of the identity matrix ''I''. Its effect on a vector is scalar multiplication by λ. The scalar matrices are the center of the algebra of matrices: that is, they are precisely the matrices that commute with all other square matrices of the same size.
| Contents |
| Matrix operations |
| Other properties |
| Uses |
| See also |
| External links |
| References |
Matrix operations
The operations of matrix addition and matrix multiplication are especially simple for diagonal matrices. Write diag(''a''1,...,''a''''n'') for a diagonal matrix whose diagonal entries starting in the upper left corner are ''a''1,...,''a''''n''. Then, for addition, we have
:diag(''a''1,...,''a''''n'') + diag(''b''1,...,''b''''n'') = diag(''a''1+''b''1,...,''a''''n''+''b''''n'')
and for matrix multiplication,
:diag(''a''1,...,''a''''n'') · diag(''b''1,...,''b''''n'') = diag(''a''1''b''1,...,''a''''n''''b''''n'').
The diagonal matrix diag(''a''1,...,''a''''n'') is invertible if and only if the entries ''a''1,...,''a''''n'' are all non-zero. In this case, we have
:diag(''a''1,...,''a''''n'')-1 = diag(''a''1-1,...,''a''''n''-1).
In particular, the diagonal matrices form a subring of the ring of all ''n''-by-''n'' matrices.
Multiplying the matrix ''A'' from the ''left'' with diag(''a''1,...,''a''''n'') amounts to multiplying the ''i''-th ''row'' of ''A'' by ''a''''i'' for all ''i''; multiplying the matrix ''A'' from the ''right'' with diag(''a''1,...,''a''''n'') amounts to multiplying the ''i''-th ''column'' of ''A'' by ''a''''i'' for all ''i''.
Other properties
The eigenvalues of diag(''a''1, ..., ''a''''n'') are ''a''1, ..., ''a''''n''. The unit vectors 'e'1, ..., 'e'''n'' form a basis of eigenvectors. The determinant of diag(''a''1, ..., ''a''''n'') is the product ''a''1...''a''''n''.
The adjugate of a diagonal matrix is again diagonal.
A square matrix is diagonal if and only if it is triangular and normal.
Uses
Diagonal matrices occur in many areas of linear algebra. Because of the simple description of the matrix operation and eigenvalues/eigenvectors given above, it is always desirable to represent a given matrix or linear map by a diagonal matrix.
In fact, a given ''n''-by-''n'' matrix ''A'' is similar to a diagonal matrix (meaning that there is a matrix ''X'' such that ''XAX''-1 is diagonal) if and only if it has ''n'' linearly independent eigenvectors. Such matrices are said to be diagonalizable.
Over the field of real or complex numbers, more is true. The spectral theorem says that every normal matrix is unitarily similar to a diagonal matrix (if ''AA''
★ = ''A''
★ ''A'' then there exists a unitary matrix ''U'' such that ''UAU''
★ is diagonal). Furthermore, the singular value decomposition implies that for any matrix ''A'', there exist unitary matrices ''U'' and ''V'' such that ''UAV''
★ is diagonal with positive entries.
See also
★ Tridiagonal matrix
External links
★
References
★ Roger A. Horn and Charles R. Johnson, ''Matrix Analysis'', Cambridge University Press, 1985. ISBN 0-521-30586-1 (hardback), ISBN 0-521-38632-2 (paperback).
This article provided by Wikipedia. To edit the contents of this article, click here for original source.
psst.. try this: add to faves

العربية
中国
Français
Deutsch
Ελληνική
हिन्दी
Italiano
日本語
Português
Русский
Español