Q.Solve the following system of linear equations using the matrix method: 2x−y=−2 3x+4y=3
🔒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). …
The key idea is to solve a system of linear equations using the matrix method, where we write the system as Ax=b and find x=A−1b.
Step 1: Write the system in matrix form.
[23−14][xy]=[−23]
Step 2: Find the inverse of the coefficient matrix. The determinant is det(A)=(2)(4)−(−1)(3)=8+3=11. So,
A−1=111[4−312]
Step 3: Multiply A−1 by b. …
This is a system of two linear equations in two variables. The key idea is to solve by elimination: multiply the first equation so that the coefficients of y cancel when added to the second. The solution is x=−115, y=1112.
We have two equations:
2x−y=−2(1)
3x+4y=3(2)
The goal is to find a pair (x,y) that satisfies both simultaneously. The most reliable method here is elimination — we manipulate the equations so that adding them cancels one variable. Why elimination? Because it avoids fractions early and works cleanly with integer coefficients.
-
Choose which variable to eliminate.
Look at the coefficients: y has −1 in equation (1) and +4 in equation (2). If we multiply equation (1) by 4, the y terms become −4y and +4y, which cancel when added. That’s a clean move.
-
Multiply equation (1) by 4:
4⋅(2x−y)=4⋅(−2)⇒8x−4y=−8
Call this equation (1′).
- Add equation (1′) to equation (2):
(8x−4y)+(3x+4y)=−8+3
The −4y and +4y cancel perfectly, leaving:
11x=−5
- Solve for x:
x=−115
A common mistake is forgetting to multiply the entire equation — including the constant term — when scaling. Here we multiplied −2 by 4 to get −8, not just the x and y terms.
- Substitute x back into one original equation to find y. …
Method: Solving a 2×2 System by the Matrix Inverse, With Fractional Values
The matrix method works identically whether the final answer comes out as whole numbers or fractions — the fraction only appears at the very last step, when dividing by the determinant.
Steps
Step 1: Write AX=B from the two equations
A=(acbd),B=(pq)
Step 2: Compute det(A)=ad−bc carefully, watching the signs
When b or c is itself negative, −bc can flip from subtraction to addition — write out ad−bc term by term rather than doing it mentally, to avoid a sign slip here.
Step 3: Build A−1=det(A)1(d−c−ba)
Keep the det(A)1 factor attached symbolically rather than dividing early — this keeps the numbers as clean integers for as long as possible. …
Common Mistakes
Mistake 1: Dropping the double-negative when computing det(A)
Why it's wrong: here det(A)=(2)(4)−(−1)(3); the second term is −(−1)(3)=+3, not −3, so the correct total is 8+3=11. A student who forgets the double-negative computes 8−3=5 instead, and every later step (the inverse, and hence x,y) inherits this wrong determinant. Correct approach: expand −bc term by term when b or c is negative, writing −(−1)(3) explicitly rather than simplifying by eye.
Mistake 2: Forgetting to divide by the determinant after building the swap-negate matrix …
Showing the 12 most recent of 32 on this concept.
- 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-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 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 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 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 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 2022Set eng-2022-07-07-FN1 markMCQQ.If the system of simultaneous linear equations x+y−z=6, 3x−y+z=2 and x+ky+z=−8 has a unique solution x=2,y=β,z=γ then the value of k satisfies the following quadratic equation (A) x2−5x+6=0 (B) x2+x−6=0 (C) x2−x−6=0 (D) x2+x−2=0
›Reveal solutionSolution
Adding the first two equations forces x=2; requiring an integer solution triple gives k=2 or k=−3, so k satisfies x2+x−6=0.
Adding the first two equations:
(x+y−z)+(3x−y+z)=6+2⇒4x=8⇒x=2.
From equation 1 with x=2: y−z=4, i.e. z=y−4.
Substitute into equation 3 (x+ky+z=−8):
2+ky+(y−4)=−8⇒y(k+1)=−6⇒y=k+1−6. …
- 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 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 2021Set eng-2021-08-24-FN1 markMCQQ.The system of equations 2x+6y=−11, 6x+20y−6z=−3, 6y−18z=−1 are (A) Inconsistent (B) Consistent with unique solution (C) Consistent with countable infinite many solutions (D) Consistent with infinitely many solutions
›Reveal solutionSolution
Eliminating x and z from the three equations produces two contradictory conditions on y−3z (15 vs −1/6), so the system is inconsistent (no solution).
Concept and Intuition
A linear system is inconsistent when the equations, after elimination, reduce to a statement that is never true (like 0= nonzero number). This happens when the coefficient matrix is singular (determinant zero) but the augmented matrix has higher rank — i.e., the planes described by the equations don't share a common point.
Step-by-Step Solution
- Write the equations: (1) 2x+6y=−11; (2) 6x+20y−6z=−3; (3) 6y−18z=−1.
- Eliminate x between (1) and (2): multiply (1) by 3: 6x+18y=−33. Subtract from (2): (6x+20y−6z)−(6x+18y)=−3−(−33) ⇒2y−6z=30⇒y−3z=15. Call this Equation A.
- Now look at equation (3) directly: 6y−18z=−1. Divide by 6: y−3z=−61. Call this Equation B.
- Equations A and B both express y−3z but give different values: 15 from A, and −61 from B. Since 15=−61, no values of y,z can satisfy both simultaneously.
- This contradiction means the original system of three equations has no solution — it is inconsistent. …
- AP EAPCET 2022Set eng-2022-07-05-AN1 markMCQQ.If A=[x101] and B=[8701] and A3=B, then x= (A) −2 or 3 (B) −2 (C) 2 or −3 (D) 2
›Reveal solutionSolution
Directly cubing the lower-triangular matrix A and matching both entries to B pins down x=2 uniquely. The answer is (D).
Concept and Intuition
A is lower triangular, so its powers stay lower triangular, and the diagonal entries of An are just the diagonal entries of A raised to the n-th power — this makes computing A3 by hand straightforward via repeated matrix multiplication.
Step-by-Step Solution
- A=[x101].
- A2=A⋅A=[x2x+101] (bottom-left entry: 1⋅x+1⋅1=x+1).
- A3=A2⋅A=[x3(x+1)x+101]=[x3x2+x+101].
- Set A3=B=[8701]: from the (1,1) entry, x3=8⇒x=2 (the unique real cube root). …
- AP EAPCET 2025Set eng-2025-05-27-FN1 markMCQQ.If xayb=em, xcyd=en, Δ1=mnbd, Δ2=acmn, Δ3=acbd, then the values of x and y are respectively (e is the base of natural logarithm) (A) Δ3Δ1 and Δ3Δ2 (B) Δ1Δ2 and Δ1Δ3 (C) log(Δ3Δ1) and log(Δ3Δ2) (D) eΔ1/Δ3 and eΔ2/Δ3
›Reveal solutionSolution
Taking natural logs turns the exponential system into a linear system in u=logx, v=logy, which Cramer's rule solves directly in terms of the given determinants. Exponentiating back gives x,y in terms of Δ1,Δ2,Δ3.
Concept and Intuition
Whenever variables appear as exponents (here xayb=em), taking logarithms converts a nasty exponential relation into an ordinary linear system — a standard trick. Once linear, Cramer's rule (using 2×2 determinants) gives a clean closed-form solution, and we just need to recognise that the given Δ1,Δ2,Δ3 are exactly the Cramer's-rule determinants for this linear system.
Step-by-Step Solution
- Take log of both given equations:
- xayb=em⇒alogx+blogy=m
- xcyd=en⇒clogx+dlogy=n
- Substitute u=logx, v=logy: the system becomes
au+bv=m,cu+dv=n.
- By Cramer's rule, with coefficient determinant Δ3=acbd (nonzero, assumed):
u=Δ3mnbd,v=Δ3acmn.
- Compare with the given Δ1=mnbd and Δ2=acmn — these are exactly the numerator determinants above. …
- Take log of both given equations:
🎓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.