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 variables, and \( B \) is the column of constants. If \( \det(A) \ne 0 \), then \( A \) is invertible and the unique solution is \( X = A^{-1}B \). We find \( A^{-1} \) using \( A^{-1} = \frac{1}{\det(A)}\,\text{adj}(A) \), where the adjoint is the transpose of the matrix of cofactors. Multiplying by \( B \) then gives the values of \( x, y, z \).
Formula Used
\( AX = B \Rightarrow X = A^{-1}B \), where \( A^{-1} = \dfrac{1}{\det(A)}\,\text{adj}(A) \).
Solution
- Step 1: Write the system in matrix form \( AX = B \). Note the third equation has no \( x \)-term, so its coefficient of \( x \) is 0. \[A = \begin{bmatrix} 2 & 1 & 1 \\ 1 & -2 & -1 \\ 0 & 3 & -5 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 1 \\ \tfrac{3}{2} \\ 9 \end{bmatrix}\]
- Step 2: Find \( \det(A) \) by expanding along the first row. \[\det(A) = 2\big[(-2)(-5)-(-1)(3)\big] - 1\big[(1)(-5)-(-1)(0)\big] + 1\big[(1)(3)-(-2)(0)\big]\] \[\det(A) = 2(10+3) - 1(-5-0) + 1(3-0) = 26 + 5 + 3 = 34\] Since \( \det(A) = 34 \ne 0 \), the inverse exists and the solution is unique.
- Step 3: Find all nine cofactors \( A_{ij} \). \[A_{11}=13,\ A_{12}=5,\ A_{13}=3\] \[A_{21}=-(-5-3)=8,\ A_{22}=-10,\ A_{23}=-(6-0)=-6\] \[A_{31}=(-1+2)=1,\ A_{32}=-(-2-1)=3,\ A_{33}=(-4-1)=-5\]
- Step 4: Form \( \text{adj}(A) \) as the transpose of the cofactor matrix. \[\text{adj}(A) = \begin{bmatrix} 13 & 8 & 1 \\ 5 & -10 & 3 \\ 3 & -6 & -5 \end{bmatrix}\] Then the inverse is \[A^{-1} = \frac{1}{34}\begin{bmatrix} 13 & 8 & 1 \\ 5 & -10 & 3 \\ 3 & -6 & -5 \end{bmatrix}\]
- Step 5: Compute \( X = A^{-1}B \) with \( B = \begin{bmatrix} 1 \\ \tfrac{3}{2} \\ 9 \end{bmatrix} \). First row: \[13(1) + 8(\tfrac{3}{2}) + 1(9) = 13 + 12 + 9 = 34\] Second row: \[5(1) - 10(\tfrac{3}{2}) + 3(9) = 5 - 15 + 27 = 17\] Third row: \[3(1) - 6(\tfrac{3}{2}) - 5(9) = 3 - 9 - 45 = -51\]
- Step 6: Divide each entry by \( 34 \). \[X = \frac{1}{34}\begin{bmatrix} 34 \\ 17 \\ -51 \end{bmatrix} = \begin{bmatrix} 1 \\ \tfrac{1}{2} \\ -\tfrac{3}{2} \end{bmatrix}\] So \( x = 1 \), \( y = \tfrac{1}{2} \), \( z = -\tfrac{3}{2} \).
Final Answer
\( x = 1,\ y = \dfrac{1}{2},\ z = -\dfrac{3}{2} \).
Common Mistake
A frequent error is forgetting the alternating sign pattern of cofactors (the \( (-1)^{i+j} \) factor) or forgetting to TRANSPOSE the cofactor matrix to get the adjoint. Also, students often write the coefficient of \( x \) in the third equation as 1 instead of 0, since that term is missing; it must be entered as 0 in matrix \( A \).