Detailed Explanation
A square matrix \( A \) is invertible if its determinant is non-zero. The inverse is found using the formula involving the adjoint (transpose of the cofactor matrix). Once we have \( A^{-1} \), a system of linear equations written in matrix form \( AX = B \) can be solved directly as \( X = A^{-1}B \). Here the coefficient matrix of the system is exactly the given matrix \( A \), so we first compute \( A^{-1} \) and then multiply it by the constant column \( B \).
Formula Used
\[ A^{-1} = \frac{1}{\det(A)} \, \text{adj}(A) \] and for the system \( AX = B \), the solution is \[ X = A^{-1}B \]
Solution
- Step 1: Write down the matrix and compute its determinant. \[ A = \begin{bmatrix} 1 & -1 & 2 \\ 0 & 2 & -3 \\ 3 & -2 & 4 \end{bmatrix} \] Expanding along the first row: \[ \det(A) = 1\,(2\cdot4 - (-3)(-2)) - (-1)(0\cdot4 - (-3)\cdot3) + 2\,(0\cdot(-2) - 2\cdot3) \] \[ \det(A) = 1(8-6) + 1(0+9) + 2(0-6) = 2 + 9 - 12 = -1 \] Since \( \det(A) = -1 \ne 0 \), the inverse exists.
- Step 2: Find the cofactors \( A_{ij} \) of each element. \[ A_{11} = 8-6 = 2, \quad A_{12} = -(0+9) = -9, \quad A_{13} = 0-6 = -6 \] \[ A_{21} = -(-4+4) = 0, \quad A_{22} = 4-6 = -2, \quad A_{23} = -(-2+3) = -1 \] \[ A_{31} = 3-4 = -1, \quad A_{32} = -(-3-0) = 3, \quad A_{33} = 2-0 = 2 \]
- Step 3: Form the adjoint, which is the transpose of the cofactor matrix. The cofactor matrix is \[ \begin{bmatrix} 2 & -9 & -6 \\ 0 & -2 & -1 \\ -1 & 3 & 2 \end{bmatrix} \] Taking the transpose gives \[ \text{adj}(A) = \begin{bmatrix} 2 & 0 & -1 \\ -9 & -2 & 3 \\ -6 & -1 & 2 \end{bmatrix} \]
- Step 4: Compute the inverse using the formula. \[ A^{-1} = \frac{1}{-1} \begin{bmatrix} 2 & 0 & -1 \\ -9 & -2 & 3 \\ -6 & -1 & 2 \end{bmatrix} = \begin{bmatrix} -2 & 0 & 1 \\ 9 & 2 & -3 \\ 6 & 1 & -2 \end{bmatrix} \]
- Step 5: Write the system in matrix form \( AX = B \). The equations \( x - y + 2z = 1 \), \( 2y - 3z = 1 \), \( 3x - 2y + 4z = 3 \) give \[ X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 1 \\ 1 \\ 3 \end{bmatrix} \] The coefficient matrix is exactly the given \( A \).
- Step 6: Solve using \( X = A^{-1}B \). \[ X = \begin{bmatrix} -2 & 0 & 1 \\ 9 & 2 & -3 \\ 6 & 1 & -2 \end{bmatrix} \begin{bmatrix} 1 \\ 1 \\ 3 \end{bmatrix} \] Computing each entry: \[ x = -2(1)+0(1)+1(3) = 1 \] \[ y = 9(1)+2(1)-3(3) = 9+2-9 = 2 \] \[ z = 6(1)+1(1)-2(3) = 6+1-6 = 1 \]
Final Answer
\[ A^{-1} = \begin{bmatrix} -2 & 0 & 1 \\ 9 & 2 & -3 \\ 6 & 1 & -2 \end{bmatrix} \] and the solution of the system is \( x = 1 \), \( y = 2 \), \( z = 1 \).
Common Mistake
A frequent error is forgetting to take the transpose of the cofactor matrix before dividing by the determinant. The adjoint is the transpose of the cofactor matrix, so mixing up rows and columns gives a wrong inverse and hence a wrong solution.