Skip to content

Mathematics · Ch 3 — Matrices

Order and Types of Matrices

2

Order and Types of Matrices

Order of a Matrix

If a matrix AA has mm rows and nn columns, we say AA is a matrix of order m×nm\times n (read "mm by nn"), and it has exactly mnmn elements in all -- the row-count is always stated first. A matrix of order 2×32\times3 has 22 rows, 33 columns, and 66 elements; a matrix of order 3×23\times2 has 33 rows, 22 columns, and also 66 elements, but it is not the same order as a 2×32\times3 matrix, since order is an ordered pair. Because the order of a matrix with a given number of elements is not unique in general (Exercise: Matrix Notation and Types, Q1 asks exactly this), the order must always be stated alongside the matrix itself.

Types of Matrices by Shape

  • Row matrix. A matrix with exactly one row, order 1×n1\times n, e.g. [123]\begin{bmatrix}1&2&3\end{bmatrix}.
  • Column matrix. A matrix with exactly one column, order m×1m\times1, e.g. [456]\begin{bmatrix}4\\5\\6\end{bmatrix}.
  • Square matrix. A matrix in which the number of rows equals the number of columns, order n×nn\times n; nn is then called the order of the square matrix. Only square matrices have a well-defined main diagonal (the entries a11,a22,…,anna_{11},a_{22},\ldots,a_{nn}) and only square matrices can possibly be invertible (Section 9).
  • Rectangular matrix. Any matrix that is not square, i.e. the number of rows and columns differ.

Types of Matrices by Pattern of Entries

  • Zero (or null) matrix. Every entry is 00, denoted OO, e.g. O=[0000]O=\begin{bmatrix}0&0\\0&0\end{bmatrix}. A zero matrix can have any order, not only square.
  • Diagonal matrix. A square matrix in which every entry off the main diagonal is 00 (entries on the diagonal may be anything, including 00), e.g. [300−5]\begin{bmatrix}3&0\\0&-5\end{bmatrix}. Formally, aij=0a_{ij}=0 whenever i≠ji\neq j.
  • Scalar matrix. A diagonal matrix in which every diagonal entry is the same number kk, e.g. [2002]\begin{bmatrix}2&0\\0&2\end{bmatrix}. Every scalar matrix is automatically a diagonal matrix, but a diagonal matrix with unequal diagonal entries (such as [300−5]\begin{bmatrix}3&0\\0&-5\end{bmatrix} above) is diagonal without being scalar -- see Exercise: Matrix Notation and Types, Q4. …