Skip to content

Cheatsheet: Undoing a transformation

A linear system is M · v = b: find the input v that the transformation M sends to the target b.

M^-1 undoes M. Defined by:

M^-1 · M = M · M^-1 = I I = [ 1 0 ] (the do-nothing transformation)
[ 0 1 ]

When it exists, the system solves as v = M^-1 · b (unique solution).

It exists exactly when det(M) != 0. Zero determinant means a collapse, information lost, no undo possible.

IdeaWhat it isWhere it lives
Column spaceAll possible outputs = span of the columnsOutput side
RankDimension of the column space (how many output dims are used)A number
Null spaceAll inputs crushed to zero (M·v = 0)Input side
NullityDimension of the null spaceA number

Conservation (rank-nullity): rank + nullity = input dimension. Dimensions kept + dimensions lost = dimensions started with.

All true together, or all false together:

  1. det(M) != 0
  2. Full rank (column space = entire input dimension)
  3. Null space = {0} (only the origin gets crushed)
MatrixdetColumn space / rankNull space / nullityInvertible?
[[2,1],[1,1]]1all of 2D, rank 2{0}, nullity 0Yes
[[2,4],[1,2]]0line through [2,1], rank 1line through [-2,1], nullity 1No

Both satisfy rank + nullity = 2.

MatrixOutcome
InvertibleExactly one solution (v = M^-1·b)
Not invertible, b off the column spaceNo solution (target unreachable)
Not invertible, b on the column spaceInfinitely many (one solution + any null-space vector)
  • Rank = how many dimensions a matrix actually uses. Big matrices are often low-rank, hence compressible.
  • Null space = directions the transformation is blind to (maps to the same place). Lost information, named.
  • Inverse is “one over the matrix.” No. It is the undo transformation; M^-1·M = I, not division.
  • Every system has a solution. No. Non-invertible gives none or infinitely many.
  • Column space vs null space. Outputs reachable vs inputs destroyed. Different spaces.
  • Rank = matrix size. No. Rank is output dimensions used; a big matrix can have small rank.

The inverse undoes a transformation when nothing was lost; the determinant, the rank, and the null space are three ways of checking whether anything was.