The same solving methods that are used for systems of equations with 2 equations can be used to solve systems with more than 2 equations. For example, a system with 3 equations and 3 unknown variables like this: \begin{cases} x + y + z = 20\\4x - 2y + 3z = 14\\3 \left(x + y\right) = z \end{cases} Can be solved by graphing in a 3D coordinate plane. It can also be solved using matrices.
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.
Use technology to solve the following system of equations.\begin{cases} 3x-2y+z=15 \\ x+ 8y - 2z = -11 \\ \frac{1}{2}x-4y-\frac{1}{2}z=1 \end{cases}
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.