A matrix is a rectangular array of numbers. If the array has nrows and m columns then it is said to be an n x mmatrix. The element in the ith row and jth column of the matrix A is denoted by Aij. The notation A = (Aij) is common.
A = ![]() |
A matrix with the same number of rows as columns is called a square matrix. A matrix with one column is called a column vector and a matrix with one row is called a row vector .
The diagonal of the square matrix A is the top-left to bottom-right diagonal A11, A22,...,Ann.
A square matrix is said to be diagonal if all the elements off
the diagonal are zero. That is to say Aij = 0 if i
j.
A square matrix is said to be upper triangular if all elements below the diagonal are zero. Similarly for lower triangular .
A square matrix is said to be symmetric if its elements are symmetric about the diagonal. That is to say Aij = Aji for all i and j.
A square matrix is said to be skew-symmetric or anti-symmetric if Aij = - Aji for all i and j. In particular this implies that the diagonal elements must be zero (since Aii = - Aii).
symmetric matrix : skew-symmetric matrix : ![]() |
The n x n Identity Matrix (or Unit Matrix) is the diagonal matrix In with 1's down its diagonal. It has to be a square matrix. If the size of the matrix is obvious from context we usually just write I for the Identity matrix.
The n x m Zero Matrix 0 is the matrix of that size which has all its elements zero.
The Transpose of the n x m matrix A is the m x nmatrix AT given by ATij = Aji.