Rank and Invertibility
How the rank of a matrix decides whether it is invertible and how many solutions a linear system Ax = b has.
Concepts#
- Linear Mapwhat a matrix does: , with kernel (lost inputs) and image (reached outputs) start here
- System of Linear Equationsthe problem whose solvability is at stake
- Matrix Rankthe number that classifies the matrix
- Invertible Matrixthe square, full-rank case
- Positive Semidefinite MatrixGram matrices are PSD, and positive definite exactly in the full column rank case
How it fits together#
For and :
| Case | Shape | Inverse | |
|---|---|---|---|
| square, full rank | exactly one solution for every | exists | |
| tall, full column rank | at most one solution | left inverse | |
| wide, full row rank | solutions for every , infinitely many | right inverse | |
| rank-deficient | none or infinitely many | only the Moore–Penrose pseudo inverse |
- Rank → invertibility: a matrix is invertible iff it is square and has full rank. The rank is the cause. (Determinant), and “no zero eigenvalue” are equivalent tests for a square (see the theorem in Invertible Matrix > Properties).
- Uniqueness vs. existence: full column rank (, the map is injective) gives uniqueness. Full row rank (, the map is surjective) gives existence. A square matrix needs both, but for a square matrix one implies the other.
- Why only square matrices: an inverse must undo the map in both directions, so the map must be bijective. A tall matrix () has , so it is not surjective. A wide matrix () has , so it is not injective. Algebraically: and give and , so .
- Least squares (MSI): for with , the normal equations have the square matrix . Since :
- ⇒ is invertible, and is unique (MSI script p. 30).
- ⇒ is singular, the problem is ill-posed and the minimizers form an affine set (MSI script p. 32).
- Definiteness as a rank test for Gram matrices: the chain behind the least squares case is always (since ), with . So full column rank ⇔ ⇔ ⇔ invertible (Positive Semidefinite Matrix). Positive definiteness is the stronger, “quadratic” way of stating full rank for symmetric matrices.
- From system to matrix: a linear system becomes by writing one row per equation and one column per unknown. Its solvability then only depends on vs. and , which is the table above read for a fixed .
Exercises & Exam Questions#
| Where | Task | Concepts |
|---|---|---|
| MSI Sheet 00, task 1 (not published) | write a system as , compute , decide invertibility | System of Linear Equations, Matrix Rank, Invertible Matrix |
| MSI Sheet 00, task 3 (not published) | show is symmetric and PSD | Positive Semidefinite Matrix |
Key Formulas#
- (Matrix Rank)
- invertible (Invertible Matrix)
- (Matrix Rank)
Lectures#
- No lecture yet. MSI uses this material in script chapter 4 (linear least squares).