Linear Algebra
3.148 min read

Solvability: When Does Ax = b Have a Solution?

The system Ax=bA\mathbf{x} = \mathbf{b} has a solution if and only if b\mathbf{b} lies in the column space of AA. Operationally, we check this by row-reducing the augmented matrix [Ab][A | \mathbf{b}] and looking for contradictory rows.

A contradictory row [0,0,,0c][0, 0, \ldots, 0 | c] with c0c \neq 0 signals that b\mathbf{b} is NOT in Col(A)\text{Col}(A) — the system is inconsistent.

If no contradiction arises, bCol(A)\mathbf{b} \in \text{Col}(A) and the system is consistent. The solution is found by back substitution, with free variables parametrizing the null space.

Formal View

Theorem 3.14
The augmented system [Ab][A | \mathbf{b}] row-reduces to a system with no contradictory row \Longleftrightarrow bCol(A)\mathbf{b} \in \text{Col}(A) \Longleftrightarrow Ax=bA\mathbf{x} = \mathbf{b} is consistent.

Why This Matters

The solvability check is the first step in any practical linear algebra computation.

  • Before running any solver, verify the system is consistent
  • In optimization, infeasibility detection saves computational effort

Quiz

Question 1

During row reduction of [Ab][A|\mathbf{b}] you get the row [0,0,03][0, 0, 0 | 3]. The system is:

Common Mistakes

  • Stopping row reduction before checking all rows for contradictions.
  • Assuming a system with many equations is more likely to be solvable — more constraints can only reduce solvability.