In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, an elementary matrix is a square
matrix
Matrix (: matrices or matrixes) or MATRIX may refer to:
Science and mathematics
* Matrix (mathematics), a rectangular array of numbers, symbols or expressions
* Matrix (logic), part of a formula in prenex normal form
* Matrix (biology), the m ...
obtained from the application of a single elementary row operation to the
identity matrix
In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
. The elementary matrices generate the
general linear group
In mathematics, the general linear group of degree n is the set of n\times n invertible matrices, together with the operation of ordinary matrix multiplication. This forms a group, because the product of two invertible matrices is again inve ...
when 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
In mathematics, Gaussian elimination, also known as row reduction, is an algorithm for solving systems of linear equations. It consists of a sequence of row-wise operations performed on the corresponding matrix of coefficients. This method can a ...
to reduce a matrix to
row echelon form
In linear algebra, a matrix is in row echelon form if it can be obtained as the result of Gaussian elimination. Every matrix can be put in row echelon form by applying a sequence of elementary row operations. The term ''echelon'' comes from the F ...
. They are also used in
Gauss–Jordan elimination to further reduce the matrix to
reduced row echelon form
In linear algebra, a matrix is in row echelon form if it can be obtained as the result of Gaussian elimination. Every matrix can be put in row echelon form by applying a sequence of elementary row operations. The term ''echelon'' comes from the ...
.
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 is an elementary matrix, as described below, to apply the elementary row operation to a matrix , one multiplies by the elementary matrix on the left, . The elementary matrix for any row operation is obtained by executing the operation on the
identity matrix
In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
. This fact can be understood as an instance of the
Yoneda lemma
In mathematics, the Yoneda lemma is a fundamental result in category theory. It is an abstract result on functors of the type ''morphisms into a fixed object''. It is a vast generalisation of Cayley's theorem from group theory (viewing a group as a ...
applied to the category of matrices.
Row-switching transformations
The first type of row operation on a matrix switches all matrix elements on row with their counterparts on a different row . The corresponding elementary matrix is obtained by swapping row and row of the
identity matrix
In linear algebra, the identity matrix of size n is the n\times n square matrix with ones on the main diagonal and zeros elsewhere. It has unique properties, for example when the identity matrix represents a geometric transformation, the obje ...
.
:
So is the matrix produced by exchanging row and row of .
Coefficient wise, the matrix is defined by :
:
Properties
* The inverse of this matrix is itself:
* Since the
determinant
In mathematics, the determinant is a Scalar (mathematics), scalar-valued function (mathematics), function of the entries of a square matrix. The determinant of a matrix is commonly denoted , , or . Its value characterizes some properties of the ...
of the identity matrix is unity,
It follows that for any square matrix (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 multiplies all elements on row by where 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 th position, where it is .
:
So is the matrix produced from by multiplying row by .
Coefficient wise, the matrix is defined by :
:
Properties
* The inverse of this matrix is given by
* The matrix and its inverse are
diagonal matrices
In linear algebra, a diagonal matrix is a matrix in which the entries outside the main diagonal are all zero; the term usually refers to square matrices. Elements of the main diagonal can either be zero or nonzero. An example of a 2×2 diagona ...
.
*
Therefore, for a square matrix (of the correct size), we have
Row-addition transformations
The final type of row operation on a matrix adds row multiplied by a scalar to row . The corresponding elementary matrix is the identity matrix but with an in the position.
:
So is the matrix produced from by adding times row to row .
And is the matrix produced from by adding times column to column .
Coefficient wise, the matrix is defined by :
:
Properties
* These transformations are a kind of
shear mapping
In plane geometry, a shear mapping is an affine transformation that displaces each point in a fixed direction by an amount proportional to its signed distance function, signed distance from a given straight line, line parallel (geometry), paral ...
, 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 (of the correct size) we have
* Row-addition transforms satisfy the
Steinberg relations
Steinberg Media Technologies GmbH (trading as Steinberg; ) is a German musical software and hardware company based in Hamburg. It develops software for writing, recording, arranging and editing music, most notably Steinberg Cubase, Cubase, Stein ...
.
See also
*
Gaussian elimination
In mathematics, Gaussian elimination, also known as row reduction, is an algorithm for solving systems of linear equations. It consists of a sequence of row-wise operations performed on the corresponding matrix of coefficients. This method can a ...
*
Linear algebra
Linear algebra is the branch of mathematics concerning linear equations such as
:a_1x_1+\cdots +a_nx_n=b,
linear maps such as
:(x_1, \ldots, x_n) \mapsto a_1x_1+\cdots +a_nx_n,
and their representations in vector spaces and through matrix (mathemat ...
*
System of linear equations
In mathematics, a system of linear equations (or linear system) is a collection of two or more linear equations involving the same variable (math), variables.
For example,
: \begin
3x+2y-z=1\\
2x-2y+4z=-2\\
-x+\fracy-z=0
\end
is a system of th ...
*
Matrix (mathematics)
In mathematics, a matrix (: matrices) is a rectangle, rectangular array or table of numbers, symbol (formal), symbols, or expression (mathematics), expressions, with elements or entries arranged in rows and columns, which is used to represent ...
*
LU decomposition
In numerical analysis and linear algebra, lower–upper (LU) decomposition or factorization factors a matrix as the product of a lower triangular matrix and an upper triangular matrix (see matrix multiplication and matrix decomposition). The produ ...
*
Frobenius matrix
References
*
*
*
*
*
*
*
*
{{DEFAULTSORT:Elementary Matrix
Linear algebra