Q.Solve the system of equations 2x+5y=1, 3x+2y=7.
Concept understanding — Matrix Equation Solving
Solving a System of Equations by the Matrix Method
A system of linear equations can be written as a single matrix equation and solved in one clean step using the inverse of a matrix. This is the Class-12 "matrix method" for simultaneous equations.
Writing the system as AX=B
Take the system
a1x+b1y+c1z=d1,a2x+b2y+c2z=d2,a3x+b3y+c3z=d3.
Collect the coefficients, the unknowns, and the constants into matrices:
A=a1a2a3b1b2b3c1c2c3,X=xyz,B=d1d2d3.
Then the whole system is just
AX=B.
Solving when A is invertible
If det(A)=0, then A−1 exists, and multiplying both sides on the left by A−1 gives
X=A−1B,where A−1=det(A)1adj(A).
So you compute det(A), then adj(A), form A−1, and multiply by B. The single column X=A−1B hands you x, y, z at once, and because A−1 is unique, the solution is unique.
Multiply in the correct order: X=A−1B, not BA−1. Matrix multiplication is not commutative, and BA−1 is not even defined here.
When det(A)=0
If det(A)=0, A−1 does not exist and the inverse method fails. The system is then either inconsistent (no solution) or has infinitely many solutions. Decide which by computing (adjA)B:
- (adjA)B=O → no solution (inconsistent).
- (adjA)B=O → infinitely many solutions (consistent, dependent).
A homogeneous system AX=O always has the trivial solution X=O; it has non-trivial solutions exactly when det(A)=0.
The takeaway
Package the equations as AX=B; if det(A)=0 the answer is the single formula X=A−1B. The determinant is your first check — it tells you whether a unique solution exists before you do any heavy computation.
Solving a system of linear equations using the matrix method (X = A⁻¹B) is a major application covered in the CBSE Class 12 Determinants chapter, and "solve system of equations using matrix method class 12" is one of the most searched topics in this unit given its near-guaranteed appearance in board exams. This same inverse-based technique is also tested in JEE Main questions on the consistency of linear systems.
Concept: Matrix Equation Solving – Represent the system as Ax=b and solve by finding A−1.
Write the system in matrix form:
(2352)(xy)=(17).
The inverse of A=(2352) is
A−1=2⋅2−5⋅31(2−3−52)=−111(2−3−52).
Multiply both sides by A−1:
(xy)=−111(2−3−52)(17)=−111(2−35−3+14)=−111(−3311)=(3−1).
The solution is x=3, y=−1, i.e. (3,−1).
We solve the linear system by the matrix method: write it as AX=B, find A−1, and compute X=A−1B. The solution is x=3, y=−1.
Why the matrix approach?
A system like 2x+5y=1, 3x+2y=7 is just a compact way of asking: what pair (x,y) makes both equations true at the same time? Instead of elimination or substitution, we can think of it as a single matrix equation:
(2352)(xy)=(17)
If we call the coefficient matrix A, the variable column X, and the constant column B, then AX=B. The neat idea: if A has an inverse A−1, multiply both sides on the left by A−1 to get X=A−1B. That gives the solution directly — no guessing, no back-substitution.
- Write the system in matrix form
A=(2352),X=(xy),B=(17)
So AX=B.
- Check if A is invertible — compute its determinant
det(A)=(2)(2)−(5)(3)=4−15=−11
Since det(A)=0, A−1 exists.
-
Find A−1 using the formula for a 2×2 matrix
For A=(acbd), the inverse is det(A)1(d−c−ba).
A−1=−111(2−3−52)=(−112113115−112)
A quick check: multiply A−1A — you should get the identity matrix. If not, a sign or fraction is off.
- Multiply A−1 by B to get X
X=A−1B=(−112113115−112)(17)
Compute each entry:
- For x: (−112)(1)+(115)(7)=−112+1135=1133=3
- For y: (113)(1)+(−112)(7)=113−1114=−1111=−1
So x=3, y=−1.
-
Verify by plugging back into the original equations
- 2(3)+5(−1)=6−5=1 ✓
- 3(3)+2(−1)=9−2=7 ✓
A common mistake: forgetting that matrix multiplication is not commutative. When solving AX=B, always multiply on the left: A−1(AX)=(A−1A)X=IX=X. If you multiply on the right, you get XAA−1=X, which is not the same — and wrong.
The solution is x=3, y=−1.
Method: Solving a 2-Variable Linear System by the Matrix (Inverse) Method
This method solves any system of two linear equations in two unknowns by packaging it as a single matrix equation AX=B and solving via X=A−1B.
Steps
Step 1: Write the system as AX=B
Collect the coefficients into a 2×2 matrix A, the unknowns into a column X, and the constants into a column B:
A=(a1a2b1b2),X=(xy),B=(d1d2)
Step 2: Compute det(A) and check it's nonzero
det(A)=a1b2−a2b1
If this is zero, A−1 doesn't exist and the matrix method can't be used directly — the system needs a different treatment (inconsistent or infinitely many solutions).
Step 3: Find A−1
A−1=det(A)1(b2−a2−b1a1)
Step 4: Multiply on the left: X=A−1B
(xy)=A−1(d1d2)
Carry out the 2×2-by-2×1 matrix multiplication carefully, term by term.
Step 5: Verify by substituting back
Plug the found x,y into both original equations to confirm — this is quick and catches an arithmetic slip before it's submitted as the final answer.
This is the base case (two unknowns) of the general matrix method — the same X=A−1B idea scales directly to three or more unknowns, just with a 3×3 (or larger) inverse via the adjoint instead of the 2×2 shortcut.
Showing the 12 most recent of 37 on this concept.
- CBSE 20241 markMCQQ.If [89147]=[1321]X, then matrix X is : (A) [3270] (B) [2703] (C) [2307] (D) [2−307]
›Reveal solutionSolution
We solve the matrix equation A=BX by left-multiplying both sides by B−1, giving X=B−1A. Computing the inverse of B=[1321] and multiplying yields X=[2307], which matches option (C).
The core idea here is that a matrix equation like A=BX is solved exactly like the scalar equation a=bx — you isolate X by multiplying both sides by the inverse of B. But because matrix multiplication is not commutative, you must multiply on the left by B−1, not on the right. That single detail is the entire key.
Let’s walk through it.
- Set up the equation clearly. We are given
[89147]=[1321]X.
Call the left matrix A and the coefficient matrix B, so A=BX. Our job is to find X.
- Why left-multiplication by B−1 works. If B is invertible, then B−1B=I, the identity matrix. Multiplying both sides of A=BX on the left by B−1 gives
B−1A=B−1(BX)=(B−1B)X=IX=X.
So X=B−1A. Notice: if we had multiplied on the right instead, we’d get AB−1, which is a completely different (and wrong) matrix.
Watch outA common mistake is to write X=AB−1 by analogy with scalars. But matrix multiplication is not commutative — B−1A=AB−1 in general. Always multiply on the side where the inverse cancels the original matrix.
- Find B−1. For a 2×2 matrix B=[acbd], the inverse is
B−1=ad−bc1[d−c−ba],
provided the determinant ad−bc=0.
Here a=1, b=2, c=3, d=1. The determinant is
det(B)=(1)(1)−(2)(3)=1−6=−5.
So
B−1=−51[1−3−21]=[−515352−51].
- Multiply B−1A. Now A=[89147]. Compute X=B−1A:
X=[−515352−51][89147].
Multiply entry by entry:
- First row, first column: (−51)(8)+(52)(9)=−58+518=510=2.
- First row, second column: (−51)(14)+(52)(7)=−514+514=0.
- Second row, first column: (53)(8)+(−51)(9)=524−59=515=3.
- Second row, second column: (53)(14)+(−51)(7)=542−57=535=7.
So
X=[2307].
- Check against the options. This matches option (C) exactly.
TipYou can verify your answer quickly: multiply B by your candidate X and see if you get A. For option (C):
[1321][2307]=[1⋅2+2⋅33⋅2+1⋅31⋅0+2⋅73⋅0+1⋅7]=[89147].
It works, so no need to redo the inverse.
✓Final answerThe correct option is (C): X=[2307].
- CBSE 2026Set ANNUAL1 markMCQQ.If x+yy+zz+x=10−1 then x+y+z=(a) 9(b) 0(c) 4(d) 5
›Reveal solutionSolution
Two matrices are equal only if all corresponding entries are equal; adding all three entry-equations gives x+y+z directly.
From x+yy+zz+x=10−1, equating corresponding entries:
x+y=1,y+z=0,z+x=−1
Adding all three: (x+y)+(y+z)+(z+x)=1+0+(−1)
2(x+y+z)=0
x+y+z=0.
✓Final answer(b) 0.
- CBSE 2026Set ANNUAL1 markMCQQ.If A=[x203] and I=[1001] given A2=9I, then x is:(a) x=4(b) x=±3(c) x=−3(d) x=−4
›Reveal solutionSolution
Computing A2 and matching it to 9I forces both x2=9 and 2x+6=0; only x=−3 satisfies both.
A=[x203], so
A2=[x203][x203]=[x22x+609]
We need A2=9I=[9009]. Comparing entries: x2=9 gives x=3 or x=−3; and 2x+6=0 gives x=−3. The value satisfying both conditions is x=−3 (checking x=3: 2(3)+6=12=0, so it fails).
✓Final answerOption (c): x=−3.
- CBSE 2026Set ANNUAL1 markMCQQ.If [[x-2y, 0], [5, x]] = [[-3, 0], [5, 3]], then y is equal to:(a) 1(b) 3(c) 2(d) 4
›Reveal solutionSolution
Two matrices are equal only if all corresponding entries are equal; comparing the (2,2) entries gives x=3, then the (1,1) entries give y.
Given:
[x−2y50x]=[−3503]
Comparing the (2,2) entries: x=3.
Comparing the (1,1) entries: x−2y=−3⟹3−2y=−3⟹−2y=−6⟹y=3.
✓Final answery=3 (option b).
- CBSE 2025Set ANNUAL1 markMCQQ.For what value of x, [1231][1x]=[74]?(i) −2(ii) −1(iii) 2(iv) 1
›Reveal solutionSolution
Multiply out the matrices and compare entries.
[1231][1x]=[1(1)+3(x)2(1)+1(x)]=[1+3x2+x]
Setting this equal to [74]:
Row 1: 1+3x=7⟹3x=6⟹x=2
Row 2 (check): 2+x=4⟹x=2 ✓ (consistent)
✓Final answer(iii) x=2.
- CBSE 2025Set ANNUAL1 markMCQQ.Which of the given values of x and y make the following pair of matrices equal? [3x+7y+152−3x],[08y−24](a) x=−31,y=7(b) Not possible to find(c) x=−32,y=7(d) x=−31,y=−32
›Reveal solutionSolution
Equating corresponding entries gives two different equations for x that contradict each other, so no consistent solution exists.
For [3x+7y+152−3x]=[08y−24], equating each entry:
3x+7=0⇒x=−37
5=y−2⇒y=7
y+1=8⇒y=7 (consistent with above)
2−3x=4⇒x=−32
The two equations for x give x=−37 and x=−32 — these cannot both be true. Since no single value of x satisfies both entries, there is no (x, y) pair making the matrices equal.
✓Final answer(b) Not possible to find.
- CBSE 2025Set ANNUAL1 markMCQQ.If [[x−2y, 0], [5, x]] = [[−5, 0], [5, 3]], then y is equal to:(a) 1(b) 3(c) 2(d) 4
›Reveal solutionSolution
Equal matrices have equal corresponding entries — match the (2,2) entries first to get x, then use the (1,1) entry to get y.
Given (x−2y50x)=(−5503).
Comparing the (2,2) entries: x=3.
Comparing the (1,1) entries: x−2y=−5⇒3−2y=−5⇒−2y=−8⇒y=4.
✓Final answery=4 — option (d).
- CBSE 2025Set ANNUAL1 markQ.If [[a+4, 3b], [8, -14]] = [[2a+2, b+4], [8, a-8b]], then find the value of a + b.
›Reveal solutionSolution
Equate corresponding entries of the two equal matrices to get a=2, b=2, so a+b=4.
Two matrices are equal only if every corresponding entry is equal. Comparing entries of
[a+483b−14]=[2a+28b+4a−8b]:
From the (1,1) entries: a+4=2a+2⇒2=a⇒a=2.
From the (1,2) entries: 3b=b+4⇒2b=4⇒b=2.
Check with the (2,2) entries: −14=a−8b=2−16=−14 ✓ — consistent, confirming a=2,b=2.
So a+b=2+2=4.
✓Final answera=2, b=2, so a+b=4.
- CBSE 2025Set ANNUAL1 markMCQQ.If A = [[2x, 0], [x, x]] and A⁻¹ = [[1, 0], [−1, 2]], then x equals –(i) 1(ii) 2(iii) 1/2(iv) −2
›Reveal solutionSolution
Compute A−1 from A=(2xx0x) using the 2×2 inverse formula and match it to the given A−1.
For A=(2xx0x), detA=(2x)(x)−(0)(x)=2x2.
Using A−1=detA1(d−c−ba) for A=(acbd):
A−1=2x21(x−x02x)=(2x1−2x10x1).
Comparing with the given A−1=(1−102): 2x1=1⇒x=21. Check: −2x1=−1 ✓ and x1=2 ✓, all consistent.
✓Final answerx=21 — option (iii).
- CBSE 2024Set D1 markMCQQ.If 2A+B+X=0, where A=[−1324] and B=[31−25] then X=(a) [1−72−13](b) [17213](c) [−1−7−2−13](d) [−17−213]
›Reveal solutionSolution
From 2A+B+X=0, solve X=−2A−B.
2A=[−2648], so
X=−2A−B=[2−6−4−8]−[31−25]=[−1−7−2−13].
✓Final answer(C) [−1−7−2−13]
- CBSE 2024Set D1 markMCQQ.[x y]=[2x−1 9]⇒(a) x=3, y=9(b) x=1, y=9(c) x=0, y=9(d) x=3, y=4
›Reveal solutionSolution
Equal matrices have equal corresponding entries.
From [x y]=[2x−1 9]: equating entries gives x=2x−1⇒x=1, and y=9.
✓Final answer(B) x=1, y=9
- CBSE 2024Set ANNUAL1 markMCQQ.If x+y+zx+zy+z=957 then x+y+z=(a) 5(b) 7(c) 9(d) none of these
›Reveal solutionSolution
Matching the first row of the given matrix equation reads off x+y+z directly, no further algebra needed.
The matrix equation x+y+zx+zy+z=957 means corresponding entries are equal:
Row 1: x+y+z=9
Row 2: x+z=5
Row 3: y+z=7
The question asks for x+y+z, which is exactly Row 1's value.
✓Final answer(c) 9.
🎓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.