Systems via
Matrices & Row Reduction
Learn to translate systems of equations into augmented matrices and solve them systematically using elementary row operations.
What Is a System of Linear Equations?
A system of linear equations is a collection of two or more linear equations involving the same set of variables. The solution is any ordered set of values that satisfies every equation simultaneously.
In finite mathematics, these systems arise in resource allocation, network flow, economics models, and anywhere multiple constraints must be satisfied at once.
Introducing Matrices
A matrix is a rectangular array of numbers arranged in rows and columns. Instead of rewriting variables over and over, we store just the coefficients and constants in a compact grid.
From Equations to Augmented Matrix
Elementary Row Operations
Row reduction works by applying three types of operations that never change the solution set:
Row Echelon Form (REF)
The goal of row reduction is to transform the augmented matrix into row echelon form, where the solution can be read off easily.
REF vs RREF: Key Distinction
| Row Echelon Form (REF) | Reduced REF (RREF) | |
|---|---|---|
| Leading entries | Each is \( 1 \) (pivots) | Each is \( 1 \) (pivots) |
| Below pivots | All zeros | All zeros |
| Above pivots | May be nonzero | All zeros |
| Reading solution | Requires back-substitution | Solution reads directly |
| Work involved | Fewer row operations | More row operations |
Step-by-Step: Gaussian Elimination
Example 1: Two Variables
Solve the system using row reduction:
Step 1: Write the augmented matrix.
Step 2: The first pivot is already \( 1 \). Eliminate below: apply \( R_2 - 3R_1 \rightarrow R_2 \).
Example 1: Completing the Reduction
Step 3: Scale \( R_2 \) by \( -1 \) to make the pivot \( 1 \).
Step 4: Back-eliminate: \( R_1 - 2R_2 \rightarrow R_1 \).
Example 2: Three Variables
Solve the system:
Augmented matrix:
Eliminate below pivot 1: Apply \( R_2 - 2R_1 \rightarrow R_2 \) and \( R_3 - R_1 \rightarrow R_3 \).
Example 2: Reaching RREF
Eliminate below pivot 2: \( R_3 + 2R_2 \rightarrow R_3 \).
Scale: \( (-1)R_3 \rightarrow R_3 \). Then back-eliminate above each pivot.
Example 2: Back-Elimination Detail
Here are the back-elimination steps in detail:
Three Possible Outcomes
When you row-reduce a system, exactly one of three things happens:
Common Mistakes to Avoid
Summary: The Row Reduction Toolkit
| Concept | Key Idea | Remember |
|---|---|---|
| Augmented matrix | Encodes the entire system | Rows = equations |
| Row operations | Swap, scale, replace | Never change the solution |
| REF | Staircase of pivots | Zeros below each pivot |
| RREF | Identity-like left block | Zeros above and below |
| Contradiction row | \( [0\;\cdots\;0\;|\;c] \), \( c\neq 0 \) | No solution exists |
| Free variables | Columns without pivots | Infinitely many solutions |
Question 1 of 5
What is the augmented matrix for the system \( 2x - y = 7 \), \( x + 3y = 4 \)?
Question 2 of 5
Which of the following is not an elementary row operation?
Question 3 of 5
After row reduction, you obtain
\( \left[\begin{array}{ccc|c} 1 & 0 & 0 & 3 \\ 0 & 1 & 0 & -2 \\ 0 & 0 & 0 & 5 \end{array}\right] \).
What does this tell you?
Question 4 of 5
Given the augmented matrix \( \left[\begin{array}{cc|c} 1 & 4 & 10 \\ 2 & 9 & 23 \end{array}\right] \), what is the result of applying \( R_2 - 2R_1 \rightarrow R_2 \)?
Question 5 of 5
A matrix in RREF has the form \( \left[\begin{array}{ccc|c} 1 & 0 & 2 & 7 \\ 0 & 1 & -1 & 3 \end{array}\right] \). How many solutions does this system have?