Matrices & Determinants
General
Grade 12

Question:

Solve the system $x+y+z=6$, $x-y+z=2$, $2x+y-z=1$ using matrix method.

Step-by-Step Solution

Key Concept: General
Let $A = \begin{bmatrix} 1 & 1 & 1 \\ 1 & -1 & 1 \\ 2 & 1 & -1 \end{bmatrix}, X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}$ & $B = \begin{bmatrix} 6 \\ 2 \\ 1 \end{bmatrix}$.<br>Then the system is $AX = B$.<br>$|A| = 6$, hence $A$ is nonsingular,<br>Cofactor $A = \begin{bmatrix} 0 & 3 & 3 \\ 2 & -3 & 1 \\ 2 & 0 & -2 \end{bmatrix}$<br>$\Rightarrow \text{adj } A = \begin{bmatrix} 0 & 2 & 2 \\ 3 & -3 & 0 \\ 3 & 1 & -2 \end{bmatrix}$<br>$\Rightarrow A^{-1} = \frac{1}{|A|} \text{adj } A = \frac{1}{6} \begin{bmatrix} 0 & 2 & 2 \\ 3 & -3 & 0 \\ 3 & 1 & -2 \end{bmatrix} = \begin{bmatrix} 0 & 1/3 & 1/3 \\ 1/2 & -1/2 & 0 \\ 1/2 & 1/6 & -1/3 \end{bmatrix}$<br>$\Rightarrow X = A^{-1} B = \begin{bmatrix} 0 & 1/3 & 1/3 \\ 1/2 & -1/2 & 0 \\ 1/2 & 1/6 & -1/3 \end{bmatrix} \begin{bmatrix} 6 \\ 2 \\ 1 \end{bmatrix}$ i.e. $\begin{bmatrix} x \\ y \\ z \end{bmatrix} = \begin{bmatrix} 1 \\ 2 \\ 3 \end{bmatrix}$<br>$\Rightarrow x = 1, y = 2, z = 3$
Correct Answer: x=1, y=2, z=3

Master Matrices & Determinants with Mathbee

Practice this topic under real exam conditions with strict timers, or ask our AI Mentor to explain the concepts step-by-step.

Start Practicing for Free