An matrix matrix is a rectangular array of numbers with rows and columns. Each is called entry.
A matrix is said to be of dimension (shape) if it is an matrix.
Let us consider a few examples.
The matrix
is a matrix. For entry we have ; similarly , and so forth.
The matrix
is a matrix. We have , and .
Warning: the following is not a matrix.
It is important to distinguish matrices, equivalently to identify matrices that are the same.
Let and be two matrices. They are equal
if , and for all we have
Any matrix is equal to itself. From the above examples and , however . Recall the matrix we have
and
There are multiple special matrix classes that have their own names as they are encountered quite often. For example matrix is a row matrix sometimes just called a row or a row vector e.g., , and are all row matrices. These are the rows of matrix defined above.
Similarly matrix is a column also called a column matrix or a (column) vector. Each of the following
is a matrix, equivalently a column. They are respectively the second, third, forth and fifth column of matrix . The last column matrix is also the first column of .
The entries of a row/column matrices are also called components.
An matrix is called square (matrix) of order if .
Here are two square matrices.
In a matrix the set of entries is called the (main) diagonal. Often matrices have only zeroes either above or below their diagonal. In that case they are called triangular matrices.
The following are two triangular matrices, the first one is lower triangular, the second is upper triangular.
A square matrix whose only non-zero entries are on its main diagonal is called diagonal matrix. If all diagonal entries are equal to each other the matrix is scalar matrix. A scalar matrix whose diagonal entries are all equal to one is an identity matrix. There is only one identity matrix of a given order.
A diagonal, a scalar and an identity matrix all of order three.