Solve system of linear equations, using matrix method, in Exercises 7 to 14.
\(2x + 3y +3 z = 5\)
\(x – 2y + z = – 4\)
\(3x – y – 2z = 3\)
CBSE Class 12 Maths · Determinants
CBSE Class 12 Maths · Determinants
Imagine you have three mystery boxes labelled x, y, and z. Each box holds a secret number. You are given three clues about how these boxes add up to known totals. Finding the right numbers in each box is the goal. Mathematicians use a clever grid of numbers called a matrix to crack all three clues at once. Think of it like a magic key that unlocks all mysteries together. The answer here is x equals 1, y equals 2, and z equals negative 1.
Answer: \[ x = 1, \quad y = 2, \quad z = -1. \]
A system of linear equations can be written compactly as \( AX = B \), where \( A \) is the coefficient matrix, \( X \) is the column of unknowns, 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 \). The inverse is found using \( A^{-1} = \frac{1}{\det(A)} \, \text{adj}(A) \), where the adjoint is the transpose of the cofactor matrix. This method is reliable and always gives the exact solution when the determinant is non-zero.
\[ AX = B \quad\Rightarrow\quad X = A^{-1}B, \qquad A^{-1} = \frac{1}{\det(A)}\,\text{adj}(A) \]
\[ x = 1, \quad y = 2, \quad z = -1. \]
A frequent error is forgetting to TRANSPOSE the cofactor matrix when forming the adjoint. The adjoint is \( \text{adj}(A) = (\text{cofactor matrix})^{T} \), not the cofactor matrix itself. Skipping the transpose gives a wrong inverse and hence wrong values of \( x, y, z \).
\[ x = 1, \quad y = 2, \quad z = -1. \]
One common mistake: Students often write the adjoint as the cofactor matrix itself without transposing it, which interchanges the off-diagonal cofactors and leads to a wrong inverse and incorrect final values.
Answer: \[ x = 1, \quad y = 2, \quad z = -1. \]
Question: Solve the following system of linear equations using the matrix method: \( x + 2y - z = 4 \), \( 2x - y + 3z = 1 \), \( 3x + y + z = 2 \).
Solution: We write the system as \( AX = B \) where \[A = \begin{bmatrix} 1 & 2 & -1 \\ 2 & -1 & 3 \\ 3 & 1 & 1 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 4 \\ 1 \\ 2 \end{bmatrix}\] Step 1: Compute \( \det(A) \). Expanding along the first row: \[\det(A) = 1\begin{vmatrix} -1 & 3 \\ 1 & 1 \end{vmatrix} - 2\begin{vmatrix} 2 & 3 \\ 3 & 1 \end{vmatrix} + (-1)\begin{vmatrix} 2 & -1 \\ 3 & 1 \end{vmatrix}\] \[= 1(-1 - 3) - 2(2 - 9) + (-1)(2 + 3)\] \[= 1(-4) - 2(-7) + (-1)(5)\] \[= -4 + 14 - 5 = 5\] Since \( \det(A) = 5 \ne 0 \), a unique solution exists. Step 2: Find the cofactors \( C_{ij} \). \[C_{11} = +\begin{vmatrix} -1 & 3 \\ 1 & 1 \end{vmatrix} = (-1)(1) - (3)(1) = -4\] \[C_{12} = -\begin{vmatrix} 2 & 3 \\ 3 & 1 \end{vmatrix} = -(2 - 9) = 7\] \[C_{13} = +\begin{vmatrix} 2 & -1 \\ 3 & 1 \end{vmatrix} = (2 + 3) = 5\] \[C_{21} = -\begin{vmatrix} 2 & -1 \\ 1 & 1 \end{vmatrix} = -(2 + 1) = -3\] \[C_{22} = +\begin{vmatrix} 1 & -1 \\ 3 & 1 \end{vmatrix} = (1 + 3) = 4\] \[C_{23} = -\begin{vmatrix} 1 & 2 \\ 3 & 1 \end{vmatrix} = -(1 - 6) = 5\] \[C_{31} = +\begin{vmatrix} 2 & -1 \\ -1 & 3 \end{vmatrix} = (6 - 1) = 5\] \[C_{32} = -\begin{vmatrix} 1 & -1 \\ 2 & 3 \end{vmatrix} = -(3 + 2) = -5\] \[C_{33} = +\begin{vmatrix} 1 & 2 \\ 2 & -1 \end{vmatrix} = (-1 - 4) = -5\] Step 3: Form the adjoint (transpose of cofactor matrix): \[\text{adj}(A) = \begin{bmatrix} -4 & -3 & 5 \\ 7 & 4 & -5 \\ 5 & 5 & -5 \end{bmatrix}\] Step 4: Compute \( A^{-1} \): \[A^{-1} = \frac{1}{5}\begin{bmatrix} -4 & -3 & 5 \\ 7 & 4 & -5 \\ 5 & 5 & -5 \end{bmatrix}\] Step 5: Compute \( X = A^{-1}B \): \[X = \frac{1}{5}\begin{bmatrix} -4 & -3 & 5 \\ 7 & 4 & -5 \\ 5 & 5 & -5 \end{bmatrix}\begin{bmatrix} 4 \\ 1 \\ 2 \end{bmatrix}\] Computing each entry: For \( x \): \( \frac{1}{5}[(-4)(4) + (-3)(1) + (5)(2)] = \frac{1}{5}[-16 - 3 + 10] = \frac{-9}{5} \). For \( y \): \( \frac{1}{5}[(7)(4) + (4)(1) + (-5)(2)] = \frac{1}{5}[28 + 4 - 10] = \frac{22}{5} \). For \( z \): \( \frac{1}{5}[(5)(4) + (5)(1) + (-5)(2)] = \frac{1}{5}[20 + 5 - 10] = \frac{15}{5} = 3 \). Therefore \[X = \begin{bmatrix} -9/5 \\ 22/5 \\ 3 \end{bmatrix}\]
Answer: \( x = -\dfrac{9}{5},\quad y = \dfrac{22}{5},\quad z = 3 \)
Question: Solve the following system of linear equations using the matrix method: \( 3x - 2y + z = 2 \), \( x + y - 3z = -1 \), \( 2x + 3y - z = 5 \).
Solution: We write the system as \( AX = B \) where \[A = \begin{bmatrix} 3 & -2 & 1 \\ 1 & 1 & -3 \\ 2 & 3 & -1 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 2 \\ -1 \\ 5 \end{bmatrix}\] Step 1: Compute \( \det(A) \). Expanding along the first row: \[\det(A) = 3\begin{vmatrix} 1 & -3 \\ 3 & -1 \end{vmatrix} - (-2)\begin{vmatrix} 1 & -3 \\ 2 & -1 \end{vmatrix} + 1\begin{vmatrix} 1 & 1 \\ 2 & 3 \end{vmatrix}\] \[= 3(-1 + 9) + 2(-1 + 6) + 1(3 - 2)\] \[= 3(8) + 2(5) + 1(1)\] \[= 24 + 10 + 1 = 35\] Since \( \det(A) = 35 \ne 0 \), a unique solution exists. Step 2: Find the cofactors \( C_{ij} \). \[C_{11} = +\begin{vmatrix} 1 & -3 \\ 3 & -1 \end{vmatrix} = (-1 + 9) = 8\] \[C_{12} = -\begin{vmatrix} 1 & -3 \\ 2 & -1 \end{vmatrix} = -(-1 + 6) = -5\] \[C_{13} = +\begin{vmatrix} 1 & 1 \\ 2 & 3 \end{vmatrix} = (3 - 2) = 1\] \[C_{21} = -\begin{vmatrix} -2 & 1 \\ 3 & -1 \end{vmatrix} = -(2 - 3) = 1\] \[C_{22} = +\begin{vmatrix} 3 & 1 \\ 2 & -1 \end{vmatrix} = (-3 - 2) = -5\] \[C_{23} = -\begin{vmatrix} 3 & -2 \\ 2 & 3 \end{vmatrix} = -(9 + 4) = -13\] \[C_{31} = +\begin{vmatrix} -2 & 1 \\ 1 & -3 \end{vmatrix} = (6 - 1) = 5\] \[C_{32} = -\begin{vmatrix} 3 & 1 \\ 1 & -3 \end{vmatrix} = -(-9 - 1) = 10\] \[C_{33} = +\begin{vmatrix} 3 & -2 \\ 1 & 1 \end{vmatrix} = (3 + 2) = 5\] Step 3: Form the adjoint (transpose of the cofactor matrix): \[\text{adj}(A) = \begin{bmatrix} 8 & 1 & 5 \\ -5 & -5 & 10 \\ 1 & -13 & 5 \end{bmatrix}\] Step 4: Compute \( A^{-1} \): \[A^{-1} = \frac{1}{35}\begin{bmatrix} 8 & 1 & 5 \\ -5 & -5 & 10 \\ 1 & -13 & 5 \end{bmatrix}\] Step 5: Compute \( X = A^{-1}B \): \[X = \frac{1}{35}\begin{bmatrix} 8 & 1 & 5 \\ -5 & -5 & 10 \\ 1 & -13 & 5 \end{bmatrix}\begin{bmatrix} 2 \\ -1 \\ 5 \end{bmatrix}\] Computing each entry: For \( x \): \( \frac{1}{35}[(8)(2) + (1)(-1) + (5)(5)] = \frac{1}{35}[16 - 1 + 25] = \frac{40}{35} = \frac{8}{7} \). For \( y \): \( \frac{1}{35}[(-5)(2) + (-5)(-1) + (10)(5)] = \frac{1}{35}[-10 + 5 + 50] = \frac{45}{35} = \frac{9}{7} \). For \( z \): \( \frac{1}{35}[(1)(2) + (-13)(-1) + (5)(5)] = \frac{1}{35}[2 + 13 + 25] = \frac{40}{35} = \frac{8}{7} \). Therefore \[X = \begin{bmatrix} 8/7 \\ 9/7 \\ 8/7 \end{bmatrix}\]
Answer: \( x = \dfrac{8}{7},\quad y = \dfrac{9}{7},\quad z = \dfrac{8}{7} \)
Question: Solve the following system of linear equations using the matrix method: \[x + 2y - 3z = -4\] \[2x + 3y + 2z = 2\] \[3x - 3y - 4z = 11\]
Answer: \[x = 3, \quad y = -2, \quad z = 1\]