Chapter 5 — Vector Spaces
Arrows, polynomials, matrices and signals all add and scale by the same rules — so one theory of vector spaces, spans, bases and dimension covers them all.
So far a vector has been an arrow in the plane or a column of numbers. But step back and ask what we have actually done with vectors: we have added them and multiplied them by numbers — nothing else. Now notice how many other objects can be added and scaled in exactly the same way. Two polynomials add to a polynomial; a sound recording played twice as loud is a scalar multiple; two photographs can be blended pixel by pixel; two $2\times2$ matrices add to a $2\times2$ matrix. Mixing two tones on a mixing desk is, mathematically, the same act as adding two arrows nose to tail.
This chapter turns that observation into a theory. We list the rules that addition and scaling must obey and call any set that obeys them a vector space. Then everything we prove — about which vectors can be built from others, which are redundant, how many are needed, how to describe a vector by coordinates — holds at once for arrows, polynomials, matrices, signals and functions. Engineers use these ideas to compress images and audio, statisticians to count the "degrees of freedom" in data, and every solver of $A\mathbf{x}=\mathbf{b}$ uses them to describe all the solutions at once.
- recognise vector spaces such as $\mathbb{R}^n$, $P_n$ and $M_{m\times n}$, and use the subspace test to decide whether a subset is a subspace;
- decide whether a vector lies in a span, and whether a set spans a space, by solving a linear system;
- test a set for linear independence by row reduction and find a dependence relation when there is one;
- find a basis and the dimension of a subspace;
- compute bases for $\operatorname{Row}A$, $\operatorname{Col}A$ and $\operatorname{Nul}A$ and use $\operatorname{rank}A+\operatorname{nullity}A=n$;
- find the coordinate vector $[\mathbf{x}]_{\mathcal B}$ and change coordinates with $P_{\mathcal C\leftarrow\mathcal B}$.
Sections in this chapter
Vector Spaces and Subspaces
The ten axioms, examples from polynomials to functions, the subspace test, null spaces and spans.
Spanning Sets and Linear Independence
Is a vector in a span? Is any vector redundant? Both become linear systems.
Basis and Dimension
Sets that span with nothing wasted; every basis of a space has the same size.
Row Space, Column Space, Null Space and Rank
The subspaces attached to a matrix, and the rank–nullity theorem.
Coordinates and Change of Basis
Describe a vector by its weights in a basis, and translate between bases.