Chapter 3: Vector Spaces
Definition & examples · Subspaces · Linear independence · Basis & dimension · Row & column space
The operations of addition and scalar multiplication appear in $\mathbb{R}^n$, in polynomials, in matrices, in continuous functions. A vector space unifies all of these with 8 axioms. Every theorem you prove for an abstract vector space holds simultaneously in all of these settings.
Definition & Examples
- Closure under $+$
- Closure under $\cdot$
- Commutativity: $\mathbf{u}+\mathbf{v}=\mathbf{v}+\mathbf{u}$
- Associativity: $(\mathbf{u}+\mathbf{v})+\mathbf{w}=\mathbf{u}+(\mathbf{v}+\mathbf{w})$
- Zero vector: $\mathbf{v}+\mathbf{0}=\mathbf{v}$
- Additive inverse: $\mathbf{v}+(-\mathbf{v})=\mathbf{0}$
- Distributivity: $\alpha(\mathbf{u}+\mathbf{v})=\alpha\mathbf{u}+\alpha\mathbf{v}$
- Scalar identity: $1\cdot\mathbf{v}=\mathbf{v}$
| Vector Space | Elements | $\dim$ | Zero vector |
|---|---|---|---|
| $\mathbb{R}^n$ | $n$-tuples of reals | $n$ | $(0,\ldots,0)$ |
| $\mathbb{R}^{m\times n}$ | $m\times n$ matrices | $mn$ | Zero matrix $O$ |
| $P_n$ | Polynomials of degree $< n$ | $n$ | $p(x)\equiv 0$ |
| $C[a,b]$ | Continuous functions on $[a,b]$ | $\infty$ | $f(x)\equiv 0$ |
| $\{\mathbf{0}\}$ | Just the zero vector | $0$ | $\mathbf{0}$ |
Subspaces
- $\alpha\mathbf{x} \in S$ whenever $\mathbf{x} \in S$ (closed under scalar multiplication)
- $\mathbf{x}+\mathbf{y} \in S$ whenever $\mathbf{x},\mathbf{y} \in S$ (closed under addition)
- Does $S$ contain $\mathbf{0}$? (If not — stop, it's NOT a subspace.)
- Closed under scalar multiplication? (Take arbitrary $\mathbf{x}\in S$, check $\alpha\mathbf{x}\in S$.)
- Closed under addition? (Take arbitrary $\mathbf{x},\mathbf{y}\in S$, check $\mathbf{x}+\mathbf{y}\in S$.)
📘 Example 3.1 — Subspace (Skew-Symmetric Matrices)
Zero: $O \in S$ since $0 = -0$. ✓
Scalar mult: If $A \in S$, then $(\alpha A)_{12} = \alpha a_{12} = -\alpha a_{21} = -(\alpha A)_{21}$. ✓
Addition: If $A,B \in S$, then $(A+B)_{12} = a_{12}+b_{12} = -a_{21}-b_{21} = -(A+B)_{21}$. ✓
$S$ is a subspace. (It's the set of $2\times2$ matrices with $a_{12}=-a_{21}$, a 3-dimensional subspace of $\mathbb{R}^{2\times2}$.)📘 Example 3.2 — NOT a Subspace (Fails Zero Test)
The zero vector $(0,0)^T$ has $0+0=0 \neq 1$, so $\mathbf{0} \notin S$.
Not a subspace. (It's a line not passing through the origin — translated, not a true subspace.)Fundamental Subspaces of a Matrix
| Subspace | Symbol | Definition | Lives in |
|---|---|---|---|
| Null space | $N(A)$ | $\{\mathbf{x} \mid A\mathbf{x}=\mathbf{0}\}$ | $\mathbb{R}^n$ |
| Column space | $R(A)$ | $\{A\mathbf{x} \mid \mathbf{x}\in\mathbb{R}^n\}$ | $\mathbb{R}^m$ |
| Row space | — | Span of rows of $A$ | $\mathbb{R}^n$ |
| Left null space | $N(A^T)$ | $\{\mathbf{y} \mid A^T\mathbf{y}=\mathbf{0}\}$ | $\mathbb{R}^m$ |
Linear Independence
📘 Example 3.3 — Testing Linear Independence
Basis & Dimension
- The vectors are linearly independent, AND
- They span $V$ (every element of $V$ = linear combination of them)
Rank-Nullity Theorem
📘 Example 3.4 — Basis for Null Space
Change of Basis
Every vector has coordinates depending on which basis you use. The transition matrix $S$ converts coordinates from one basis to another — critical for understanding similarity in Chapter 4 and diagonalization in Chapter 6.
Row Space & Column Space
| Subspace | How to find a basis | Key note |
|---|---|---|
| Row space of $A$ | Nonzero rows of any REF of $A$ | Row ops preserve row space |
| Column space of $A$ | Pivot columns of the original $A$ | Do NOT use RREF columns |
| Null space of $A$ | Parameterize free variables in RREF | $\dim = n - \text{rank}$ |
📘 Example 3.5 — All Four Fundamental Subspaces
- Column space basis: pivot columns 1 and 3 of original $A$: $\{(1,2,1)^T, (3,6,4)^T\}$
- Row space basis: nonzero rows of RREF: $\{(1,2,0), (0,0,1)\}$
- Null space: $x_2=t$ free, $x_1=-2t$, $x_3=0$ → basis $\{(-2,1,0)^T\}$
- Left null space: null space of $A^T$ → basis $\{(2,-1,0)^T, \ldots\}$