Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (2024)

Introduction

[edit | edit source]

Many of the problems you will solve in linear algebra require that a matrix be converted into one of two forms, the Row Echelon Form (ref) and its stricter variant the Reduced Row Echelon Form (rref) . These two forms will help you see the structure of what a matrix represents. If the matrix represents a system of linear equations, these forms allow one to write the solutions to the system.

Every Computer Algebra System and most scientific or graphing calculators have commands which produce these forms for any matrix. The commands are often of the form rref(A), for example.

The Row Echelon Form

[edit | edit source]

A rectangular matrix is in row echelon form if it has the following three properties:

  • All nonzero rows are above any rows of all zeros
  • Each leading entry of a row is in a column to the right of the leading entry of the row above it
  • All entries of a column below a leading entry are zeros

This matrix is in row echelon form:

Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (1)

If a matrix in echelon form satisfies the following conditions, then it is in reduced row echelon form:

  • The matrix is in row-echelon form
  • Each leading 1 is the only nonzero entry in its column


This matrix is in reduced row echelon form:

Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (2)

and the rref of the matrix in the previous section is:

Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (3)

Changing A Matrix Into REF Or RREF Form

[edit | edit source]

A system of linear equations can be solved by reducing its augmented matrix into reduced echelon form.

A matrix can be changed to its reduced row echelon form, or row reduced to its reduced row echelon form using the elementary row operations. These are:

  1. Interchange one row of the matrix with another of the matrix.
  2. Multiply one row of the matrix by a nonzero scalar constant.
  3. Replace the one row with the one row plus a constant times another row of the matrix.

For example, given the following linear system with corresponding augmented matrix:

Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (4)
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (5)
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (6)

Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (7)

To solve this system, the matrix has to be reduced into reduced echelon form.

Step 1: Switch row 1 and row 3. All leading zeros are now below non-zero leading entries.
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (8)

Step 2: Set row 2 to row 2 plus (-1) times row 1. In other words, subtract row 1 from row 2. This will eliminate the first entry of row 2.
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (9)

Step 3: Multiply row 2 by 3 and row 3 by 2. This will eliminate the first entry of row 3.
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (10)

Step 4: Set row 3 to row 3 plus (-1) times row 2. In other words, subtract row 2 from row 3. This will eliminate the second entry of row 3.
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (11)

Step 5: Multiply each row by the reciprocal of its first non-zero value. This will make every row start with a 1.
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (12)

The matrix is now in row echelon form: All nonzero rows are above any rows of all zeros (there are no zero rows), each leading entry of a row is in a column to the right of the leading entry of the row above it and all entries in a column below a leading entry are zeros.

As can and will be shown later, from this form one can observe that the system has infinitely many solutions. To get those solutions, the matrix is further reduced into reduced echelon form.

Step 6: Set row 2 to row 2 plus (-1) times row 3 and row 1 to row 1 plus (-2) times row 3. This will eliminate the entries above the leading entry of row 3.
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (13)

Step 7: Set row 1 to row 1 plus 3 times row 2. This eliminates the entry above the leading entry of row 2.
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (14)

This is a reduced echelon form, since the leading entry in each nonzero row is 1 and each leading 1 is the only nonzero entry in its column.

From this the solution of the system can be read:
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (15)
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (16)
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (17)
Those equations can be solved for Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (18), Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (19) and Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (20):
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (21)
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (22)
Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (23)
This is the solution of the system. The variables Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (24) and Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (25) can take any value and are so called free variables. The solution is valid for any Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (26) and Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (27).

Understanding The Two Forms

[edit | edit source]

Any nonzero matrix may be row reduced into more than one matrix in echelon form, by using different sequences of row operations. However, no matter how one gets to it, the reduced row echelon form of every matrix is unique.

Theorem e: Uniqueness of the Reduced 2 Echelon Form
Each matrix is row equivalent to one and only one reduced echelon matrix


If matrix A is row equivalent to an echelon matrix B, we call matrix B an echelon form of A, if B is in reduced echelon form, we call B the reduced echelon form of A.

Pivot Positions

[edit | edit source]

A pivot position in a matrix A is a location in A that corresponds to a leading 1 in the reduced echelon form of A. A pivot column is a column of A that contains a pivot position.

Linear Algebra/Row Reduction and Echelon Forms - Wikibooks, open books for an open world (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Allyn Kozey

Last Updated:

Views: 5871

Rating: 4.2 / 5 (43 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Allyn Kozey

Birthday: 1993-12-21

Address: Suite 454 40343 Larson Union, Port Melia, TX 16164

Phone: +2456904400762

Job: Investor Administrator

Hobby: Sketching, Puzzles, Pet, Mountaineering, Skydiving, Dowsing, Sports

Introduction: My name is Allyn Kozey, I am a outstanding, colorful, adventurous, encouraging, zealous, tender, helpful person who loves writing and wants to share my knowledge and understanding with you.