Linear Algebra · Undergraduate
Solution Sets of Linear Systems
Quick answer
Once a system is in reduced echelon form, its pivots describe the whole solution set. A pivot in the augmented column means no solution. Otherwise every variable with a pivot is determined by the free variables, the ones whose columns have no pivot. With no free variables the solution is unique; with free variables there are infinitely many, and they are written in parametric vector form as one particular solution plus multiples of the solutions of the matching homogeneous system.
What you'll learn
- Classify a system as inconsistent, uniquely solvable or underdetermined
- Identify basic and free variables from pivot positions
- Write a solution set in parametric vector form
- Relate the solutions of Ax = b to those of Ax = 0
Three possibilities, no others
Two lines in the plane miss each other, cross once, or coincide. That is the whole story for every linear system, in any number of unknowns:
| Reduced form | Solutions |
|---|---|
| a pivot in the augmented column | none: the system is inconsistent |
| a pivot in every variable column | exactly one |
| consistent, with a column lacking a pivot | infinitely many |
Nothing else can happen. Two different solutions of the same system can be averaged, or extended past each other, to produce more solutions, so the moment there are two there are infinitely many.
A variable whose column holds a pivot is a basic variable. A variable whose column holds none is a free variable: it may take any value, and the basic variables adjust to match.
Why free variables give a line, a plane, or more
Suppose a consistent system reduces to
Columns and hold pivots, so and are basic and is free. The rows say and . Writing and collecting the three components into one vector:
This is parametric vector form: a fixed vector plus times a direction. As runs over the real numbers the solutions trace a line through . Each free variable contributes one direction vector, so the solution set is a point, a line, a plane, or a higher-dimensional flat, one dimension per free variable.
The homogeneous system
Setting every right-hand side to zero gives , a homogeneous system. It is always consistent, since works; that is the trivial solution. The interesting question is whether there are others, and the answer is yes exactly when there is a free variable.
The two problems are linked. If solves and solves , then solves as well, and every solution arises this way.
The solution set of , when it is not empty, is a translate of the solution set of .
In the example above, is the translation and is the line of homogeneous solutions.
- x₁ + 2x₂ = 3
Worked examples
Common mistakes
Practice problems
-
A system in unknowns reduces to a consistent form with pivots in columns 1, 2 and 4. Which variables are free?
Answer
only
Full solution
Every column without a pivot belongs to a free variable, and here that is the third.
-
How many solutions does that system have?
Answer
Infinitely many
Full solution
One free variable gives a line of solutions, one solution for each value of .
-
Write the solution set of in parametric vector form.
Answer
Full solution
is free and . Collecting the components gives a particular solution plus times a direction.
-
Write the solution set of in parametric vector form.
Answer
Full solution
The homogeneous version has the same direction and no particular solution: it is the same line moved to pass through the origin.
-
Does always have a solution?
Answer
Yes,
Full solution
The zero vector satisfies every homogeneous equation, so such a system is never inconsistent. It is the trivial solution.
-
A system of equations in unknowns is consistent. What can you say about its solutions?
Answer
It has infinitely many, with at least two free variables.
Full solution
At most two pivots fit in two rows, leaving at least two of the four columns without one.
-
Solve , , .
Hint
Row reduce, and watch for a zero row.
Answer
Full solution
Row reduction gives . So , is free, and .
-
Check that in exercise 7 gives a solution.
Answer
satisfies all three equations.
Full solution
✓, ✓ and ✓.
-
If and both solve , what does solve?
Answer
Full solution
Subtracting the two systems cancels , so the difference of two solutions solves the homogeneous system. This is why every solution set is one solution plus the homogeneous set.
-
A student solves a consistent system with one free variable and reports the single solution found by setting the free variable to . What went wrong?
Hint
What do other values of the free variable give?
Answer
That is one solution among infinitely many. The answer is the whole set .
Full solution
Setting the free variable to picks out a particular solution, which is a fine starting point. Every other value of the parameter gives another solution, so reporting one hides the line that the solution set actually is.
Frequently asked questions
How many solutions can a linear system have?
None, exactly one, or infinitely many. A linear system never has, say, exactly two solutions.
What is a free variable?
A variable whose column has no pivot. It can take any value, and the variables with pivots are then determined by it.
What is parametric vector form?
The solution set written as p + t₁d₁ + ⋯ + t_kd_k: one particular solution p plus multiples of direction vectors, one per free variable.
What is a homogeneous system?
One of the form Ax = 0. It is always consistent, since x = 0 is a solution, called the trivial solution.
How are the solutions of Ax = b and Ax = 0 related?
If Ax = b is consistent with one solution p, its whole solution set is p plus the solution set of Ax = 0.