The solution of the system of equations
\(x + y + z = 6\)
\(x - y + z = 2\)
\(2x + y - z = 1\)
is
Answer & explanation
Correct answer: option 4
The correct answer is Option (4) → \(x = 1,\ y = 2,\ z = 3\)
The system is \(AX = B\) with
\( \displaystyle A = \begin{bmatrix} 1 & 1 & 1 \\ 1 & -1 & 1 \\ 2 & 1 & -1 \end{bmatrix},\ B = \begin{bmatrix} 6 \\ 2 \\ 1 \end{bmatrix} \)
\(|A| = 1(1 - 1) - 1(-1 - 2) + 1(1 + 2)\)
\(|A| = 0 + 3 + 3 = 6 \ne 0\)
So there is a unique solution \(\displaystyle X = A^{-1}B = \frac{1}{|A|}(\mathrm{adj}\,A)B\). The cofactors of A are
\(A_{11} = 0,\ A_{12} = 3,\ A_{13} = 3\)
\(A_{21} = 2,\ A_{22} = -3,\ A_{23} = 1\)
\(A_{31} = 2,\ A_{32} = 0,\ A_{33} = -2\)
\( \displaystyle \mathrm{adj}\,A = \begin{bmatrix} 0 & 2 & 2 \\ 3 & -3 & 0 \\ 3 & 1 & -2 \end{bmatrix} \)
\( \displaystyle X = \frac{1}{6}\begin{bmatrix} 0 + 4 + 2 \\ 18 - 6 + 0 \\ 18 + 2 - 2 \end{bmatrix} = \frac{1}{6}\begin{bmatrix} 6 \\ 12 \\ 18 \end{bmatrix} = \begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix} \)
Why the other options are incorrect
Option (1) \(x = 3,\ y = 2,\ z = 1\) — Incorrect. The third equation gives \(6 + 2 - 1 = 7\), not 1.
Option (2) \(x = 2,\ y = 1,\ z = 3\) — Incorrect. The second equation gives \(2 - 1 + 3 = 4\), not 2.
Option (3) \(x = 1,\ y = 3,\ z = 2\) — Incorrect. The second equation gives \(1 - 3 + 2 = 0\), not 2.