Detailed Explanation
For any square matrix \( A \) with \( \det(A) \ne 0 \), the inverse is given by \( A^{-1} = \frac{1}{\det(A)} \, \text{adj}(A) \). Here \( \text{adj}(A) \) is the transpose of the cofactor matrix. A system of linear equations can be written in matrix form as \( AX = B \), where \( X \) is the column of unknowns and \( B \) is the column of constants. If \( A \) is invertible, the unique solution is \( X = A^{-1}B \). The key idea is to first rearrange the given equations so that the coefficient matrix matches \( A \), then multiply \( A^{-1} \) by \( B \).
Formula Used
\( A^{-1} = \dfrac{1}{\det(A)} \, \text{adj}(A) \) and the solution of \( AX = B \) is \( X = A^{-1}B \).
Solution
- Step 1: Write the given matrix and compute its determinant. \[A = \begin{bmatrix} 0 & 2 & 1 \\ -2 & -1 & -2 \\ 1 & -1 & 0 \end{bmatrix}\] Expanding along the first row: \[\det(A) = 0\big((-1)(0)-(-2)(-1)\big) - 2\big((-2)(0)-(-2)(1)\big) + 1\big((-2)(-1)-(-1)(1)\big)\] \[\det(A) = 0 - 2(0+2) + 1(2+1) = -4 + 3 = -1\] Since \( \det(A) = -1 \ne 0 \), the inverse exists.
- Step 2: Find the cofactors \( C_{ij} \) of each element. \[C_{11} = (-1)(0)-(-2)(-1) = -2, \quad C_{12} = -\big((-2)(0)-(-2)(1)\big) = -2, \quad C_{13} = (-2)(-1)-(-1)(1) = 3\] \[C_{21} = -\big((2)(0)-(1)(-1)\big) = -1, \quad C_{22} = (0)(0)-(1)(1) = -1, \quad C_{23} = -\big((0)(-1)-(2)(1)\big) = 2\] \[C_{31} = (2)(-2)-(1)(-1) = -3, \quad C_{32} = -\big((0)(-2)-(1)(-2)\big) = -2, \quad C_{33} = (0)(-1)-(2)(-2) = 4\]
- Step 3: Form the cofactor matrix and take its transpose to get the adjoint. \[\text{Cofactor matrix} = \begin{bmatrix} -2 & -2 & 3 \\ -1 & -1 & 2 \\ -3 & -2 & 4 \end{bmatrix}\] \[\text{adj}(A) = \begin{bmatrix} -2 & -1 & -3 \\ -2 & -1 & -2 \\ 3 & 2 & 4 \end{bmatrix}\]
- Step 4: Compute the inverse using \( A^{-1} = \frac{1}{\det(A)}\text{adj}(A) \). Since \( \det(A) = -1 \): \[A^{-1} = \frac{1}{-1}\begin{bmatrix} -2 & -1 & -3 \\ -2 & -1 & -2 \\ 3 & 2 & 4 \end{bmatrix} = \begin{bmatrix} 2 & 1 & 3 \\ 2 & 1 & 2 \\ -3 & -2 & -4 \end{bmatrix}\]
- Step 5: Rewrite the given system so its coefficient matrix equals \( A \). The equations are \( -2y + z = 7 \), \( 2x - y - z = 8 \), \( x - 2y = 10 \). In terms of \( x, y, z \) the coefficient matrix is \[\begin{bmatrix} 0 & -2 & 1 \\ 2 & -1 & -1 \\ 1 & -2 & 0 \end{bmatrix}\] This is exactly \( A^{T} \) (the transpose of \( A \)). So the system can be written as \( A^{T}X = B \), where \[X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 7 \\ 8 \\ 10 \end{bmatrix}\]
- Step 6: Since \( A^{T}X = B \), we get \( X = (A^{T})^{-1}B \). Using the property \( (A^{T})^{-1} = (A^{-1})^{T} \): \[(A^{-1})^{T} = \begin{bmatrix} 2 & 2 & -3 \\ 1 & 1 & -2 \\ 3 & 2 & -4 \end{bmatrix}\]
- Step 7: Multiply \( (A^{-1})^{T} \) by \( B \) to find \( X \). \[X = \begin{bmatrix} 2 & 2 & -3 \\ 1 & 1 & -2 \\ 3 & 2 & -4 \end{bmatrix}\begin{bmatrix} 7 \\ 8 \\ 10 \end{bmatrix}\] \[x = 2(7)+2(8)-3(10) = 14+16-30 = 0\] \[y = 1(7)+1(8)-2(10) = 7+8-20 = -5\] \[z = 3(7)+2(8)-4(10) = 21+16-40 = -3\]
- Step 8: Verify by substitution. First equation: \( -2(-5)+(-3) = 10-3 = 7 \) ✓. Second: \( 2(0)-(-5)-(-3) = 5+3 = 8 \) ✓. Third: \( 0 - 2(-5) = 10 \) ✓. All equations are satisfied.
Final Answer
\[A^{-1} = \begin{bmatrix} 2 & 1 & 3 \\ 2 & 1 & 2 \\ -3 & -2 & -4 \end{bmatrix}\] and the solution of the system is \( x = 0 \), \( y = -5 \), \( z = -3 \).
Common Mistake
A very common error is directly using \( A^{-1}B \) without checking whether the coefficient matrix of the system actually equals \( A \). Here the coefficient matrix is \( A^{T} \), not \( A \), so you must use \( (A^{T})^{-1} = (A^{-1})^{T} \). Ignoring the transpose gives the wrong values of \( x, y, z \).