Basis and Dimension of a Vector Space
Problem
Find a basis for the column space of A = [[1,2,3],[2,4,5],[3,6,8]]. Show which columns are pivot columns.
Explanation
Basis — two properties in one
A basis of a vector space is a set of vectors that is:
- Linearly independent (no redundancy), and
- Spans (reaches every vector via linear combinations).
Every vector in has a unique representation as a linear combination of basis vectors.
Dimension
The dimension of , written , is the number of vectors in any basis. Remarkably, all bases of a given have the same size — dimension is well-defined.
Examples:
- , with standard basis .
- .
- (polynomials of degree ) ; basis .
- .
Finding a basis for the column space
The column space is the span of the columns of . Its basis consists of the pivot columns of the ORIGINAL matrix (not the RREF columns themselves — the pivot positions of the RREF tell you which original columns form the basis).
Step-by-step
Step 1 — Row reduce to RREF.
: . : .
: .
: . Then : .
Step 2 — Identify pivot columns. Pivots appear in columns 1 and 3.
Step 3 — The basis is the corresponding columns of the ORIGINAL (not the RREF):
So .
Why we use original columns, not RREF columns
Row reduction changes the column space — RREF columns span a different set! But row reduction preserves the linear relations among columns. So the pivot positions identify which original columns are independent; the pivot columns of RREF do not themselves form a basis of .
Column 2 as a dependency
In the RREF, column 2 has no pivot. The relation is visible: column 2 = 2 · column 1. In the original matrix, this corresponds to (check: ✓). So is redundant in the basis.
Common mistakes
- Using RREF columns instead of original columns. The pivot positions are right, but the actual basis vectors come from .
- Confusing column space with row space. They have the same dimension (both equal rank) but live in different ambient spaces.
- Counting vectors that aren't independent. A basis has no redundancy.
Try it in the visualization
Each column of is drawn in 3D. Pivot columns pulse gold; non-pivot columns fade toward gray and show their linear combination back to the pivots. Dimension updates live as you change entries.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.