11 SPECIAL CLASSES OF MATRICES
- Square Matrices
- Identity and diagonal matrices
- Triangular matrices
- Symmetric matrices
- Orthogonal Matrices
- Dyads
11.1 Some special square matrices
Square matrices are matrices that have the same number of rows as columns. The following are important instances of square matrices.
Identity matrix
The identity matrix (often denoted , or simply , if the context allows), has ones on its diagonal and zeros elsewhere. It is square, diagonal, and symmetric. This matrix satisfies for every matrix with columns, and for every matrix with rows.
Example 1: Identity matrix |
The identity matrix, denoted , is given by: |
|
This matrix has ones on its diagonal and zeros elsewhere. When multiplied by any matrix , the product remains , and similarly, for any matrix of size . |
Diagonal matrices
Diagonal matrices are square matrices with when . A diagonal matrix can be denoted as , with the vector containing the elements on the diagonal. We can also write
where by convention the zeros outside the diagonal are not written.
Symmetric matrices
Symmetric matrices are square matrices that satisfy for every pair . An entire section is devoted to symmetric matrices.
Example 2: A symmetric matrix |
The matrix |
|
is symmetric. The matrix |
|
is not, since it is not equal to its transpose.
|
Triangular matrices
A square matrix is upper triangular if when . Here are a few examples:
A matrix is lower triangular if its transpose is upper triangular. For example:
Orthogonal matrices
Orthogonal (or, unitary) matrices are square matrices, such that the columns form an orthonormal basis. If is an orthogonal matrix, then
Thus, Similarly,
Orthogonal matrices correspond to rotations or reflections across a direction: they preserve length and angles. Indeed, for every vector ,
Thus, the underlying linear map preserves the length (measured in Euclidean norm). This is sometimes referred to as the rotational invariance of the Euclidean norm.
In addition, angles are preserved: if are two vectors with unit norm, then the angle between them satisfies , while the angle between the rotated vectors satisfies . Since
we obtain that the angles are the same. (The converse is true: any square matrix that preserves lengths and angles is orthogonal.)
Geometrically, orthogonal matrices correspond to rotations (around a point) or reflections (around a line passing through the origin).
Examples 3: A orthogonal matrix |
The matrix |
|
is orthogonal. |
The vector is transformed by the orthogonal matrix above into |
|
Thus, corresponds to a rotation of angle degrees counter-clockwise. |
See also: Permutation matrices
11.2 Dyads
Dyads are a special class of matrices, also called rank-one matrices, for reasons seen later.
Definition
A matrix is a dyad if it is of the form for some vectors . The dyad acts on an input vector as follows:
In terms of the associated linear map, for a dyad, the output always points in the same direction in output space (), no matter what the input is. The output is thus always a simple scaled version of . The amount of scaling depends on the vector , via the linear function .
See also: Single-factor models of financial data.
Normalized dyads
We can always normalize the dyad, by assuming that both are of unit (Euclidean) norm, and using a factor to capture their scale. That is, any dyad can be written in normalized form:
where , and .