One answer, plus a whole line of freedom. Watch a line of inputs slide out, and every point on it solve the same equation.
Infinitely many answers in a line
The inputs x of A = [1 0 1; 0 1 1; 1 1 2] that give Ax = b.
The null line of A, through the origin along (−1, −1, 1): every point on it has Ax = 0.
Describe this picture
A slowly turning view of the inputs in 3-D space for the matrix and the target . The null line, labelled , through the origin in the direction , is drawn first. A copy of it then slides out, parallel to itself, until it passes through the point , which an arrow from the origin marks; the original stays behind as a dashed guide. Five points along the shifted line are then marked one by one, and the newest carries the label . Readouts give and the solutions: “a line” or “none”. One control: a slider for the third entry of , from 3 to 7 in steps of 0.5. While it equals 5, the sum of the first two, the line stays; move it off 5 and the line fades, because there is no solution.
One answer, then all of them
Take the matrix from The null space, the one that crushes the line of , and ask it to produce . One answer is easy to check:
Now add any multiple of the crushed direction. The matrix sends that part to zero, so the output does not change:
Every point of the line through in the direction is a solution. That is the shifted line in the picture.
Are there any others? Suppose and both solve . Then , so any two solutions differ by a vector of the null space. So once you have one solution, you have them all:
Here is any one particular solution, and runs over the whole null space. This is the complete solution. When the null space is only , the solution is unique; otherwise there are infinitely many.
Finding a particular solution
Run elimination on and together, written side by side as one wide table , and go on to the reduced form of the null space page. For the matrix above:
The simplest particular solution sets every free variable to 0. Here is free, so , and the pivot rows give and : , the point the line slid out to.
When there is no solution
The last row of the reduced table says . That came from : the third entry of minus the first two. For a general the same steps leave
in the last row. If , that row says 0 equals something that is not 0, and no can fix it. In the picture, drag the third entry of off 5 and the line of solutions fades away.
This is the column space test of Vector spaces and subspaces, now worked out by elimination: every zero row of the reduced matrix gives one condition that must meet to be in .
Rank and the four cases
The rank is the number of pivots. An matrix has rows and columns, and each pivot needs its own row and its own column, so and . Comparing with and sorts every system into one of four cases.
- Zero rows come from . There are of them, and each puts a condition on .
- Free variables come from . There are of them, and each adds a direction of freedom to the solution.
Four cases
Rank r, rows m, columns n: what the solutions of Ax = b look like.
r = m = n: the 2 × 2 matrix [1 0; 0 1] has rank 2. One solution, for every b.
Describe this picture
Four tiles side by side (two by two on a phone), appearing one after another. Each names its case, shows an example matrix in brackets with its rank, sketches the solutions in a small pair of axes, and says what they are. : the identity , rank 2, a single point: one solution for every . : the matrix , rank 2, a point beside a crossed-out circle: one solution or none; the caption says there is one when . : the matrix , rank 2, a line: a line of solutions for every . and : , rank 1, a line beside a crossed-out circle: a line of solutions or none; the caption says there is a line when . There is no control.
| Case | Solutions | Example |
|---|---|---|
| exactly one, for every | the identity | |
| one, or none | , needs | |
| infinitely many, for every | ||
| , | infinitely many, or none | , needs |
Watch out
More unknowns than equations does not make a system solvable. The system , has three unknowns and two equations, but its rank is 1, not 2. Twice the first equation says , so the second can never hold. Only guarantees a solution.
In signal processing · natural plus forced
Differential equations and analog systems, in the signal processing course, writes every response of a circuit as a forced part plus a natural part. The natural part solves the equation with no input, which is its null space; the forced part is one particular solution. That is for an equation in time.
Worked example
1. Two equations, four unknowns. Reduce the table for and :
With the free variables , the pivot rows give and : . Check: .
Add the null space from the null space page, with weights and :
With this is , and , as it should be.
2. One equation, two unknowns. All solutions of : the particular solution plus the null line of , so .
3. A condition on b. has a solution only when .
4. Counting. A matrix of rank 3 has , so every works, with free variables. A matrix of rank 2 is the case .
Predict before you drag: what happens to the line of solutions if the third entry of becomes 6? It vanishes, since .
Where you’ll meet this
Natural and forced responses. A circuit or filter driven by an input settles into a forced response, but the way it starts depends on its natural response, the part that solves the equation with no input. Matching the starting values picks one point on the line of solutions.
Too few sensors. A structure with five unknown forces and three strain gauges gives three equations in five unknowns. If the rank is 3, every reading has a solution, but a whole two-dimensional family of forces fits it. The measurements alone can’t pick one; extra knowledge, such as a preference for the smallest forces, must.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| Complete solution | one particular solution plus the null space | |
| Particular solution | free variables set to 0 | read the pivot rows of the reduced table |
| Two solutions | they differ by a null vector | |
| Solvable | each zero row gives one condition on | |
| Rank bounds | , | one pivot per row and per column at most |
| Always solvable | no zero rows | |
| Unique when solvable | no free variables |