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.
- COMEDK 2023Set 2023-E1 markMCQQ.If 2A+3B=[23−1245] and A+2B=[510632] then B= (A) [−81−1−10−21] (B) [8−1110−2−1] (C) [8−11102−1] (D) [8−1−1102−1]
›Reveal solutionSolution
Taking 2×(A+2B)−(2A+3B) isolates B, yielding [8−11102−1].
We have
2A+3B=[23−1245],A+2B=[510632].
Multiply the second equation by 2:
2A+4B=[10201264].
Subtract the first equation:
(2A+4B)−(2A+3B)=B=[10−22−30−(−1)12−26−44−5]=[8−11102−1].
(Check: A=[−113−2−14−14] then gives A+2B=[510632], confirming the result.)
✓Final answerThe correct option is (C) — [8−11102−1]
- COMEDK 2024Set 2024-E1 markMCQQ.
[!FORMULA] If 3A+4Bt=(70−1061731) and 2B−3At=−14−518−6−7 then (5B)t=
(A) (515501020) (B) (−5−15501020) (C) (515−50−10−20) (D) (515−501020)›Reveal solutionSolution
We treat the two matrix equations as a linear system in the unknown matrices A and B. By taking transposes appropriately and solving, we find B and then (5B)t. The result matches option (D).
We are given two matrix equations involving A and B (both are 2×3 matrices, as we can infer from the dimensions of the given matrices). The trick is to treat these as simultaneous equations in the unknown matrices, but we must handle the transpose operation carefully.
1. Understand the dimensions and the unknowns
The first equation:
3A+4Bt=(70−1061731)
The right-hand side is 2×3, so 3A and 4Bt must also be 2×3. Hence A is 2×3 and Bt is 2×3, meaning B is 3×2.
The second equation:
2B−3At=−14−518−6−7
The right-hand side is 3×2, so 2B and 3At are 3×2. Since A is 2×3, At is 3×2, consistent.
So we have two matrix equations:
{3A+4Bt=M(M is the 2×3 matrix)2B−3At=N(N is the 3×2 matrix)
2. Eliminate A by taking a transpose
If we transpose the second equation, we get:
(2B−3At)t=Nt
Since (B)t=Bt and (At)t=A, this becomes:
2Bt−3A=Nt
Now Nt is a 2×3 matrix (transpose of the given 3×2 matrix):
Nt=(−1184−6−5−7)
So we now have two equations in the unknowns A and Bt (both 2×3):
{3A+4Bt=M−3A+2Bt=Nt
3. Solve the linear system for Bt
Add the two equations to eliminate A:
(3A+4Bt)+(−3A+2Bt)=M+Nt
6Bt=M+Nt
Now compute M+Nt:
M=(70−1061731),Nt=(−1184−6−5−7)
M+Nt=(7−10+18−10+46−617−531−7)=(618−601224)
Thus:
6Bt=(618−601224)
Divide by 6:
Bt=(13−1024)
4. Find (5B)t
Recall that (5B)t=5Bt. So:
(5B)t=5⋅(13−1024)=(515−501020)
5. Match with the options
The matrix we got is:
(515−501020)
This matches option (D).
Watch outA common mistake is to forget that (5B)t=5Bt, not 5(Bt)t. Also, transposing the second equation correctly is crucial — mixing up the order of operations leads to wrong signs.
TipInstead of solving for A at all, we directly eliminated it by adding the two equations after transposing the second one. This is a neat trick when both A and its transpose appear.
✓Final answerThe correct option is (D).
ANSWER: D
- COMEDK 2024Set 2024-E1 markMCQQ.If the matrix A is such that A(−1321)=(−4717) then A is equal to (A) (121−3) (B) (−1213) (C) (1−213) (D) (12−13)
›Reveal solutionSolution
Right-multiply the given equation by the inverse of the known matrix: A=BM−1=(12−13).
We are given AM=B, where
M=(−1321),B=(−4717).
Since AM=B, isolate A by right-multiplying with M−1:
A=BM−1.
Find M−1. The determinant is
detM=(−1)(1)−(2)(3)=−1−6=−7.
So
M−1=−71(1−3−2−1)=(−71737271).
Multiply.
A=(−4717)(−71737271).
Entry by entry:
- (1,1):(−4)(−71)+(1)(73)=74+73=1
- (1,2):(−4)(72)+(1)(71)=−78+71=−1
- (2,1):(7)(−71)+(7)(73)=−1+3=2
- (2,2):(7)(72)+(7)(71)=2+1=3
Hence
A=(12−13).
✓Final answerA=(12−13) — option (D).
- COMEDK 2024Set 2024-M1 markMCQQ.If [1x1]121535321212x=[0] then x is equal to (A) 2, 14 (B) −2,−14 (C) 7, 4 (D) 2, −14
›Reveal solutionSolution
The problem is a matrix product that simplifies to a quadratic equation in x; solving it gives x=2 or x=−14, which matches option (D).
We are given a product of three matrices that equals the 1×1 matrix [0]. That means the entire expression is just a number — zero. The trick is to multiply step by step, keeping careful track of dimensions: the first is 1×3, the second is 3×3, the third is 3×1, so the result is 1×1.
Let’s denote:
A=[1x1],B=1215353212,C=12x.
We have A(BC)=0 or (AB)C=0 — matrix multiplication is associative, so we can choose whichever order is simpler.
- First multiply B and C (the 3×3 times the 3×1):
BC=1⋅1+3⋅2+2⋅x2⋅1+5⋅2+1⋅x15⋅1+3⋅2+2⋅x=1+6+2x2+10+x15+6+2x=7+2x12+x21+2x.
- Now multiply A by that result (a 1×3 times a 3×1):
A(BC)=[1x1]7+2x12+x21+2x=1⋅(7+2x)+x⋅(12+x)+1⋅(21+2x).
- Simplify the expression:
=7+2x+12x+x2+21+2x=x2+(2x+12x+2x)+(7+21)=x2+16x+28.
- Set equal to zero (since the product is [0]):
x2+16x+28=0.
- Solve the quadratic:
x=2−16±256−112=2−16±144=2−16±12.
So:
x=2−16+12=2−4=−2,x=2−16−12=2−28=−14.
Watch outA common mistake is to forget that the product is a scalar and to mis-carry the algebra — especially the x term from the middle row. Double-check that x⋅(12+x) gives 12x+x2, not just 12x.
TipYou could also multiply AB first (a 1×3 times 3×3 gives a 1×3), then multiply by C. Try it — you’ll get the same quadratic. Associativity is your friend.
Thus the values of x are −2 and −14.
✓Final answerThe correct option is (B).
ANSWER: B
- KCET 2025Set A-11 markMCQQ.If A is a square matrix satisfying the equation A2−5A+7I=0, where I is the Identity matrix and 0 is null matrix of same order, then A−1= (A) 71(5I−A) (B) 71(A−5I) (C) 7(5I−A) (D) 51(7I−A)
›Reveal solutionSolution
Factor the matrix polynomial so that A multiplies a bracket equal to a scalar multiple of I — that bracket, divided by the scalar, is the inverse.
Step 1 — The concept.
By definition, A−1 is the unique matrix with AA−1=I. So if we can manipulate the given equation into the shape
A⋅(something)=I,
that something must be A−1. (This also silently proves A is invertible, which is why the trick works.)
Step 2 — Rearrange the given relation.
A2−5A+7I=0⟹7I=5A−A2.
Step 3 — Factor out A on the right.
Matrix multiplication distributes over subtraction, and A⋅I=A, so
5A−A2=A(5I−A).
Hence
A(5I−A)=7I.
Step 4 — Divide by the scalar and read off the inverse.
A[71(5I−A)]=I.
Comparing with AA−1=I:
A−1=71(5I−A)
Step 5 — Verify (always check on an inverse question).
Multiply back:
A⋅71(5I−A)=71(5A−A2)=71(7I)=I.✓
using A2=5A−7I from the original equation.
Why the others fail: (B) 71(A−5I) is the negative of the correct answer. (C) 7(5I−A) has the scalar inverted (7 instead of 71). (D) uses the wrong constants entirely.
✓Final answerThe correct option is (A) — 71(5I−A).
ANSWER: A
- KCET 2025Set A-11 markMCQQ.If B=[113α] be the adjoint of a matrix A and ∣A∣=2, then the value of α is (A) 4 (B) 5 (C) 2 (D) 3
›Reveal solutionSolution
Use the determinant of the adjoint, ∣adjA∣=∣A∣n−1, which for a 2×2 matrix collapses to ∣adjA∣=∣A∣.
Step 1 — The key property.
From the fundamental identity
A(adjA)=∣A∣In,
take determinants of both sides:
∣A∣⋅∣adjA∣=∣A∣In=∣A∣n
(the last step uses ∣kIn∣=kn). Dividing by ∣A∣=0:
∣adjA∣=∣A∣n−1
Step 2 — Specialise to n=2.
Here B=adjA is 2×2, so A is 2×2 too, giving n=2:
∣B∣=∣adjA∣=∣A∣2−1=∣A∣1=∣A∣=2.
(A nice special fact: for a 2×2 matrix, the adjoint has the same determinant as the matrix.)
Step 3 — Compute ∣B∣ directly from its entries.
B=[113α]⟹∣B∣=(1)(α)−(3)(1)=α−3.
Step 4 — Equate and solve.
α−3=2⟹α=5.
Step 5 — Sanity check.
With α=5, B=[1135], ∣B∣=5−3=2=∣A∣. ✓ Consistent. (Indeed A=adj(B)/... — one can recover A=[5−1−31], whose determinant is 5−3=2. ✓)
Trap check: Option (A) 4 arises if you wrongly set ∣B∣=∣A∣2=4, i.e. mis-remembering the exponent as n instead of n−1.
✓Final answerThe correct option is (B) — 5.
ANSWER: B
- COMEDK 2026Set 2026-A1 markMCQQ.Given A=[x1−2] and B=147258369 If ABAt=[−20] then the value of x is: (A) -1 (B) -3 (C) 11 (D) 1
›Reveal solutionSolution
Performing the multiplication ABAt gives the scalar x2−14x+13. Setting it equal to −20 yields x2−14x+33=0, so x=3 or x=11. Only x=11 appears among the options, so the correct choice is (C).
We are given a row vector A=[x1−2] and a 3×3 matrix B. The product ABAt is a 1×1 matrix (a scalar), and we are told it equals [−20]. Our job is to find x.
Concept & Intuition
The expression ABAt is a quadratic form in the entries of A. Since A is 1×3 and B is 3×3, AB is a 1×3 row vector; multiplying that by At (a 3×1 column) yields a single number. We can compute step by step: first multiply A by B, then dot the result with At. This will give a quadratic equation in x.
Step-by-step solution
- Compute AB A is 1×3, B is 3×3, so AB is 1×3.
AB=[x1−2]147258369
Multiply:
- First column: x⋅1+1⋅4+(−2)⋅7=x+4−14=x−10
- Second column: x⋅2+1⋅5+(−2)⋅8=2x+5−16=2x−11
- Third column: x⋅3+1⋅6+(−2)⋅9=3x+6−18=3x−12 So
AB=[x−102x−113x−12].
- Multiply (AB) by At At is the column vector x1−2.
(AB)At=[x−102x−113x−12]x1−2
This is a dot product:
=(x−10)⋅x+(2x−11)⋅1+(3x−12)⋅(−2)
Simplify term by term:
- First term: x(x−10)=x2−10x
- Second term: 2x−11
- Third term: −2(3x−12)=−6x+24 Sum:
x2−10x+2x−11−6x+24=x2+(−10x+2x−6x)+(−11+24)
=x2−14x+13.
- Set equal to −20 and solve We are given ABAt=[−20], so
x2−14x+13=−20.
Bring all terms to one side:
x2−14x+13+20=0⇒x2−14x+33=0.
Factor the quadratic:
x2−14x+33=(x−3)(x−11)=0.
Thus x=3 or x=11.
- Check the options The choices are: (A) -1, (B) -3, (C) 11, (D) 1. Only x=11 appears among them. (The other root x=3 is not listed, so the intended answer is 11.)
Watch outA common mistake is to forget that ABAt is a scalar and to mishandle the sign when moving −20 to the left. Double-check the algebra: x2−14x+13=−20 becomes x2−14x+33=0, not x2−14x−7=0.
TipNotice that B is a fixed matrix; the product ABAt is a quadratic form. If you ever see a pattern like this, you can compute directly using the formula ABAt=∑i,jaibijaj, but the step-by-step multiplication is just as fast.
✓Final answerThe correct option is (C).
ANSWER: C
- KCET 2023Set A-21 markMCQQ.If A and B are two matrices such that AB=B and BA=A then A2+B2= (A) 2AB (B) AB (C) 2BA (D) A+B
›Reveal solutionSolution
Use associativity to re-bracket A⋅A as A(BA)=(AB)A — the two given relations then collapse each square back to the matrix itself (both A and B are idempotent).
Step 1 — Given.
AB=BandBA=A
Step 2 — Show A2=A.
Since BA=A, replace the second A:
A2=A⋅A=A(BA)
Matrix multiplication is associative, so
A(BA)=(AB)A=BA=A
Hence A2=A.
Step 3 — Show B2=B (same trick).
Since AB=B, replace the second B:
B2=B⋅B=B(AB)=(BA)B=AB=B
Hence B2=B.
Step 4 — Add.
A2+B2=A+B
Why not (A)/(B)/(C)? AB=B and BA=A, so 2AB=2B, AB=B, 2BA=2A — none of these equals A+B in general.
✓Final answerThe correct option is (D) — A+B.
ANSWER: D
- KCET 2021Set A-11 markMCQQ.If A and B are invertible matrices then which of the following is not correct? (A) adjA=∣A∣A−1 (B) det(A−1)=[det(A)]−1 (C) (AB)−1=B−1A−1 (D) (A+B)−1=B−1+A−1
›Reveal solutionSolution
Test each identity; the inverse of a sum is not the sum of the inverses, so (D) is the false statement.
Step 1 — Check (A): adjA=∣A∣A−1.
The defining property of the adjoint is A(adjA)=∣A∣I. Pre-multiplying by A−1 (which exists since A is invertible):
adjA=∣A∣A−1.TRUE
Step 2 — Check (B): det(A−1)=[detA]−1.
From AA−1=I and the multiplicative property of determinants,
det(A)⋅det(A−1)=det(I)=1⇒det(A−1)=detA1.TRUE
Step 3 — Check (C): (AB)−1=B−1A−1 (the reversal law).
(AB)(B−1A−1)=A(BB−1)A−1=AIA−1=I,
and likewise on the other side. So B−1A−1 is indeed the inverse of AB. TRUE
Step 4 — Check (D): (A+B)−1=B−1+A−1.
This is false in general. A concrete counterexample: take A=B=I2. Then
(A+B)−1=(2I)−1=21I,A−1+B−1=I+I=2I,
and 21I=2I. In fact A+B may not even be invertible (take B=−A: then A+B=O, which has no inverse), so the statement can fail to make sense at all. There is no "distributive law" for matrix inversion over addition.
✓Final answerThe correct option is (D) — (A+B)−1=B−1+A−1 is the statement that is not correct.
ANSWER: D
- KCET 2025Set A-11 markMCQQ.If A is a square matrix such that A2=A, then (I−A)3 is (A) I−A (B) A−I (C) I+A (D) −I−A
›Reveal solutionSolution
A2=A means every power of A is just A; expanding (I−A)3 then collapses to I−A.
Step 1 — Why we may expand binomially.
I commutes with every matrix (AI=IA=A), so I and A commute and the ordinary binomial expansion is valid:
(I−A)3=I3−3I2A+3IA2−A3=I−3A+3A2−A3.
Step 2 — Use idempotency to reduce the powers.
Given A2=A. Then
A3=A2⋅A=A⋅A=A2=A.
So both A2 and A3 equal A.
Step 3 — Substitute and simplify.
(I−A)3=I−3A+3(A)−(A)=I−3A+3A−A=I−A.
Step 4 — A neat cross-check.
If A is idempotent then so is (I−A):
(I−A)2=I−2A+A2=I−2A+A=I−A.
Since (I−A) is itself idempotent, every positive power of it equals itself — so (I−A)3=(I−A) immediately, confirming Step 3. ✓
✓Final answerThe correct option is (A) — I−A.
ANSWER: A
- KCET 2024Set A-11 markMCQQ.If A=(1111), then A10 is equal to (A) 28A (B) 29A (C) 210A (D) 211A
›Reveal solutionSolution
Compute A2: it turns out to be a scalar multiple of A, which collapses every higher power into a simple geometric pattern.
Step 1 — Square the matrix.
A2=(1111)(1111)=(1⋅1+1⋅11⋅1+1⋅11⋅1+1⋅11⋅1+1⋅1)=(2222)=2A.
Step 2 — Why this makes all powers easy.
Because A2=2A (a scalar times A), multiplying again by A just pulls out another factor of 2:
A3=A2⋅A=(2A)A=2A2=2(2A)=22A.
Step 3 — Induction.
Claim: An=2n−1A for n≥1. True for n=1 (A1=20A). If Ak=2k−1A, then
Ak+1=AkA=2k−1A2=2k−1(2A)=2kA.
So the formula holds for all n.
Step 4 — Put n=10.
A10=210−1A=29A.
Check by trace: A has eigenvalues 2 and 0, so A10 has eigenvalues 210 and 0; 29A indeed has eigenvalues 29⋅2=210 and 0. ✓
✓Final answerThe correct option is (B) — 29A.
ANSWER: B
- KCET 2026Set UNKNOWN1 markMCQQ.The system of equations x+2y=3 and 2x+3y=3 has (A) No solution (B) Unique solution (C) Infinite solutions (D) Only two solutions
›Reveal solutionSolution
Check the determinant of the coefficient matrix to classify the system, then solve directly.
Step 1 — Test for a unique solution
For x+2y=3 and 2x+3y=3, the coefficient determinant is
1223=(1)(3)−(2)(2)=3−4=−1=0.
Since this determinant is non-zero, the system has a unique solution.
Step 2 — Solve to confirm
From the first equation, x=3−2y. Substituting into the second:
2(3−2y)+3y=3⟹6−4y+3y=3⟹6−y=3⟹y=3
Then x=3−2(3)=−3. Checking: −3+2(3)=3 ✓ and 2(−3)+3(3)=3 ✓ — exactly one solution, (x,y)=(−3,3).
✓Final answerThe correct option is (B) — Unique solution.
🎓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.