Matrix which differs from the identity matrix by one elementary row operation
In mathematics, an elementary matrix is a square matrix obtained from the application of a single elementary row operation to the identity matrix. The elementary matrices generate the general linear groupGLn(F) when F is a field. Left multiplication (pre-multiplication) by an elementary matrix represents elementary row operations, while right multiplication (post-multiplication) represents elementary column operations.
There are three types of elementary matrices, which correspond to three types of row operations (respectively, column operations):
Row switching
A row within the matrix can be switched with another row.
Row multiplication
Each element in a row can be multiplied by a non-zero constant. It is also known as scaling a row.
Row addition
A row can be replaced by the sum of that row and a multiple of another row.
If E is an elementary matrix, as described below, to apply the elementary row operation to a matrix A, one multiplies A by the elementary matrix on the left, EA. The elementary matrix for any row operation is obtained by executing the operation on the identity matrix. This fact can be understood as an instance of the Yoneda lemma applied to the category of matrices.[1]
The first type of row operation on a matrix A switches all matrix elements on row i with their counterparts on a different row j. The corresponding elementary matrix is obtained by swapping row i and row j of the identity matrix.
So Ti,j A is the matrix produced by exchanging row i and row j of A.
Coefficient wise, the matrix Ti,j is defined by :
Properties
The inverse of this matrix is itself:
Since the determinant of the identity matrix is unity, It follows that for any square matrix A (of the correct size), we have
For theoretical considerations, the row-switching transformation can be obtained from row-addition and row-multiplication transformations introduced below because
Row-multiplying transformations
The next type of row operation on a matrix A multiplies all elements on row i by m where m is a non-zero scalar (usually a real number). The corresponding elementary matrix is a diagonal matrix, with diagonal entries 1 everywhere except in the ith position, where it is m.
So Di(m)A is the matrix produced from A by multiplying row i by m.
Coefficient wise, the Di(m) matrix is defined by :
Therefore, for a square matrix A (of the correct size), we have
Row-addition transformations
The final type of row operation on a matrix A adds row j multiplied by a scalar m to row i. The corresponding elementary matrix is the identity matrix but with an m in the (i, j) position.
So Lij(m)A is the matrix produced from A by adding m times row j to row i.
And A Lij(m) is the matrix produced from A by adding m times column i to column j.
Coefficient wise, the matrix Li,j(m) is defined by :
Properties
These transformations are a kind of shear mapping, also known as a transvections.