Solve the system of equations using matrices: x + y - z = -5, 2x - y + z = -1, -x +...

Check the final answer first, then review the worked steps.

Answer

\((-2, 8, 11)\)

Work

$$\begin{bmatrix} 1 & 1 & -1 & | & -5 \\ 2 & -1 & 1 & | & -1 \\ -1 & 4 & -3 & | & 1 \end{bmatrix} \xrightarrow{R_2-2R_1, R_3+R_1} \begin{bmatrix} 1 & 1 & -1 & | & -5 \\ 0 & -3 & 3 & | & 9 \\ 0 & 5 & -4 & | & -4 \end{bmatrix} \xrightarrow{-\frac{1}{3}R_2} \begin{bmatrix} 1 & 1 & -1 & | & -5 \\ 0 & 1 & -1 & | & -3 \\ 0 & 5 & -4 & | & -4 \end{bmatrix} \xrightarrow{R_3-5R_2} \begin{bmatrix} 1 & 1 & -1 & | & -5 \\ 0 & 1 & -1 & | & -3 \\ 0 & 0 & 1 & | & 11 \end{bmatrix}$$

Step-by-step solution

  1. Write the system as an augmented matrix: $\begin{bmatrix} 1 & 1 & -1 & | & -5 \\ 2 & -1 & 1 & | & -1 \\ -1 & 4 & -3 & | & 1 \end{bmatrix}$.
  2. Eliminate the first column entries below the pivot: $R_2 \to R_2 - 2R_1$ and $R_3 \to R_3 + R_1$. This gives $\begin{bmatrix} 1 & 1 & -1 & | & -5 \\ 0 & -3 & 3 & | & 9 \\ 0 & 5 & -4 & | & -4 \end{bmatrix}$.
  3. Simplify $R_2$ by dividing by $-3$: $R_2 \to -\frac{1}{3}R_2$ gives $\begin{bmatrix} 1 & 1 & -1 & | & -5 \\ 0 & 1 & -1 & | & -3 \\ 0 & 5 & -4 & | & -4 \end{bmatrix}$.
  4. Eliminate the second column entry in $R_3$: $R_3 \to R_3 - 5R_2$. This gives $\begin{bmatrix} 1 & 1 & -1 & | & -5 \\ 0 & 1 & -1 & | & -3 \\ 0 & 0 & 1 & | & 11 \end{bmatrix}$, which matches option C.
  5. Back-substitute: $z = 11$, $y - 11 = -3 \implies y = 8$, and $x + 8 - 11 = -5 \implies x = -2$.