Basis &
Dimension
Discover how linearly independent spanning sets unlock the structure of vector spaces, and learn to determine the dimension of any subspace.
What Is a Vector Space?
A vector space \( V \) over a field \( F \) is a collection of objects (vectors) that can be added together and scaled by elements of \( F \), satisfying closure, associativity, commutativity, and distributivity.
The Span of a Set
Given vectors \( \mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_k \) in a vector space \( V \), their span is the set of all possible linear combinations:
If two vectors in \( \mathbb{R}^2 \) point in different directions, their span covers the entire plane.
Linear Independence
Vectors \( \mathbf{v}_1, \dots, \mathbf{v}_k \) are linearly independent if the only solution to
Definition of a Basis
A basis for a vector space \( V \) is a set of vectors \( \mathcal{B} = \{\mathbf{v}_1, \dots, \mathbf{v}_n\} \) that satisfies two conditions simultaneously:
The Standard Basis
Every \( \mathbb{R}^n \) has a natural standard basis made of unit vectors along each axis:
The Dimension of a Vector Space
Dimension tells you the "degrees of freedom" in a vector space: the number of independent directions you can move.
The Basis Theorem
If \( \dim(V) = n \), then any set of vectors in \( V \) with exactly \( n \) elements is a basis if it satisfies either condition:
Spanning vs Independent vs Basis
| Property | Spanning Set | Indep. Set | Basis |
|---|---|---|---|
| Spans \( V \)? | ✓ | Not necessarily | ✓ |
| Linearly independent? | Not necessarily | ✓ | ✓ |
| Number of vectors | \( \geq \dim(V) \) | \( \leq \dim(V) \) | \( = \dim(V) \) |
| Unique representation? | No | Not applicable | ✓ |
How to Find a Basis
Example 1: Basis of \( \mathbb{R}^2 \)
Is \( S = \{(1, 2),\; (3, 4)\} \) a basis for \( \mathbb{R}^2 \)?
Example 2: Dependent Vectors in \( \mathbb{R}^3 \)
Find a basis for the subspace of \( \mathbb{R}^3 \) spanned by \( S = \{(1,0,1),\; (2,1,0),\; (3,1,1)\} \).
Example 3: Null Space Basis
Find a basis for \( \text{Null}(A) \) where \( A = \begin{pmatrix} 1 & 2 & 1 \\ 2 & 4 & 2 \end{pmatrix} \).
The Rank-Nullity Theorem
This connects the column space dimension (rank) to the null space dimension (nullity). Together they account for every column of \( A \).
Common Mistakes
Summary Table
| Vector Space | Standard Basis | Dimension |
|---|---|---|
| \( \mathbb{R}^n \) | \( \{\mathbf{e}_1, \dots, \mathbf{e}_n\} \) | \( n \) |
| \( P_n \) (polynomials) | \( \{1, x, x^2, \dots, x^n\} \) | \( n + 1 \) |
| \( M_{m \times n} \) (matrices) | \( \{E_{ij}\} \) (matrix units) | \( mn \) |
| \( \{\mathbf{0}\} \) | \( \varnothing \) (empty set) | \( 0 \) |
| \( \text{Col}(A) \) | Pivot columns of \( A \) | \( \text{rank}(A) \) |
| \( \text{Null}(A) \) | From free variables | \( \text{nullity}(A) \) |
Question 1 of 5
What is \( \dim(\mathbb{R}^4) \)?
Question 2 of 5
Which of the following is a basis for \( \mathbb{R}^2 \)?
Question 3 of 5
A \( 3 \times 5 \) matrix \( A \) has \( \text{rank}(A) = 2 \). What is the nullity of \( A \)?
Question 4 of 5
What is \( \dim(P_3) \), the space of polynomials of degree \( \leq 3 \)?
Question 5 of 5
If \( V \) has dimension \( n \) and \( S \) is a set of \( n \) linearly independent vectors in \( V \), what can you conclude?