Solve the following system of equations by matrix method : \(x + 2y + 3z = 6 \)
\(2x - y + z = 2\)
\(3x + 2y - 2z = 3\)
CBSE Class 12 Maths · Matrices
CBSE Class 12 Maths · Matrices
Imagine you have three mystery boxes labeled x, y, and z. Each box hides a secret number. Three different clues tell you how the boxes add up together. A special math tool called a matrix acts like a master key. It uses all three clues at once to unlock all three boxes together. When we do the math carefully, every box reveals its secret number. All three boxes turn out to hold the number 1.
Answer: The unique solution is \( x = 1,\ y = 1,\ z = 1 \).
A system of linear equations can be written in the compact matrix form \( AX = B \), where \( A \) is the coefficient matrix, \( X \) is the column of variables, and \( B \) is the column of constants. If \( A \) is invertible, meaning \( \det(A) \ne 0 \), then the unique solution is \( X = A^{-1}B \). To find \( A^{-1} \), we use the formula involving the adjoint. The adjoint is the transpose of the matrix of cofactors. This method is reliable for square systems where the determinant is nonzero.
\[ AX = B \quad\Rightarrow\quad X = A^{-1}B, \qquad A^{-1} = \frac{1}{\det(A)}\,\text{adj}(A) \]
The unique solution is \( x = 1,\ y = 1,\ z = 1 \).
A frequent error is forgetting to transpose the cofactor matrix when forming the adjoint, or mixing up the sign pattern of the cofactors. Always apply the checkerboard sign rule and transpose before dividing by the determinant.
The unique solution is \( x = 1,\ y = 1,\ z = 1 \).
One common mistake: students write the adjoint as the cofactor matrix directly, forgetting to transpose it first — always take the transpose of the cofactor matrix to form \( \text{adj}(A) \).
Answer: The unique solution is \( x = 1,\ y = 1,\ z = 1 \).
Question: Solve the following system of equations by the matrix method: \[2x - y + z = 3\] \[x + 3y - 2z = -1\] \[3x + y + z = 8\]
Solution: We write the system in the form \(AX = B\) where \[A = \begin{bmatrix} 2 & -1 & 1 \\ 1 & 3 & -2 \\ 3 & 1 & 1 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 3 \\ -1 \\ 8 \end{bmatrix}\] Step 1: Find \(\det(A)\). \[\det(A) = 2\begin{vmatrix} 3 & -2 \\ 1 & 1 \end{vmatrix} - (-1)\begin{vmatrix} 1 & -2 \\ 3 & 1 \end{vmatrix} + 1\begin{vmatrix} 1 & 3 \\ 3 & 1 \end{vmatrix}\] \[= 2(3 \cdot 1 - (-2) \cdot 1) + 1(1 \cdot 1 - (-2) \cdot 3) + 1(1 \cdot 1 - 3 \cdot 3)\] \[= 2(3 + 2) + 1(1 + 6) + 1(1 - 9)\] \[= 2(5) + 7 + (-8)\] \[= 10 + 7 - 8 = 9\] Since \(\det(A) = 9 \ne 0\), the system has a unique solution. Step 2: Find the cofactors of A. \(C_{11} = +\begin{vmatrix} 3 & -2 \\ 1 & 1 \end{vmatrix} = 3 + 2 = 5\) \(C_{12} = -\begin{vmatrix} 1 & -2 \\ 3 & 1 \end{vmatrix} = -(1 + 6) = -7\) \(C_{13} = +\begin{vmatrix} 1 & 3 \\ 3 & 1 \end{vmatrix} = 1 - 9 = -8\) \(C_{21} = -\begin{vmatrix} -1 & 1 \\ 1 & 1 \end{vmatrix} = -(-1 - 1) = 2\) \(C_{22} = +\begin{vmatrix} 2 & 1 \\ 3 & 1 \end{vmatrix} = 2 - 3 = -1\) \(C_{23} = -\begin{vmatrix} 2 & -1 \\ 3 & 1 \end{vmatrix} = -(2 + 3) = -5\) \(C_{31} = +\begin{vmatrix} -1 & 1 \\ 3 & -2 \end{vmatrix} = 2 - 3 = -1\) \(C_{32} = -\begin{vmatrix} 2 & 1 \\ 1 & -2 \end{vmatrix} = -(-4 - 1) = 5\) \(C_{33} = +\begin{vmatrix} 2 & -1 \\ 1 & 3 \end{vmatrix} = 6 + 1 = 7\) Step 3: Form \(\text{adj}(A)\) by transposing the cofactor matrix. \[\text{adj}(A) = \begin{bmatrix} 5 & 2 & -1 \\ -7 & -1 & 5 \\ -8 & -5 & 7 \end{bmatrix}\] Step 4: Compute \(A^{-1}\). \[A^{-1} = \frac{1}{9} \begin{bmatrix} 5 & 2 & -1 \\ -7 & -1 & 5 \\ -8 & -5 & 7 \end{bmatrix}\] Step 5: Compute \(X = A^{-1}B\). \[X = \frac{1}{9} \begin{bmatrix} 5 & 2 & -1 \\ -7 & -1 & 5 \\ -8 & -5 & 7 \end{bmatrix} \begin{bmatrix} 3 \\ -1 \\ 8 \end{bmatrix}\] Computing each row: For x: \(\frac{1}{9}(5 \cdot 3 + 2 \cdot (-1) + (-1) \cdot 8) = \frac{1}{9}(15 - 2 - 8) = \frac{5}{9}\) Wait, let me recheck. \(15 - 2 - 8 = 5\), so \(x = \frac{5}{9}\). Let me re-verify with original equations. Instead, let me re-examine the cofactors carefully. Re-checking \(C_{21}\): \(C_{21} = -\begin{vmatrix} -1 & 1 \\ 1 & 1 \end{vmatrix} = -((-1)(1) - (1)(1)) = -(-1-1) = 2\). Correct. For y: \(\frac{1}{9}((-7)(3) + (-1)(-1) + 5 \cdot 8) = \frac{1}{9}(-21 + 1 + 40) = \frac{20}{9}\) For z: \(\frac{1}{9}((-8)(3) + (-5)(-1) + 7 \cdot 8) = \frac{1}{9}(-24 + 5 + 56) = \frac{37}{9}\) Verification with equation 1: \(2x - y + z = 2 \cdot \frac{5}{9} - \frac{20}{9} + \frac{37}{9} = \frac{10 - 20 + 37}{9} = \frac{27}{9} = 3\). Correct. Verification with equation 2: \(x + 3y - 2z = \frac{5}{9} + \frac{60}{9} - \frac{74}{9} = \frac{5 + 60 - 74}{9} = \frac{-9}{9} = -1\). Correct. Verification with equation 3: \(3x + y + z = \frac{15}{9} + \frac{20}{9} + \frac{37}{9} = \frac{72}{9} = 8\). Correct. Therefore the solution is \(x = \frac{5}{9}\), \(y = \frac{20}{9}\), \(z = \frac{37}{9}\).
Answer: \(x = \dfrac{5}{9},\quad y = \dfrac{20}{9},\quad z = \dfrac{37}{9}\)
Question: Solve the following system of equations by the matrix method: \[x + y - z = 0\] \[2x - y + 3z = 9\] \[x + 3y + z = 8\]
Solution: We write the system as \(AX = B\) where \[A = \begin{bmatrix} 1 & 1 & -1 \\ 2 & -1 & 3 \\ 1 & 3 & 1 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 0 \\ 9 \\ 8 \end{bmatrix}\] Step 1: Find \(\det(A)\) by expanding along the first row. \[\det(A) = 1\begin{vmatrix} -1 & 3 \\ 3 & 1 \end{vmatrix} - 1\begin{vmatrix} 2 & 3 \\ 1 & 1 \end{vmatrix} + (-1)\begin{vmatrix} 2 & -1 \\ 1 & 3 \end{vmatrix}\] \[= 1(-1 - 9) - 1(2 - 3) + (-1)(6 + 1)\] \[= (-10) - (-1) + (-7)\] \[= -10 + 1 - 7 = -16\] Since \(\det(A) = -16 \ne 0\), the system has a unique solution. Step 2: Find all cofactors. \(C_{11} = +\begin{vmatrix} -1 & 3 \\ 3 & 1 \end{vmatrix} = -1 - 9 = -10\) \(C_{12} = -\begin{vmatrix} 2 & 3 \\ 1 & 1 \end{vmatrix} = -(2 - 3) = 1\) \(C_{13} = +\begin{vmatrix} 2 & -1 \\ 1 & 3 \end{vmatrix} = 6 + 1 = 7\) \(C_{21} = -\begin{vmatrix} 1 & -1 \\ 3 & 1 \end{vmatrix} = -(1 + 3) = -4\) \(C_{22} = +\begin{vmatrix} 1 & -1 \\ 1 & 1 \end{vmatrix} = 1 + 1 = 2\) \(C_{23} = -\begin{vmatrix} 1 & 1 \\ 1 & 3 \end{vmatrix} = -(3 - 1) = -2\) \(C_{31} = +\begin{vmatrix} 1 & -1 \\ -1 & 3 \end{vmatrix} = 3 - 1 = 2\) \(C_{32} = -\begin{vmatrix} 1 & -1 \\ 2 & 3 \end{vmatrix} = -(3 + 2) = -5\) \(C_{33} = +\begin{vmatrix} 1 & 1 \\ 2 & -1 \end{vmatrix} = -1 - 2 = -3\) Step 3: Form \(\text{adj}(A)\) by transposing the cofactor matrix. \[\text{adj}(A) = \begin{bmatrix} -10 & -4 & 2 \\ 1 & 2 & -5 \\ 7 & -2 & -3 \end{bmatrix}\] Step 4: Compute \(A^{-1}\). \[A^{-1} = \frac{1}{-16} \begin{bmatrix} -10 & -4 & 2 \\ 1 & 2 & -5 \\ 7 & -2 & -3 \end{bmatrix}\] Step 5: Compute \(X = A^{-1}B\). \[X = \frac{1}{-16} \begin{bmatrix} -10 & -4 & 2 \\ 1 & 2 & -5 \\ 7 & -2 & -3 \end{bmatrix} \begin{bmatrix} 0 \\ 9 \\ 8 \end{bmatrix}\] For x: \(\frac{1}{-16}((-10)(0) + (-4)(9) + 2 \cdot 8) = \frac{1}{-16}(0 - 36 + 16) = \frac{-20}{-16} = \frac{5}{4}\) For y: \(\frac{1}{-16}(1 \cdot 0 + 2 \cdot 9 + (-5) \cdot 8) = \frac{1}{-16}(0 + 18 - 40) = \frac{-22}{-16} = \frac{11}{8}\) For z: \(\frac{1}{-16}(7 \cdot 0 + (-2)(9) + (-3)(8)) = \frac{1}{-16}(0 - 18 - 24) = \frac{-42}{-16} = \frac{21}{8}\) Verification with equation 1: \(x + y - z = \frac{5}{4} + \frac{11}{8} - \frac{21}{8} = \frac{10}{8} + \frac{11}{8} - \frac{21}{8} = \frac{0}{8} = 0\). Correct. Verification with equation 2: \(2x - y + 3z = \frac{10}{4} - \frac{11}{8} + \frac{63}{8} = \frac{20}{8} - \frac{11}{8} + \frac{63}{8} = \frac{72}{8} = 9\). Correct. Verification with equation 3: \(x + 3y + z = \frac{10}{8} + \frac{33}{8} + \frac{21}{8} = \frac{64}{8} = 8\). Correct. Therefore the solution is \(x = \frac{5}{4}\), \(y = \frac{11}{8}\), \(z = \frac{21}{8}\).
Answer: \(x = \dfrac{5}{4},\quad y = \dfrac{11}{8},\quad z = \dfrac{21}{8}\)
Question: Solve the following system of equations by the matrix method: \( 2x + y + z = 5 \), \( x - y + 2z = 3 \), \( 3x + 2y - z = 4 \).
Answer: The unique solution is \( x = 1,\ y = \dfrac{4}{3},\ z = \dfrac{5}{3} \).