Section 3 Row Echelon Forms
Focus Questions
By the end of this section, you should be able to give precise and thorough answers to the questions listed below. You may want to keep these questions in mind to focus your thoughts as you complete the section.
What is the row echelon form of a matrix?
What is the procedure to obtain the row echelon form of any matrix?
What is the reduced row echelon form of a matrix?
What is the procedure to obtain the reduced row echelon form of any matrix?
What do the echelon forms of the augmented matrix for a linear system tell us about the solutions to the system?
Subsection Application: Balancing Chemical Reactions
Linear systems have applications in chemistry when balancing chemical equations. When a chemical reaction occurs, molecules of different substances combine to create molecules of other substances. Chemists represent such reactions with chemical equations. To balance a chemical equation means to find the number of atoms of each element involved that will preserve the number of atoms in the reaction. As an example, consider the chemical equationSubsection Introduction
In the previous sections, we identified operations on a given linear system with corresponding equivalent operations on the matrix representations which simplify the system and its matrix representation without changing the solutions of the system. Our end goal was to obtain a system which could be solved using back substitution, such asPreview Activity 3.1.
We want to determine a suitable form for an augmented matrix that can be obtained from row operations so that it is straightforward to find the solutions to the system. We begin with some examples.
(a)
Write the linear system corresponding to each of the following augmented matrices. Use the linear system to determine which systems have their variables eliminated completely in the forward direction, or equivalently determine for which systems the next step in the solution process is back substitution (possibly using free variables). Explain your reasoning. You do not need to solve the systems.
(i)
(ii)
(iii)
(iv)
(b)
Shown below are two row reduced forms of the system
Of the systems that correspond to these augmented matrices, which is easier to solve and why?
Subsection The Echelon Forms of a Matrix
In the previous sections we saw how to simplify a linear system and its matrix representation via the elimination method without changing the solution set. This process is more efficient when performed on the matrix representation rather than on the system itself. Furthermore, the process of applying row operations to any augmented matrix is one that can be automated. In order to write an algorithm that can be used with any size augmented matrix to the extent that it can be applied even by a computer program, it is necessary to have a consistent procedure and a stopping point for the simplification process. The two main properties that we want the simplified augmented matrix to satisfy are that it should be easy to see if the system has solutions from the simplified matrix, and in cases when there are solutions, the general form of the solutions can be easily found. Hence the topic of this section is to define the process of elimination completely and generally. We begin by discussing the row echelon or, simply, echelon form of a matrix. We know that the forward phase of the elimination on a linear system produces a system which can be solved by back substitution. The matrix representation of such a simplified system is said to be in row echelon or simply echelon form. Note that matrices in this form have the first nonzero entry in each row to the right of and below the first nonzero entry in the preceding row. Our next step is to formally describe this form β one that you tried to explain in problem 3 of Preview Activity 3.1.Definition 3.1.
A rectangular matrix is in row echelon form (or simply echelon form) if it has the following properties:
All nonzero rows are above any rows of all zeros.
Each pivot (the first non-zero entry reading from left to right) in a row is in a column to the right of the pivot of the row above it.
Reflection 3.2.
Compare the row echelon form of an augmented matrix to the corresponding system. Do you clearly see the correspondence between the requirements of the row echelon form and the properly eliminated variables in the system? Can you quickly come up with a system which will be in row echelon form when represented in augmented matrix form? Can you modify the standard row echelon form definition to cover cases where the elimination process eliminates the variables from last to first? For example, in a system with three equations in three unknowns, the last variable, say
Definition 3.3.
A rectangular matrix is in reduced row echelon form (or reduced echelon form) if the matrix is in row echelon form and
The pivot in each nonzero row is 1.
Each pivot is the only nonzero entry in its column.
Reflection 3.4.
Compare the reduced row echelon form of an augmented matrix to the corresponding system. Do you clearly see the correspondence between the requirements of the reduced row echelon form and the way the variables appear in the equations in the system? Can you quickly come up with a system which will be in reduced row echelon form when represented in augmented matrix form?
Note.
We have used the elimination method on augmented matrices so far. However, the elimination method can be applied on just the coefficient matrix, or other matrices that will arise in other contexts, and will provide useful information in each of those cases. Therefore, the row echelon form and reduced row echelon form is defined for any matrix, and from now on, a matrix will be a general matrix unless explicitly specified to be an augmented matrix.Activity 3.2.
Identify which of the following matrices is in row echelon form (REF) and/or reduced row echelon form (RREF). For those in row and/or reduced row echelon form, identify the pivots clearly by circling them. For those that are not in a given form, state which properties the matrix fails to satisfy.
(a)
(b)
(c)
(d)
(e)
Subsection Determining the Number of Solutions of a Linear System
Consider the systemActivity 3.3.
We have seen examples of systems with no solutions, one solution, and infinitely many solutions. As we will see in this activity, we can recognize the number of solutions to a system by analyzing the pivot positions in the augmented matrix of the system.
(a)
Write an example of an augmented matrix in row echelon form so that the last column of the (whole) matrix is a pivot column. What is the system of equations corresponding to your augmented matrix? How many solutions does your system have? Why?
(b)
Consider the reduced row echelon form (3.2). Based on the columns of this matrix, explain how we know that the system it represents is consistent.
(c)
The system with reduced row echelon form (3.2) is consistent. What is it about the columns of the coefficient matrix that tells us that this system has infinitely many solutions?
(d)
Suppose that a linear system is consistent and that the coefficient matrix has
(i)
If every column of the coefficient matrix is a pivot column, how many solutions must the system have? Why? What relationship must exist between
(ii)
If the coefficient matrix has at least one non-pivot column, how many solutions must the system have? Why?
Subsection Producing the Echelon Forms
In this part, we consider the formal process of creating the row and reduced row echelon forms of matrices. The process of creating the row echelon form is the equivalent of the elimination method on systems of linear equations.Activity 3.4.
Each of the following matrices is at most a few steps away from being in the requested echelon form. Determine what row operations need to be completed to turn the matrix into the required form.
(a)
Turn into REF:
(b)
Turn into REF:
(c)
Turn into RREF:
(d)
Turn into RREF:
(e)
Turn into RREF:
(f)
Turn into RREF:
- Step 1
Begin with the leftmost nonzero column (if there is one). This will be a pivot column.
- Step 2
Select a nonzero entry in this pivot column as a pivot. If necessary, interchange rows to move this entry to the first row (this entry will be a pivot).
- Step 3
Use row operations to create zeros in all positions below the pivot.
- Step 4
-
Cover (or ignore) the row containing the pivot position and cover all rows, if any, above it. Apply steps 1-3 to the submatrix that remains. Repeat the process until there are no more nonzero rows to modify.
To obtain the reduced row echelon form we need one more step.
- Step 5
Beginning with the rightmost pivot and working upward and to the left, create zeros above each pivot. If a pivot is not 1, make it 1 by an appropriate row multiplication.
Activity 3.5.
Consider the matrix
(a)
Perform Gaussian elimination to reduce the matrix to row echelon form. Clearly identify each step used. Compare your row echelon form to that of another group. Do your results agree? If not, who is right?
(b)
Now continue applying row operations to obtain the reduced row echelon form of the matrix. Clearly identify each step. Compare your row echelon form to that of another group. Do your results agree? If not, who is right?
Definition 3.5.
A matrix
Theorem 3.6.
Every matrix is row equivalent to a unique matrix in reduced row echelon form.
Activity 3.6.
Each matrix below is an augmented matrix for a linear system after elimination with variables
(a)
(b)
(c)
(d)
(e)
Theorem 3.7.
A linear system is consistent if in the row echelon form of the augmented matrix representing the system no pivot is in the rightmost column.
If a linear system is consistent and the row echelon form of the coefficient matrix does not have a pivot in every column, then the system has infinitely many solutions.
If a linear system is consistent and there is a pivot in every column of the row echelon form of the coefficient matrix, then the system has a unique solution.
Activity 3.7.
(a)
For each part, the reduced row echelon form of the augmented matrix of a system of equations in variables
(i)
(ii)
(iii)
(iv)
Each of the three systems above is represented as one of the graphs in Figure 3.8. Match each figure with a system.
(b)
The reduced row echelon form of the augmented matrix of a system of equations in variables
Subsection Examples
Example 3.9.
Consider the linear system
(a)
Find the augmented matrix for this system.
Solution.
Before we can find the augmented matrix of this system, we need to rewrite the system so that the variables are all on one side and the constant terms are on the other side of the equations. Doing so yields the equivalent system
Note that this is not the only way to rearrange the system. For example, for the second equation, could be written instead as
The augmented matrix for this system is
(b)
Use row operations to find a row echelon form of the augmented matrix of this system.
Solution.
Our first steps to row echelon form are to eliminate the entries below the leading entry in the first row. To do this we replace row two with row two plus 2 times row 1 and we replace row three with row three plus row one. This produces the row equivalent matrix
This matrix is now in row echelon form.
(c)
Use row operations to find the reduced row echelon form of the augmented matrix of this system.
Solution.
To continue to find the reduced row echelon form, we replace row two with row two times
Now we perform backwards elimination to make the entries above the leading
For the second column, we replace row one with row one plus row two to obtain the row equivalent matrix
Since the leading entry in row one is not a one, we have one more step before we have the reduced row echelon form. Finally, we replace row one with row one times
(d)
Find the solution(s), if any, to the system.
Solution.
We can read off the solution to the system from the reduced row echelon form:
Example 3.10.
In this example,
Find all values of
(a)
Exactly one solution (and find the solution)
Solution.
Let
Now we replace row three with row three minus row one to produce the row equivalent matrix
Next, replace row three with row three minus
We now have a row echelon form.
The system will have exactly one solution when the last row has the form
You should check to ensure that this solution is correct. The other cases occur when
(b)
No solutions
Solution.
When
(c)
Infinitely many solutions (and find all solutions)
Solution.
When
You should check to ensure that this solution is correct.
Subsection Summary
In this section we learned about the row echelon and reduced row echelon forms of a matrix and some of the things these forms tell us about solutions to systems of linear equations.-
A matrix is in row echelon form if
All nonzero rows are above any rows of all zeros.
Each pivot (the first nonzero entry) of a row is in a column to the right of the pivot of the row above it.
Once an augmented matrix is in row echelon form, we can use back substitution to solve the corresponding linear system.
-
To reduce a matrix to row echelon form we do the following:
Begin with the leftmost nonzero column (if there is one). This will be a pivot column.
Select a nonzero entry in this pivot column as a pivot. If necessary, interchange rows to move this entry to the first row (this entry will be a pivot).
Use row operations to create zeros in all positions below the pivot.
Cover (or ignore) the row containing the pivot position and cover all rows, if any, above it. Apply the preceding steps to the submatrix that remains. Repeat the process until there are no more nonzero rows to modify.
-
A matrix is in reduced row echelon form if it is in row echelon form and
The pivot in each nonzero row is 1.
Each pivot is the only nonzero entry in its column.
To obtain the reduced row echelon form from the row echelon form, beginning with the rightmost pivot and working upward and to the left, create zeros above each pivot. If a pivot is not 1, make it 1 by an appropriate row multiplication.
-
Both row echelon forms of an augmented matrix tell us about the number of solutions to the corresponding linear system.
-
A linear system is inconsistent if and only if a row echelon form of the augmented matrix of the system contains a row of the form
where
is not zero. Another way to say this is that a linear system is inconsistent if and only if the last column of the augmented matrix of the system is a pivot column. A consistent linear system will have a unique solution if and only if each column but the last in the augmented matrix of the system is a pivot column. This is equivalent to saying that a consistent linear system will have a unique solution if and only if the consistent system has no free variables.
A consistent linear system will have infinitely many solutions if and only if the coefficient matrix of the system contains a non-pivot column. In that case, the free variables corresponding to the non-pivot columns can be chosen arbitrarily and the basic variables corresponding to pivot columns can be written in terms of the free variables.
A linear system can have no solutions, exactly one solution, or infinitely many solutions.
-
Exercises Exercises
1.
Represent the following linear system in variables
2.
Represent the following linear system in variables
3.
Check that the reduced row echelon form of the matrix
is
4.
Consider the following system:
(a)
Find a row echelon form of the augmented matrix for this system.
(b)
For which values of
5.
Find the general solution of the linear system corresponding to the following augmented matrix:
6.
What are the conditions, if any, on the
7.
In this exercise the symbol
(a)
Is the augmented matrix
in a form to which back substitution will easily give the solutions to the system? Explain your reasoning.
In order to help see what happens in the general case, substitute some numbers in place of the
(b)
The above matrix is a possible form of an augmented matrix with 2 rows and 3 columns corresponding to a linear system after forward elimination, i.e., a linear system for which back substitution will easily give the solutions. Determine the other possible such forms of the nonzero augmented matrices with 2 rows and 3 columns. As in part (a), use the symbol
8.
Give an example of a linear system with a unique solution for which a row echelon form of the augmented matrix of the system has a row of 0's.
9.
Come up with an example of an augmented matrix with 0's in the rightmost column corresponding to an inconsistent system, if possible. If not, explain why not.
10.
Find two different row echelon forms which are equivalent to the same matrix not given in row echelon form.
11.
Determine all possible row echelon forms of a
12.
Label each of the following statements as True or False. Provide justification for your response.
(a) True/False.
The number of pivots of an
(b) True/False.
The row echelon form of a matrix is unique.
(c) True/False.
The reduced row echelon form of a matrix is unique.
(d) True/False.
A system of equations where there are fewer equations than the number of unknowns (known as an underdetermined system) cannot have a unique solution.
(e) True/False.
A system of equations where there are more equations than the number of unknowns (known as an overdetermined system) cannot have a unique solution.
(f) True/False.
If a row echelon form of the augmented matrix of a system of three equations in two unknowns has three pivots, then the system is inconsistent.
(g) True/False.
If the coefficient matrix of a system has pivots in every row, then the system is consistent.
(h) True/False.
If there is a row of zeros in a row echelon form of the augmented matrix of a system of equations, the system has infinitely many solutions.
(i) True/False.
If there is a row of zeros in a row echelon form of the augmented matrix of a system of
(j) True/False.
If a linear system has no free variables, then the system has a unique solution.
(k) True/False.
If a linear system has a free variable, then the system has infinitely many solutions.
Subsection Project: Modeling a Chemical Reaction
Recall the chemical equationProject Activity 3.8.
(a)
Set up an equation that balances the number of carbon atoms on both sides of the reaction.
(b)
Balance the numbers of hydrogen and oxygen atoms in the reaction to explain why
(c)
So the system of linear equations that models this chemical reaction is
Find all solutions to this system and then balance the reaction. Note that we cannot have a fraction of a molecule in our reaction.
Some of the work needed is done in Preview Activity 3.1.
Project Activity 3.9.
Chemical reactions can be very interesting.
(a)
Carbon dioxide,
Use the techniques developed in this project to balance this reaction.
(b)
To burn glucose, we need to add oxygen to make the combustion happen. Carbon dioxide is different in that it can burn without the presence of oxygen. For example, when we mix magnesium (Mg) with dry ice (ebaumsworld.com/video/watch/404311/
or youtube.com/watch?v=-6dfi8LyRLA
Use the method determined above to balance the chemical reaction