Skip to main content
Logo image

Coordinated Linear Algebra

Section 2.2 Augmented Matrix Notation and Elementary Row Operations

Subsection 2.2.1 Augmented Matrix Notation

Recall that the following three operations performed on a linear system are called elementary row operations
  • Switching the order of two equations
  • Multiplying both sides of an equation by the same non-zero constant
  • Adding a multiple of one equation to another
In Section 2.1 we discussed why applying elementary row operations to a linear system results in an equivalent system - a linear system with the same solution set.
In this section we seek an efficient method for recording our computations as we perform elementary row operations.

Exploration 2.2.1.

The linear system in this Exploration comes from Jim Hefferon’s Linear Algebra
 1 
joshua.smcvt.edu/linearalgebra/#current_version
.
Consider the linear system
\begin{equation} \begin{array}{ccccccccc} x \amp - \amp y\amp \amp \amp \amp \amp = \amp 0 \\ 2x\amp -\amp 2y\amp +\amp z\amp +\amp 2w\amp =\amp 4\\ \amp \amp y\amp \amp \amp +\amp w\amp =\amp 0\\ \amp \amp \amp \amp 2z\amp +\amp w\amp =\amp 5 \end{array}\tag{2.2.1} \end{equation}
Our goal is to use elementary row operations to transform this system into an equivalent system of the form
\begin{equation*} \begin{array}{ccccccccc} x \amp \amp \amp \amp \amp \amp \amp = \amp a \\ \amp \amp y\amp \amp \amp \amp \amp =\amp b\\ \amp \amp \amp \amp z\amp \amp \amp =\amp c\\ \amp \amp \amp \amp \amp \amp w\amp =\amp d \end{array} \end{equation*}
We have to keep in mind that given an arbitrary system, an equivalent system of this form may not exist (we will talk a lot more about this later). However, it does exist in this case, and we would like to find a more efficient way of getting to it than having to write and rewrite our equations at each step.
Answer.
We start by subtracting twice row 1 from row 2. (\(R_2-2R_1\rightarrow R_2\))
\begin{equation*} \begin{matrix} x \amp - \amp y\amp +\amp 0z\amp +\amp 0w\amp = \amp 0 \\ 0x\amp +\amp 0y\amp +\amp 1z\amp +\amp 2w\amp =\amp 4\\ 0x\amp +\amp y\amp +\amp 0z\amp +\amp w\amp =\amp 0\\ 0x\amp +\amp 0y\amp +\amp 2z\amp +\amp w\amp =\amp 5 \end{matrix} \end{equation*}
Next, we add row 3 to row 1. (\(R_1+R_3\rightarrow R_1\))
\begin{equation*} \begin{matrix} x \amp + \amp 0 y\amp +\amp 0 z\amp +\amp 1 w\amp = \amp 0 \\ 0x\amp +\amp 0y\amp +\amp z\amp +\amp 2w\amp =\amp 4\\ 0x\amp +\amp y\amp +\amp 0z\amp +\amp w\amp =\amp 0\\ 0x\amp +\amp 0y\amp +\amp 2z\amp +\amp w\amp =\amp 5 \end{matrix} \end{equation*}
Subtract twice row 2 from row 4. (\(R_4-2R_2\rightarrow R_4\))
\begin{equation*} \begin{matrix} x \amp + \amp 0y\amp +\amp 0z\amp +\amp 1w\amp = \amp 0 \\ 0x\amp +\amp 0y\amp +\amp z\amp +\amp 2w\amp =\amp 4\\ 0x\amp +\amp y\amp +\amp 0z\amp +\amp w\amp =\amp 0\\ 0x\amp +\amp 0y\amp +\amp 0z\amp +\amp -3w\amp =\amp -3 \end{matrix} \end{equation*}
Divide row 4 by \(-3\text{.}\) (\(-\frac{1}{3}R_4\))
\begin{equation*} \begin{matrix} x \amp + \amp 0y\amp +\amp 0z\amp +\amp 1w\amp = \amp 0 \\ 0x\amp +\amp 0y\amp +\amp z\amp +\amp 2w\amp =\amp 4\\ 0x\amp +\amp y\amp +\amp 0z\amp +\amp w\amp =\amp 0\\ 0x\amp +\amp 0y\amp +\amp 0z\amp +\amp 1w\amp =\amp 1 \end{matrix} \end{equation*}
We will do three operations in one step.
\begin{equation*} R_1-R_4\rightarrow R_1 \end{equation*}
\begin{equation*} R_2-2R_4\rightarrow R_2 \end{equation*}
\begin{equation*} R_3-R_4\rightarrow R_3 \end{equation*}
\begin{equation*} \begin{matrix} x \amp + \amp 0y\amp +\amp 0z\amp +\amp 0w\amp = \amp -1 \\ 0x\amp +\amp 0y\amp +\amp 1z\amp +\amp 0w\amp =\amp 2\\ 0x\amp +\amp 1y\amp +\amp 0z\amp +\amp 0w\amp =\amp -1\\ 0x\amp +\amp 0y\amp +\amp 0z\amp +\amp 1w\amp =\amp 1 \end{matrix} \end{equation*}
We now exchange rows 2 and 3. (\(R_2\leftrightarrow R_3\))
\begin{equation} \begin{array}{ccccccccc} x \amp + \amp 0y\amp +\amp 0z\amp +\amp 0w\amp = \amp -1 \\ 0x\amp +\amp y\amp +\amp 0z\amp +\amp 0w\amp =\amp -1\\ 0x\amp +\amp 0y\amp +\amp z\amp +\amp 0w\amp =\amp 2\\ 0x\amp +\amp 0y\amp +\amp 0z\amp +\amp w\amp =\amp 1 \end{array}\tag{2.2.2} \end{equation}
If we drop all of the zero terms, we have:
\begin{equation} \begin{array}{ccccccccc} x \amp \amp \amp \amp \amp \amp \amp = \amp -1 \\ \amp \amp y\amp \amp \amp \amp \amp =\amp -1\\ \amp \amp \amp \amp z\amp \amp \amp =\amp 2\\ \amp \amp \amp \amp \amp \amp w\amp =\amp 1 \end{array}\tag{2.2.3} \end{equation}
Now we see that \((-1, -1, 2, 1)\) is the solution.
Observe that throughout the entire process, variables \(x\text{,}\) \(y\text{,}\) \(z\) and \(w\) remained in place; only the coefficients in front of the variables and the entries on the right changed. Let’s try to recreate this process without writing down the variables. We can capture the original system in (2.2.1) as follows:
\begin{equation*} \left[\begin{array}{cccc|c} 1\amp -1\amp 0\amp 0\amp 0\\2\amp -2\amp 1\amp 2\amp 4\\0\amp 1\amp 0\amp 1\amp 0\\0\amp 0\amp 2\amp 1\amp 5 \end{array}\right] \end{equation*}
The side to the left of the vertical bar is called the coefficient matrix, while the side to the right of the bar is a vector that consists of constants on the right side of the system. The coefficient matrix, together with the vector, is called an augmented matrix.
We can capture all of the elementary row operations we performed earlier as follows:
\begin{equation*} \left[\begin{array}{cccc|c} 1\amp -1\amp 0\amp 0\amp 0\\2\amp -2\amp 1\amp 2\amp 4\\0\amp 1\amp 0\amp 1\amp 0\\0\amp 0\amp 2\amp 1\amp 5 \end{array}\right] \begin{array}{c} \\ \xrightarrow{R_2-2R_1}\\ \\ \\ \end{array} \left[\begin{array}{cccc|c} 1\amp -1\amp 0\amp 0\amp 0\\0\amp 0\amp 1\amp 2\amp 4\\0\amp 1\amp 0\amp 1\amp 0\\0\amp 0\amp 2\amp 1\amp 5 \end{array}\right] \begin{array}{c} \xrightarrow{R_1+R_3}\\ \\ \\ \\ \end{array} \end{equation*}
\begin{equation*} \left[\begin{array}{cccc|c} 1\amp 0\amp 0\amp 1\amp 0\\2\amp -2\amp 1\amp 2\amp 4\\0\amp 1\amp 0\amp 1\amp 0\\0\amp 0\amp 2\amp 1\amp 5 \end{array}\right] \begin{array}{c} \\ \\ \\ \xrightarrow{R_4-2R_2}\\ \end{array} \left[\begin{array}{cccc|c} 1\amp 0\amp 0\amp 1\amp 0\\0\amp 0\amp 1\amp 2\amp 4\\0\amp 1\amp 0\amp 1\amp 0\\0\amp 0\amp 0\amp -3\amp -3 \end{array}\right] \begin{array}{c} \\ \\ \\ \xrightarrow{(-1/3)R_4}\\ \end{array} \end{equation*}
\begin{equation*} \left[\begin{array}{cccc|c} 1\amp 0\amp 0\amp 1\amp 0\\0\amp 0\amp 1\amp 2\amp 4\\0\amp 1\amp 0\amp 1\amp 0\\0\amp 0\amp 0\amp 1\amp 1 \end{array}\right] \begin{array}{c} \xrightarrow{R_1-R_4}\\ \xrightarrow{R_2-2R_4}\\ \xrightarrow{R_3-R_4}\\ \\ \end{array}\left[\begin{array}{cccc|c} 1\amp 0\amp 0\amp 0\amp -1\\0\amp 0\amp 1\amp 0\amp 2\\0\amp 1\amp 0\amp 0\amp -1\\0\amp 0\amp 0\amp 1\amp 1 \end{array}\right]\begin{array}{c} \\ \xrightarrow{R_2\leftrightarrow R_3}\\ \\ \\ \end{array} \end{equation*}
\begin{equation} \left[\begin{array}{cccc|c} 1\amp 0\amp 0\amp 0\amp -1\\0\amp 1\amp 0\amp 0\amp -1\\0\amp 0\amp 1\amp 0\amp 2\\0\amp 0\amp 0\amp 1\amp 1 \end{array}\right]\tag{2.2.4} \end{equation}
The last augmented matrix corresponds to systems in (2.2.2) and (2.2.3), and we can easily see the solution.
Exploration 2.2.1 introduced us to some vocabulary terms. Let’s formalize our definitions. Every linear system
\begin{equation*} \begin{array}{ccccccccc} a_{11}x_1 \amp + \amp a_{12}x_2\amp +\amp \ldots\amp +\amp a_{1n}x_n\amp = \amp b_1 \\ a_{21}x_1 \amp + \amp a_{22}x_2\amp +\amp \ldots\amp +\amp a_{2n}x_n\amp = \amp b_2 \\ \amp \amp \amp \amp \vdots\amp \amp \amp \amp \\ a_{m1}x_1 \amp + \amp a_{m2}x_2\amp +\amp \ldots\amp +\amp a_{mn}x_n\amp = \amp b_m \end{array} \end{equation*}
can be written in the augmented matrix form as follows:
\begin{equation*} \left[\begin{array}{cccc|c} a_{11}\amp a_{12}\amp \ldots\amp a_{1n}\amp b_1\\a_{21}\amp a_{22}\amp \ldots\amp a_{2n}\amp b_2\\\vdots\amp \vdots\amp \ddots\amp \vdots\amp \vdots\\a_{m1}\amp a_{m2}\amp \ldots\amp a_{mn}\amp b_m \end{array}\right] \end{equation*}
The array to the left of the vertical bar is called the coefficient matrix of the linear system and is often given a capital letter name, like \(A\text{.}\) The vertical array to the right of the bar is called a constant vector.
\begin{equation*} A=\begin{bmatrix}a_{11}\amp a_{12}\amp \ldots\amp a_{1n}\\a_{21}\amp a_{22}\amp \ldots\amp a_{2n}\\\vdots\amp \vdots\amp \ddots\amp \vdots\\a_{m1}\amp a_{m2}\amp \ldots\amp a_{mn}\end{bmatrix}\quad\text{and}\quad\mathbf{b}=\begin{bmatrix}b_1\\b_2\\\vdots\\b_m\end{bmatrix} \end{equation*}
We will sometimes use the following notation to represent an augmented matrix.
\begin{equation*} \left[\begin{array}{c|c} A \amp \mathbf{b}\\ \end{array}\right] \end{equation*}
The same elementary row operations that we perform on a system of equations can be performed on the corresponding augmented matrix, or any matrix for that matter. If a matrix can be obtained from another matrix by means of elementary row operations, we say that the two matrices are row-equivalent.

Exploration 2.2.2.

Consider the system
\begin{equation*} \begin{array}{ccccccc} x_1 \amp - \amp x_2\amp -\amp 3x_3\amp = \amp 1 \\ 4x_1\amp -\amp 2x_2\amp -\amp 7x_3\amp =\amp 1\\ -x_1\amp +\amp x_2\amp +\amp 4x_3\amp =\amp 1 \end{array} \end{equation*}
Recall that in Exploration 2.2.1 we converted the given system to an augmented matrix form, then performed elementary row operations until we arrived at a ``convenient" form. We then converted the ``convenient" augmented matrix back to a system of equations and identified a solution.
The term ``convenient" is open to interpretation. In this problem we will explore two ``convenient" forms. Each one will lead to a definition.
\begin{align} \amp \left[\begin{array}{ccc|c} 1\amp -1\amp -3\amp 1\\4\amp -2\amp -7\amp 1\\-1\amp 1\amp 4\amp 1 \end{array}\right]\notag\\ \begin{array}{c} \\ \xrightarrow{R_2-4R_1}\\ \xrightarrow{R_3+R_1}\\ \end{array} \amp \left[\begin{array}{ccc|c} 1\amp -1\amp -3\amp 1\\0\amp 2\amp 5\amp -3\\0\amp 0\amp 1\amp 2 \end{array}\right]\tag{2.2.5}\\ \begin{array}{c} \\ \xrightarrow{(1/2)R_2}\\ \\ \end{array} \amp \left[\begin{array}{ccc|c} 1\amp -1\amp -3\amp 1\\0\amp 1\amp 5/2\amp -3/2\\0\amp 0\amp 1\amp 2 \end{array}\right] \notag\\ \begin{array}{c} \xrightarrow{R_1+R_2}\\ \\ \\ \end{array}\amp \left[\begin{array}{ccc|c} 1\amp 0\amp -1/2\amp -1/2\\0\amp 1\amp 5/2\amp -3/2\\0\amp 0\amp 1\amp 2 \end{array}\right]\notag\\ \begin{array}{c} \xrightarrow{R_1+ (1/2)R_3}\\ \xrightarrow{R_2- (5/2)R_3}\\ \\ \end{array} \amp \left[\begin{array}{ccc|c} 1\amp 0\amp 0\amp 1/2\\0\amp 1\amp 0\amp -13/2\\0\amp 0\amp 1\amp 2 \end{array}\right]\tag{2.2.6} \end{align}
The augmented matrix in (2.2.6) has the same convenient form as the one in (2.2.4). This augmented matrix corresponds to the system
\begin{equation*} \begin{array}{ccccccc} x_1 \amp \amp \amp \amp \amp = \amp 1/2 \\ \amp \amp x_2\amp \amp \amp =\amp -13/2\\ \amp \amp \amp \amp x_3\amp =\amp 2 \end{array} \end{equation*}
This gives us the solution \((\frac{1}{2}, -\frac{13}{2}, 2)\text{.}\)
While the augmented matrix in (2.2.6) was certainly ``convenient", we could have converted back to the equation format a little earlier. Let’s take a look at the augmented matrix in (2.2.5). Converting (2.2.5) to a system of equations gives us
\begin{equation*} \begin{array}{ccccccc} x_1 \amp - \amp x_2\amp -\amp 3x_3\amp = \amp 1\\ \amp \amp 2x_2\amp +\amp 5x_3\amp =\amp -3\\ \amp \amp \amp \amp x_3\amp =\amp 2 \end{array} \end{equation*}
Substituting \(x_3=2\) into the second equation and solving for \(x_2\) gives us
\begin{equation*} x_2=\frac{-3-5(2)}{2}=-\frac{13}{2} \end{equation*}
Now substituting \(x_3=2\) and \(x_2=-\frac{13}{2}\) into the first equation results in
\begin{equation*} x_1=1+\left(-\frac{13}{2}\right)+3(2)=\frac{1}{2} \end{equation*}
This process is called back substitution and it produces the same solution as we obtained earlier.
Observe that the coefficient matrices in (2.2.4) and (2.2.6) have the same format: 1’s along the diagonal, zeros above and below the 1’s. The other ``convenient" format, exhibited by the coefficient matrix in (2.2.5), also has zeros below the diagonal, but not all of the diagonal entries are 1’s and some of the entries above the diagonal are not zero. Each of these formats gives rise to a definition. These definitions are the topic of the next section.

Subsection 2.2.2 Row-Echelon and Reduced Row-Echelon Forms

Definition 2.2.1.

The first non-zero entry in a row of a matrix (when read from left to right) is called the leading entry. When the leading entry is 1, we refer to it as a leading 1.

Definition 2.2.2. Row-Echelon Form.

A matrix is said to be in row-echelon form if:
  1. All entries below each leading entry are 0.
  2. Each leading entry is in a column to the right of the leading entries in the rows above it.
  3. All rows of zeros, if there are any, are located below non-zero rows.
The term row-echelon form can be applied to matrices whether or not they are augmented matrices (matrices with the vertical bar). For example, both the coefficient matrix and the augmented matrix in (2.2.5) are in row-echelon form. Note that the leading entries form a staircase pattern. All entries below the leading entries are zero, but the entries above the leading entries are not all zero.
Below are two more examples of matrices in row-echelon form. The leading entries of each matrix are boxed.
\begin{equation*} \begin{bmatrix} \fbox{1}\amp 2\amp -1\amp -5\amp 0\amp 2\\0\amp 0\amp \fbox{3}\amp 1\amp 2\amp 0\\0\amp 0\amp 0\amp 0\amp \fbox{1}\amp 0 \end{bmatrix}\quad\text{and}\quad\begin{bmatrix} \fbox{4}\amp 2\\0\amp \fbox{1}\\0\amp 0 \end{bmatrix} \end{equation*}
The difference between the coefficient matrix in (2.2.5) and the coefficient matrix in (2.2.6) is that the leading entries of the matrix in (2.2.6) are all 1’s, and the matrix has zeros above each leading 1. This motivates our next definition.

Definition 2.2.3. Reduced Row-Echelon Form.

A matrix that is already in row-echelon form is said to be in reduced row-echelon form if:
  1. Each leading entry is \(1\)
  2. All entries above and below each leading \(1\) are \(0\)
The following two matrices are in reduced row-echelon form. Note that there are \(0\)’s below and above each leading \(1\text{.}\)
\begin{equation*} \begin{bmatrix} \fbox{1}\amp 0\amp -1\amp 0\amp 1\\0\amp \fbox{1}\amp 0\amp 0\amp 2\\0\amp 0\amp 0\amp \fbox{1}\amp 2 \end{bmatrix}\quad\text{and}\quad\begin{bmatrix} \fbox{1}\amp 0\\0\amp \fbox{1}\\0\amp 0 \end{bmatrix} \end{equation*}
When solving linear systems using the augmented matrix notation, our goal will be to transform the augmented matrix \(M=[A|\mathbf{b}]\) into a row-echelon or reduced row-echelon form. The reduced row-echelon form of \(M\) is denoted by \(\mbox{rref}(M)\text{.}\) As we transform the augmented matrix \(M\) to its reduced row-echelon form, the coefficient matrix \(A\) (the matrix to the left of the bar) also gets transformed to its reduced row-echelon form, \(\mbox{rref}(A)\text{.}\)

Example 2.2.4.

Solve the system of equations or determine that the system is inconsistent.
\begin{equation*} \begin{array}{ccccccccc} x \amp - \amp 2y\amp +\amp z\amp \amp \amp = \amp 2 \\ -2x\amp +\amp y\amp -\amp z\amp +\amp w\amp =\amp 0\\ x\amp +\amp 4y\amp \amp \amp +\amp w\amp =\amp 1 \end{array} \end{equation*}
Answer.
We begin by rewriting the system in the augmented matrix form.
\begin{equation*} \left[\begin{array}{cccc|c} 1\amp -2\amp 1\amp 0\amp 2\\-2\amp 1\amp -1\amp 1\amp 0\\1\amp 4\amp 0\amp 1\amp 1 \end{array}\right] \end{equation*}
Our goal is to convert this matrix to its reduced row-echelon form by means of elementary row operations. To do this, we will proceed from left to right and use leading entries to wipe out all entries above and below them.
\begin{equation*} \left[\begin{array}{cccc|c} 1\amp -2\amp 1\amp 0\amp 2\\-2\amp 1\amp -1\amp 1\amp 0\\1\amp 4\amp 0\amp 1\amp 1 \end{array}\right] \begin{array}{c} \\ \xrightarrow{R_2+2R_1}\\ \xrightarrow{R_3-R_1}\\ \end{array}\left[\begin{array}{cccc|c} 1\amp -2\amp 1\amp 0\amp 2\\0\amp -3\amp 1\amp 1\amp 4\\0\amp 6\amp -1\amp 1\amp -1 \end{array}\right]\begin{array}{c} \\ \\ \xrightarrow{R_3+2R_2}\\ \end{array} \end{equation*}
\begin{equation*} \left[\begin{array}{cccc|c} 1\amp -2\amp 1\amp 0\amp 2\\0\amp -3\amp 1\amp 1\amp 4\\0\amp 0\amp 1\amp 3\amp 7 \end{array}\right] \begin{array}{c} \\ \xrightarrow{(-1/3)R_2}\\ \\ \end{array}\left[\begin{array}{cccc|c} 1\amp -2\amp 1\amp 0\amp 2\\0\amp 1\amp -1/3\amp -1/3\amp -4/3\\0\amp 0\amp 1\amp 3\amp 7 \end{array}\right]\begin{array}{c} \xrightarrow{R_1+2R_2}\\ \\ \\ \end{array} \end{equation*}
\begin{equation*} \left[\begin{array}{cccc|c} 1\amp 0\amp 1/3\amp -2/3\amp -2/3\\0\amp 1\amp -1/3\amp -1/3\amp -4/3\\0\amp 0\amp 1\amp 3\amp 7 \end{array}\right] \begin{array}{c} \xrightarrow{R_1-(1/3)R_3}\\ \xrightarrow{R_2+(1/3)R_3}\\ \\ \end{array}\left[\begin{array}{cccc|c} 1\amp 0\amp 0\amp -5/3\amp -3\\0\amp 1\amp 0\amp 2/3\amp 1\\0\amp 0\amp 1\amp 3\amp 7 \end{array}\right] \end{equation*}
Our final matrix may not be quite as nice as the one in (2.2.6), but it is in reduced row-echelon form. Our next step is to convert our augmented matrix back to a system of equations. We have:
\begin{equation*} \begin{array}{ccccccccc} x \amp \amp \amp \amp \amp -\amp (5/3)w\amp = \amp -3 \\ \amp \amp y\amp \amp \amp +\amp (2/3)w\amp =\amp 1\\ \amp \amp \amp \amp z\amp +\amp 3w\amp =\amp 7 \end{array} \end{equation*}
We will rewrite the system as follows:
\begin{equation*} \begin{array}{ccccccccc} x \amp \amp \amp \amp \amp \amp \amp = \amp -3+(5/3)w \\ \amp \amp y\amp \amp \amp \amp \amp =\amp 1-(2/3)w\\ \amp \amp \amp \amp z\amp \amp \amp =\amp 7-3w \end{array} \end{equation*}
Now we see that we can assign any value to \(w\text{,}\) then compute \(x\text{,}\) \(y\) and \(z\) to obtain a solution to the system. For example, let \(w=0\text{,}\) then \(x=-3\text{,}\) \(y=1\) and \(z=7\text{,}\) so \((-3, 1, 7, 0)\) is a solution. If we let \(w=3\text{,}\) then \(x=2\text{,}\) \(y=-1\) and \(z=-2\text{,}\) so \((2, -1, -2, 3)\) is also a solution. To capture all possibilities, we will let \(w=t\text{,}\) where \(t\) is an arbitrary parameter.
We can think of the solution set in two different ways. First, the solution set is the set of all points of the form
\begin{equation*} \left(-3+\frac{5}{3}t, 1-\frac{2}{3}t, 7-3t, t\right) \end{equation*}
We can also think of the solution set in geometric terms by observing that
\begin{align*} x\amp =-3+\frac{5}{3}t \\ y\amp =1-\frac{2}{3}t \\ z\amp =7-3t \\ w\amp =t \end{align*}
is a set of parametric equations that describes a line in \(\R^4\text{.}\) (See Formula 1.3.5 This means that the three hyperplanes given by the equations in the system intersect in a line, producing infinitely many solutions to the system.
Observe that in Example 2.2.4, variables \(x\text{,}\) \(y\) and \(z\) correspond to the leading \(1's\) in the reduced row-echelon. We say that \(x\text{,}\) \(y\) and \(z\) are the leading variables. Variable \(w\) is not a leading variable; we refer to it as a free variable and assign a parameter \(t\) to it.

Example 2.2.5.

Solve the system of equations or determine that the system is inconsistent.
\begin{equation*} \begin{array}{ccccccc} 2x \amp -\amp y\amp \amp \amp = \amp 2 \\ x\amp +\amp y\amp -\amp 2z\amp =\amp 0\\ -3x\amp \amp \amp +\amp 2z\amp =\amp -1 \end{array} \end{equation*}
Answer.
We rewrite the system in augmented matrix form and transform it to reduced row-echelon form. We leave the details of the elementary row operations to the reader and state the final result.
\begin{equation} \left[\begin{array}{ccc|c} 2\amp -1\amp 0\amp 2\\1\amp 1\amp -2\amp 0\\-3\amp 0\amp 2\amp -1 \end{array}\right]\begin{array}{c} \\ \rightsquigarrow\\ \\ \end{array}\left[\begin{array}{ccc|c} 1\amp 0\amp -2/3\amp 0\\0\amp 1\amp -4/3\amp 0\\0\amp 0\amp 0\amp 1 \end{array}\right]\tag{2.2.7} \end{equation}
Converting back to a system of linear equations, we get
\begin{equation} \begin{array}{ccccccc} 0x \amp + \amp 0y\amp -\amp (2/3)z\amp = \amp 0 \\ 0x\amp + \amp 0y\amp -\amp (4/3)z\amp =\amp 0\\ 0x\amp + \amp 0y\amp +\amp 0z\amp =\amp 1 \end{array}\tag{2.2.8} \end{equation}
The last equation in this system clearly has no solutions. We conclude that this system (and the original system) is inconsistent.

Observation 2.2.6.

Note that the last row of the reduced row-echelon form in (2.2.7) looks like this
\begin{equation*} \left[\begin{array}{ccc|c} 0\amp 0\amp 0\amp 1 \end{array}\right] \end{equation*}
This row corresponds to the equation
\begin{equation*} \begin{array}{ccccccc} 0x\amp + \amp 0y\amp +\amp 0z\amp =\amp 1 \end{array} \end{equation*}
which clearly has no solutions.
In general, if the reduced row-echelon form of the augmented matrix contains a row
\begin{equation*} \left[\begin{array}{ccc|c} 0\amp \ldots\amp 0\amp 1 \end{array}\right] \end{equation*}
we can conclude that the system is inconsistent.

Example 2.2.7.

Solve the system of equations or determine that the system is inconsistent.
\begin{equation*} \begin{array}{ccccccc} x \amp -\amp 3y\amp -\amp z\amp = \amp 3 \\ -3x\amp +\amp 5y\amp \amp \amp =\amp -2\\ x\amp + \amp y\amp +\amp 2z\amp =\amp -4 \end{array} \end{equation*}
Answer.
We rewrite the system in the augmented matrix form and transform it to reduced row-echelon form. We leave the details of the elementary row operations to the reader and state the final result.
\begin{equation*} \left[\begin{array}{ccc|c} 1\amp -3\amp -1\amp 3\\-3\amp 5\amp 0\amp -2\\1\amp 1\amp 2\amp -4 \end{array}\right]\begin{array}{c} \\ \rightsquigarrow\\ \\ \end{array}\left[\begin{array}{ccc|c} 1\amp 0\amp 5/4\amp -9/4\\0\amp 1\amp 3/4\amp -7/4\\0\amp 0\amp 0\amp 0 \end{array}\right] \end{equation*}
Converting the augmented matrix back to a system of equations we get
\begin{equation*} \begin{array}{ccccccc} x \amp + \amp 0y\amp +\amp (5/4)z\amp = \amp -9/4 \\ 0x\amp +\amp y\amp +\amp (3/4)z\amp =\amp -7/4\\ 0x\amp + \amp 0y\amp +\amp 0z\amp =\amp 0 \end{array} \end{equation*}
Unlike the last equation in (2.2.8), the last equation in this system has infinitely many solutions because all values of \(x\text{,}\) \(y\) and \(z\) satisfy it. Since the last equation contributes nothing, we will remove it and rewrite the system as
\begin{equation*} \begin{array}{ccccc} x \amp \amp \amp = \amp -9/4-(5/4)z \\ \amp \amp y\amp =\amp -7/4-(3/4)z\\ \end{array} \end{equation*}
Variables \(x\) and \(y\) correspond to leading \(1's\) in the reduced row-echelon form. So, \(x\) and \(y\) are the leading variables. Variable \(z\) is a free variable. We let \(z=t\text{.}\) Solutions to this system are points of the form
\begin{equation*} \left(-\frac{9}{4}-\frac{5}{4}t, -\frac{7}{4}-\frac{3}{4}t, t\right) \end{equation*}
We can also interpret the solutions as lying on a line in \(\R^3\) given by parametric equations
\begin{align*} x\amp =-\frac{9}{4}-\frac{5}{4}t \\ y\amp =-\frac{7}{4}-\frac{3}{4}t \\ z\amp =t \end{align*}
This line is the line of intersection of the three planes.

Exercises 2.2.3 Exercises

Exercise Group.

Determine whether each augmented matrix shown below is in reduced row-echelon form.
1.
    \begin{equation*} \left[\begin{array}{cccc|c} 0\amp 1\amp 1\amp 0\amp 2\\1\amp -3\amp 0\amp 1\amp 4\\0\amp 0\amp 1\amp 0\amp -1 \end{array}\right] \end{equation*}
  • Yes
  • No
2.
    \begin{equation*} \left[\begin{array}{cc|c} 1\amp 1\amp 1\\0\amp 1\amp 0\\0\amp 0\amp 0 \end{array}\right] \end{equation*}
  • Yes
  • No
3.
    \begin{equation*} \left[\begin{array}{cc|c} 1\amp 0\amp 1\\0\amp 1\amp 0\\0\amp 0\amp 0 \end{array}\right] \end{equation*}
  • Yes
  • No
4.
    \begin{equation*} \left[\begin{array}{ccc|c} 1\amp 0\amp 1\amp 0\\0\amp 1\amp 0\amp 0\\0\amp 0\amp 0\amp 1 \end{array}\right] \end{equation*}
  • Yes
  • No
5.
    \begin{equation*} \left[\begin{array}{ccc|c} 1\amp 1\amp 0\amp 2\\0\amp 1\amp 0\amp 9\\0\amp 0\amp 1\amp -1 \end{array}\right] \end{equation*}
  • Yes
  • No

6.

Fill in the steps that lead to the reduced row-echelon form in Example 2.2.5.

7.

Fill in the steps that lead to the reduced row-echelon form in Example 2.2.7.

8.

    Suppose a system of equations has the following reduced row-echelon form
    \begin{equation*} \left[\begin{array}{ccc|c} 1\amp 0\amp 0\amp 4\\0\amp 1\amp -3\amp -6\\0\amp 0\amp 0\amp 1 \end{array}\right] \end{equation*}
    What can you say about the system?
  • The system is inconsistent
  • The system has infinitely many solutions
  • The system has a unique solution
  • We would have to examine the original system to make the final determination

Exercise Group.

Solve each system of equations.
9.
\begin{equation*} \begin{array}{ccccccc} x \amp +\amp 3y\amp -\amp 2z\amp = \amp -11 \\ 2x\amp +\amp y\amp +\amp 4z\amp =\amp 12\\ x\amp -\amp y\amp -\amp z\amp =\amp 0 \end{array} \end{equation*}
Answer.
\begin{equation*} ( 1, -2, 3) \end{equation*}
10.
\begin{equation*} \begin{array}{ccccccc} 3x \amp -\amp y\amp +\amp z\amp = \amp -5 \\ x\amp +\amp 2y\amp -\amp z\amp =\amp -3\\ x\amp -\amp 5y\amp +\amp 3z\amp =\amp 1 \end{array} \end{equation*}
Answer.
\begin{equation*} \left( -13/7- 1/7t, -4/7 + 4/7t, t \right) \end{equation*}