Skip to content
Exercise 4.5 · Q12

Q.Solve the following system of linear equations using the matrix method: x−y+z=4x - y + z = 4 2x+y−3z=02x + y - 3z = 0 x+y+z=2x + y + z = 2

Puducherry CbseNCERTSubjective· 5mImportance★★★★★
Appeared in past exams:MHT-CET 2024· Set pcm-2024-05-03-E· 2mexact
43% · 63/146 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The system is solved by converting to matrix form AX=BAX = B, finding A−1A^{-1} via the adjoint method, and computing X=A−1BX = A^{-1}B. The solution is x=2, y=−1, z=1x = 2,\ y = -1,\ z = 1.

The core idea here is that a system of linear equations can be written as a single matrix equation: AX=BAX = B, where AA is the coefficient matrix, XX is the column of variables, and BB is the column of constants. If AA is invertible (its determinant is non-zero), we can multiply both sides by A−1A^{-1} to get X=A−1BX = A^{-1}B. This is elegant because it turns solving three equations into a single matrix multiplication — once you have the inverse, you have all variables at once.

Let’s set it up.

  1. Write the system in matrix form.

    The equations are:

    x−y+z=4x - y + z = 4

    2x+y−3z=02x + y - 3z = 0

    x+y+z=2x + y + z = 2

    So:

A=(1−1121−3111),X=(xyz),B=(402)A = \begin{pmatrix} 1 & -1 & 1 \\ 2 & 1 & -3 \\ 1 & 1 & 1 \end{pmatrix}, \quad X = \begin{pmatrix} x \\ y \\ z \end{pmatrix}, \quad B = \begin{pmatrix} 4 \\ 0 \\ 2 \end{pmatrix}

  1. Check if AA is invertible — find det⁡(A)\det(A). Compute the determinant:

det⁡(A)=1⋅∣1−311∣−(−1)⋅∣2−311∣+1⋅∣2111∣\det(A) = 1 \cdot \begin{vmatrix} 1 & -3 \\ 1 & 1 \end{vmatrix} - (-1) \cdot \begin{vmatrix} 2 & -3 \\ 1 & 1 \end{vmatrix} + 1 \cdot \begin{vmatrix} 2 & 1 \\ 1 & 1 \end{vmatrix}

=1⋅(1⋅1−(−3)⋅1)+1⋅(2⋅1−(−3)⋅1)+1⋅(2⋅1−1⋅1)= 1 \cdot (1 \cdot 1 - (-3) \cdot 1) + 1 \cdot (2 \cdot 1 - (-3) \cdot 1) + 1 \cdot (2 \cdot 1 - 1 \cdot 1)

=1⋅(1+3)+1⋅(2+3)+1⋅(2−1)= 1 \cdot (1 + 3) + 1 \cdot (2 + 3) + 1 \cdot (2 - 1)

=4+5+1=10= 4 + 5 + 1 = 10

Since det⁡(A)=10≠0\det(A) = 10 \neq 0, AA is invertible. Good.

  1. Find A−1A^{-1} using the adjoint method.

    We need the matrix of cofactors, then its transpose (the adjoint), then divide by det⁡(A)\det(A).

    First, find all cofactors Cij=(−1)i+jMijC_{ij} = (-1)^{i+j} M_{ij}, where MijM_{ij} is the minor (determinant of the submatrix after removing row ii, column jj).

    • C11=+∣1−311∣=1⋅1−(−3)⋅1=1+3=4C_{11} = + \begin{vmatrix} 1 & -3 \\ 1 & 1 \end{vmatrix} = 1 \cdot 1 - (-3) \cdot 1 = 1 + 3 = 4
    • C12=−∣2−311∣=−(2⋅1−(−3)⋅1)=−(2+3)=−5C_{12} = - \begin{vmatrix} 2 & -3 \\ 1 & 1 \end{vmatrix} = -(2 \cdot 1 - (-3) \cdot 1) = -(2 + 3) = -5
    • C13=+∣2111∣=2⋅1−1⋅1=2−1=1C_{13} = + \begin{vmatrix} 2 & 1 \\ 1 & 1 \end{vmatrix} = 2 \cdot 1 - 1 \cdot 1 = 2 - 1 = 1
    • C21=−∣−1111∣=−((−1)⋅1−1⋅1)=−(−1−1)=−(−2)=2C_{21} = - \begin{vmatrix} -1 & 1 \\ 1 & 1 \end{vmatrix} = -((-1) \cdot 1 - 1 \cdot 1) = -(-1 - 1) = -(-2) = 2
    • C22=+∣1111∣=1⋅1−1⋅1=0C_{22} = + \begin{vmatrix} 1 & 1 \\ 1 & 1 \end{vmatrix} = 1 \cdot 1 - 1 \cdot 1 = 0
    • C23=−∣1−111∣=−(1⋅1−(−1)⋅1)=−(1+1)=−2C_{23} = - \begin{vmatrix} 1 & -1 \\ 1 & 1 \end{vmatrix} = -(1 \cdot 1 - (-1) \cdot 1) = -(1 + 1) = -2
    • C31=+∣−111−3∣=(−1)⋅(−3)−1⋅1=3−1=2C_{31} = + \begin{vmatrix} -1 & 1 \\ 1 & -3 \end{vmatrix} = (-1) \cdot (-3) - 1 \cdot 1 = 3 - 1 = 2
    • C32=−∣112−3∣=−(1⋅(−3)−1⋅2)=−(−3−2)=−(−5)=5C_{32} = - \begin{vmatrix} 1 & 1 \\ 2 & -3 \end{vmatrix} = -(1 \cdot (-3) - 1 \cdot 2) = -(-3 - 2) = -(-5) = 5
    • C33=+∣1−121∣=1⋅1−(−1)⋅2=1+2=3C_{33} = + \begin{vmatrix} 1 & -1 \\ 2 & 1 \end{vmatrix} = 1 \cdot 1 - (-1) \cdot 2 = 1 + 2 = 3

    So the cofactor matrix is:

    Cof(A)=(4−5120−2253)\text{Cof}(A) = \begin{pmatrix} 4 & -5 & 1 \\ 2 & 0 & -2 \\ 2 & 5 & 3 \end{pmatrix} …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.