Systems via
Matrices
Master row reduction and matrix methods to solve systems of linear equations: the essential HL technique for \(2 \times 2\), \(3 \times 3\), and beyond.
What is a Linear System?
A system of linear equations is a collection of two or more equations, each linear in the same set of unknowns. We seek values that satisfy every equation simultaneously.
Geometrically, each equation represents a line (in 2D) or a plane (in 3D). A solution is a point where all lines or planes intersect.
From Equations to Matrices
Any linear system can be written compactly as \(A\mathbf{x} = \mathbf{b}\), where \(A\) is the coefficient matrix, \(\mathbf{x}\) the unknown vector, and \(\mathbf{b}\) the constant vector.
The Augmented Matrix
To solve by row reduction, we combine \(A\) and \(\mathbf{b}\) into a single augmented matrix \([A \mid \mathbf{b}]\), then apply elementary row operations (EROs).
Row Echelon Form (REF)
The goal of Gaussian elimination is to transform the augmented matrix into row echelon form: an upper-triangular shape with leading 1s staircase-stepping to the right.
REF vs RREF
Reduced Row Echelon Form (RREF) goes further: every leading 1 is the only nonzero entry in its column. The solution reads off directly: no back-substitution needed.
| REF (Gaussian) | RREF (Gauss-Jordan) | |
|---|---|---|
| Form | Upper-triangular with leading 1s | Diagonal of leading 1s only |
| Zeros | Below each pivot | Above and below each pivot |
| Solve by | Back-substitution | Direct read-off |
| IB Expectation | Either is acceptable | Either is acceptable |
Three Possible Outcomes
How to Apply Row Reduction
Example 1: A \(2 \times 2\) System
Example 2: A \(3 \times 3\) System
Example 2: Back-Substitution
From the REF obtained:
Example 3: Infinitely Many Solutions
Detecting No Solution
If row reduction produces a row of the form \([0\ 0\ \cdots\ 0 \mid k]\) where \(k \neq 0\), the system is inconsistent.
Common Mistakes
Summary of Solution Types
| After Row Reduction | Conclusion | Geometric Meaning |
|---|---|---|
| Pivot in every column of \(A\) | Unique solution | Single intersection point |
| Fewer pivots than unknowns, no contradiction | Infinitely many | Line or plane of solutions |
| Row \([0 \cdots 0 \mid k]\), \(k \neq 0\) | No solution | Parallel planes / no common point |
Question 1 of 5
Which elementary row operation is not permitted?
Question 2 of 5
Given the augmented matrix \(\left[\begin{array}{cc|c} 1 & 2 & 5 \\ 0 & 1 & 3 \end{array}\right]\), what is the solution?
Question 3 of 5
If row reduction yields the row \([0\ 0\ 0 \mid 0]\) in a \(3 \times 3\) system, this means:
Question 4 of 5
Given the system \(\begin{cases} x + y + z = 4 \\ 2x + 3y + z = 9 \\ x + 2y = 5 \end{cases}\), after \(R_2 \to R_2 - 2R_1\) and \(R_3 \to R_3 - R_1\), row 2 becomes:
Question 5 of 5
In RREF, the matrix \(\left[\begin{array}{ccc|c} 1 & 0 & 3 & 7 \\ 0 & 1 & -2 & 4 \\ 0 & 0 & 0 & 0 \end{array}\right]\) has the general solution: