Solving and Characterising Linear Systems
What you will be able to do
Given a system in reduced form, the learner can determine whether it has no solution, exactly one, or infinitely many, justify the verdict from the pivot structure, and for the infinite case describe the solution set rather than one member of it.
What you will be able to do
Given
Orientation
Two equations can carry the same information written differently. Elimination works because it changes the writing without changing which points satisfy the system, and every operation that preserves the solution set is reversible, which is the test for whether a move is legal at all.
What follows from that is a complete answer to a question the arithmetic alone does not settle: a linear system has no solution, exactly one, or infinitely many. Never two. The reduced form tells you which, and the count of equations against unknowns does not.
Intuition
Identifying the three cases in a reduced system
The canonical intuition states that row operations preserve the solution set and that the reduced form determines which of three cases holds. This block shows the three cases side by side in the same three variables.
A contradiction. Reducing
A unique solution. Reducing
A line of solutions. Reducing
The count that distinguishes the cases is the number of pivots. With
The third case is where a linear program can have several optimal plans, since the objective may be constant along the directions the free variables open up.
Definition
Reading the three cases off the reduced form
Three things in the definition above are worth slowing down on, because each is where the reasoning usually goes wrong.
"None of which changes the solution set" is the whole licence. Every row operation is reversible, undo a swap by swapping back, a scaling by scaling by the reciprocal, an addition by subtracting the same multiple. That reversibility is what guarantees no solutions are lost or gained along the way, and it is the test for whether a move you are tempted to make is legal at all. Multiplying a row by zero is not: nothing undoes it, and the information in that row is gone.
The cases are read off pivot positions, not off counting. The augmented column holding a pivot means some row says
"Infinitely many" has a shape. The solution set is not a scattered collection. It is one particular solution plus every combination of the directions the free variables generate. A point plus a flat through it. Describing that set means naming the free variables and giving the directions, not producing one member of it and stopping.
These three cases are exhaustive and mutually exclusive: a linear system never has exactly two solutions, because the moment two distinct solutions exist, every point on the line between them is a solution too.
Procedure
Reducing a system and reading the verdict
Apply these steps to the augmented matrix
Choose a pivot. Take the leftmost column not yet used, and find a row with a nonzero entry in it. Swap that row into position if needed.
A zero column is skipped entirely: it carries no pivot, and its variable will be free.
Clear below. Add multiples of the pivot row to the rows beneath it so every entry below the pivot becomes zero.
This is the only operation that changes other rows, and it preserves the solution set because it adds a true equation to a true equation.
Repeat down and to the right. Move to the next row and the next unused column, and take the next pivot.
Read the shape. Once no rows remain, inspect the result. A row of the form
Count the pivots against the variables. If every variable column holds a pivot, back-substitute for the unique solution. If any variable column does not, those variables are free.
Describe the set, not a point. With free variables, give a particular solution and the direction each free variable contributes, rather than picking one member and calling it the answer.
Example
The three cases, on nearly the same system
Three systems in two unknowns, differing only in the last row.
Unique.
No solution.
Infinitely many.
or as a set,
What changed. Only the right-hand side of the second equation, from
Worked example
Three equations, three unknowns
Problem. Characterise the solutions of
Goal. Reduce, name the case, and describe the solution set.
Relevant principle. Row operations preserve the solution set; the pivot structure of the reduced form decides the case.
Step 1: clear the first column. Subtract
Reason: both operations add a multiple of a true equation to another, so nothing about the solution set has changed.
Step 2: clear the third row. Rows 2 and 3 are now identical; subtracting one from the other gives
Reason: the third equation carried no information the second did not. That is redundancy, not contradiction.
Step 3: identify the pivots. Pivots sit in the
Step 4: name the case. A variable column without a pivot, and no row of the form
Step 5: describe the set. From
Result. Infinitely many solutions: the point
Check. Try
Interpretation. Three equations and three unknowns, and yet not a unique solution, because one equation repeated another. Counting equations would have predicted the wrong answer; only the pivots told the truth.
Check your understanding
Reduce a system and describe its solution set
Before the contrast that follows, do one reduction with the steps still in view.
First, subtract
Then count the pivots against the variables, and name the case.
Finally, and this is the step most often skipped, describe the solution set rather than producing a point.
---
The second row becomes
The set is
If you answered
Contrast
What decides the case, and what does not
| Decides the case | Does not decide it | |
|---|---|---|
| Evidence | Pivot structure after elimination | Count of equations vs unknowns |
| Inconsistent | A pivot in the augmented column alone | Having more equations than unknowns |
| Unique | A pivot in every variable column | Being square |
| Infinitely many | A variable column with no pivot | Having fewer equations than unknowns |
Why counting fails. Equations can repeat one another, as in the worked example above: three equations, three unknowns, and one of them redundant. They can also contradict one another while being few in number. The count says how many statements were written down, not how many independent restrictions they impose.
The square case especially. A square system feels as though it should have exactly one solution, and often does, but only when its columns are independent.
What to do instead. Reduce, then look. The reduced form is short and it is decisive, and it takes less time than arguing from shape.
Exercise
1: fully structured. Solve and classify:
(a) Reduce the system. (b) How many pivots, and in which columns? (c) Name the case and give the solution.
Check: (a) adding the two equations gives
2: partly structured. Consider
(a) Reduce. (b) What does the reduced row say? (c) Name the case, and say what would change if the
Check: (a) subtracting twice the first from the second gives
3: unstructured. A colleague reports: "The model has 40 constraints and 40 variables, so it is square and must have exactly one feasible point. The solver returning 'infeasible' has to be a bug."
Assess the claim and say what you would check.
Check: the reasoning is wrong at every step. Squareness does not imply a unique solution: it implies one only when the columns are independent, and 40 constraints can easily contain redundancy or contradiction. A square system can have no solutions,