The two foundational questions about A·x = b — existence and uniqueness — together with the structure of the solution set and the special behavior of square, overdetermined, and underdetermined shapes, can be collected as a six-row Q&A reference. The table below pairs each question a reader might bring to a linear system with the answer in terms of rank, determinant, or solution-set structure.
| Question about A x = b |
Answer |
| Does a solution exist? |
yes ⟺ rank(A) = rank([A | b]); equivalently, b ∈ Col(A) (Rouché–Capelli) |
| If so, is the solution unique? |
yes ⟺ rank(A) = n; equivalently, Null(A) = {0} (no free variables) |
| What does the solution set look like? |
{xp + xh : xh ∈ Null(A)} — affine flat of dimension n − rank(A) |
| A is square with det(A) ≠ 0? |
unique solution for every b: x = A⁻¹b |
| Overdetermined (m > n) and no exact solution? |
use least squares: x̂ minimizes ‖Ax − b‖² via AᵀA x̂ = Aᵀb |
| Underdetermined (m < n), need a specific x? |
apply a selection criterion: minimum norm via the pseudoinverse, or sparsity, or physical constraints |