Euler Hall — free maths guides

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.

Why nothing else is needed

Recall what rank means: the dimension of the column space. So

Andb∈C(A)\mathbf b\in C(A) is exactly the statement that the system has a solution — that is what Ax=bA\mathbf x=\mathbf b solvable" means.

Ifb\mathbf b is already inC(A)C(A), 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.

Why adding a column raises the rank by at most one

C([A∣b])C([A\mid\mathbf b]) containsC(A)C(A) as a subspace, and it is spanned byC(A)C(A) together with the single vectorb\mathbf b. 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 by00 or11 and nothing else. So "the ranks do not match" needs no qualification about how much they differ.

A worked example of this question's type

A=[112235101],b=[120].A=\begin{bmatrix}1&1&2\\2&3&5\\1&0&1\end{bmatrix},\qquad \mathbf b=\begin{bmatrix}1\\2\\0\end{bmatrix}.

Row reduce[A∣b][A\mid\mathbf b]:

Two pivots in theAA block, three nonzero rows overall, sorank⁡A=2\operatorname{rank}A=2 andrank⁡[A∣b]=3\operatorname{rank}[A\mid\mathbf b]=3. The bottom row reads0=−10=-1: inconsistent, no solution.

By the end you can
  • 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
Test yourself

AA is4×34\times3 withrank⁡A=2\operatorname{rank}A=2, andrank⁡[A∣b]=3\operatorname{rank}[A\mid \mathbf b]=3. How many solutions doesAx=bA\mathbf x=\mathbf b have? What if the augmented rank were22 instead?

Answer

With ranks22 and33: no solution. The augmented rank is higher, sob\mathbf b is not in the column space.

With both ranks22: consistent, andr=2<3=nr=2<3=n leaves3−2=13-2=1 free variable, so infinitely many solutions.

Work out where to start — free, no accountAnswer six real questions — free, no account