Basis and Dimension
Subtopic: Vector Spaces
A basis is a minimal spanning set—a collection of vectors that spans the space without any redundancy. The dimension of a vector space is the number of vectors in any basis. These concepts let us measure the "size" of infinite sets in a meaningful way: is -dimensional because you need exactly independent vectors to span it.
Introduction
How big is ? It contains infinitely many vectors, but in some sense it's smaller than . The notion of dimension captures this. You need three independent directions to reach any point in , but four for .
A basis gives coordinates: once you fix a basis, every vector has a unique address—its coordinates relative to that basis. Different bases give different coordinate systems, but the number of coordinates (the dimension) stays the same.
Definition
Basis
A basis for a vector space is a set of vectors that is:
Linearly independent: No vector is a combination of the others
Spanning: Every vector in is a combination of the basis vectors
Equivalently, a basis is a maximal independent set, or a minimal spanning set.
Dimension
The dimension of a vector space , denoted , is the number of vectors in any basis of .
A remarkable theorem guarantees this is well-defined: all bases of a finite-dimensional space have the same number of elements.
Geometric Interpretation
Dimension counts the degrees of freedom needed to specify a point. A line is -dimensional (one number suffices), a plane is -dimensional, and ordinary space is -dimensional.
A basis provides a coordinate system. In , the standard basis gives Cartesian coordinates. The basis gives a different coordinate system—same plane, different addressing scheme.
Standard Bases
For , the standard basis is:
Any vector . The coordinates are just the components.
For the polynomial space (polynomials of degree ), a standard basis is . Dimension: .
For the matrix space , a standard basis consists of matrices with a single and zeros elsewhere. Dimension: .
Finding a Basis
From a Spanning Set
If spans but isn't independent, remove redundant vectors:
Put vectors as columns of a matrix
Row reduce to find pivot columns
The original vectors corresponding to pivot columns form a basis
From an Independent Set
If is independent but doesn't span , extend it:
Find a vector not in span
Add it to (the new set is still independent)
Repeat until you span
Worked Example
Find a basis for the subspace .
Solve for one variable: . Vectors in have the form:
So span .
Are these independent? Set :
, , — only solution is . ✓ Independent.
Basis: . Dimension: .
is a plane (D subspace of ).
Key Theorems
All Bases Have the Same Size
If V has a basis of n vectors, then every basis of V has exactly n vectors. This makes dimension well-defined.
Dimension Bounds
In an -dimensional space:
Any linearly independent set has at most vectors
Any spanning set has at least vectors
Any independent set of vectors is automatically a basis
Any spanning set of vectors is automatically a basis
Subspace Dimension
If is a subspace of , Then dimdim, with equality if and only if .
Coordinates
Given a basis , every vector has a unique representation:
The coefficients are the coordinates of relative to basis , written .
Example: In with basis , the vector has coordinates because .
Applications
In computer graphics, choosing a basis aligned with an object simplifies transformations. Local coordinates make rotation easier.
In data science, PCA finds an optimal basis where the first few coordinates capture most of the variance, enabling dimensionality reduction.
In quantum mechanics, measuring an observable corresponds to projecting onto its eigenbasis. Different bases reveal different properties.
In signal processing, different bases (Fourier, wavelet) reveal different signal features.
Summary
A basis is a linearly independent spanning set—no redundancy, full coverage. The dimension is the size of any basis (all bases have the same size). Standard bases provide natural coordinates; other bases can simplify specific problems. To find a basis for a subspace, parameterize the subspace and read off spanning vectors, then verify independence. The dimension of a subspace tells you how many free parameters determine it.