Gaussian elimination is not finished once the matrix looks simpler. The point of row reduction is that the reduced form lets you read the structure of the solution set. This note makes that reading process precise.
There are only three possible outcomes for a linear system:
- exactly one solution,
- infinitely many solutions,
- no solution.
The classification is not based on guesswork. It follows from the position of the pivot columns in the reduced augmented matrix.
Dependent variables and free variables
When a consistent linear system is reduced to RREF, the pivot columns tell you which variables are determined by the others. Columns without pivots correspond to variables that may be chosen freely.
Definition
Dependent variables and free variables
Suppose the augmented matrix of a consistent linear system is row-equivalent to
a matrix in RREF. If column j of is a pivot column, then the variable
is called a dependent variable or leading variable. A variable whose
column is not a pivot column is called a free variable.
This language matters because it tells you how the final answer should be written. Free variables become parameters. Dependent variables are then solved in terms of those parameters.
The consistency test
The first question is not whether the system has one solution or many. The first question is whether it has any solution at all.
Theorem
Consistency criterion from RREF
Let be the augmented matrix of an linear system, and let be the RREF row-equivalent to . Then the system is inconsistent if and only if the last column of is a pivot column.
Equivalently, the system is inconsistent if and only if contains a row of the form
Such a row represents the equation
which is impossible when . That is why contradiction rows settle the question immediately.
Why only three cases can occur
Once the system is known to be consistent, the remaining issue is the number of free variables.
Theorem
Classification by the number of pivots
Suppose an linear system is consistent, and suppose its augmented
matrix is row-equivalent to an RREF matrix with r pivot columns. Then . Moreover:
- if , the system has a unique solution;
- if , the system has infinitely many solutions.
The reason is structural.
- If , every variable column contains a pivot, so there are no free variables.
- If , then , so at least one variable is free.
- Every choice of the free variables gives a solution, so consistency plus a free variable automatically creates infinitely many solutions.
Putting the consistency theorem and the pivot-count theorem together gives the standard trichotomy.
Theorem
Possible solution sets for a linear system
A linear system has exactly one of the following three solution-set types:
- a unique solution;
- infinitely many solutions;
- no solution.
Three reduced forms, three different readings
The reduced matrix already contains the whole story. The only question is whether you know what to look for.
Worked example
Read the matrix before solving
Consider the following three RREF augmented matrices.
First,
Both variable columns are pivot columns, so there are no free variables. The system has the unique solution
Second,
Column 1 is a pivot column, but columns 2 and 3 are not. So and are free variables. The equation is
which gives
Hence the solution set is
Third,
The last row says , so the system is inconsistent and has no solution.
The essential habit is this:
- check for contradiction rows;
- identify pivot columns;
- count free variables;
- write the dependent variables in terms of the free ones.
A larger parameterized example
The source notes emphasize that a free-variable answer should be written as a full set, not as a vague phrase such as "there are many solutions."
Worked example
Write the solution set explicitly
Suppose a system in variables has RREF
Columns 1, 3, and 4 are pivot columns, so , , and are dependent variables. Columns 2 and 5 are non-pivot columns, so and are free.
Reading the rows gives
Let
Then
Therefore the solution set is
Two free variables produce a two-parameter family of solutions.
A useful corollary when there are more variables than equations
One common classroom situation is a consistent system with fewer equations than variables.
Theorem
If , consistency forces infinitely many solutions
Suppose a consistent linear system has m equations in n variables, and
suppose . Then the system has infinitely many solutions.
Why? In RREF there can be at most m nonzero rows, so there can be at most m
pivot columns. If , then at least one of the n variable columns must be
non-pivot. Hence there is at least one free variable, and consistency then
forces infinitely many solutions.
This corollary does not say that every underdetermined system is consistent. It says that once such a system is consistent, uniqueness is impossible.
Compare the three cases interactively
The classifier below is useful because it makes the reading process explicit: you check contradiction rows, look for pivots, and then decide how many free variables remain.
Read and try
Read the shape of a solution set
The live classifier compares three representative reduced matrices and explains what each structure means.
| 1 | 0 | 0 | 2 |
| 0 | 1 | 0 | -1 |
| 0 | 0 | 1 | 3 |
Why it works
Every variable is a pivot variable, so the system has one solution.
Common mistakes
Common mistake
A free variable is not an unfinished calculation
A free variable is a genuine feature of the system. It means the solution set is parameterized. The algebra is complete, even though the answer is a family of vectors rather than one point.
Common mistake
A zero row is not the same as a contradiction row
The row
adds no new condition and is perfectly compatible with consistency. By contrast,
is a contradiction and destroys consistency.
Quick checks
Quick check
What does the row tell you about the system?
Interpret the row as an equation.
Solution
Answer
Quick check
If a consistent system in four variables has three pivot columns, how many free variables does it have?
Count the non-pivot variable columns.
Solution
Answer
Exercises
Quick check
Classify the solution set of the system whose RREF is , and write the solution set explicitly.
Start by naming the free variable, then solve for the pivot variables.
Solution
Guided solution
Quick check
Why can a consistent system never have exactly two solutions?
Answer from the free-variable theorem, not from a picture.
Solution
Guided solution
Related notes
Read 2.3 Gaussian elimination and RREF for the mechanics of row reduction, and 2.2 Augmented matrices and row operations for the meaning of augmented matrices and elementary row operations.