Row echelon form

From testwiki
Revision as of 06:48, 21 December 2024 by imported>Citation bot (Altered pages. Add: authors 1-1. Removed parameters. Formatted dashes. Some additions/deletions were parameter name changes. | Use this bot. Report bugs. | Suggested by Dominic3203 | Category:Numerical linear algebra | #UCB_Category 48/123)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Short description

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 and is the only nonzero entry of its column. The reduced row echelon form of a matrix is unique and does not depend on the sequence of elementary row operations used to obtain it. The variant of Gaussian elimination that transforms a matrix to reduced row echelon form is sometimes called Gauss–Jordan elimination.

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.

(General) row echelon form

Template:Anchor A matrix is in row echelon form if

  • All rows having only zero entries are at the bottom.[1]
  • The leading entry (that is, the left-most nonzero entry) of every nonzero row, called the pivot, is on the right of the leading entry of every row above.[2]

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.[4]

The following is an example of a 4×5 matrix in row echelon form, but not in reduced row echelon form (see below):

[1a0a1a2a3002a4a50001a600000]

Many properties of matrices may be easily deduced from their row echelon form, such as the rank and the kernel.

Template:AnchorReduced row echelon form

A matrix is in reduced row echelon form (also called row canonical form) if it satisfies the following conditions:[5]

  • It is in row echelon form.
  • The leading entry in each nonzero row is Template:Math (called a leading one).
  • Each column containing a leading Template:Math has zeros in all its other entries.

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 Template:Math of the Template:Mvarth row in the Template:Mvarth column, one gets a matrix of the form

(IX00),

where Template:Mvar is the identity matrix of dimension j equal to the rank of the entire matrix, Template:Mvar is a matrix with j rows and nj columns, and the two Template:Math's are zero matrices of appropriate size. Since a permutation of columns is not a row operation, the resulting matrix is inequivalent under elementary row operations. In the Gaussian elimination method, this corresponds to a permutation of the unknowns in the original linear system that allows a linear parametrization of the row space, in which the first j coefficients are unconstrained, and the remaining nj are determined as linear combinations of these.

Systems of linear equations

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 Template:Mvar in the column of the constant terms.[6] 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.

Transformation to row echelon form

Template:Main

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 Template:Mvar for an Template:Mvar-by-Template:Mvar matrix.[7] 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.[7]

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:

[10a10b101a20b20001b3]

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:

[131017]add row 2 to row 1[146017].

In this example, the unique reduced row echelon form can be obtained by subtracting three times the second row from the first row :

[131017]subtract 3×(row 2) from row 1[1022017].

Affine spaces of reduced echelon forms

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×n matrix A in reduced row echelon form (the pivots) as (L1,,Lj), with

0<L1<Ljn,

where jk is the dimension of the row space of the matrix. The data (k,n,L1,,Lj) will be called the shape of A, which has leading non-zero entries {Ai,Li=1}i=1,,j, the entries in the column Li above and below it vanish, and so do all those to the left of it within the same row, as well as all entries in the ith row for i>j:

Ai,Li=1for i=1,,j,Al,Li=0for li,Ai,l=0for l<Li,Ai,l=0for i>j.

Since all other entries are arbitrary elements of the base field K, the set A(k,n,L1,,Lj) of all reduced echelon form matrices with shape (k,n,L1,,Lj) is a Template:Mvar-affine space of dimension[8][9]

dim(A(k,n,L1,,Lj))=nj12j(j1)i=1jLi.

To see this, note that, of the nj possible matrix entries within the first j rows, j2 are determined as 0's and 1's because they are in the columns (L1,,Lj) containing the pivots. A further i=1j(Li1) are also required to be 0, because they are to the left of the pivots, but of these,

i=0j1i=12j(j1)

are also in the columns (L1,,Lj). Therefore, the total number of entries that are not fixed to be equal to 0 or 1 is

njj2+12j(j1)i=1jLi+j=nj12j(j1)i=1jLi.

Maximal rank: Schubert cells

The row echelon form can be used to give a concrete description of the Schubert cells associated with the Grassmannian of k-dimensional subspaces of a vector space.

If j=kn, the matrices AA(k,n,L1,,Lk) are of maximal rank k, and determine k-dimensional subspaces wV of the free K-module V:=Kn, as the span

w=span{W1,,Wk}

of linear combinations

Wi:=l=1nAilel,i=1,,k

of the elementary basis vectors (e1,,en), with coefficients equal to the row vectors. In this case, the affine space A(k,n,L1,,Lk) is the Schubert cell[8][9] Xλ(𝒱) of the Grassmannian 𝐆𝐫k(V), consisting of k-dimensional subspaces of V corresponding to the integer partition

λ=(λ1λk0)

with parts equal to

λi:=nkLi+i,1jk,

relative to the complete flag

𝒱=(V1V2Vn=V),

where

Vi=span{e1,,ei},i=1,n.

This means that Xλ(𝒱)𝐆𝐫k(V) consists of those k-dimensional subspaces wV whose intersections with the subspaces {Vj}j=1,,n have dimensions

dim(wVj)=i, for nkλi+ijnkλi+1+i,i=1,,k.

Its dimension is then equal to the weight |λ|=i=1kλi of the partition[8]

dim(Xλ(𝒱))=|λ|.

An equivalent, but simpler characterization of the Schubert cell Xλ(𝒱) may be given in terms of the dual complete flag

𝒱~=(V~1V~2V~n=V),

where

V~i=span{en,,eni+1},i=1,n.

Then Xλ(𝒱)𝐆𝐫k(V) consists of those k-dimensional subspaces wV that have a basis (W~1,,W~k) consisting of elements

W~iV~nLi+1=V~k+λii+1,i=1,,k

of the subspaces {V~k+λii+1}i=1,,k which, relative to the standard basis, are the row vectors (Wk,,W1) of the row echelon form, written in reverse order.

Notes

Template:Reflist

References

Template:Wikibooks

Template:Matrix classes

de:Lineares Gleichungssystem#Stufenform, Treppenform

  1. Phrased in terms of each individual zero row in Template:Harvtxt:"A matrix is said to be in row echelon form ... (iii) If there are rows whose entries are all zero, they are below the rows having nonzero entries."
  2. Template:Harvtxt:"A matrix is said to be in row echelon form ... (ii) If row Template:Mvar does not consist entirely of zeros, the number of leading zero entries in row k+1 is greater than the number of leading zero entries in row Template:Mvar."
  3. See, for instance, the first clause of the definition of row echelon form in Template:Harvtxt: "A matrix is said to be in row echelon form (i) If the first nonzero entry in each nonzero row is 1."
  4. Template:Harvnb
  5. Template:Harvnb
  6. Template:Cite book
  7. 7.0 7.1 Template:Cite book
  8. 8.0 8.1 8.2 Template:Cite book
  9. 9.0 9.1 Template:Cite journal