Solve the following system of equations by matrix method.
\( 3x – 2y + 3z = 8\)
\(2x + y – z = 1\)
\(4x – 3y + 2z = 4\)
CBSE Class 12 Maths · Determinants
CBSE Class 12 Maths · Determinants
Imagine three friends each hold a clue to a mystery number. Their clues are all mixed together. A matrix is like a tidy box that stores all those clues. We find a special "undo" box called the inverse. Multiplying the inverse by the clues gives us the mystery numbers directly. Here, the mystery numbers turn out to be \( x = 1 \), \( y = 2 \), and \( z = 3 \).
Answer: \( x = 1, \; y = 2, \; z = 3 \).
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 \), the matrix \( A \) is invertible and the system has a unique solution given by \( X = A^{-1}B \). To find \( A^{-1} \), we use the formula involving the adjoint of \( A \). The adjoint is the transpose of the cofactor matrix. This method neatly connects determinants, cofactors, and matrix inverses to solve linear systems.
\( AX = B \Rightarrow X = A^{-1}B \), where \( A^{-1} = \dfrac{1}{\det(A)} \, \text{adj}(A) \).
\( x = 1, \; y = 2, \; z = 3 \).
A frequent error is forgetting to transpose the cofactor matrix when forming the adjoint, or mixing up cofactor signs (the sign pattern is \( + - + \) across the first row). Also, students sometimes forget to divide by \( \det(A) \) at the end, giving wrong values.
\( x = 1, \; y = 2, \; z = 3 \).
One common mistake: students often forget to transpose the cofactor matrix when forming the adjoint — they use the cofactor matrix itself instead of its transpose, which gives wrong entries in \( A^{-1} \) and an incorrect solution.
Answer: \( x = 1, \; y = 2, \; z = 3 \).
Question: Solve the following system of equations by the matrix method: \[x + 2y - 3z = -4\] \[2x + 3y + 2z = 2\] \[3x - 3y - 4z = 11\]
Solution: We write the system as \(AX = B\), where \[A = \begin{bmatrix} 1 & 2 & -3 \\ 2 & 3 & 2 \\ 3 & -3 & -4 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} -4 \\ 2 \\ 11 \end{bmatrix}\] Step 1: Find \(|A|\). Expanding along the first row: \[|A| = 1\begin{vmatrix} 3 & 2 \\ -3 & -4 \end{vmatrix} - 2\begin{vmatrix} 2 & 2 \\ 3 & -4 \end{vmatrix} + (-3)\begin{vmatrix} 2 & 3 \\ 3 & -3 \end{vmatrix}\] Computing each 2×2 determinant: \[\begin{vmatrix} 3 & 2 \\ -3 & -4 \end{vmatrix} = (3)(-4) - (2)(-3) = -12 + 6 = -6\] \[\begin{vmatrix} 2 & 2 \\ 3 & -4 \end{vmatrix} = (2)(-4) - (2)(3) = -8 - 6 = -14\] \[\begin{vmatrix} 2 & 3 \\ 3 & -3 \end{vmatrix} = (2)(-3) - (3)(3) = -6 - 9 = -15\] Therefore \[|A| = 1(-6) - 2(-14) + (-3)(-15) = -6 + 28 + 45 = 67\] Since \(|A| = 67 \ne 0\), the inverse exists. Step 2: Find the cofactors of A. \(C_{11} = (-1)^{1+1}\begin{vmatrix} 3 & 2 \\ -3 & -4 \end{vmatrix} = -6\) \(C_{12} = (-1)^{1+2}\begin{vmatrix} 2 & 2 \\ 3 & -4 \end{vmatrix} = -(-14) = 14\) \(C_{13} = (-1)^{1+3}\begin{vmatrix} 2 & 3 \\ 3 & -3 \end{vmatrix} = -15\) \(C_{21} = (-1)^{2+1}\begin{vmatrix} 2 & -3 \\ -3 & -4 \end{vmatrix} = -[(2)(-4)-(-3)(-3)] = -[-8-9] = 17\) \(C_{22} = (-1)^{2+2}\begin{vmatrix} 1 & -3 \\ 3 & -4 \end{vmatrix} = (1)(-4)-(-3)(3) = -4+9 = 5\) \(C_{23} = (-1)^{2+3}\begin{vmatrix} 1 & 2 \\ 3 & -3 \end{vmatrix} = -[(1)(-3)-(2)(3)] = -[-3-6] = 9\) \(C_{31} = (-1)^{3+1}\begin{vmatrix} 2 & -3 \\ 3 & 2 \end{vmatrix} = (2)(2)-(-3)(3) = 4+9 = 13\) \(C_{32} = (-1)^{3+2}\begin{vmatrix} 1 & -3 \\ 2 & 2 \end{vmatrix} = -[(1)(2)-(-3)(2)] = -[2+6] = -8\) \(C_{33} = (-1)^{3+3}\begin{vmatrix} 1 & 2 \\ 2 & 3 \end{vmatrix} = (1)(3)-(2)(2) = 3-4 = -1\) Step 3: Find the adjoint (transpose of cofactor matrix). \[\text{adj}(A) = \begin{bmatrix} -6 & 17 & 13 \\ 14 & 5 & -8 \\ -15 & 9 & -1 \end{bmatrix}\] Step 4: Find \(A^{-1}\). \[A^{-1} = \frac{1}{67}\begin{bmatrix} -6 & 17 & 13 \\ 14 & 5 & -8 \\ -15 & 9 & -1 \end{bmatrix}\] Step 5: Compute \(X = A^{-1}B\). \[X = \frac{1}{67}\begin{bmatrix} -6 & 17 & 13 \\ 14 & 5 & -8 \\ -15 & 9 & -1 \end{bmatrix}\begin{bmatrix} -4 \\ 2 \\ 11 \end{bmatrix}\] Computing each entry: For \(x\): \((-6)(-4) + (17)(2) + (13)(11) = 24 + 34 + 143 = 201\), so \(x = \frac{201}{67} = 3\). For \(y\): \((14)(-4) + (5)(2) + (-8)(11) = -56 + 10 - 88 = -134\), so \(y = \frac{-134}{67} = -2\). For \(z\): \((-15)(-4) + (9)(2) + (-1)(11) = 60 + 18 - 11 = 67\), so \(z = \frac{67}{67} = 1\).
Answer: \(x = 3,\; y = -2,\; z = 1\)
Question: Solve the following system of equations by the matrix method: \[2x - y + z = 3\] \[x + 3y - 2z = -1\] \[3x + 2y + z = 5\]
Solution: We write the system as \(AX = B\), where \[A = \begin{bmatrix} 2 & -1 & 1 \\ 1 & 3 & -2 \\ 3 & 2 & 1 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 3 \\ -1 \\ 5 \end{bmatrix}\] Step 1: Find \(|A|\). Expanding along the first row: \[|A| = 2\begin{vmatrix} 3 & -2 \\ 2 & 1 \end{vmatrix} - (-1)\begin{vmatrix} 1 & -2 \\ 3 & 1 \end{vmatrix} + 1\begin{vmatrix} 1 & 3 \\ 3 & 2 \end{vmatrix}\] Computing each 2×2 determinant: \[\begin{vmatrix} 3 & -2 \\ 2 & 1 \end{vmatrix} = (3)(1)-(-2)(2) = 3+4 = 7\] \[\begin{vmatrix} 1 & -2 \\ 3 & 1 \end{vmatrix} = (1)(1)-(-2)(3) = 1+6 = 7\] \[\begin{vmatrix} 1 & 3 \\ 3 & 2 \end{vmatrix} = (1)(2)-(3)(3) = 2-9 = -7\] Therefore \[|A| = 2(7) + 1(7) + 1(-7) = 14 + 7 - 7 = 14\] Since \(|A| = 14 \ne 0\), the inverse exists. Step 2: Find the cofactors of A. \(C_{11} = (-1)^{2}\begin{vmatrix} 3 & -2 \\ 2 & 1 \end{vmatrix} = 7\) \(C_{12} = (-1)^{3}\begin{vmatrix} 1 & -2 \\ 3 & 1 \end{vmatrix} = -(1+6) = -7\) \(C_{13} = (-1)^{4}\begin{vmatrix} 1 & 3 \\ 3 & 2 \end{vmatrix} = 2-9 = -7\) \(C_{21} = (-1)^{3}\begin{vmatrix} -1 & 1 \\ 2 & 1 \end{vmatrix} = -[(-1)(1)-(1)(2)] = -[-1-2] = 3\) \(C_{22} = (-1)^{4}\begin{vmatrix} 2 & 1 \\ 3 & 1 \end{vmatrix} = (2)(1)-(1)(3) = 2-3 = -1\) \(C_{23} = (-1)^{5}\begin{vmatrix} 2 & -1 \\ 3 & 2 \end{vmatrix} = -[(2)(2)-(-1)(3)] = -[4+3] = -7\) \(C_{31} = (-1)^{4}\begin{vmatrix} -1 & 1 \\ 3 & -2 \end{vmatrix} = (-1)(-2)-(1)(3) = 2-3 = -1\) \(C_{32} = (-1)^{5}\begin{vmatrix} 2 & 1 \\ 1 & -2 \end{vmatrix} = -[(2)(-2)-(1)(1)] = -[-4-1] = 5\) \(C_{33} = (-1)^{6}\begin{vmatrix} 2 & -1 \\ 1 & 3 \end{vmatrix} = (2)(3)-(-1)(1) = 6+1 = 7\) Step 3: Find the adjoint (transpose of cofactor matrix). \[\text{adj}(A) = \begin{bmatrix} 7 & 3 & -1 \\ -7 & -1 & 5 \\ -7 & -7 & 7 \end{bmatrix}\] Step 4: Find \(A^{-1}\). \[A^{-1} = \frac{1}{14}\begin{bmatrix} 7 & 3 & -1 \\ -7 & -1 & 5 \\ -7 & -7 & 7 \end{bmatrix}\] Step 5: Compute \(X = A^{-1}B\). \[X = \frac{1}{14}\begin{bmatrix} 7 & 3 & -1 \\ -7 & -1 & 5 \\ -7 & -7 & 7 \end{bmatrix}\begin{bmatrix} 3 \\ -1 \\ 5 \end{bmatrix}\] Computing each entry: For \(x\): \((7)(3)+(3)(-1)+(-1)(5) = 21-3-5 = 13\), so \(x = \frac{13}{14}\). Wait — let us recheck \(|A|\) by recomputing carefully. \[|A| = 2(7)+1(7)+1(-7) = 14+7-7 = 14\] This is correct. For \(x\): \((7)(3)+(3)(-1)+(-1)(5) = 21 - 3 - 5 = 13\), so \(x = \frac{13}{14}\). Since the system should yield a cleaner answer, let us verify row 1 of \(\text{adj}(A)\) again. The first row of \(\text{adj}(A)\) comes from \(C_{11}, C_{21}, C_{31}\) (the first column of the cofactor matrix). We have \(C_{11}=7\), \(C_{21}=3\), \(C_{31}=-1\). So \(x = \frac{1}{14}[(7)(3)+(3)(-1)+(-1)(5)] = \frac{21-3-5}{14} = \frac{13}{14}\). For \(y\): Row 2 of \(\text{adj}(A)\) is \(-7, -1, 5\). \((-7)(3)+(-1)(-1)+(5)(5) = -21+1+25 = 5\), so \(y = \frac{5}{14}\). For \(z\): Row 3 of \(\text{adj}(A)\) is \(-7, -7, 7\). \((-7)(3)+(-7)(-1)+(7)(5) = -21+7+35 = 21\), so \(z = \frac{21}{14} = \frac{3}{2}\). Verification using equation 1: \(2\left(\frac{13}{14}\right) - \frac{5}{14} + \frac{3}{2} = \frac{26}{14} - \frac{5}{14} + \frac{21}{14} = \frac{42}{14} = 3\). Confirmed. Verification using equation 2: \(\frac{13}{14} + 3\left(\frac{5}{14}\right) - 2\left(\frac{3}{2}\right) = \frac{13}{14}+\frac{15}{14} - 3 = \frac{28}{14}-3 = 2-3 = -1\). Confirmed. Verification using equation 3: \(3\left(\frac{13}{14}\right)+2\left(\frac{5}{14}\right)+\frac{3}{2} = \frac{39}{14}+\frac{10}{14}+\frac{21}{14} = \frac{70}{14} = 5\). Confirmed.
Answer: \(x = \dfrac{13}{14},\; y = \dfrac{5}{14},\; z = \dfrac{3}{2}\)
Question: Solve the following system of equations by the matrix method: \(x + y + z = 6\), \(2x - y + z = 3\), \(x + 2y - z = 2\).
Answer: \(x = 1, \; y = 2, \; z = 3\). (This is the unique solution to the new system \(x+y+z=6\), \(2x-y+z=3\), \(x+2y-z=2\), verified by back-substitution into all three equations.)