In the special case where a matrix has the same numbers of rows and columns, it is said to be square. If A⊤=A, the matrix is said to be symmetric.
Symmetric:[122−1]Not symmetric:[302−1]
Note that a matrix cannot be symmetric unless it is square.
The elements Aii of a matrix are called its diagonal entries; a matrix for which Aij=0 for all i=j is said to be a diagonal matrix:
1000−10005
Consider in particular the following diagonal matrix:
I=100010001
Note that this matrix has the interesting property that (AI)ij=Aij for all i,j; in other words, AI=IA=A. Because of this property, I is referred to as the identity matrix.
Some other notations which are commonly used are 1, the vector (or matrix) of 1s, and 0, the vector (or matrix) of zeros:
1=[111]0=[000]
The dimensions of these matrices is sometimes explicitly specified, as in 02×2, I5×5, or 14×1. Other times it is obvious from context what the dimensions must be.
Finally, the vector ej is also useful: it has element ej=1 and ek=0 for all other elements:
e2=010.
This is useful for selecting a single element of a vector: u⊤e3=u3.