Special Matrices
Definition
Several matrix types with restricted structure arise frequently in linear algebra, each with special algebraic properties.
Intuition
Structured matrices trade generality for efficiency and interpretability. Diagonal matrices scale each axis independently; orthogonal matrices rotate (and reflect) without stretching; triangular matrices encode dependency order that can be exploited by forward/back substitution; permutation matrices simply reorder rows or columns. Recognising the structure of a matrix unlocks faster algorithms and stronger theoretical guarantees.
Formal Description
Zero Matrix
Denoted ; all elements are zero. Multiplication by a zero matrix yields a zero matrix.
Identity Matrix
Denoted ; a square matrix with ones on the diagonal and zeros elsewhere. For any conformable square matrix :
Diagonal Matrix
A (typically square) matrix with nonzero elements only on the main diagonal:
Banded Matrix
A banded matrix has nonzero elements only on the main diagonal and a finite number of adjacent diagonals. A tridiagonal matrix (bandwidth 1) has nonzero elements on the main diagonal and the diagonals immediately above and below:
Triangular Matrices
A square matrix with all zeros below (upper triangular) or above (lower triangular) the main diagonal:
Permutation Matrix
A permutation matrix is a row-permuted identity matrix. Left-multiplying by permutes the rows of a matrix; right-multiplying permutes columns. For example, the row permutation is:
A permutation matrix satisfies (it is orthogonal), since it is an orthogonal identity permutation. A matrix has possible row permutations.
Orthogonal Matrix
A square real matrix satisfying , equivalently:
The columns (and rows) of form an orthonormal set: and for . An orthogonal matrix preserves vector lengths:
Rotation Matrix
A rotation matrix is an orthogonal matrix that rotates vectors without changing their length. The matrix rotating a vector counterclockwise by angle in the - plane is derived from the cosine and sine addition formulae:
- Permutation and rotation matrices are both orthogonal: , .
- Products of orthogonal matrices are orthogonal.
- Triangular matrices arise in LU decomposition; diagonal matrices arise in diagonalisation and SVD.
Applications
- Diagonal matrices enable inversion and multiplication, used in preconditioning and eigendecomposition.
- Permutation matrices appear in LU decomposition with pivoting () to improve numerical stability.
- Orthogonal matrices appear in QR decomposition and are numerically stable as they preserve condition numbers.
- Rotation matrices are the building block of rigid-body transformations in robotics and computer graphics.
Trade-offs
- An orthogonal matrix in the real case can represent a rotation or a reflection (); pure rotations require .
- Diagonal and triangular structure is generally lost under addition; sums of triangular matrices are triangular, but sums of diagonal matrices may become triangular.
- Banded structure can be destroyed by matrix inversion — the inverse of a banded matrix is typically dense.