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 French échelon ("level" or step of a ladder), and refers to the fact that the nonzero entries of a matrix in row echelon form look like an inverted staircase.
For square matrices, an upper triangular matrix with nonzero entries on the diagonal is in row echelon form, and a matrix in row echelon form is (weakly) upper triangular. Thus, the row echelon form can be viewed as a generalization of upper triangular form for rectangular matrices.
A matrix is in reduced row echelon form if it is in row echelon form, with the additional property that the first nonzero entry of each row is equal to
1
A matrix is in column echelon form if its transpose is in row echelon form. Since all properties of column echelon forms can therefore immediately be deduced from the corresponding properties of row echelon forms, only row echelon forms are considered in the remainder of the article.
A matrix is in row echelon form if
Some texts add the condition that the leading coefficient must be 1[3] while others require this only in reduced row echelon form.
These two conditions imply that all entries in a column below a leading coefficient are zeros.
The following is an example of a
4 x 5
\left[\begin{array}{ccccc} 1&a0&a1&a2&a3\\ 0&0&2&a4&a5\\ 0&0&0&1&a6\\ 0&0&0&0&0 \end{array}\right]
Many properties of matrices may be easily deduced from their row echelon form, such as the rank and the kernel.
A matrix is in reduced row echelon form (also called row canonical form) if it satisfies the following conditions:
If the first two conditions are verified, the last condition is equivalent to:
While a matrix may have several echelon forms, its reduced echelon form is unique.
Given a matrix in reduced row echelon form, if one permutes the columns in order to have the leading of the th row in the th column, one gets a matrix of the form
\begin{pmatrix} I&X\ 0&0 \end{pmatrix},
j
j
n-j
j
n-j
A system of linear equations is said to be in row echelon form if its augmented matrix is in row echelon form. Similarly, a system of linear equations is said to be in reduced row echelon form or in canonical form if its augmented matrix is in reduced row echelon form.
The canonical form may be viewed as an explicit solution of the linear system. In fact, the system is inconsistent if and only if one of the equations of the canonical form is reduced to 0 = 1; that is if there is a leading in the column of the constant terms[4] Otherwise, regrouping in the right hand side all the terms of the equations but the leading ones, expresses the variables corresponding to the pivots as constants or linear functions of the other variables, if any.
See main article: Gaussian elimination.
Gaussian elimination is the main algorithm for transforming every matrix into a matrix in row echelon form. A variant, sometimes called Gauss–Jordan elimination produces a reduced row echelon form. Both consist of a finite sequence of elementary row operations; the number of required elementary row operations is at most for an -by- matrix.[5] For a given matrix, despite the row echelon form not being unique, all row echelon forms, including the reduced row echelon form, have the same number of zero rows and the pivots are located in the same positions.
This is an example of a matrix in reduced row echelon form, which shows that the left part of the matrix is not always an identity matrix:
\left[\begin{array}{ccccc} 1&0&a1&0&b1\\ 0&1&a2&0&b2\\ 0&0&0&1&b3 \end{array}\right]
For a matrix with integer coefficients, the Hermite normal form is a row echelon form that can be calculated without introducing any denominator, by using Euclidean division or Bézout's identity. The reduced echelon form of a matrix with integer entries generally contains non-integer entries, because of the need of dividing by its leading coefficient each row of the echelon form.
The non-uniqueness of the row echelon form of a matrix follows from the fact that some elementary row operations transform a matrix in row echelon form into another (equivalent) matrix that is also in row echelon form. These elementary row operations include the multiplication of a row by a nonzero scalar and the addition of a scalar multiple of a row to one of the rows above it. For example:
\begin{bmatrix}1&3&-1\ 0&1&7\ \end{bmatrix}\xrightarrow{addrow2torow1
\begin{bmatrix}1&3&-1\ 0&1&7\ \end{bmatrix}\xrightarrow{subtract3 x (row2)fromrow1
In this section and the following one, we denote the location of the columns containing the leading entries of the successive rows of a
k x n
A
(L1,...,Lj)
0<L1 … <Lj\len,
j\lek
(k,n,L1,\ldots,Lj)
A
\{
A | |
i,Li |
=1\}i=1,
Li
i
i>j
\begin{align} A | |
i,Li |
=1 &fori=1,...,
j,\\ A | |
l,Li |
=0 &forl\nei,\ Ai,=0 &forl<Li,\\ Ai,=0 &fori>j \end{align}.
Since all other entries are arbitrary elements of the base field
K
A(k,n,L1,\ldots,Lj)
(k,n,L1,\ldots,Lj)
dim(A(k,n,L1,...,Lj))=nj-
1 | |
2 |
j(j-1)-
j | |
\sum | |
i=1 |
Li.
To see this, note that, of the
nj
j
j2
0
1
(L1,...,Lj)
j(L | |
\sum | |
i-1) |
0
j-1 | |
\sum | |
i=0 |
i=
1 | |
2 |
j(j-1)
are also in the columns
(L1,...,Lj)
0
1
nj-j2+
1 | |
2 |
j(j-1)-
j | |
\sum | |
i=1 |
Li+j =nj-
1 | |
2 |
j(j-1)-
j | |
\sum | |
i=1 |
Li.
The row echelon form can be used to give a concrete description of the Schubert cells associated with the Grassmannian of
k
If
j=k\len
A\inA(k,n,L1,...,Lk)
k
k
w\subsetV
K
V:=Kn
w=span\{W1,...,Wk\}
of linear combinations
Wi:=
n | |
\sum | |
l=1 |
Ailel, i=1,...,k
of the elementary basis vectors
(e1,...,en)
A(k,n,L1,...,Lk)
Xλ(l{V})
Grk(V)
k
V
λ=(λ1\ge … \geλk\ge0)
with parts equal to
λi:=n-k-Li+i, 1\lej\lek,
relative to the complete flag
l{V}=(V1\subsetV2 … \subsetVn=V),
where
Vi=span\{e1,...,ei\}, i=1,...n.
This means that
Xλ(l{V})\subsetGrk(V)
k
w\subsetV
\{Vj\}j=1,
dim(w\capVj)=i, forn-k-λi+i\lej\len-k-λi+1+i, i=1,...,k.
|λ|=
k | |
\sum | |
i=1 |
λi
\dim({Xλ(l{V})})=|λ|.
An equivalent, but simpler characterization of the Schubert cell
Xλ(l{V})
\tilde{l{V}}=(\tilde{V}1\subset\tilde{V}2 … \subset\tilde{V}n=V),
where
\tilde{V}i=span\{en,...,en-i+1\}, i=1,...n.
Then
Xλ(l{V})\subsetGrk(V)
k
w\subsetV
(\tilde{W}1,...,\tilde{W}k)
\tilde{W}i\in
\tilde{V} | |
n-Li+1 |
=\tilde{V} | |
k+λi-i+1 |
, i=1,...,k
of the subspaces
\{\tilde{V} | |
k+λi-i+1 |
\}i=1,
(Wk,...,W1)
"A matrix is said to be in row echelon form ... (ii) If row does not consist entirely of zeros, the number of leading zero entries in row
k+1