Special Matrices
Zero Matrices
The m×n zero matrix is denoted by 0mn and has all entries equal to zero. For example, the 3×4 zero matrix is 034=[000000000000].
Identity Matrices
The n×n identity matrix is denoted by In and has all entries equal to zero except for the diagonal, which is all 1. For example, the 4×4 identity matrix is I4=[1000010000100001].
Diagonal Matrices
A n×n diagonal matrix has all entries equal to zero except for the diagonal entries. We typically use D for diagonal matrices. For ecample, 4×4 diagonal matrices have the form: [d110000d220000d330000d44].
Triangular Matrices
A lower-triangular matrix is a square matrix that is entirely zero above the diagonal. We typically use L for lower-triangular matrices. For example, 4×4 lower-triangular matrices have the form: L=[ℓ11000ℓ21ℓ2200ℓ31ℓ32ℓ330ℓ41ℓ42ℓ43ℓ44].
An upper triangular matrix is a square matrix that is entirely zero below the diagonal. We typically use U for upper-triangular matrices. For example, 4×4 upper-triangular matrices have the form: U=[u11u12u13u140u22u23u2400u33u34000u44].
Properties of triagular matrices:
- An n×n triangular matrix has n(n−1)/2 entries that must be zero, and n(n+1)/2 entries that are allowed to be non-zero.
- Zero matrices, identity matrices, and diagonal matrices are all both lower triangular and upper triangular.
Permutation Matrices
A permuation matrix is a square matrix that is all zero, except for a single entry in each row and each column which is 1. We typically use P for permutation matrices. An example of a 4×4 permutation matrix is P=[0100000110000010].
The properties of a permutation matrix are:
- Exactly n entries are non-zero.
- Multiplying a vector with a permutation matrix permutes (rearranges) the order of the entries in the vector. For example, using P above and x=[1,2,3,4]T, the product is Px=[2,4,1,3]T.
- If Pij=1 then (Px)i=xj.
- The inverse of a permutation matrix is its transpose, so PPT=PTP=I.
Block Form
A matrix in block form is a matrix partitioned into blocks. A block is simply a submatrix. For example, consider M=[ABCD] where A, B, C, and D are submatrices.
There are special matrices in block form as well. For instance, a block diagonal matrix is a block matrix whose off-diagonal blocks are zero matrices.