Solution of linear equations using matrices
Two or three linear equations, solved not by elimination but by one clean matrix computation. Every system such as , , collapses into a single matrix sentence , where holds the coefficients, the unknowns, and the constants. If is non-singular — that is, — then exists, and the whole system is solved in one stroke by . This is the payoff of the entire Determinants chapter: adjoints and inverses, built up equation by equation, finally do real work. It is also a strict inverse-matrix method — CBSE's chosen technique, not Cramer's rule — and it teaches you to read the fate of a system (unique solution, no solution, or infinitely many) straight off , before you compute anything else.
A linear system has the unique solution whenever , and the sign of together with tells you instantly whether the system is consistent, inconsistent, or has infinitely many solutions.
The core idea
Packing the system into one equation. Any system of 2 or 3 linear equations can be written as three separate matrices multiplied together:
where: is the coefficient matrix ( or ), is the column matrix of unknowns, and is the column matrix of constants on the right-hand side. Writing the system this way is purely bookkeeping — no new mathematics — but it turns "solve for " into "solve for ," a problem matrix algebra already knows how to handle.
Solving by inverting . If is invertible, multiply both sides of on the left by . Since and , the unknowns fall out directly:
where: , so this step reuses the adjoint-and-determinant machinery from earlier in the chapter — nothing new is computed here that you have not already practised. The condition for this to work is simply , so is non-singular and exists.
Reading the outcome from alone. Before grinding through an inverse, a quick glance at tells you which of three outcomes you are in. This is the syllabus's basic-level consistency check, and it is exactly what the figure below sorts through.
Solving X = A inverse B
The system's fate depends entirely on two matrix quantities computed from and : the determinant , and the product when . Getting from a raw system of equations to a verified numeric answer for , , requires converting the equations to form correctly, confirming , computing the adjoint, forming , and multiplying it into in the correct order — a chain where a slip at any link gives a wrong final answer even if every individual computation looks right in isolation.
Step 1. Write the given system as by reading off the coefficients of , (and , if present) row by row into , stacking the unknowns into , and the right-hand-side constants into . Any missing variable in an equation must be entered as coefficient in , not left out — a row must have one entry per unknown.
Step 2. Compute using the standard expansion along any convenient row or column (a row or column with a zero is usually fastest). If , the system has a unique solution and you proceed; if , stop and instead inspect to decide between "infinitely many solutions" and "no solution," rather than attempting an inverse that does not exist.
Step 3. Compute : for , swap the diagonal entries and negate the off-diagonal pair; for , compute all nine cofactors , arrange them into the matrix , and transpose it.
Step 4. Form , then compute by multiplying this matrix into the column — always times , in that order, since matrix multiplication is not commutative.
Step 5. Read off , , from the resulting column , and verify by substituting each value back into all of the original equations.
Worked example
Solve and by the matrix inverse method, then check what the method predicts if the right-hand side were changed to a case with .
Step 1. Write : , , .
Step 2. Compute . Since , a unique solution exists and the inverse method applies directly.
Step 3. Using the shortcut, , so .
Step 4. Compute . So , , and checking, and , both correct.
Competitive stretch
Now consider the related pair and . Here has , so is singular and cannot be formed at all — the method does not silently give a wrong answer; it simply refuses to run, which is itself the diagnostic. The first pair has the unique solution ; the second pair fails the test and needs the inspection instead.
Common traps
- Reaching for Cramer's rule instead of — CBSE's chosen technique for this chapter is the inverse-matrix method, so practise it fluently even if you already know Cramer's rule.
- Writing down before checking — the formula is meaningless if does not exist.
- Multiplying in the wrong order, computing instead of — matrix multiplication is not commutative, and only the stated order has matching dimensions.
- Dropping a missing variable's term instead of entering it as coefficient in — this silently changes the matrix and gives a wrong .
Ask the tutor: Share your own system of 2 or 3 linear equations and have the tutor walk through the matrix setup, the determinant check, and the computation with you step by step.
Why does CBSE insist on X = A inverse B instead of Cramer's rule, which I learned is faster?
Cramer's rule is a valid alternative for small systems, but it is not the technique this chapter builds toward — the whole point of the Determinants chapter is to develop the adjoint and the inverse, and the inverse-matrix method is where that machinery pays off. CBSE questions on this topic expect you to set up and solve via , so that is the method to have automatic. You can mention Cramer's rule as a check, but do not substitute it as your primary working.
What if det A turns out to be zero halfway through my calculation?
Stop immediately — do not try to compute , since it does not exist when . Instead, compute . If that product is the zero matrix, the system is consistent but has infinitely many solutions; if it is not the zero matrix, the system is inconsistent and has no solution. At this level you are only expected to recognise these two cases by inspection, not to describe the full solution set.
Do I have to compute the full adjoint every time, even for a 2 by 2 system?
For a matrix , the adjoint is just — swap the diagonal entries and negate the off-diagonal ones, no cofactor expansion needed. For you do need the full nine-cofactor computation, arranging them into a matrix and transposing it, exactly as in the worked example's Step 3 pattern for larger systems.