Diagonal matrix: Difference between revisions
Line 26: | Line 26: | ||
| 2 || <math>\begin{pmatrix} a_{11} & 0 \\ 0 & a_{22} \\\end{pmatrix}</math> || 2 | | 2 || <math>\begin{pmatrix} a_{11} & 0 \\ 0 & a_{22} \\\end{pmatrix}</math> || 2 | ||
|- | |- | ||
| 3 || <math>\begin{ | | 3 || <math>\begin{pmatrix} a_{11} & 0 & 0 \\ 0 & a_{22} & 0 \\ 0 & 0 & a_{33}\\\end{pmatrix}</math> || 3 | ||
==Encoding== | ==Encoding== |
Revision as of 19:15, 29 April 2014
This article defines a property that can be evaluated for a square matrix. In other words, given a square matrix (a matrix with an equal number of rows and columns) the matrix either satisfies or does not satisfy the property.
View other properties of square matrices
Definition
Verbal definition
A diagonal matrix is a square matrix for which all the off-diagonal entries are zero, or equivalently, all nonzero entries are on the diagonal. Note that it is also possible that some (or even all) the diagonal entries are zero.
Algebraic description
Suppose is a positive integer. Suppose is a matrix. We say that is a diagonal matrix if the following holds:
In general, a diagonal matrix has the following appearance:
Small cases
General description of diagonal matrix | Number of free parameters (equals ) | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 1 | |||||||||||||||||||
2 | 2 | |||||||||||||||||||
3 | 3
EncodingA matrix that is known to be diagonal may simply be encoded using an ordered list of its diagonal entries. For a matrix, this requires space for entries (in contrast with space for entries for an arbitrary square matrix). Matrix operationsUnless otherwise specified, diagonal matrices are diagonal matrices.
|