Subject: Class 12 Mathematics Chapter: Solving Linear Equations Topic: 4.8 Solving Linear Equations – Solve equations using matrices determinants
Systems of linear equations can be solved in several ways, and the matrix method is one of the most elegant. A system of n equations in n unknowns can be written in matrix form as AX = B, where A is the coefficient matrix, X is the column of variables, and B is the column of constants. If the coefficient matrix is invertible, the solution is simply X = A inverse × B.
The determinant of the coefficient matrix plays the deciding role. When the determinant is nonzero, the system has a unique solution, and the system is called consistent. When the determinant is zero, the system either has infinitely many solutions or no solution, and this is decided by further checking the consistency of the equations.
The determinant method known as Cramer's rule provides an alternative route that expresses each variable as a ratio of two determinants. In this chapter we study the matrix form of a system, the condition for a unique solution, the use of the inverse, Cramer's rule, and the classification of systems as consistent or inconsistent.
Consider the system:
a1x + b1y + c1z = d1
a2x + b2y + c2z = d2
a3x + b3y + c3z = d3
This system is written in matrix form as AX = B where:
A = | a1 b1 c1 |
| a2 b2 c2 |
| a3 b3 c3 |
X = | x |
| y |
| z |
B = | d1 |
| d2 |
| d3 |
Key terminology:
Example 1: Write the following system in matrix form:
2x + 3y = 8
x − y = 4
Solution: The matrix form is:
| 2 3 | | x | | 8 |
| 1 -1 | | y | = | 4 |
Here A = | 2 3; 1 -1 |, X = | x; y |, and B = | 8; 4 |.
If the determinant |A| is nonzero, then A is invertible and the system has a unique solution given by:
X = A inverse × B
Steps to solve by the inverse method:
Example 2: Solve the system using matrices:
2x + 3y = 8
x − y = 4
Solution:
x = (1/5)(8) + (3/5)(4) = 8/5 + 12/5 = 20/5 = 4
y = (1/5)(8) + (−2/5)(4) = 8/5 − 8/5 = 0
The solution is x = 4, y = 0.
Example 3: Solve:
x + y = 5
2x + 3y = 12
Solution:
x = 3×5 − 1×12 = 15 − 12 = 3
y = −2×5 + 1×12 = −10 + 12 = 2
The solution is x = 3, y = 2.
Cramer's rule states that for a system AX = B with nonzero determinant, each variable is a ratio of two determinants. For two unknowns:
x = Dx/D, y = Dy/D
where D = |A|, Dx is obtained by replacing the first column of D with the constant column B, and Dy by replacing the second column of D with B.
Example 4: Solve using Cramer's rule:
2x + y = 7
x + 3y = 11
Solution:
The solution is x = 2, y = 3.
Consistency conditions:
Example 5: Determine whether the system is consistent:
x + y = 3
2x + 2y = 6
Solution:
Example 6: Determine whether the system is consistent:
x + y = 3
2x + 2y = 7
Solution:
Example 7: Solve the 3-variable system:
x + y + z = 6
x − y + z = 2
2x + y − z = 1
Solution: Write AX = B with A, X, B as above. Compute |A| by expansion:
Compute the adjoint by cofactors:
adj(A) = | 0 2 2; 3 -3 0; 3 1 -2 |. Then X = (1/6) × adj(A) × B:
The solution is x = 1, y = 2, z = 3.
| Step | Action | Result |
|---|---|---|
| 1 | Write system as AX = B | Matrix equation |
| 2 | Compute | A |
| 3 | Find adj(A) | Cofactor matrix transposed |
| 4 | Compute A inverse = adj/ | A |
| 5 | X = A inverse × B | Solution values |
| Condition | Number of solutions | Type |
|---|---|---|
| A | not zero | |
| A | = 0, equations dependent | |
| A | = 0, equations inconsistent |
flowchart TD
A[Solving Linear Equations] --> B[Matrix Form AX = B]
A --> C[Inverse Method]
A --> D[Cramer's Rule]
A --> E[Consistency]
B --> F[Coefficient matrix A]
B --> G[Variable matrix X]
B --> H[Constant matrix B]
C --> I[X equals A inverse B]
C --> J[Requires nonzero determinant]
D --> K[x equals Dx over D]
D --> L[y equals Dy over D]
E --> M[Nonzero determinant unique solution]
E --> N[Zero determinant check ratios]
N --> O[Infinitely many or none]
Systems of linear equations are solved efficiently by rewriting them in matrix form AX = B and applying the inverse when the coefficient matrix is invertible. A nonzero determinant guarantees a unique solution, while a zero determinant requires a check of consistency to decide between infinitely many solutions and none. Cramer's rule offers a determinant-based alternative that is especially convenient for two-variable systems. By mastering the matrix form, the inverse method, and the consistency conditions, all linear equation problems in the Class 12 syllabus can be solved accurately and systematically.