Test a system for consistency by comparing rank A with the rank of the augmented matrix
Decide solvability by comparing rank A with rank [A|b]. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
Recall what rank means: the dimension of the column space. So
And is exactly the statement that the system has a solution — that is what solvable" means.
If is already in, appending it adds no new direction and the ranks agree. If it is not, appending it adds one new direction and the rank climbs by one. The rank comparison is a membership test in disguise.
contains as a subspace, and it is spanned by together with the single vector. Adding one vector to a spanning set can raise the dimension by at most one — by exactly one if the new vector is outside the span, and by zero if it is inside.
That is the entire argument, and it also tells you there is no third case: the two ranks can differ by or and nothing else. So "the ranks do not match" needs no qualification about how much they differ.
Row reduce:
Two pivots in the block, three nonzero rows overall, so and. The bottom row reads: inconsistent, no solution.
- Decide solvability by comparing rank A with rank [A|b]
- Read both ranks from one elimination of the augmented matrix
- Combine the rank comparison with the count of unknowns to say how many solutions there are
is with, and. How many solutions does have? What if the augmented rank were instead?
Answer
With ranks and: no solution. The augmented rank is higher, so is not in the column space.
With both ranks: consistent, and leaves free variable, so infinitely many solutions.