Vector Spaces, Span, Independence, Basis, Dimension
The abstract stage on which all of linear algebra plays out: closure, spanning sets, independence, and the invariant called dimension.
Leads to: Linear maps (4.2) act between the spaces defined here; every later structure is a special space.
Learning Objectives
Click a status chip to cycle: Not started → In progress → Studied → Practiced → Needs review → Mastered.
- State the vector-space axioms and verify whether a given set is a subspace.
- Compute the span of a set of vectors and decide linear independence.
- Construct a basis and compute the dimension of a subspace.
- Explain why every basis of a finite-dimensional space has the same size.
Key Vocabulary
- Vector space
- A set with addition and scalar multiplication satisfying the eight axioms (closure, associativity, identity, inverses, distributivity).
- Subspace
- A nonempty subset closed under addition and scalar multiplication; automatically contains \(0\).
- Span
- The set \(\operatorname{span}(v_1,\dots,v_k)=\{\sum c_i v_i\}\) of all linear combinations.
- Linear independence
- No nontrivial combination gives zero: \(\sum c_i v_i=0\Rightarrow c_i=0\) for all \(i\).
- Basis
- A linearly independent spanning set; every vector has unique coordinates in it.
- Dimension
- The number of vectors in any basis - an invariant of the space.
Intuition & Motivation
Spaces and subspaces
Examples: lines and planes through the origin in \(\R^3\); polynomials of degree \(\le n\); the set of portfolios that are fully hedged against a factor. A line not through the origin fails (no zero vector).
Span, independence, basis
A list \((v_1,\dots,v_k)\) is linearly independent when the only way to write \(0\) as a combination is with all coefficients zero. Otherwise some \(v_j\) is a combination of the others - redundant. A basis is an independent list that also spans; then every vector has unique coordinates.
Interactive: rank of a coordinate set
- Calling a set a basis because it spans, without checking independence (or vice-versa) - you need both.
- Forgetting that a subspace must contain \(0\); affine sets (lines off the origin) are not subspaces.
- Thinking more vectors always span more - beyond \(\dim V\) they must be dependent.
- Confusing the number of components (ambient dimension) with the dimension of the subspace they span.
- To test independence of \(k\) vectors, stack them and compute the rank - independent iff rank \(=k\).
- In finite dimensions, \(\dim V\) vectors that are independent automatically span (and vice versa) - you only check one property.
- Think of asset-return vectors: a set of factors is a basis of the return space only if it is independent and spans all realized returns.
Knowledge Check
Practical Exercise
Let \(U=\{(x,y,z)\in\R^3: x+y+z=0\}\). (a) Show \(U\) is a subspace. (b) Find a basis and \(\dim U\).
(a) If \(u,w\in U\) then their coordinates each sum to zero; so do \(u+w\) and \(cu\) (sums scale linearly). \(U\) is nonempty (\(0\in U\)) and closed, hence a subspace.
(b) Solve \(z=-x-y\) with \(x,y\) free: \((x,y,z)=x(1,0,-1)+y(0,1,-1)\). So \(\{(1,0,-1),(0,1,-1)\}\) spans \(U\), and it is independent (neither is a multiple of the other). Thus it is a basis and \(\dim U=2\) - a plane through the origin.
Lesson Summary
Formula Sheet Additions
Retrieval Practice
Close the lesson and answer from memory before checking. This is deliberate, effortful recall - the single highest-yield study action.
A: Linear independence and spanning; together they give every vector unique coordinates.
A: Any linearly independent list has length at most the dimension (3), so a list of 4 cannot be independent.
Completion Checklist
- I can explain the core ideas in my own words
- I worked the derivations/examples by hand
- I completed the interactive workbench(es)
- I passed the knowledge check
Source References
This lesson synthesizes and paraphrases concepts from the sources below. No copyrighted text, problem sets, or solutions are reproduced. Return to the originals for full depth.
- Linear Algebra Done Right (Sheldon Axler, 4th ed., 2024) current - Ch. 1-2 - Ch. 1-2: vector spaces, subspaces, span, independence, bases, and dimension.
- Calculus, Vol. II (Tom Apostol, 2nd ed., 1969) foundational - Ch. 1-3 - Vol. II, Ch. 1-3: linear spaces and their basic algebra.