Matrices/K/Introduction/Section
A system of linear equations can easily be written with a matrix. This allows us to make the manipulations that lead to the solution of such a system without writing down the variables. Matrices are quite simple objects; however, they can represent quite different mathematical objects (e.g., a family of column vectors, a family of row vectors, a linear mapping, a table of physical interactions, a relation, a linear vector field, etc.), which one has to keep in mind in order to prevent wrong conclusions.
We will usually restrict to this last situation.
For every , the family , , is called the -th row of the matrix, which is usually written as a row tuple (or row vector)
For every , the family , , is called the -th column of the matrix, usually written as a column tuple (or column vector)
The elements are called the entries of the matrix. For , the number is called the row index, and is called the column index of the entry. The position of the entry is where the -th row meets the -th column. A matrix with is called a square matrix. An -matrix is simply a column tuple (or column vector) of length , and an -matrix is simply a row tuple (or row vector) of length . The set of all matrices with rows and columns (and with entries in ) is denoted by ; in case we also write .
Two matrices are added by adding corresponding entries. The multiplication of a matrix with an element (a scalar) is also defined entrywise, so
and
The multiplication of matrices is defined in the following way:
Let denote a field, and let denote an -matrix and an -matrix over . Then the matrix product
is the -matrix, whose entries are given by
A matrix multiplication is only possible when the number of columns of the left-hand matrix equals the number of rows of the right-hand matrix. Just think of the scheme
the result is an -Matrix. In particular, one can multiply an -matrix with a column vector of length (the vector on the right), and the result is a column vector of length . The two matrices can also be multiplied with roles interchanged,