Detailed Explanation
A system of linear equations can be written in matrix form as \( AX = B \), where \( A \) is the coefficient matrix, \( X \) is the column of unknowns, and \( B \) is the constant column. If \( A \) is invertible (that is \( \det(A) \ne 0 \)), we can multiply both sides on the left by \( A^{-1} \) to get \( X = A^{-1}B \). To find \( A^{-1} \) we use the formula \( A^{-1} = \frac{1}{\det(A)} \, \text{adj}(A) \), where the adjoint is the transpose of the cofactor matrix. Once \( A^{-1} \) is known, solving the system is just one matrix multiplication.
Formula Used
\( AX = B \Rightarrow X = A^{-1}B \) where \( A^{-1} = \dfrac{1}{\det(A)} \, \text{adj}(A) \)
Solution
- Step 1: Write down the matrix and compute its determinant. \[A = \begin{bmatrix} 1 & -2 & 0 \\ 2 & -1 & -1 \\ 0 & -2 & 1 \end{bmatrix}\] Expand along the first row: \[\det(A) = 1\begin{vmatrix} -1 & -1 \\ -2 & 1 \end{vmatrix} - (-2)\begin{vmatrix} 2 & -1 \\ 0 & 1 \end{vmatrix} + 0\] So \[\det(A) = 1(-1-2) + 2(2-0) = -3 + 4 = 1\] Since \( \det(A) = 1 \ne 0 \), the inverse exists.
- Step 2: Find all nine cofactors \( C_{ij} \). \[C_{11} = \begin{vmatrix} -1 & -1 \\ -2 & 1 \end{vmatrix} = -1-2 = -3\] \[C_{12} = -\begin{vmatrix} 2 & -1 \\ 0 & 1 \end{vmatrix} = -(2-0) = -2\] \[C_{13} = \begin{vmatrix} 2 & -1 \\ 0 & -2 \end{vmatrix} = -4-0 = -4\] \[C_{21} = -\begin{vmatrix} -2 & 0 \\ -2 & 1 \end{vmatrix} = -(-2-0) = 2\] \[C_{22} = \begin{vmatrix} 1 & 0 \\ 0 & 1 \end{vmatrix} = 1\] \[C_{23} = -\begin{vmatrix} 1 & -2 \\ 0 & -2 \end{vmatrix} = -(-2-0) = 2\]
- Step 3: Compute the remaining cofactors. \[C_{31} = \begin{vmatrix} -2 & 0 \\ -1 & -1 \end{vmatrix} = 2-0 = 2\] \[C_{32} = -\begin{vmatrix} 1 & 0 \\ 2 & -1 \end{vmatrix} = -(-1-0) = 1\] \[C_{33} = \begin{vmatrix} 1 & -2 \\ 2 & -1 \end{vmatrix} = -1+4 = 3\]
- Step 4: The adjoint is the transpose of the cofactor matrix. The cofactor matrix is \[\begin{bmatrix} -3 & -2 & -4 \\ 2 & 1 & 2 \\ 2 & 1 & 3 \end{bmatrix}\] Taking its transpose gives \[\text{adj}(A) = \begin{bmatrix} -3 & 2 & 2 \\ -2 & 1 & 1 \\ -4 & 2 & 3 \end{bmatrix}\]
- Step 5: Since \( \det(A) = 1 \), the inverse equals the adjoint. \[A^{-1} = \frac{1}{1}\,\text{adj}(A) = \begin{bmatrix} -3 & 2 & 2 \\ -2 & 1 & 1 \\ -4 & 2 & 3 \end{bmatrix}\]
- Step 6: Write the system in matrix form. The equations \( x - 2y = 10 \), \( 2x - y - z = 8 \), \( -2y + z = 7 \) give \[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}\] which is exactly our matrix \( A \), so \( X = A^{-1}B \).
- Step 7: Multiply \( A^{-1} \) by \( B \). \[X = \begin{bmatrix} -3 & 2 & 2 \\ -2 & 1 & 1 \\ -4 & 2 & 3 \end{bmatrix}\begin{bmatrix} 10 \\ 8 \\ 7 \end{bmatrix}\] Row 1: \( -3(10)+2(8)+2(7) = -30+16+14 = 0 \). Row 2: \( -2(10)+1(8)+1(7) = -20+8+7 = -5 \). Row 3: \( -4(10)+2(8)+3(7) = -40+16+21 = -3 \). \[X = \begin{bmatrix} 0 \\ -5 \\ -3 \end{bmatrix}\]
Final Answer
\[A^{-1} = \begin{bmatrix} -3 & 2 & 2 \\ -2 & 1 & 1 \\ -4 & 2 & 3 \end{bmatrix}\] and the solution of the system is \( x = 0 \), \( y = -5 \), \( z = -3 \).
Common Mistake
A very common error is forgetting to take the transpose of the cofactor matrix when forming the adjoint, or forgetting the alternating sign pattern of cofactors. Always apply the sign chart and transpose before dividing by the determinant.