Elementary matrix
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 group Template:Math when Template:Math is a field. Left multiplication (pre-multiplication) by an elementary matrix represents elementary row operations, while right multiplication (post-multiplication) represents elementary column operations.
Elementary row operations are used in Gaussian elimination to reduce a matrix to row echelon form. They are also used in Gauss–Jordan elimination to further reduce the matrix to reduced row echelon form.
Elementary row 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 Template:Mvar is an elementary matrix, as described below, to apply the elementary row operation to a matrix Template:Mvar, one multiplies Template:Mvar by the elementary matrix on the left, Template:Mvar. 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]
Row-switching transformations
Template:See also The first type of row operation on a matrix Template:Mvar switches all matrix elements on row Template:Mvar with their counterparts on a different row Template:Mvar. The corresponding elementary matrix is obtained by swapping row Template:Mvar and row Template:Mvar of the identity matrix.
So Template:Mvar is the matrix produced by exchanging row Template:Mvar and row Template:Mvar of Template:Mvar.
Coefficient wise, the matrix Template:Mvar 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 Template:Mvar (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 Template:Mvar multiplies all elements on row Template:Mvar by Template:Mvar where Template:Mvar 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 Template:Mvarth position, where it is Template:Mvar.
So Template:Math is the matrix produced from Template:Mvar by multiplying row Template:Mvar by Template:Mvar.
Coefficient wise, the Template:Math matrix is defined by :
Properties
- The inverse of this matrix is given by
- The matrix and its inverse are diagonal matrices.
- Therefore, for a square matrix Template:Mvar (of the correct size), we have
Row-addition transformations
The final type of row operation on a matrix Template:Mvar adds row Template:Mvar multiplied by a scalar Template:Mvar to row Template:Mvar. The corresponding elementary matrix is the identity matrix but with an Template:Mvar in the Template:Math position.
So Template:Math is the matrix produced from Template:Mvar by adding Template:Mvar times row Template:Mvar to row Template:Mvar. And Template:Math is the matrix produced from Template:Mvar by adding Template:Mvar times column Template:Mvar to column Template:Mvar.
Coefficient wise, the matrix Template:Math is defined by :
Properties
- These transformations are a kind of shear mapping, also known as a transvections.
- The inverse of this matrix is given by
- The matrix and its inverse are triangular matrices.
- Therefore, for a square matrix Template:Mvar (of the correct size) we have
- Row-addition transforms satisfy the Steinberg relations.
See also
- Gaussian elimination
- Linear algebra
- System of linear equations
- Matrix (mathematics)
- LU decomposition
- Frobenius matrix