A matrix is a rectangular array of mathematical objects with elements or entries arranged in rows and columns, usually satisfying certain properties of addition and multiplication.
Most commonly, a matrix over a field is a rectangular array of elements of . The objects in the matrix are called its entries or its elements.
The horizontal and vertical lines of entries in a matrix are called rows and columns, respectively.
A matrix with rows and columns is called an matrix, or -by- matrix, where and are called its dimensions.
An matrix takes the form
where entry is the entry of in row and column .
This can be abbreviated
Matrices of the same size can be added entrywise:
or, explicitly,
The product of a matrix with a scalar, i.e. scalar multiplication, is computed by multiplying each element of the matrix by the scalar:
or, explicitly,
The transpose of an matrix is the matrix , constructed such that the row of is the column of and the column of is the row of :
A matrix is said to be symmetric if
A matrix is said to be skew-symmetric if
Matrix multiplication of two matrices corresponds to the composition of linear transformations represented by each matrix, and is only defined if the number of columns of the left matrix is equal to the number of rows of the right matrix.
If is an matrix and is an matrix, then the matrix product is the matrix whose entries are given by the dot product of the corresponding row of and column of :