A matrix of order m × n, or m by n matrix, is a rectangular array of numbers having m rows and n columns. It can be written in the form
Each number
in this matrix is called an element. The subscripts
and
indicate respectively the row and column of the matrix in which the element appears.
We shall often denote a matrix by a letter, such as
in (1), or by the symbol
which shows a representative element.
A matrix having only one row is called a row matrix or row vector while a matrix having only one column is called a column matrix or column vector. If the number of rows
and columns
are equal the matrix is called a square matrix of order
or briefly
. A matrix is said to be a real matrix or complex matrix according as its elements are real or complex numbers.
Definition of a matrix