Vector Space
Definition
A vector space consists of a set of vectors and a set of scalars. Although vectors can be quite general, we focus here on vectors that are real column matrices and scalars that are real numbers.
For the set of vectors and scalars to form a vector space, the set must be closed under vector addition and scalar multiplication: for any two vectors in the set and scalars , the linear combination must still be in the set.
Intuition
A vector space is the natural setting for linear algebra: any object you can scale and add, while staying “in the same universe,” lives in a vector space. Geometrically, is the plane and is ordinary 3D space — both are closed under stretching and combining arrows. Subspaces are flat (they always contain the origin) and represent constraints like “all solutions to .”
Formal Description
A subset of a vector space is a vector subspace if it is itself a vector space under the same operations — equivalently, if it is closed under linear combinations.
Example. The set of all real matrices forms the vector space , since for any and scalars :
There are four fundamental vector spaces associated with an matrix :
- Null Space : all with , a subspace of .
- Column Space : span of the columns of , a subspace of .
- Row Space and Left Null Space: column space and null space of .
Applications
- Representing and reasoning about solution sets of linear systems.
- Defining function spaces, polynomial spaces, and other infinite-dimensional settings in analysis.
- Foundation for all matrix decompositions (QR, SVD, eigendecomposition).
Trade-offs
The abstract definition (closure under linear combinations) is minimal and powerful, but it elides metric structure — notions of angle and distance require additional structure (an inner product). Working over the reals is sufficient for most ML applications; complex vector spaces arise in signal processing and quantum computing.