For a matrix or an augmented matrix, we can perform row operations to create a related matrix.
The operations we can perform are:
We can combine multiple operations into one step: R_1 \to R_1-2R_2 ; \left[ \begin{matrix} 5 & 4 \\ -1 & 3 \end{matrix} \right] \to \left[ \begin{matrix} 5-2(-1) & 4-2(3) \\ -1 & 3 \end{matrix} \right]= \left[ \begin{matrix} 7 & -2 \\ -1 & 3 \end{matrix} \right]
We do these steps to help with solving systems of equations represented by matrices.
For equations in standard form, the entries to the left of the vertical line are the coefficients in order and the entries to the right of the vertical line are the constants.
\left[ \begin{array}{ccc|c} 1 & -1 & 1 & 8\\ 0 & 1 & 2 & -2 \\ 0 & 0 & 1 & 1 \end{array} \right] \iff \begin{alignedat}{4} & x & - & y & + & z & = & 8 \\ & & & y &+2& z & = & -2 \\ & & & & &z & = & 1 \end{alignedat}
We can solve a system in two ways:
The coefficient matrix may also be called an "upper right triangular matrix".
Back substitution can be used because we can identify the value of one of the variables and then substitute that value back into the equation above it and repeat that process until we have solve for all variables.
The coefficient matrix may also be called a "diagonal matrix".
Note that to have a unique solution we need at least the same number of equations as variables and for the reduced row-echelon form to not have any rows that are all zeros for coefficients, but non-zero for the constant.
Perform the indicated row operation for the given matrices:
R_1 \to \dfrac{1}{3}R_1 ; \left[ \begin{matrix} -9 & 12 \\ 6 & 7 \end{matrix} \right]
R_2 \to 3R_2-2R_3 ; \left[ \begin{matrix} -5 & 9 & 4\\ 10 & -8 & 2\\ 3 & -6 & 7 \end{matrix} \right]
The following matrix is in row-echelon form and represents a linear system in x, y and z:\left[ \begin{array}{ccc|c} 1 & 1 & -1 & 10\\ 0 & 1 & -1 & 7 \\ 0 & 0 & 1 & -5 \end{array} \right]
Solve for x, y and z.