Loading…
Use RREF to classify a linear system rigorously, identify pivot and free variables, and explain why a system has exactly one solution, infinitely many solutions, or no solution.
A reduced augmented matrix reveals two different features of a system: whether its equations are compatible, and which unknowns can be chosen freely. The constant column settles the first question; the coefficient columns settle the second once consistency is established.
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 2.4.1
(Consistency criterion from RREF)
Let be a linear system with equations and unknowns, so that is its coefficient matrix. Let be the RREF of . 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.
When a consistent linear system is reduced to RREF, the pivot columns tell you which variables are determined by the others. Coefficient columns without pivots correspond to variables that may be chosen freely.
Definition 2.4.2
(Dependent variables and free variables)
Suppose the augmented matrix of a consistent linear system is row-equivalent to a matrix in RREF. If coefficient column 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.
Free variables become parameters. The pivot equations express the dependent variables in terms of those parameters.
Once the system is known to be consistent, the remaining issue is the number of free variables.
Theorem 2.4.3
(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 pivot columns. Then . Moreover:
The reason is structural.
Putting the consistency theorem and the pivot-count theorem together gives the standard trichotomy.
Theorem 2.4.4
(Possible solution sets for a linear system)
A linear system has exactly one of the following three solution-set types:
The classification theorem contains two claims that deserve a proof. First, if no contradiction row occurs, there really is a solution. Second, varying a free variable produces different solutions, rather than different names for the same tuple. Both facts follow from the exact way RREF separates pivot columns from nonpivot columns.
Proof
(The parameter map is exhaustive and injective)
Let the coefficient matrix have columns, and write the reduced augmented matrix as . Suppose there is no contradiction row. Let the pivot columns be and the remaining coefficient columns be , where . Each nonzero row has the form
The other pivot variables do not appear in this row: their columns contain zeros outside their own leading ones. Therefore we can choose arbitrary real parameters and define
This construction gives a solution for every parameter choice. Each nonzero row is satisfied by its defining formula, and every remaining row is the identity . Reversibility of reduction then makes it a solution of the original system as well. This proves the sufficiency part of the consistency criterion, which cannot be obtained just by noticing that a contradiction would be impossible.
The construction is exhaustive. If is any solution, read its free coordinates and set . The pivot equations force every remaining coordinate to equal the displayed formula. Thus every solution comes from the construction; there are no additional tuples outside the parameterized set.
It is also injective. If two parameter lists differ, they differ in some entry . Their solution tuples then differ in coordinate , because that coordinate is exactly . Hence distinct parameter choices always produce distinct solutions.
If there are no free variables, the pivot equations determine one tuple. If there is at least one free variable, fix all the other parameters at zero and vary that one over the real numbers. Injectivity proves that the resulting solutions are infinitely numerous. The argument relies on working over the real numbers, as throughout this course. It is a statement about the number of solutions, not merely an observation that a parameter symbol appears in the answer.
The extreme case with no pivots is included. If the entire augmented matrix is zero, every tuple in is a solution. All variables are free, and the parameter map is simply the identity map on the space of tuples. On the other hand, a zero coefficient matrix with even one nonzero constant is inconsistent. It is the augmented rows, not just the coefficients, that distinguish these cases.
Worked example 2.4.5
(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:
The sequence below organizes the three cases into a decision tree: check consistency first, then count the free variables. The larger parameterized example that follows uses the same order of decisions.
Compress the theorem into a decision tree: check the last column for inconsistency, then use pivot and free-variable counts to choose unique or infinite.
Read RREF
Row operations preserve solution sets, so the RREF is safe to read. Separate the variable columns from the augmented column, then locate pivots and free columns.
Consistency first
A row [0 0 ... 0 | d] with d nonzero represents 0=d. Equivalently, a pivot in the last column means the system has no solution.
Unique solution
If the system is consistent and every variable column has a pivot, there are no free variables, so the RREF names exactly one solution vector.
Infinitely many
If the system is consistent but some variable column has no pivot, that free variable becomes a real parameter, giving infinitely many solutions.
Three outcomes
The trichotomy is complete: no solution, unique solution, or infinitely many solutions. A linear system cannot have exactly two solutions.
Practice the reading order
Use the live classifier below to rehearse the same order: check for contradiction rows, count variable pivots, then classify the solution set.
The classification is structural: a contradiction row decides inconsistency, and once the system is consistent, the number of free variables decides whether the solution set is one point or an infinite family.
When free variables appear, the answer should be written as a full set, not as a vague phrase such as "there are many solutions."
Worked example 2.4.6
(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.
Worked example 2.4.7
(Three nonadjacent free variables in six coordinates)
Consider the following RREF for a system in six variables:
The pivot indices are , so the free indices are . Set , , and . Reading each nonzero row yields
For a direct check, the first row becomes . The second becomes , and the third becomes . All parameter terms cancel as required. Conversely, every solution supplies its own values of through coordinates two, five, and six, after which the remaining coordinates are forced.
This is stronger than listing a few numerical solutions. Setting all parameters to zero gives , but that tuple is only one member of the family. The full formula records both which choices are independent and how they change the remaining coordinates. Keeping coordinates in the original variable order is essential; grouping the three free coordinates together at the end would describe a different tuple unless the reordering were explicitly announced.
The five-coordinate example earlier has the same logical structure, even though it uses only two parameters. A useful self-check is to recover those parameters from the completed tuple: its second coordinate is exactly the first parameter and its fifth coordinate is exactly the second. This makes both the completeness claim and the absence of duplicate parameter descriptions transparent.
One common classroom situation is a consistent system with fewer equations than variables.
Theorem 2.4.8
(More variables than equations)
Suppose a consistent linear system has equations in variables, and suppose . Then the system has infinitely many solutions.
Why? In RREF there can be at most nonzero rows, so there can be at most pivot columns. If , then at least one of the 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.
Counterexample mode
Consider three systems, each consisting of two equations in two unknowns:
System I has the unique solution . Subtracting twice the first equation from the second in system II gives , so it has the family . The same operation in system III gives , so it has no solution. The displayed equation count and variable count agree in every case, yet all three outcomes occur.
The failed hypothesis is that every displayed equation provides a new, compatible restriction. A repeated equation adds no restriction, while an incompatible equation removes every candidate. Pivots count independent restrictions after the equations have been combined; merely counting rows does not do that work. The repaired criterion is precise: a real linear system has a unique solution if and only if it is consistent and every variable column is a pivot column.
Adding redundant equations can also produce more equations than variables without preventing uniqueness. The system , , has three equations and two unknowns, but still has exactly one solution. Replacing the third equation by makes the system inconsistent. Therefore an overdetermined system may be consistent or inconsistent; the inequality between the two counts alone settles neither question.
Likewise, having fewer equations than variables guarantees infinitely many solutions only after consistency is known. In three variables, the two equations and contradict one another. Their augmented reduction contains a nonzero constant after all coefficient entries in that row have vanished. Counting unused variable columns cannot repair this contradiction.
Worked example 2.4.9
(Classify an entire family before dividing)
Let be given real numbers and consider
Here are the unknowns; describe which system is being asked about. The legal operation gives
If , the second row determines and the first determines . Thus the solution is unique. If and , the second row is the contradiction , so there is no solution. If and , the second row is zero and the solutions are for arbitrary real .
These cases exhaust all possible pairs . Dividing by before separating the case would discard precisely the systems where the answer can change from unique to infinite or empty. The parameter in the final solution family plays a different role: it varies solutions of one fixed system, while choose the system itself.
The calculation in 1.2 Reading theorems and proof language shows that the difference of two solutions satisfies the homogeneous system. It therefore gives a direction along which a solution can move without changing the right-hand side.
There is an algebraic check on the trichotomy that does not require a new row reduction. Suppose and are distinct solutions of the same system . For every real number , define . Matrix multiplication gives
Thus every point on this line is a solution. These solutions are distinct as varies: if , then . Some coordinate of is nonzero, so that coordinate forces . A real linear system with two distinct solutions consequently cannot stop at two, three, or any other finite number greater than one.
This proof complements the parameter-map proof. The parameter map constructs all solutions and counts their independent choices. The line argument starts from two known solutions and proves that infinitely many must exist, without claiming that this one line contains every solution. For a system with several free variables, its full solution set may be larger than the particular line joining two selected solutions.
This direction belongs to the null space, which records all vectors annihilated by .
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 the shape of a solution set
Pick a reduced system and read its augmented matrix. Is it consistent, and if so, does any variable stay free?
| 1 | 0 | 0 | 2 |
| 0 | 1 | 0 | −1 |
| 0 | 0 | 1 | 3 |
Bold boxed entries are pivots.
Holds: the system is consistent
Unique solution. Every variable is a pivot variable, so the system has one solution. Solution: .
NoticeCheck consistency first: one row that reads with means no solution, whatever the other rows say. Only a consistent system is classified by its free variables.
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 check
(What does the row tell you about the system?)
Interpret the row as an equation.
It represents the equation , so the system is inconsistent and has no solution.
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.
It has free variable, so the system has infinitely many solutions.
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.
Columns 1 and 2 are pivot columns, while column 3 is not. So is free. Let
Then the rows give
Hence
So the solution set is
Quick check
(Why can a consistent system never have exactly two solutions?)
Answer from the free-variable theorem, not from a picture.
If a consistent system has no free variables, it has one unique solution. If it has at least one free variable, then the free variable can take infinitely many real values, so the system has infinitely many solutions. There is no structural way to obtain exactly two solutions.
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.
Work out your answer, then check it. You can revise and try again.
Loading…