Determinants and matrices are powerful tools for solving systems of linear equations. In this section, we focus on systems with two or three variables, using these tools to determine whether a solution exists and, if so, to find it uniquely.
Consistent and Inconsistent Systems
A system of equations is a collection of two or more equations involving the same set of variables. For such a system, we ask: does a solution exist?
Important
Consistent system: A system of equations is said to be consistent if it has at least one solution (one or more solutions exist).
Inconsistent system: A system of equations is said to be inconsistent if it has no solution.
In this chapter, we restrict our study to systems of linear equations that have unique solutions only. This means we will only consider consistent systems where exactly one set of values satisfies all equations simultaneously.
Note
The term "consistent" does not guarantee a unique solution — a system could have infinitely many solutions and still be consistent. However, our focus here is on systems with exactly one solution.
Representing a System of Linear Equations Using Matrices
Consider a system of n linear equations in n unknowns. For n=2:
The matrix equation AX=B is equivalent to the original system of equations.
Solving a System Using the Inverse of a Matrix
If A is a square matrix and ∣A∣=0, then A is invertible (its inverse exists). We can solve AX=B by multiplying both sides on the left by A−1:
A−1(AX)=A−1B
Since matrix multiplication is associative and A−1A=I (the identity matrix):
(A−1A)X=IX=X=A−1B
X=A−1B
This is the matrix method for solving a system of linear equations. The solution exists and is unique if and only if ∣A∣=0.
Watch out
A common mistake is to write X=BA−1. Remember that matrix multiplication is not commutative — the order matters. Since A−1 multiplies A on the left, it must also multiply B on the left.
Checking Consistency Using Determinants
The determinant of the coefficient matrix A tells us about the nature of the system:
If ∣A∣=0, the system is consistent and has a unique solution.
If ∣A∣=0, the system may be consistent (with infinitely many solutions) or inconsistent (no solution). Further investigation is needed.
Tip
For the systems we study (unique solutions only), we only need to check that ∣A∣=0. If ∣A∣=0, the system either has no solution or infinitely many — both cases are outside our scope here.
Solving a 2×2 System Using the Matrix Method
Example: Solve the system
2x+3y3x−y=7=5
Step 1: Write in matrix form AX=B.
A=[233−1],X=[xy],B=[75]
Step 2: Find ∣A∣.
∣A∣=(2)(−1)−(3)(3)=−2−9=−11=0
Since ∣A∣=0, the system is consistent with a unique solution.