Matrix which differs from the identity matrix by one elementary row operation
Inmathematics, anelementary matrix is a squarematrix obtained from the application of a single elementary row operation to theidentity matrix. The elementary matrices generate thegeneral linear groupGLn(F) whenF is afield. Left multiplication (pre-multiplication) by an elementary matrix represents the correspondingelementary row operation, while right multiplication (post-multiplication) represents the correspondingelementary column operation.
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 asscaling a row.
Row addition
A row can be replaced by the sum of that row and a multiple of another row.
IfE is an elementary matrix, as described below, to apply the elementary row operation to a matrixA, one multipliesA by the elementary matrix on the left,EA. The elementary matrix for any row operation is obtained by executing the operation on theidentity matrix. This fact can be understood as an instance of theYoneda lemma applied to the category of matrices.[1]
The first type of row operation on a matrixA switches all matrix elements on rowi with their counterparts on a different rowj. The corresponding elementary matrix is obtained by swapping rowi and rowj of theidentity matrix.
SoTi,j A is the matrix produced by exchanging rowi and rowj ofA.
Since thedeterminant of the identity matrix is unity, It follows that for any square matrixA (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
The next type of row operation on a matrixA multiplies all elements on rowi bym wherem is a non-zeroscalar (usually a real number). The corresponding elementary matrix is a diagonal matrix, with diagonal entries 1 everywhere except in theith position, where it ism.
SoDi(m)A is the matrix produced fromA by multiplying rowi bym.
The final type of row operation on a matrixA adds rowj multiplied by a scalarm to rowi. The corresponding elementary matrix is the identity matrix but with anm in the(i, j) position.
SoLij(m)A is the matrix produced fromA by addingm times rowj to rowi. AndA Lij(m) is the matrix produced fromA by addingm times columni to columnj.
Coefficient wise, the matrixLi,j(m) is defined by :