Solve System of 3 Equations Using Matrix Inverse (AX=B)

medium CBSE JEE-MAIN CBSE 2025 Sample Paper 5 min read

Question

Solve the following system of equations using the matrix inverse method:

2x3y+5z=112x - 3y + 5z = 11 3x+2y4z=53x + 2y - 4z = -5 x+y2z=3x + y - 2z = -3

This type appeared in CBSE 2025 Sample Paper and consistently shows up in board exam marking schemes with 5 marks allocated for the full working.


Solution — Step by Step

We express the system as a single matrix equation. Pull out the coefficient matrix AA, variable column XX, and constant column BB:

A=[235324112],X=[xyz],B=[1153]A = \begin{bmatrix} 2 & -3 & 5 \\ 3 & 2 & -4 \\ 1 & 1 & -2 \end{bmatrix}, \quad X = \begin{bmatrix} x \\ y \\ z \end{bmatrix}, \quad B = \begin{bmatrix} 11 \\ -5 \\ -3 \end{bmatrix}

We must check that A0|A| \neq 0 before spending time on cofactors. Expanding along Row 1:

A=2(2×2(4)(1))(3)(3×2(4)(1))+5(3×12×1)|A| = 2(2 \times -2 - (-4)(1)) - (-3)(3 \times -2 - (-4)(1)) + 5(3 \times 1 - 2 \times 1) =2(4+4)+3(6+4)+5(1)=06+5=1= 2(-4 + 4) + 3(-6 + 4) + 5(1) = 0 - 6 + 5 = -1

Since A=10|A| = -1 \neq 0, the inverse exists. We’re good to continue.

For each element aija_{ij}, the cofactor is Cij=(1)i+jMijC_{ij} = (-1)^{i+j} M_{ij} where MijM_{ij} is the 2×22\times 2 minor. Working through them row by row:

C11=+(4+4)=0C12=(6+4)=2C13=+(32)=1C_{11} = +(-4+4) = 0 \quad C_{12} = -(-6+4) = 2 \quad C_{13} = +(3-2) = 1 C21=(65)=1C22=+(45)=9C23=(2+3)=5C_{21} = -(6-5) = -1 \quad C_{22} = +(-4-5) = -9 \quad C_{23} = -(2+3) = -5 C31=+(1210)=2C32=(815)=23C33=+(4+9)=13C_{31} = +(12-10) = 2 \quad C_{32} = -(-8-15) = 23 \quad C_{33} = +(4+9) = 13

The adjugate (adjoint) is the transpose of the cofactor matrix — rows and columns swap:

adj(A)=[01229231513]\text{adj}(A) = \begin{bmatrix} 0 & -1 & 2 \\ 2 & -9 & 23 \\ 1 & -5 & 13 \end{bmatrix}

Now A1=1Aadj(A)=11adj(A)A^{-1} = \dfrac{1}{|A|} \cdot \text{adj}(A) = \dfrac{1}{-1} \cdot \text{adj}(A):

A1=[01229231513]A^{-1} = \begin{bmatrix} 0 & 1 & -2 \\ -2 & 9 & -23 \\ -1 & 5 & -13 \end{bmatrix}
X=A1B=[01229231513][1153]X = A^{-1}B = \begin{bmatrix} 0 & 1 & -2 \\ -2 & 9 & -23 \\ -1 & 5 & -13 \end{bmatrix} \begin{bmatrix} 11 \\ -5 \\ -3 \end{bmatrix}

Row-by-row multiplication:

x=0(11)+1(5)+(2)(3)=05+6=1x = 0(11) + 1(-5) + (-2)(-3) = 0 - 5 + 6 = 1 y=2(11)+9(5)+(23)(3)=2245+69=2y = -2(11) + 9(-5) + (-23)(-3) = -22 - 45 + 69 = 2 z=1(11)+5(5)+(13)(3)=1125+39=3z = -1(11) + 5(-5) + (-13)(-3) = -11 - 25 + 39 = 3

Answer: x=1, y=2, z=3x = 1,\ y = 2,\ z = 3

Always verify: 2(1)3(2)+5(3)=26+15=112(1) - 3(2) + 5(3) = 2 - 6 + 15 = 11


Why This Works

The equation AX=BAX = B is the matrix version of ax=bax = b. In scalars, we’d multiply both sides by a1a^{-1}. Here, we premultiply both sides by A1A^{-1}: left side gives A1AX=IX=XA^{-1}AX = IX = X, and right side gives A1BA^{-1}B. That’s the entire logic.

The determinant check at Step 2 is non-negotiable. If A=0|A| = 0, the matrix is singular — no unique solution exists, and the method breaks down entirely. Board examiners specifically award 1 mark for computing A|A| and stating A0|A| \neq 0, so never skip it even if you “can see” the answer.

The adjugate transpose is where most errors happen. The cofactor matrix rows go down; the adjugate rows go across. Write the cofactors in a grid first, then transpose mentally — that habit prevents sign errors under exam pressure.


Alternative Method — Row Reduction (Augmented Matrix)

For those who find cofactors tedious, Gauss-Jordan elimination on the augmented matrix [AB][A | B] reaches the same answer faster in practice (though it’s not the method CBSE asks for in “matrix inverse” questions):

[2351132451123]\left[\begin{array}{ccc|c} 2 & -3 & 5 & 11 \\ 3 & 2 & -4 & -5 \\ 1 & 1 & -2 & -3 \end{array}\right]

Apply R1R3R_1 \leftrightarrow R_3, then eliminate to get row echelon form, then back-substitute. You’ll land at x=1,y=2,z=3x=1, y=2, z=3 with less arithmetic. In JEE Main, where no method is mandated, this is often faster.

In CBSE boards, the question specifically says “using matrix inverse method” — use A1BA^{-1}B. Switching to row reduction will cost you method marks even if the answer is correct.


Common Mistake

Students write adj(A)(A) as the cofactor matrix directly, forgetting to transpose it. This gives wrong values for A1A^{-1} and loses all 5 marks — correct method, wrong adjugate. Remember: cofactors fill the grid row by row, then you flip across the diagonal to get adj(A)(A). The diagonal elements (C11,C22,C33C_{11}, C_{22}, C_{33}) stay in place; everything else swaps. Double-check by verifying that AA1=IA \cdot A^{-1} = I whenever you have time.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next