If we are trying to solve for
\(x_1\text{,}\) then we can perform a pivot about an element in column 1. Letβs pivot about row 1, column 1,
\begin{equation*}
\begin{array}{r} -2R_1 - 3R_2 \to R_2,\\ R_1 -3R_3 \to R_3 \end{array} \qquad \left[\begin{array}{rrrrrr|r} 3 \amp 1 \amp 0 \amp 0 \amp 2 \amp -7 \amp 11\\ 0 \amp -2 \amp -9 \amp -3 \amp 5 \amp 14 \amp -67\\ 0 \amp -2 \amp 0 \amp 0 \amp -4 \amp -1 \amp -28\\ \end{array} \right]
\end{equation*}
Next, we are looking to solve for
\(x_3\) and since row 1 gives a solution for
\(x_1\text{,}\) we donβt want to mess that up and instead will choose row 2 to perform a pivot, so pivot about row 2, column 3:
\begin{equation*}
\begin{array}{r} 0R_2 + 9R_1 \to R_1 \\ 0R_2 + 9R_3 \to R_3 \end{array} \qquad \left[\begin{array}{rrrrrr|r} 27 \amp 9 \amp 0 \amp 0 \amp 18 \amp -63 \amp 99\\ 0 \amp -2 \amp -9 \amp -3 \amp 5 \amp 14 \amp -67\\ 0 \amp -18 \amp 0 \amp 0 \amp -36 \amp -9 \amp -252\\ \end{array} \right]
\end{equation*}
Note that we didnβt really need to do any steps here since the form was correctly. However, for consistency between steps, we did this anyway.
Now, we perform some cleanup. First, letβs make the 2nd row, 2nd column positive. and then since the first and 3rd rows are multiples of 3, the previous value of
\(d\text{,}\) we will multiply through by
\(1/3\text{.}\)
\begin{equation*}
\begin{array}{r} \frac{1}{3} R_1 \to R_1, \\\frac{1}{3} R_3 \to R_3, \end{array} \qquad \left[\begin{array}{rrrrrr|r} 9 \amp 3 \amp 0 \amp 0 \amp 6 \amp -21 \amp 33\\ 0 \amp 2 \amp 9 \amp 3 \amp -5 \amp -14 \amp 67\\ 0 \amp -6 \amp 0 \amp 0 \amp -12 \amp -3 \amp -84\\ \end{array} \right]
\end{equation*}
Lastly, we want to solve for
\(x_6\text{,}\) so we will pivot about row 3, column 6 with the following row operations
\begin{equation*}
\begin{array}{r} -21R_3 + 3R_1 \to R1, \\ -14R_3 + 3R_2 \to R_2 \end{array} \qquad \left[\begin{array}{rrrrrr|r} 27 \amp 135 \amp 0 \amp 0 \amp 270 \amp 0 \amp 1863\\ 0 \amp 90 \amp 27 \amp 9 \amp 153 \amp 0 \amp 1377\\ 0 \amp -6 \amp 0 \amp 0 \amp -12 \amp -3 \amp -84\\ \end{array} \right]
\end{equation*}
And again with some cleanup to the pivot in row 3, column 6 to be
\(+3\) and the pivots at row 1, column 1 and row 2, column 2 to also be
\(3\text{.}\)
\begin{equation*}
\begin{array}{r} -R_3 \to R_3 \\ -\frac{1}{9}R_2 \to R_2 \\ -\frac{1}{9} R_1 \to R_1 \end{array} \qquad \left[\begin{array}{rrrrrr|r} 3 \amp 15 \amp 0 \amp 0 \amp 30 \amp 0 \amp 207\\ 0 \amp 10 \amp 3 \amp 1 \amp 17 \amp 0 \amp 153\\ 0 \amp 6 \amp 0 \amp 0 \amp 12 \amp 3 \amp 84\\ \end{array} \right]
\end{equation*}
We can actually write down the equation that this matrix represents as
\begin{align*}
3 x_1 + 15 x_2 + 30 x_5 \amp = 207\\
10x_2 + 3x_3 + x_4 + 17x_5 \amp = 153 \\
6 x_2 + 12x_5 + 3x_6 \amp = 84
\end{align*}
and solve for
\(x_1, x_3\) and
\(x_6\) as
\begin{align*}
x_1 \amp = \frac{1}{3}(207 -15 x_2 - 30 x_5)\\
x_2 \amp = \frac{1}{3}(153 -10x_2 - x_4 - 17 x_5) \\
x_6 \amp = \frac{1}{3}(84 - 6x_2 +2x_4-3x_5)
\end{align*}
And note that the three variables on the right hand side are free variables. This example will be similar to matrices in this class and understanding this example will get you far in understanding the matrices using here.