Q.Solve the following system of linear equations using the matrix method: 5x+2y=3 3x+2y=5
🔒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: Matrix Equation Solving — rewriting the system as AX=B, then solving via X=A−1B.
First, write the system in matrix form:
[5322][xy]=[35]
Find the inverse of A. The determinant is det(A)=(5)(2)−(2)(3)=10−6=4.
So
A−1=41[2−3−25]
Multiply A−1 by B: …
We solve the system by writing it as Ax=b, finding A−1 using the formula for a 2×2 matrix, and then computing x=A−1b. The solution is x=−1,y=4.
Why the matrix method works
A system of linear equations can be written compactly as Ax=b, where A is the coefficient matrix, x is the column of variables, and b is the column of constants. If A is invertible (i.e., its determinant is non-zero), we can multiply both sides by A−1 to get x=A−1b. This turns solving into a single matrix multiplication — clean, systematic, and free of substitution or elimination guesswork.
For a 2×2 system, the inverse has a simple closed form, so the entire process is quick and reliable.
Step-by-step solution
1. Write the system in matrix form
The given equations are:
5x+2y=3
3x+2y=5
So:
A=(5322),x=(xy),b=(35)
The system is Ax=b.
2. Compute the determinant of A
For a 2×2 matrix (acbd), det(A)=ad−bc.
det(A)=(5)(2)−(2)(3)=10−6=4
Since det(A)=0, A is invertible and a unique solution exists.
A common mistake is to swap b and c in the determinant formula. Remember: it's ad−bc, not ac−bd.
3. Find the inverse of A
For a 2×2 matrix, the inverse is:
A−1=det(A)1(d−c−ba)
Here a=5,b=2,c=3,d=2, so:
A−1=41(2−3−25) …
Method: Solving a 2×2 System by the Matrix Inverse — Standard Case
This is the base-case version of the matrix method for two equations in two unknowns: write the system as AX=B, invert A using the 2×2 shortcut, then multiply.
Steps
Step 1: Write the system as AX=B
A=(acbd),X=(xy),B=(pq)
Step 2: Compute det(A)=ad−bc
Double-check you multiplied the correct diagonal pairs — a with d, and b with c — not a with c.
Step 3: Form the inverse
A−1=det(A)1(d−c−ba) …
Common Mistakes
Mistake 1: Swapping the wrong pair of entries when forming A−1
Why it's wrong: for A=(5322), the shortcut swaps the diagonal entries (5↔2 in position, giving 2,2 visually similar here) and negates the OFF-diagonal 2 and 3. A student who instead negates the diagonal entries gets (−532−2) instead of the correct (2−3−25) — an easy mix-up here since two of the four entries are already the same number (2), making a misplaced sign harder to notice. Correct approach: write the general pattern (d−c−ba) next to the specific matrix and substitute entry-by-entry rather than editing the original matrix by eye.
Mistake 2: Computing det(A) as ac−bd instead of ad−bc …
Showing the 12 most recent of 32 on this concept.
- 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 2024Set eng-2024-05-19-AN1 markMCQQ.If A=[1−22−5] and αA2+βA=2I for some α,β∈R then α+β= (A) 7 (B) 10 (C) 12 (D) 5
›Reveal solutionSolution
Computing A2 and matching the matrix equation αA2+βA=2I entry-by-entry gives α=2, β=8, so α+β=10 — option (B).
Concept and Intuition
Given a 2×2 matrix satisfying a polynomial relation like αA2+βA=2I, the cleanest approach is to compute A2 directly, then equate corresponding entries of both sides of the matrix equation — this converts a single matrix equation into a small system of linear equations in the unknown scalars α,β (using just two independent entries is enough, and the remaining entries serve as a consistency check, since the relation must hold for the whole matrix, not just isolated numbers — this consistency is itself guaranteed for genuine matrix polynomial identities via Cayley–Hamilton-type reasoning, but verifying arithmetic keeps you safe under exam conditions).
Step-by-Step Solution
- Compute A2: A2=[1−22−5][1−22−5]=[1(1)+2(−2)−2(1)+(−5)(−2)1(2)+2(−5)−2(2)+(−5)(−5)]=[−38−821].
- Write αA2+βA=2I entry-wise:
- (1,1): −3α+β=2
- (1,2): −8α+2β=0 …
- 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 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 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 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 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-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 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 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-18-FN1 markMCQQ.While solving a system of linear equations AX=B using Cramer's rule with the usual notation, if Δ=12−11−11125; Δ1=54111−11125 and X=α2β, then α2+β2= (A) 9 (B) 13 (C) 5 (D) 25
›Reveal solutionSolution
This tests Cramer's rule bookkeeping: computing α directly from Δ1/Δ, then recovering β by reconstructing the right-hand-side vector B implicit in Δ1 and using the known value of y=2.
Concept and Intuition
In Cramer's rule for AX=B with A a 3×3 coefficient matrix and X=(α,y,β)T: Δ=det(A), and Δ1 is the determinant formed by replacing the first column of A (the column of coefficients of α) with B. So α=Δ1/Δ directly. Moreover, since Δ1's 2nd and 3rd columns are unchanged from A's, we can read the vector B straight off Δ1's first column. Once B is known, and given y=2 is already provided, we can plug into the original equations AX=B (using A's actual rows) to solve for the remaining unknown β.
Step-by-Step Solution
- Compute Δ=12−11−11125. Expanding along row 1: 1[(−1)(5)−(2)(1)]−1[(2)(5)−(2)(−1)]+1[(2)(1)−(−1)(−1)]=1(−7)−1(12)+1(1)=−7−12+1=−18.
- Compute Δ1=54111−11125. Expanding along row 1: 5[(−1)(5)−(2)(1)]−1[(4)(5)−(2)(11)]+1[(4)(1)−(−1)(11)]=5(−7)−1(−2)+1(15)=−35+2+15=−18.
- By Cramer's rule, α=Δ1/Δ=(−18)/(−18)=1.
- Since Δ1's columns 2 and 3 match A's columns 2 and 3 exactly (compare: A's column 2 is (1,−1,1)T and column 3 is (1,2,5)T, matching Δ1), Δ1's column 1, (5,4,11)T, must be the RHS vector B.
- Now use A's actual rows with X=(α,y,β)=(1,2,β) and B=(5,4,11): Row 1: 1(1)+1(2)+1(β)=5⇒3+β=5⇒β=2. …
- 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.