Problem Statement
Solve using matrix method:
$\begin{aligned} x - y + z &= 4 \\ 2x + y - 3z &= 0 \\ x + y + z &= 2 \end{aligned}$
Verified Solution & Marking Scheme
Find |A|
$A = \begin{pmatrix} 1 & -1 & 1 \\ 2 & 1 & -3 \\ 1 & 1 & 1 \end{pmatrix}$
$|A| = 1(1 + 3) - (-1)(2 + 3) + 1(2 - 1) = 4 + 5 + 1 = 10 \neq 0$
Adjugate Matrix
$\text{adj}(A) = \begin{pmatrix} 4 & 2 & 2 \\ -5 & 0 & 5 \\ 1 & -2 & 3 \end{pmatrix}$
Compute X = A⁻¹ B
$X = \frac{1}{10} \begin{pmatrix} 4 & 2 & 2 \\ -5 & 0 & 5 \\ 1 & -2 & 3 \end{pmatrix} \begin{pmatrix} 4 \\ 0 \\ 2 \end{pmatrix} = \frac{1}{10} \begin{pmatrix} 20 \\ -10 \\ 10 \end{pmatrix} = \begin{pmatrix} 2 \\ -1 \\ 1 \end{pmatrix}$