Skip to main content
Logo image

Coordinated Linear Algebra

Section 2.3 Gaussian Elimination and Rank

Subsection 2.3.1 Row Echelon and Reduced Row Echelon Forms

In Section 2.2, we learned to write linear systems in augmented matrix form and use elementary row operations to transform an augmented matrix to row-echelon form and the reduced row-echelon form in order to solve linear systems.
Recall that a matrix (or augmented matrix) is in row-echelon form if:
  • All entries below each leading entry are \(0\text{.}\)
  • Each leading entry is in a column to the right of the leading entries in the rows above it.
  • All rows of zeros, if there are any, are located below non-zero rows.
A matrix in row-echelon form is said to be in reduced row-echelon form if it has the following additional properties
  • Each leading entry is a \(1\)
  • All entries above each leading \(1\) are \(0\)
Matrices in row-echelon form and reduced row-echelon form are ``convenient" because their corresponding systems of equations are easy to solve.
In this module we turn to the question of existence and uniqueness of the two echelon forms. Can every matrix (augmented matrix) be carried to a row-echelon form? If so, is the row-echelon form unique? Can every matrix be reduced to a reduced row-echelon form? If so, is the reduced row-echelon form unique? The answers we find will have long-lasting implications.

Exploration 2.3.1.

Solve the following system of equations.
\begin{equation*} \begin{array}{ccccccccc} x \amp + \amp 2y\amp -\amp 3z\amp = \amp 1 \\ -5x\amp +\amp 2y\amp -\amp 3z\amp =\amp 1\\ x\amp - \amp 2y\amp +\amp z\amp =\amp 1 \end{array} \end{equation*}
We create an augmented matrix corresponding to the system and apply row operations until the matrix is in row-echelon form.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 2\amp -3\amp 1\\-5\amp 2\amp -3\amp 1\\1\amp -2\amp 1\amp 1 \end{array}\right] \begin{array}{c} \\ \xrightarrow{R_2+5R_1}\\ \xrightarrow{R_3-R_1}\\ \end{array} \left[\begin{array}{ccc|c} 1\amp 2\amp -3\amp 1\\0\amp 12\amp -18\amp 6\\0\amp -4\amp 4\amp 0 \end{array}\right] \begin{array}{c} \\ \\ \xrightarrow{R_3+\frac{1}{3}R_2}\\ \end{array} \end{equation*}
\begin{equation} \left[\begin{array}{ccc|c} 1\amp 2\amp -3\amp 1\\0\amp 12\amp -18\amp 6\\0\amp 0\amp -2\amp 2 \end{array}\right]\tag{2.3.1} \end{equation}
Note that the elementary row operations that lead to (2.3.1) were not prescribed. We may employ row-operations in a different manner and obtain a different matrix in row-echelon form. For example, suppose for some reason we had begun by switching the first and third rows.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 2\amp -3\amp 1\\-5\amp 2\amp -3\amp 1\\1\amp -2\amp 1\amp 1 \end{array}\right] \begin{array}{c} \\ \xrightarrow{R_1\leftrightarrow R_3}\\ \\ \end{array} \left[\begin{array}{ccc|c} 1\amp -2\amp 1\amp 1\\-5\amp 2\amp -3\amp 1\\1\amp 2\amp -3\amp 1 \end{array}\right] \begin{array}{c} \\ \\ \\ \end{array} \end{equation*}
Next we would reduce this matrix to row-echelon form, perhaps in this way:
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp -2\amp 1\amp 1\\-5\amp 2\amp -3\amp 1\\1\amp 2\amp -3\amp 1 \end{array}\right] \begin{array}{c} \\ \xrightarrow{R_2+5R_1}\\ \xrightarrow{R_3-R_1}\\ \end{array} \left[\begin{array}{ccc|c} 1\amp -2\amp 1\amp 1\\0\amp -8\amp 2\amp 6\\0\amp 4\amp -4\amp 0 \end{array}\right] \begin{array}{c} \\ \\ \xrightarrow{R_3+\frac{1}{2}R_2}\\ \end{array} \end{equation*}
\begin{equation} \left[\begin{array}{ccc|c} 1\amp -2\amp 1\amp 1\\0\amp -8\amp 2\amp 6\\0\amp 0\amp -3\amp 3 \end{array}\right]\tag{2.3.2} \end{equation}
The augmented matrices in (2.3.1) and (2.3.2) are clearly not the same, but both are in row-echelon form. If we write the systems of equations corresponding to (2.3.1) and (2.3.2), we can employ back substitution to solve them. The matrix in (2.3.1) corresponds to
\begin{equation*} \begin{array}{ccccccccc} x \amp + \amp 2y\amp -\amp 3z\amp = \amp 1 \\ \amp \amp 12y\amp -\amp 18z\amp =\amp 6\\ \amp \amp \amp \amp -2z\amp =\amp 2 \end{array} \end{equation*}
The matrix in (2.3.2) corresponds to
\begin{equation*} \begin{array}{ccccccccc} x \amp - \amp 2y\amp +\amp z\amp = \amp 1 \\ \amp \amp -8y\amp +\amp 2z\amp =\amp 6\\ \amp \amp \amp \amp -3z\amp =\amp 3 \end{array} \end{equation*}
Because both systems are equivalent to the original system, it is not surprising that back substitution yields the same solution for both systems.
\begin{equation*} x=0,\quad y=-1,\quad z=-1 \end{equation*}
\begin{equation*} x=0, y=-1, z=-1 \end{equation*}
\begin{equation*} x=0, y=-1, z=-1 \end{equation*}
It is clear from Exploration 2.3.1 that a row-echelon form corresponding to a matrix is not unique. But what about the reduced row-echelon form?

Exploration 2.3.2.

In this problem we revisit the system
\begin{equation*} \begin{array}{ccccccccc} x \amp + \amp 2y\amp -\amp 3z\amp = \amp 1 \\ -5x\amp +\amp 2y\amp -\amp 3z\amp =\amp 1\\ x\amp - \amp 2y\amp +\amp z\amp =\amp 1 \end{array} \end{equation*}
Following the steps we took to get (2.3.1), but taking the process a little further, we get the reduced row-echelon form.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 2\amp -3\amp 1\\-5\amp 2\amp -3\amp 1\\1\amp -2\amp 1\amp 1 \end{array}\right] \begin{array}{c} \\ \xrightarrow{R_2+5R_1}\\ \xrightarrow{R_3-R_1}\\ \end{array} \left[\begin{array}{ccc|c} 1\amp 2\amp -3\amp 1\\0\amp 12\amp -18\amp 6\\0\amp -4\amp 4\amp 0 \end{array}\right] \begin{array}{c} \\ \\ \xrightarrow{R_3+\frac{1}{3}R_2}\\ \end{array} \end{equation*}
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 2\amp -3\amp 1\\0\amp 12\amp -18\amp 6\\0\amp 0\amp -2\amp 2 \end{array}\right] \color{blue} \begin{array}{c} \\ \xrightarrow{\frac{1}{12}R_2}\\ \xrightarrow{-\frac{1}{2}R_3}\\ \end{array} \left[\begin{array}{ccc|c} 1\amp 2\amp -3\amp 1\\0\amp 1\amp -\frac{3}{2}\amp \frac{1}{2}\\0\amp 0\amp 1\amp -1 \end{array}\right] \begin{array}{c} \xrightarrow{R_1+3R_3}\\ \xrightarrow{R_2+\frac{3}{2}R_3}\\ \\ \end{array} \end{equation*}
\begin{equation} \color{blue} \left[\begin{array}{ccc|c} 1\amp 2\amp 0\amp -2\\0\amp 1\amp 0\amp -1\\0\amp 0\amp 1\amp -1 \end{array}\right] \begin{array}{c} \xrightarrow{R_1-2R_2}\\ \\ \\ \end{array} \color{black} \left[\begin{array}{ccc|c} 1\amp 0\amp 0\amp 0\\0\amp 1\amp 0\amp -1\\0\amp 0\amp 1\amp -1 \end{array}\right]\tag{2.3.3} \end{equation}
Do you think it is possible to start with (2.3.2) and obtain the same reduced row-echelon form? Try to justify your response. If possible, find the elementary row operations that take (2.3.2) to the reduced row-echelon form in (2.3.3).
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 2\amp -3\amp 1\\-5\amp 2\amp -3\amp 1\\1\amp -2\amp 1\amp 1 \end{array}\right] \begin{array}{c} \\ \xrightarrow{R_1\leftrightarrow R_3}\\ \\ \end{array} \left[\begin{array}{ccc|c} 1\amp -2\amp 1\amp 1\\-5\amp 2\amp -3\amp 1\\1\amp 2\amp -3\amp 1 \end{array}\right] \end{equation*}
\begin{equation*} \begin{array}{c} \\ \xrightarrow{R_2+5R_1}\\ \xrightarrow{R_3-R_1}\\ \end{array} \left[\begin{array}{ccc|c} 1\amp -2\amp 1\amp 1\\0\amp -8\amp 2\amp 6\\0\amp 4\amp -4\amp 0 \end{array}\right] \begin{array}{c} \\ \\ \xrightarrow{R_3+\frac{1}{2}R_2}\\ \end{array} \end{equation*}
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp -2\amp 1\amp 1\\0\amp -8\amp 2\amp 6\\0\amp 0\amp -3\amp 3 \end{array}\right] \color{red} \begin{array}{c} \rightsquigarrow\text{Elementary}\rightsquigarrow\\ \text{Row Ops.} \end{array} \color{black} \left[\begin{array}{ccc|c} 1\amp 0\amp 0\amp 0\\0\amp 1\amp 0\amp -1\\0\amp 0\amp 1\amp -1 \end{array}\right] \end{equation*}
You will be asked to fill in the elementary row operations in Exercise 2.3.4.1.
Our observations in Exploration 2.3.2 are summarized in the following diagram.
We observed that a row-echelon form associated with a matrix is not unique. In contrast, we also saw how different sequences of elementary row operations lead to the same solution set and the same reduced row-echelon form. It turns out that the reduced row-echelon form of a matrix is unique.
A proof of this result can be found in [2.3.5.2].
The reduced row-echelon form of a matrix is an instance of a row-echelon form of the matrix. While a given matrix may have multiple row-echelon forms, all row-echelon forms will share one characteristic: the number of nonzero rows in a row-echelon form of the given matrix will be the same. We will prove this result in Theorem 5.3.6.

Subsection 2.3.2 Gaussian and Gauss-Jordan Elimination

Definition 2.3.2. Gaussian Elimination.

The process of using the elementary row operations on a matrix to transform it into row-echelon form is called Gaussian Elimination.
As we saw in the previous section, it is possible to follow different sequences of row operations to arrive at various row-echelon forms. However, it was not clear whether it is always possible to find a row-echelon form. The following algorithm takes any matrix (or augmented matrix) and transforms it into row-echelon form:
Gaussian Algorithm guarantees that every matrix will have a row-echelon form.

Example 2.3.4.

Use the Gaussian Algorithm to find a row-echelon form of \(A\) if
\begin{equation*} A=\begin{bmatrix}2\amp 4\\1\amp 2\\-1\amp 1\\3\amp 5\end{bmatrix} \end{equation*}
Answer.
Following Step 2, we choose the first entry, \(2\text{,}\) as our pivot. We then perform step 3, using the top row to get zeros in all entries below the \(2\text{.}\)
\begin{equation*} \begin{bmatrix} \fbox{\(2\)}\amp 4\\1\amp 2\\-1\amp 1\\3\amp 5\end{bmatrix} \begin{array}{c} \\ \xrightarrow{R_2-(1/2)R_1}\\ \xrightarrow{R_3+(1/2)R_1}\\ \xrightarrow{R_4-(3/2)R_1}\\ \end{array} \begin{bmatrix}2\amp 4\\0\amp 0\\0\amp 3\\0\amp -1\end{bmatrix} \end{equation*}
The first row is now complete, and we repeat the process on the rows below it. We identify \(3\) as a pivot entry in the second column and move the row containing \(3\) to be directly below the first completed row. We then use the \(3\) to make each entry below the \(3\) a zero.
\begin{equation*} \begin{bmatrix}2\amp 4\\0\amp 0\\0\amp \fbox{\(3\)}\\0\amp -1\end{bmatrix} \xrightarrow{R_2\leftrightarrow R_3}\\ \begin{bmatrix}2\amp 4\\0\amp \fbox{\(3\)}\\0\amp 0\\0\amp -1\end{bmatrix} \begin{array}{c} \\ \\ \\ \xrightarrow{R_4+\frac{1}{3}R_2}\\ \end{array} \begin{bmatrix}2\amp 4\\0\amp 3\\0\amp 0\\0\amp 0\end{bmatrix} \end{equation*}
This time the algorithm terminates since row 3 and row 4 are zero rows.

Definition 2.3.5. Gauss-Jordan Elimination.

The process of using the elementary row operations on a matrix to transform it into reduced row-echelon form is called Gauss-Jordan elimination.
Given a matrix in row-echelon form, it is easy to bring it the reduced row-echelon form. For example, continuing with Example 2.3.4, we can start where we left off and compute \(\mbox{rref}(A)\text{.}\) From our earlier computations we have:
\begin{equation*} \begin{bmatrix}2\amp 4\\-1\amp 1\\3\amp 5\\1\amp 2\end{bmatrix}\rightsquigarrow\begin{bmatrix}2\amp 4\\0\amp 3\\0\amp 0\\0\amp 0\end{bmatrix} \end{equation*}
Now we create leading \(1's\) and use them to to wipe out all non-zero entries above them.
\begin{equation*} \begin{bmatrix}2\amp 4\\0\amp 3\\0\amp 0\\0\amp 0\end{bmatrix} \begin{array}{c} \xrightarrow{(1/2)R_1}\\ \xrightarrow{(1/3)R_2}\\ \\ \\ \end{array} \begin{bmatrix}1\amp 2\\0\amp 1\\0\amp 0\\0\amp 0\end{bmatrix} \begin{array}{c} \xrightarrow{R_1-2R_2}\\ \\ \\ \\ \end{array} \begin{bmatrix}1\amp 0\\0\amp 1\\0\amp 0\\0\amp 0\end{bmatrix}=\mbox{rref}(A) \end{equation*}
The following modification to the Gaussian Algorithm produces the reduced row-echelon form of a matrix. This algorithm guarantees the existence of the reduced row-echelon form.
The algorithm is an essential tool in linear algebra. An fully detailed example is provided below.

Example 2.3.7.

Use the Gauss-Jordan Algorithm to solve the system
\begin{equation*} \begin{array}{ccccccccc} 3x \amp + \amp y\amp +\amp 7z\amp = \amp 7 \\ 5x\amp +\amp 3y\amp +\amp 9z\amp =\amp 13\\ 2x\amp + \amp y\amp +\amp 4z\amp =\amp 5 \end{array} \end{equation*}
Answer.
\begin{align*} \amp \left[\begin{array}{ccc|c} \fbox{\(3\)}\amp 1\amp 7\amp 7\\5\amp 3\amp 9\amp 13\\2\amp 1\amp 4\amp 5 \end{array}\right] \\ \begin{array}{c} \xrightarrow{\frac{1}{3}R_1}\\ \\ \\ \end{array} \amp \left[\begin{array}{ccc|c} \fbox{\(1\)}\amp 1/3\amp 7/3\amp 7/3\\5\amp 3\amp 9\amp 13\\2\amp 1\amp 4\amp 5 \end{array}\right] \\ \begin{array}{c} \\ \xrightarrow{R_2-5R_1}\\ \\ \end{array} \amp \left[\begin{array}{ccc|c} \fbox{\(1\)}\amp 1/3\amp 7/3\amp 7/3\\0\amp 4/3\amp -8/3\amp 4/3\\2\amp 1\amp 4\amp 5 \end{array}\right]\\ \begin{array}{c} \\ \\ \xrightarrow{R_3-2R_1}\\ \end{array}\amp \left[\begin{array}{ccc|c} 1\amp 1/3\amp 7/3\amp 7/3\\0\amp \fbox{\(4/3\)}\amp -8/3\amp 4/3\\0\amp 1/3\amp -2/3\amp 1/3 \end{array}\right] \\ \begin{array}{c} \\ \xrightarrow{\frac{3}{4}R_2}\\ \\ \end{array} \amp \left[\begin{array}{ccc|c} 1\amp 1/3\amp 7/3\amp 7/3\\0\amp \fbox{\(1\)}\amp -2\amp 1\\0\amp 1/3\amp -2/3\amp 1/3 \end{array}\right] \\ \begin{array}{c} \\ \\ \xrightarrow{R_3-\frac{1}{3}R_2}\\ \end{array} \amp \left[\begin{array}{ccc|c} 1\amp 1/3\amp 7/3\amp 7/3\\0\amp \fbox{\(1\)}\amp -2\amp 1\\0\amp 0\amp 0\amp 0 \end{array}\right] \\ \begin{array}{c} \xrightarrow{R_1-\frac{1}{3}R_2}\\ \\ \\ \end{array} \amp \left[\begin{array}{ccc|c} 1\amp 0\amp 3\amp 2\\0\amp 1\amp -2\amp 1\\0\amp 0\amp 0\amp 0 \end{array}\right] \end{align*}
We convert the reduced row-echelon form to a system of equations and find the solution. The last equation contributes nothing to the system so we omit writing it down.
\begin{equation*} \begin{array}{ccccccccc} x \amp \amp \amp +\amp 3z\amp = \amp 2 \\ \amp \amp y\amp -\amp 2z\amp =\amp 1 \end{array} \end{equation*}
The solution is
\begin{equation*} x=2-3t,\quad y=1+2t,\quad z=t. \end{equation*}
The Gauss-Jordan Algorithm guarantees the existence of the reduced row-echelon form for all matrices. When doing computations by hand, however, the algorithm may not always be the optimal method of finding a row-echelon form or the reduced row-echelon form because the procedure often leads to fractions early in the process. The following video shows how to arrive at the same reduced row-echelon form for the matrix in Example 2.3.7 without doing any fraction arithmetic. You will see that we still employ row operations, but in a different order.
The video highlights the fact that regardless of what sequence of elementary row operations we take to arrive at the reduced row-echelon form, the end result is the same.

Subsection 2.3.3 Rank

This section is an adaptation of Section 1.2 of Keith Nicholson’s Linear Algebra with Applications
 1 
open.umn.edu/opentextbooks/textbooks/linear-algebra-with-applications
.
As stated in Theorem 2.3.1, the reduced row-echelon form of a matrix \(A\) is uniquely determined by \(A\text{.}\) That is, no matter which series of row operations is used to transform \(A\) to its reduced row-echelon matrix, the result will always be the same matrix. In contrast, this is not true for row-echelon matrices: different sequences of row operations can transform the same matrix \(A\) to different row-echelon matrices. However, it is true that the number \(r\) of nonzero rows must be the same in each of these row-echelon matrices, as we will see in Theorem Definition 5.3.7. Hence, the number \(r\) depends only on \(A\) and not on the way in which \(A\) is carried to row-echelon form.

Example 2.3.8.

Matrices (2.3.1) and (2.3.2) of Exploration 2.3.1 are both row-echelon forms of \(A\text{.}\) Both matrices have three nonzero rows. The same is true for \(\mbox{rref}(A)\text{.}\)

Definition 2.3.9.

The rank of matrix \(A\text{,}\) denoted by \(\mbox{rank}(A)\text{,}\) is the number of nonzero rows that remain after we reduce \(A\) to row-echelon form by elementary row operations.
The rank a notion connected closely to the existence of solutions and other more nuanced notions emerging later on. We provide an example on how to compute it.

Example 2.3.10.

Compute the rank of
\begin{equation*} A = \begin{bmatrix} 1 \amp 1 \amp -1 \amp 4 \\ 2 \amp 1 \amp 3 \amp 0 \\ 0 \amp 1 \amp -5 \amp 8 \end{bmatrix} \end{equation*}
Answer.
A reduction of \(A\) to row-echelon form is
\begin{equation*} A = \begin{bmatrix} 1 \amp 1 \amp -1 \amp 4 \\ 2 \amp 1 \amp 3 \amp 0 \\ 0 \amp 1 \amp -5 \amp 8 \end{bmatrix} \rightsquigarrow\begin{bmatrix} 1 \amp 1 \amp -1 \amp 4 \\ 0 \amp -1 \amp 5 \amp -8 \\ 0 \amp 0 \amp 0 \amp 0 \end{bmatrix} \end{equation*}
Because the row-echelon form has two nonzero rows, \(\mbox{rank}(A) = 2\text{.}\)

Proof.

The fact that the rank of the coefficient matrix is \(r\) means that there are exactly \(r\) leading variables in the coefficient matrix, and hence exactly \(n - r\) nonleading variables. The nonleading variables are called free variables. All free variables are assigned parameters, so the set of solutions involves exactly \(n - r\) parameters. Hence if \(r \lt n\text{,}\) there is at least one parameter, and so infinitely many solutions. If \(r = n\text{,}\) there are no parameters and the resulting solution is unique.
Theorem 2.3.11 shows that, for any system of linear equations, exactly three possibilities exist:
  1. Unique solution. This occurs when every variable is a leading variable.
  2. Infinitely many solutions. This occurs when the system is consistent and there is at least one nonleading variable, so at least one parameter is involved.
  3. No solution. This occurs when a row \(\left[\begin{array}{cccc|c} 0\amp 0\amp \ldots \amp 0\amp 1 \end{array}\right]\) appears in the row-echelon form. Such a row corresponds to an equation with no solutions. (See Example 2.2.5.)

Exercises 2.3.4 Exercises

Exercise Group.

Follow the indicated steps of the Gauss-Jordan algorithm to transform the matrix to its reduced row-echelon form.
\begin{equation*} \left[\begin{array}{ccc|c} 2\amp 1\amp 1\amp 3\\-1\amp 0\amp 1\amp 2\\1\amp 1\amp -2\amp 0 \end{array}\right] \end{equation*}
2.
\(\frac{1}{2}R_1\rightarrow R_1\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1/2\amp 1/2\amp 3/2\\-1\amp 0\amp 1\amp 2\\1\amp 1\amp -2\amp 0 \end{array}\right] \end{equation*}
3.
\(R_1+R_2\rightarrow R_2\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1/2\amp 1/2\amp 3/2\\0\amp 1/2\amp 3/2\amp 7/2\\1\amp 1\amp -2\amp 0 \end{array}\right] \end{equation*}
4.
\(R_3-R_1\rightarrow R_3\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1/2\amp 1/2\amp 3/2\\0\amp 1/2\amp 3/2\amp 7/2\\0\amp 1/2\amp -5/2\amp -3/2 \end{array}\right] \end{equation*}
5.
\(2R_2\rightarrow R_2\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1/2\amp 1/2\amp 3/2\\0\amp 1\amp 3\amp 7\\0\amp 1/2\amp -5/2\amp -3/2 \end{array}\right] \end{equation*}
6.
\(R_3-\frac{1}{2}R_2\rightarrow R_3\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1/2\amp 1/2\amp 3/2\\0\amp 1\amp 3\amp 7\\0\amp 0\amp -4\amp -5 \end{array}\right] \end{equation*}
7.
\(-\frac{1}{4}R_3\rightarrow R_3\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1/2\amp 1/2\amp 3/2\\0\amp 1\amp 3\amp 7\\0\amp 0\amp 1\amp 5/4 \end{array}\right] \end{equation*}
8.
\(R_2-3R_3\rightarrow R_2\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1/2\amp 1/2\amp 3/2\\0\amp 1\amp 0\amp 13/4\\0\amp 0\amp 1\amp 5/4 \end{array}\right] \end{equation*}
9.
\(R_1-\frac{1}{2}R_3\rightarrow R_1\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1/2\amp 0\amp 7/8\\0\amp 1\amp 0\amp 13/4\\0\amp 0\amp 1\amp 5/4 \end{array}\right] \end{equation*}
10.
\(R_1-\frac{1}{2}R_2\rightarrow R_1\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 0\amp 0\amp -3/4\\0\amp 1\amp 0\amp 13/4\\0\amp 0\amp 1\amp 5/4 \end{array}\right] \end{equation*}

Exercise Group.

The following reduction steps do not follow the algorithm but are easier for a human to carry out because they use fewer fractions. Follow the indicated steps to transform the matrix to its reduced row-echelon form. Steps will unfold automatically as you enter correct answers.
\begin{equation*} \left[\begin{array}{ccc|c} 2\amp 1\amp 1\amp 3\\-1\amp 0\amp 1\amp 2\\1\amp 1\amp -2\amp 0 \end{array}\right] \end{equation*}
11.
\(R_1+R_2\rightarrow R_1\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1\amp 2\amp 5\\-1\amp 0\amp 1\amp 2\\1\amp 1\amp -2\amp 0 \end{array}\right] \end{equation*}
12.
\(R_2+R_3\rightarrow R_3\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1\amp 2\amp 5\\-1\amp 0\amp 1\amp 2\\0\amp 1\amp -1\amp 2 \end{array}\right] \end{equation*}
13.
\(R_1+R_2\rightarrow R_1\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 0\amp 1\amp 3\amp 7\\-1\amp 0\amp 1\amp 2\\0\amp 1\amp -1\amp 2 \end{array}\right] \end{equation*}
14.
\(R_1-R_3\rightarrow R_1\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 0\amp 0\amp 4\amp 5\\-1\amp 0\amp 1\amp 2\\0\amp 1\amp -1\amp 2 \end{array}\right] \end{equation*}
15.
\(\frac{1}{4}R_1\rightarrow R_1\) and \(-R_2\rightarrow R_2\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 0\amp 0\amp 1\amp 5/4\\1\amp 0\amp -1\amp -2\\0\amp 1\amp -1\amp 2 \end{array}\right] \end{equation*}
16.
\(R_1+R_2\rightarrow R_2\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 0\amp 0\amp 1\amp 5/4\\1\amp 0\amp 0\amp -3/4\\0\amp 1\amp -1\amp 2 \end{array}\right] \end{equation*}
17.
\(R_1+R_3\rightarrow R_3\)
Answer.
\begin{equation*} \left[\begin{array}{ccc|c} 0\amp 0\amp 1\amp 5/4\\1\amp 0\amp 0\amp -3/4\\0\amp 1\amp 0\amp 13/4 \end{array}\right] \end{equation*}
18.
Exchange rows.
Answer.
\(\left[\begin{array}{ccc|c} 1\amp 0\amp 0\amp -3/4\\0\amp 1\amp 0\amp 13/4\\0\amp 0\amp 1\amp 5/4 \end{array}\right]\)

Exercise Group.

Find the rank of each matrix.
19.
\begin{equation*} A=\begin{bmatrix}4\amp 3\amp -1\\-8\amp -6\amp 2\end{bmatrix} \end{equation*}
Answer.
\begin{equation*} \mbox{rank}(A)=1 \end{equation*}
20.
\begin{equation*} B=\begin{bmatrix}1\amp 1\\2\amp -2\\3\amp -1\end{bmatrix} \end{equation*}
Answer.
\begin{equation*} \mbox{rank}(B)=2 \end{equation*}
21.
\begin{equation*} C=\begin{bmatrix}1\amp 0\amp 1\\2\amp 1\amp 3\\0\amp 1\amp -2\end{bmatrix} \end{equation*}
Answer.
\begin{equation*} \mbox{rank}(C)=3 \end{equation*}
22.
\begin{equation*} D=\begin{bmatrix}1\amp 1\amp 2\\-1\amp -2\amp 1\\1\amp 0\amp 5\end{bmatrix} \end{equation*}
Answer.
\begin{equation*} \mbox{rank}(D)=2 \end{equation*}

23.

    Suppose \(A\) is a \(5\times 7\) matrix. Which of the following can be true?

24.

    Suppose a linear system has \(4\) equations and \(5\) unknowns. Which of the following is NOT a possibility?

25.

    Suppose \(A\) is a matrix such that \(\mbox{rref}(A)\) has \(5\) leading \(1's\text{.}\) What do we know to be true about \(A\text{?}\) Select ALL that apply.

26.

In this problem we will discuss how the rank of the coefficient matrix associated with a linear system compares to the rank of the augmented matrix associated with the system.
  1. Explain why the rank of the augmented matrix has to be greater than or equal to the rank of the coefficient matrix.
  2. Prove that for a consistent system the rank of the coefficient matrix will be the same as the rank of the augmented matrix.
  3. Give an example of an inconsistent system for which the rank of the augmented matrix is greater than the rank of the coefficient matrix.
  4. Can the rank of an augmented matrix be greater than the number of variables?
  5. Is the following statement true?
    “If the rank of the augmented matrix associated with a linear system is greater than the rank of the coefficient matrix, then the system is inconsistent.”

References 2.3.5 References

[1]
W. Keith Nicholson, Linear Algebra with Applications, Lyryx 2018, Open Edition, p 15-17.
[2]
Thomas Yuster, The Reduced Row Echelon Form of a Matrix is Unique: a Simple Proof, Mathematics Magazine, vol. 57, no. 2 (Mar. 1984), pp. 93-94.