Q.Given A=2−4222−1−4−45, B=120−131042, find BA and use this to solve the system of equations y+2z=7, x−y=3, 2x+3y+4z=17.
🔒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 →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). …
Concept — use BA to get A−1, then solve BX=C. The system's coefficient matrix is B, and BA=6I gives B−1=61A.
Step 1 — Compute BA.
BA=120−1310422−4222−1−4−45=600060006=6I.
So B−1=61A.
Step 2 — Write the system as BX=C. Ordered as x−y=3,2x+3y+4z=17,y+2z=7, the coefficient matrix is exactly B and C=3177.
Step 3 — Solve. …
BA=6I, so B−1=61A; the system is BX=C with C=(3,17,7)T, giving X=61AC=(2,−1,4)T, i.e. x=2,y=−1,z=4.
The idea
If the product of two matrices is a scalar times the identity, each is (a scalar multiple of) the other's inverse. Computing BA first hands us B−1 for free — and it is B, not A, that is the coefficient matrix of the given system.
Step 1 — Compute BA
BA=120−1310422−4222−1−4−45.
Entry by entry (row of B times column of A):
- Row 1: 2+4+0=6, 2−2+0=0, −4+4+0=0.
- Row 2: 4−12+8=0, 4+6−4=6, −8−12+20=0.
- Row 3: 0−4+4=0, 0+2−2=0, 0−4+10=6.
BA=600060006=6I⟹B−1=61A.
Step 2 — Match the system to B
The equations y+2z=7,x−y=3,2x+3y+4z=17, reordered as
x−y=3,2x+3y+4z=17,y+2z=7,
have coefficient rows equal to the rows of B:
Bxyz=3177=C. …
Method: Using a Given Matrix Product Equal to a Scalar Multiple of I to Find an Inverse
Use this method whenever a question hands you two matrices A and B and asks you to compute their product before solving a system — the product often reveals an inverse for free, without ever computing cofactors or an adjoint.
Steps
Step 1: Compute the matrix product exactly as given
Multiply the two matrices (row of the first times column of the second, entry by entry) and simplify every entry fully before looking for a pattern.
Step 2: Recognise a scalar multiple of the identity
If the product turns out to be kI for some constant k (the same number k down the diagonal, zeros everywhere else), that is a strong structural clue: it means the two matrices are inverses of each other, up to that scalar.
If BA=kI, then B(k1A)=I⟹B−1=k1A.
Step 3: Identify the true coefficient matrix of the system …
Common Mistakes
Mistake 1: Using A instead of B as the coefficient matrix of the system
Why it's wrong: the question computes BA first, which tempts a student to treat A as "the" matrix to invert for the system. But once the equations are written with all three variables, the coefficient matrix is actually B — so the useful fact from BA=6I is B−1=61A, and the system must be solved as BX=C, not by inverting A directly.
Mistake 2: Not reordering/completing the equations before matching rows to B …
Showing the 12 most recent of 32 on this concept.
- AP EAPCET 2023Set eng-2023-05-18-FN1 markMCQQ.If A=12354−130−5, B=−1−24 and [x y z]AT=BT, then x+y+z= (A) 4 (B) −2 (C) 6 (D) 3
›Reveal solutionSolution
Transposing the matrix equation converts it into the ordinary linear system A·v = B, which solves to x=6, y=−7/2, z=7/2, giving x+y+z=6.
Concept and Intuition
"[x y z]Aᵀ = Bᵀ" is a row-vector equation. Taking the transpose of both sides converts it to the more familiar column form: (v Aᵀ)ᵀ = A vᵀ, and (Bᵀ)ᵀ = B. So the equation is equivalent to A·(x,y,z)ᵀ = B, a standard system of 3 linear equations.
Step-by-Step Solution
- A = [[1,5,3],[2,4,0],[3,−1,−5]], B = (−1,−2,4)ᵀ.
- Write the system A(x,y,z)ᵀ = B:
- x + 5y + 3z = −1
- 2x + 4y = −2
- 3x − y − 5z = 4
- From equation 2: 2x+4y=−2 ⟹ x+2y=−1 ⟹ x = −1−2y.
- Substitute into equation 1: (−1−2y)+5y+3z = −1 ⟹ 3y+3z=0 ⟹ z=−y.
- Substitute x and z into equation 3: 3(−1−2y) − y − 5(−y) = 4 ⟹ −3−6y−y+5y = 4 ⟹ −3−2y=4 ⟹ y=−7/2.
- Then x = −1−2(−7/2) = 6, and z = −y = 7/2. …
- AP EAPCET 2021Set eng-2021-08-23-AN1 markMCQQ.What are the values of (x,y,z,t) where 3[xzyt]=[x−162t]+[4z+tx+y3]=? (A) (2,4,3,1) (B) (2,4,1,3) (C) (1,3,2,4) (D) (1,3,4,2)
›Reveal solutionSolution
Equating corresponding entries on both sides of the matrix equation and solving the resulting simple linear equations gives (x,y,z,t)=(2,4,1,3).
Concept and Intuition
Two matrices are equal exactly when every corresponding entry is equal. Setting up the entry-wise equations turns a matrix equation into a small system of linear equations, which can usually be solved one variable at a time by picking the simplest equation first.
Step-by-Step Solution
- Left side: 3[xzyt]=[3x3z3y3t].
- Right side (sum of the two given matrices): [x−162t]+[4z+tx+y3]=[x+4−1+z+t6+x+y2t+3].
- Equate the (1,1) entries: 3x=x+4⇒2x=4⇒x=2.
- Equate the (2,2) entries: 3t=2t+3⇒t=3.
- Equate the (1,2) entries: 3y=6+x+y⇒2y=6+x=6+2=8⇒y=4. …
- AP EAPCET 2024Set eng-2024-05-22-AN1 markMCQQ.The system of linear equations x+2y+z=−3, 3x+3y−2z=−1, 2x+7y+7z=−4 has (A) infinite number of solutions (B) no solution (C) unique solution (D) finite number of solutions
›Reveal solutionSolution
Eliminating one variable reduces the system to two equations that contradict each other outright, which is the signature of an inconsistent linear system: the coefficient determinant is zero, but the system does not have infinitely many solutions — it has none.
Concept and Intuition
When the determinant of the coefficient matrix of a 3×3 linear system is zero, the system is not guaranteed a unique solution — but that alone doesn't tell you whether it has infinitely many solutions or none at all. You have to check consistency by actually trying to solve (or by comparing ranks of the coefficient matrix and the augmented matrix). A quick, reliable way for a 3-variable system is to eliminate one variable using two different pairs of equations and see if the resulting two-variable equations agree or contradict.
Step-by-Step Solution
- Equations: (1) x+2y+z=−3, (2) 3x+3y−2z=−1, (3) 2x+7y+7z=−4.
- From (1): x=−3−2y−z.
- Substitute into (2): 3(−3−2y−z)+3y−2z=−1⇒−9−6y−3z+3y−2z=−1⇒−9−3y−5z=−1⇒3y+5z=−8. Call this (A).
- Substitute into (3): 2(−3−2y−z)+7y+7z=−4⇒−6−4y−2z+7y+7z=−4⇒−6+3y+5z=−4⇒3y+5z=2. Call this (B).
- Compare (A) and (B): both say "3y+5z= something," but (A) requires it to equal −8 while (B) requires it to equal 2. These cannot both be true — a direct contradiction. …
- AP EAPCET 2025Set eng-2025-05-21-AN1 markMCQQ.In solving a system of linear equations AX=B by Cramer's rule, in the usual notation, if Δ1=−11−45111−7−21 and Δ3=414111−11−45, then X= (A) −112 (B) 21−1 (C) 1−12 (D) 12−1
›Reveal solutionSolution
Reconstructing the coefficient matrix and RHS vector from the shared columns of Δ1,Δ3 and computing Δ,Δ1,Δ2,Δ3 gives X=(1,−1,2).
Concept and Intuition
In Cramer's rule for AX=B, Δi is formed by replacing the i-th column of A with B, keeping the other columns unchanged. So Δ1's columns 2,3 and Δ3's columns 1,2 are literally the ORIGINAL matrix A's corresponding columns — comparing the two given determinants lets us recover the full system.
Step-by-Step Solution
- Δ1=−11−45111−7−21: column 2 = original A's column 2 =(1,1,1)T; column 3 = original A's column 3 =(−7,−2,1)T; column 1 =B=(−11,−4,5)T.
- Δ3=414111−11−45: column 1 = original A's column 1 =(4,1,4)T; column 2 = same (1,1,1)T (consistent); column 3 =B=(−11,−4,5)T (matches Δ1's column 1, confirming B).
- Reconstructed system: A=414111−7−21, B=−11−45.
- Δ=det(A)=4(1⋅1−(−2)⋅1)−1(1⋅1−(−2)⋅4)+(−7)(1⋅1−1⋅4)=4(3)−1(9)−7(−3)=12−9+21=24. …
- AP EAPCET 2023Set eng-2023-05-17-FN1 markMCQQ.If the solution for the system of equations x+2y−z=3, 3x−y+2z=1 and 2x−2y+3z=2 is (α,β,γ), then α2+β2+γ2= (A) 33 (B) 5 (C) 17 (D) 14
›Reveal solutionSolution
Solving the system gives (x,y,z) = (-1, 4, 4), so the sum of squares is 33.
Concept and Intuition
A system of three linear equations in three unknowns can be solved by systematic elimination.
Step-by-Step Solution
- Equations: (i) x+2y-z=3; (ii) 3x-y+2z=1; (iii) 2x-2y+3z=2.
- From (i): x = 3-2y+z.
- Substitute into (ii): 3(3-2y+z)-y+2z=1 -> -7y+5z=-8 -> 7y-5z=8. (iv)
- Substitute into (iii): 2(3-2y+z)-2y+3z=2 -> -6y+5z=-4 -> 6y-5z=4. (v)
- (iv)-(v): y=4.
- From (v): 6(4)-5z=4 -> z=4.
- x = 3-2(4)+4 = -1. …
- AP EAPCET 2026Set eng-2026-05-18-FN1 markMCQQ.If A=ca−b−abcb−ca, B=101012220 and AB=41−1415−210−4, then a2+b2+c2= (A) 14 (B) 17 (C) 11 (D) 19
›Reveal solutionSolution
The key idea is to interpret the given matrix equation AB=C as a system of linear equations in a,b,c by comparing entries. Solving yields a=2,b=1,c=3, so a2+b2+c2=14, which corresponds to option (A).
We are given two matrices A and B, and their product AB. The matrix A contains the unknowns a,b,c. Instead of trying to invert B directly (which is possible but messy), we can use the fact that matrix multiplication gives us explicit equations for each entry of the product. Since B is known, each entry of AB is a linear combination of a,b,c. By picking the right rows and columns, we can solve for a,b,c efficiently.
-
Write the product AB in terms of a,b,c.
The (i,j) entry of AB is the dot product of the i-th row of A with the j-th column of B.
Let’s compute a few key entries.
- Row 1 of A: [c−ab] Column 1 of B: 101 Entry (1,1): c⋅1+(−a)⋅0+b⋅1=c+b Given AB(1,1)=4, so
b+c=4.(1)
- Row 1, Column 2: Column 2 of B is 012 Entry (1,2): c⋅0+(−a)⋅1+b⋅2=−a+2b Given AB(1,2)=4, so
−a+2b=4.(2)
- Row 1, Column 3: Column 3 of B is 220 Entry (1,3): c⋅2+(−a)⋅2+b⋅0=2c−2a Given AB(1,3)=−2, so
2c−2a=−2⇒c−a=−1.(3)
-
Solve the system from row 1.
From (1): b=4−c.
From (3): a=c+1.
Substitute into (2): −(c+1)+2(4−c)=4
⇒−c−1+8−2c=4
⇒−3c+7=4
⇒−3c=−3
⇒c=1.
Then a=c+1=2, and b=4−c=3.
-
Verify with another row to be safe. …
-
- AP EAPCET 2025Set eng-2025-05-22-AN1 markMCQQ.The number of solutions of the system of equations 2x+y−z=7, x−3y+2z=1, x+4y−3z=5 is (A) 1 (B) 0 (C) Infinite (D) 2
›Reveal solutionSolution
The coefficient determinant is 0, and substitution shows the equations are mutually contradictory — the system has no solution. Answer: (B).
Concept and Intuition
When the determinant of the coefficient matrix of a 3×3 linear system is zero, the system is NOT guaranteed a unique solution — it is either inconsistent (no solution) or has infinitely many solutions, depending on whether the equations are compatible. The way to tell them apart is to actually eliminate variables and see whether you reach a contradiction (like 0= nonzero) or a genuine identity (0=0).
Step-by-Step Solution
- System: (1) 2x+y−z=7; (2) x−3y+2z=1; (3) x+4y−3z=5.
- Coefficient determinant: 2111−34−12−3=2[(−3)(−3)−2(4)]−1[1(−3)−2(1)]+(−1)[1(4)−(−3)(1)] =2(9−8)−1(−3−2)−1(4+3)=2(1)−1(−5)−1(7)=2+5−7=0.
- Since the determinant is 0, solve by substitution to check consistency. From (2): x=1+3y−2z.
- Substitute into (1): 2(1+3y−2z)+y−z=7⇒2+6y−4z+y−z=7⇒7y−5z=5.
- Substitute into (3): (1+3y−2z)+4y−3z=5⇒1+7y−5z=5⇒7y−5z=4. …
- AP EAPCET 2023Set eng-2023-05-19-FN1 markMCQQ.If A=[211−232−1−3],B=[211−10233] and 2A+3B−5C=O, then C= (A) [2117/56/527/53/5] (B) [−211−7/56/527/53/5] (C) [−2117/56/527/53/5] (D) [211−7/56/527/53/5]
›Reveal solutionSolution
Direct matrix arithmetic: C=(2A+3B)/5, computed entrywise, gives [211−7/56/527/53/5].
Concept and Intuition
This is pure entrywise matrix algebra — scale each matrix, add, then divide by 5 (since 5C=2A+3B).
Step-by-Step Solution
- 2A=[422−464−2−6].
- 3B=[633−30699].
- 2A+3B=[1055−761073].
- C=51(2A+3B)=[211−7/56/527/53/5]. …
- AP EAPCET 2022Set eng-2022-07-05-AN1 markMCQQ.If the solution of the system of simultaneous equations x1+y2−z3−1=0, x2−y4+z3−1=0 and x3+y6−z6−4=0 is x=α,y=β,z=γ then α2+γ2= (A) 5β (B) β2 (C) 3β (D) 2β2
›Reveal solutionSolution
Substitute u=1/x,v=1/y,w=1/z to reduce the system to a linear system, solve for x,y,z, then evaluate α2+γ2 against β.
Concept and Intuition
The equations are linear in 1/x,1/y,1/z even though they look nonlinear in x,y,z. Substituting turns this into a standard 3×3 linear system, easily solved by elimination.
Step-by-Step Solution
- Let u=1/x, v=1/y, w=1/z. The system becomes: u+2v−3w=1 ... (1); 2u−4v+3w=1 ... (2); 3u+6v−6w=4 ... (3).
- Add (1)+(2): 3u−2v=2 ... (i).
- Compute (3)−3×(1): (3u+6v−6w)−3(u+2v−3w)=4−3⇒3w=1⇒w=31.
- Substitute w=1/3 into (1): u+2v−1=1⇒u+2v=2 ... (ii).
- Add (i)+(ii): 4u=4⇒u=1; then from (ii): 2v=1⇒v=21. …
- AP EAPCET 2024Set eng-2024-05-20-FN1 markMCQQ.If the solution of the system of simultaneous linear equations x+y−z=6, 3x+2y−z=5 and 2x−y−2z+3=0 is x=α,y=β,z=γ, then α+β= (A) −7 (B) 2 (C) 1 (D) −2
›Reveal solutionSolution
Solving the 3×3 linear system directly gives x=−3, y=5, z=8, so α+β=x+y=2.
Concept and Intuition
A straightforward system of 3 linear equations in 3 unknowns — eliminate one variable at a time using simple linear combinations, rather than invoking full Cramer's rule, since the numbers are small.
Step-by-Step Solution
- The equations are:
x+y−z=6(1)
3x+2y−z=5(2)
2x−y−2z=−3(3) (rewriting 2x−y−2z+3=0)
- Subtract (1) from (2): (3x+2y−z)−(x+y−z)=5−6⇒2x+y=−1 ... (4)
- From (1): z=x+y−6.
- Substitute into (3): 2x−y−2(x+y−6)=−3⇒2x−y−2x−2y+12=−3⇒−3y+12=−3⇒−3y=−15⇒y=5.
- Substitute y=5 into (4): 2x+5=−1⇒2x=−6⇒x=−3. …
- AP EAPCET 2022Set eng-2022-07-06-FN1 markMCQQ.If A=(3546) and B=(x00y), x,y∈N, then (A) There is exactly one such matrix B such that AB = I (B) There is no matrix B such that AB = BA (C) There exist only a finite number of matrices B such that AB = BA (D) There exist infinite number of matrices B such that AB = BA
›Reveal solutionSolution
Multiplying out AB and BA shows they're equal exactly when x=y, and since x,y can be any of the infinitely many natural numbers with x=y, there are infinitely many commuting diagonal matrices B.
Concept and Intuition
For a diagonal matrix B=diag(x,y) multiplying a general matrix A on the left vs. right scales A's rows vs. columns differently — AB scales A's columns by x,y respectively, and BA scales A's rows by x,y respectively. So AB=BA becomes a condition relating how each off-diagonal entry of A gets scaled from each side, and typically forces the diagonal entries of B to be equal whenever the off-diagonal entries of A are both non-zero (as they are here).
Step-by-Step Solution
- Compute AB=(3546)(x00y)=(3x5x4y6y) (this scales each column of A by x then y).
- Compute BA=(x00y)(3546)=(3x5y4x6y) (this scales each row of A by x then y).
- Set AB=BA entrywise: (1,1): 3x=3x (always true); (1,2): 4y=4x⇒x=y; (2,1): 5x=5y⇒x=y (same condition); (2,2): 6y=6y (always true).
- So the only requirement is x=y, with x,y∈N. Since x can be 1,2,3,… (infinitely many choices, each giving a valid B with x=y), there are infinitely many such matrices B. …
- AP EAPCET 2025Set eng-2025-05-24-FN1 markMCQQ.Consider two systems of 3 linear equations in 3 unknowns AX=B and CX=D. If AX=B has unique solution D and CX=D has unique solution B, then the solution of (A−C−1)X=O is (A) B (B) D (C) B+D (D) B-D
›Reveal solutionSolution
This tests translating "X=D solves AX=B" and "X=B solves CX=D" into matrix equations and combining them algebraically.
Concept and Intuition
"AX=B has unique solution D" is just a restatement that plugging X=D into the system satisfies it: AD=B. Likewise "CX=D has unique solution B" means CB=D. The question is which of the listed vectors satisfies the new homogeneous system (A−C−1)X=O; the trick is to express everything in terms of D and B and see what cancels.
Step-by-Step Solution
- From "AX=B has unique solution D": AD=B. — (i)
- From "CX=D has unique solution B": CB=D. Multiply both sides by C−1: B=C−1D. — (ii)
- Substitute (ii) into (i): AD=C−1D. …
🎓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.