We can write the given system of equations as a matrix equation AX = B, where
A = $\begin{bmatrix} 1 & -1 & 1 \\ 2 & -3 & 4 \\ 5 & 1 & -2 \end{bmatrix}$, X = $\begin{bmatrix} x \\ y \\ z \end{bmatrix}$, and B = $\begin{bmatrix} -4 \\ -15 \\ 12 \end{bmatrix}$.
Show more…