'''Elementary matrix transformations''' or '''elementary row and column transformations''' are [[linear transformation]]s which are normally used in [[Gaussian elimination]] to solve a set of [[linear equation]]s. When a matrix is multiplied by an elementary matrix, the matrix would be transformed the same as if we did the operation itself. For example, when we multiply a matrix by the row-switching transformation elementary matrix, the matrix would switch the rows much like if you did the row-switching manually.
We distinguish three types of elementary transformations and their corresponding matrices:
# '''Row-switching''' transformations,
# '''Row-multiplying''' transformations,
# '''Linear combinator''' transformations.
Column transformations may be defined similarly.
==Row-switching transformations==
This transformation, ''T<sub>ij</sub>'', switches all matrix elements on row ''i'' with their counterparts on row ''j''. The matrix resulting in this transformation is obtained by swapping row ''i'' and row ''j'' of the [[identity matrix]].
:That is, ''T<sub>ij</sub>'' is the matrix produced by exchanging row ''i'' and row ''j'' of the identity matrix.
===Properties===
:*The inverse of this matrix is itself: ''T<sub>ij</sub><sup>−1</sup>=T<sub>ij</sub>''.
:*Since the [[determinant]] of the identity matrix is unity, det[''T''<sub>''ij''</sub>] = −1. It follows that for any [[conformable]] square matrix ''A'': det[''T''<sub>''ij''</sub>''A''] = −det[''A''].
==Row-multiplying transformations==
This transformation, ''T<sub>i</sub>''(''m''), multiplies all elements on row ''i'' by ''m'' where ''m'' is non zero. The matrix resulting in this transformation is obtained by multiplying all elements of row ''i'' of the identity matrix by ''m''.
:*The inverse of this matrix is: ''T<sub>i</sub>''(''m'')<sup>−1</sup> = ''T<sub>i</sub>''(1/''m'').
:*The matrix and its inverse are [[diagonal matrix|diagonal matrices]].
:*det[''T''<sub>''i''</sub>(m)] = ''m''. Therefore for a conformable square matrix ''A'': det[''T''<sub>''i''</sub>(''m'')''A''] = ''m'' det[''A''].
==Linear combinator transformations==
This transformation, ''T<sub>ij</sub>''(''m''), subtracts row ''j'' multiplied by ''m'' from row ''i''. The matrix resulting in this transformation is obtained by taking row ''j'' of the identity matrix, and subtracting from it ''m'' times row ''i''.
:*The matrix and its inverse are [[triangular matrix|triangular matrices]].
:*det[''T<sub>ij</sub>''(''m'')] = 1. Therefore, for a [[conformable matrix|conformable]] square matrix ''A'': det[''T''<sub>''ij''</sub>(''m'')''A''] = det[''A''].
==Use of these transformations==
These transformations, the matrices of which are called elementary matrices, are the ones which convert a given system of equations, into one suitable for obtaining the solution in the Gauss elimination method. Directly applying any of these transforms on a matrix is equivalent to pre multiplying (post multiplying) that matrix by the corresponding row transformation (column transformation).