Every matrix comes with two important subspaces. One collects the inputs that $A$ sends to $\mathbf{0}$ (the solutions of a homogeneous system); the other collects all possible outputs.
For an $m \times n$ matrix $A$: the null space $\operatorname{Nul} A$ $= \{\mathbf{x} \text{ in } \mathbb{R}^n : A\mathbf{x}$ $= \mathbf{0}\}$, and the column space $\operatorname{Col} A$ = the span of the columns of $A$ = $\{A\mathbf{x}\}$, a subspace of $\mathbb{R}^m$.
Why it works
| Nul A | Col A | |
|---|---|---|
| Lives in | $\mathbb{R}^n$ (inputs) | $\mathbb{R}^m$ (outputs) |
| Described by | a condition: $A\mathbf{x} = \mathbf{0}$ | a list: all combinations of the columns |
| Is $\mathbf{v}$ in it? | Easy: compute $A\mathbf{v}$ | Work: is $A\mathbf{x} = \mathbf{v}$ consistent? |
| Basis from | the general solution of $A\mathbf{x} = \mathbf{0}$ | the pivot columns of $A$ |
Worked example: A basis for Nul A
- $R_2 \to R_2 - 2R_1$, $R_3 \to R_3 + R_1$, then $R_3 \to R_3 - R_2$: $\begin{bmatrix} 1 & 2 & 0 & -1 \\ 0 & 0 & 1 & 3 \\ 0 & 0 & 0 & 0 \end{bmatrix}$.
- Pivots in columns 1 and 3; $x_2 = s$ and $x_4 = t$ are free. Then $x_1 = -2s + t$ and $x_3 = -3t$.
- $\mathbf{x} = s\begin{bmatrix} -2 \\ 1 \\ 0 \\ 0 \end{bmatrix} + t\begin{bmatrix} 1 \\ 0 \\ -3 \\ 1 \end{bmatrix}$, so $\operatorname{Nul} A$ $= \operatorname{Span}\left\{\begin{bmatrix} -2 \\ 1 \\ 0 \\ 0 \end{bmatrix}, \begin{bmatrix} 1 \\ 0 \\ -3 \\ 1 \end{bmatrix}\right\}$.
- These two are independent (look at entries 2 and 4), so they form a basis. Check: $A\begin{bmatrix} 1 \\ 0 \\ -3 \\ 1 \end{bmatrix} = \mathbf{0}$ ✓.
Answer: Two vectors, one per free variable.
Worked example: A basis for Col A
- The pivot columns are 1 and 3, so take columns 1 and 3 of $A$: $\begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}$ and $\begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}$.
- The other columns depend on these: column 2 is $2\times$ column 1, and column 4 is $-(\text{column }1) + 3(\text{column }3)$, exactly as the reduced matrix says.
Answer: $\left\{\begin{bmatrix} 1 \\ 2 \\ -1 \end{bmatrix}, \begin{bmatrix} 0 \\ 1 \\ 1 \end{bmatrix}\right\}$
Why it works
Common mistake
Key idea