Solution:
Key idea: A system of linear equations can be written as A X = B AX = B A X = B , where A A A holds the coefficients, X X X the unknowns and B B B the constants.
If ∣ A ∣ ≠ 0 \lvert A \rvert \neq 0 ∣ A ∣ = 0 , the system has the unique solution X = A − 1 B X = A^{-1}B X = A − 1 B .
The inverse is found from A − 1 = 1 ∣ A ∣ adj A A^{-1} = \dfrac{1}{\lvert A \rvert}\operatorname{adj} A A − 1 = ∣ A ∣ 1 adj A .
Step 1 — Settle the second equation.
The paper prints the second equation as 2 x − y z = 8 2x - yz = 8 2 x − y z = 8 , which is not linear (it contains the product y z yz y z ). The question asks for a system of linear equations, so we take it as 2 x − y − z = 8 2x - y - z = 8 2 x − y − z = 8 , the linear equation the misprint most likely stands for.
Step 2 — Write the system in matrix form.
The first equation has no z z z -term and the third has no x x x -term, so those coefficients are 0 0 0 .
A = [ 1 − 2 0 2 − 1 − 1 0 − 2 1 ] , X = [ x y z ] , B = [ 10 8 7 ] A = \begin{bmatrix} 1 & -2 & 0 \\ 2 & -1 & -1 \\ 0 & -2 & 1 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 10 \\ 8 \\ 7 \end{bmatrix} A = 1 2 0 − 2 − 1 − 2 0 − 1 1 , X = x y z , B = 10 8 7
Step 3 — Find the cofactors of the entries of A A A .
The cofactor C i j C_{ij} C ij is ( − 1 ) i + j (-1)^{i+j} ( − 1 ) i + j times the minor of the entry in row i i i , column j j j (the 2 × 2 2 \times 2 2 × 2 determinant left after deleting that row and column).
C 11 = + [ ( − 1 ) ( 1 ) − ( − 1 ) ( − 2 ) ] = − 3 C 12 = − [ ( 2 ) ( 1 ) − ( − 1 ) ( 0 ) ] = − 2 C 13 = + [ ( 2 ) ( − 2 ) − ( − 1 ) ( 0 ) ] = − 4 C 21 = − [ ( − 2 ) ( 1 ) − ( 0 ) ( − 2 ) ] = 2 C 22 = + [ ( 1 ) ( 1 ) − ( 0 ) ( 0 ) ] = 1 C 23 = − [ ( 1 ) ( − 2 ) − ( − 2 ) ( 0 ) ] = 2 C 31 = + [ ( − 2 ) ( − 1 ) − ( 0 ) ( − 1 ) ] = 2 C 32 = − [ ( 1 ) ( − 1 ) − ( 0 ) ( 2 ) ] = 1 C 33 = + [ ( 1 ) ( − 1 ) − ( − 2 ) ( 2 ) ] = 3 \begin{aligned}
C_{11} &= +\left[(-1)(1) - (-1)(-2)\right] \\
&= -3 \\
C_{12} &= -\left[(2)(1) - (-1)(0)\right] \\
&= -2 \\
C_{13} &= +\left[(2)(-2) - (-1)(0)\right] \\
&= -4 \\
C_{21} &= -\left[(-2)(1) - (0)(-2)\right] \\
&= 2 \\
C_{22} &= +\left[(1)(1) - (0)(0)\right] \\
&= 1 \\
C_{23} &= -\left[(1)(-2) - (-2)(0)\right] \\
&= 2 \\
C_{31} &= +\left[(-2)(-1) - (0)(-1)\right] \\
&= 2 \\
C_{32} &= -\left[(1)(-1) - (0)(2)\right] \\
&= 1 \\
C_{33} &= +\left[(1)(-1) - (-2)(2)\right] \\
&= 3
\end{aligned} C 11 C 12 C 13 C 21 C 22 C 23 C 31 C 32 C 33 = + [ ( − 1 ) ( 1 ) − ( − 1 ) ( − 2 ) ] = − 3 = − [ ( 2 ) ( 1 ) − ( − 1 ) ( 0 ) ] = − 2 = + [ ( 2 ) ( − 2 ) − ( − 1 ) ( 0 ) ] = − 4 = − [ ( − 2 ) ( 1 ) − ( 0 ) ( − 2 ) ] = 2 = + [ ( 1 ) ( 1 ) − ( 0 ) ( 0 ) ] = 1 = − [ ( 1 ) ( − 2 ) − ( − 2 ) ( 0 ) ] = 2 = + [ ( − 2 ) ( − 1 ) − ( 0 ) ( − 1 ) ] = 2 = − [ ( 1 ) ( − 1 ) − ( 0 ) ( 2 ) ] = 1 = + [ ( 1 ) ( − 1 ) − ( − 2 ) ( 2 ) ] = 3
Step 4 — Find ∣ A ∣ \lvert A \rvert ∣ A ∣ .
We expand along the first row, multiplying each entry by its cofactor and adding.
∣ A ∣ = ( 1 ) ( − 3 ) + ( − 2 ) ( − 2 ) + ( 0 ) ( − 4 ) = − 3 + 4 + 0 = 1 \begin{aligned}
\lvert A \rvert &= (1)(-3) + (-2)(-2) + (0)(-4) \\
&= -3 + 4 + 0 \\
&= 1
\end{aligned} ∣ A ∣ = ( 1 ) ( − 3 ) + ( − 2 ) ( − 2 ) + ( 0 ) ( − 4 ) = − 3 + 4 + 0 = 1
Since ∣ A ∣ ≠ 0 \lvert A \rvert \neq 0 ∣ A ∣ = 0 , the matrix A A A is non-singular, so A − 1 A^{-1} A − 1 exists and the system has a unique solution.
Step 5 — Write adj A \operatorname{adj} A adj A and A − 1 A^{-1} A − 1 .
The adjoint is the transpose of the matrix of cofactors: the cofactors of row 1 form column 1, and so on.
adj A = [ − 3 2 2 − 2 1 1 − 4 2 3 ] \operatorname{adj} A = \begin{bmatrix} -3 & 2 & 2 \\ -2 & 1 & 1 \\ -4 & 2 & 3 \end{bmatrix} adj A = − 3 − 2 − 4 2 1 2 2 1 3
The inverse is the adjoint divided by the determinant.
A − 1 = 1 ∣ A ∣ adj A A^{-1} = \dfrac{1}{\lvert A \rvert}\operatorname{adj} A A − 1 = ∣ A ∣ 1 adj A
A − 1 = 1 1 [ − 3 2 2 − 2 1 1 − 4 2 3 ] A^{-1} = \dfrac{1}{1}\begin{bmatrix} -3 & 2 & 2 \\ -2 & 1 & 1 \\ -4 & 2 & 3 \end{bmatrix} A − 1 = 1 1 − 3 − 2 − 4 2 1 2 2 1 3
Step 6 — Find X = A − 1 B X = A^{-1}B X = A − 1 B .
Multiplying both sides of the matrix equation on the left by A − 1 A^{-1} A − 1 leaves X X X alone. We multiply each row of adj A \operatorname{adj} A adj A by the column B B B , then divide by ∣ A ∣ \lvert A \rvert ∣ A ∣ .
X = 1 1 [ − 3 2 2 − 2 1 1 − 4 2 3 ] [ 10 8 7 ] X = \dfrac{1}{1}\begin{bmatrix} -3 & 2 & 2 \\ -2 & 1 & 1 \\ -4 & 2 & 3 \end{bmatrix}\begin{bmatrix} 10 \\ 8 \\ 7 \end{bmatrix} X = 1 1 − 3 − 2 − 4 2 1 2 2 1 3 10 8 7
X = 1 1 [ ( − 3 ) ( 10 ) + ( 2 ) ( 8 ) + ( 2 ) ( 7 ) ( − 2 ) ( 10 ) + ( 1 ) ( 8 ) + ( 1 ) ( 7 ) ( − 4 ) ( 10 ) + ( 2 ) ( 8 ) + ( 3 ) ( 7 ) ] X = \dfrac{1}{1}\begin{bmatrix} (-3)(10) + (2)(8) + (2)(7) \\ (-2)(10) + (1)(8) + (1)(7) \\ (-4)(10) + (2)(8) + (3)(7) \end{bmatrix} X = 1 1 ( − 3 ) ( 10 ) + ( 2 ) ( 8 ) + ( 2 ) ( 7 ) ( − 2 ) ( 10 ) + ( 1 ) ( 8 ) + ( 1 ) ( 7 ) ( − 4 ) ( 10 ) + ( 2 ) ( 8 ) + ( 3 ) ( 7 )
X = 1 1 [ 0 − 5 − 3 ] X = \dfrac{1}{1}\begin{bmatrix} 0 \\ -5 \\ -3 \end{bmatrix} X = 1 1 0 − 5 − 3
X = [ 0 − 5 − 3 ] X = \begin{bmatrix} 0 \\ -5 \\ -3 \end{bmatrix} X = 0 − 5 − 3
Step 7 — Check in all three equations.
We substitute x = 0 x = 0 x = 0 , y = − 5 y = -5 y = − 5 and z = − 3 z = -3 z = − 3 into each equation in turn.
0 − 2 ( − 5 ) = 10 0 - 2(-5) = 10 0 − 2 ( − 5 ) = 10
2 ( 0 ) − ( − 5 ) − ( − 3 ) = 8 2(0) - (-5) - (-3) = 8 2 ( 0 ) − ( − 5 ) − ( − 3 ) = 8
− 2 ( − 5 ) + ( − 3 ) = 7 -2(-5) + (-3) = 7 − 2 ( − 5 ) + ( − 3 ) = 7
All three equations hold.
Therefore, x = 0 x = 0 x = 0 , y = − 5 y = -5 y = − 5 and z = − 3 z = -3 z = − 3 .