Worked examples — Dimension — basis cardinality
This page is a shooting gallery. The parent note proved the one theorem: every basis has the same number of vectors, and that number is the dimension. Here we fire every kind of situation at that theorem — small spaces, big spaces, the empty basis, infinite-dimensional spaces, redundant piles, word problems, and an exam trap — so you never meet a case you haven't already seen worked.
Before symbols fly, three plain-word reminders (each defined in the parent, re-anchored here so line one is readable):
The scenario matrix
Every example below is tagged with a cell from this table. Together they hit every cell.
| Cell | Scenario class | What could go wrong / what to test |
|---|---|---|
| A | Ordinary finite space, two honest bases | do the counts really match? |
| B | Degenerate: the zero space | what is the basis of "nothing but the origin"? |
| C | Too-big spanning set (dependent pile) | Steinitz still works — does it forbid over-large independent sets? |
| D | Too-small independent set | independence alone does not pin the dimension |
| E | Non-arrow space (polynomials / matrices) | dimension of things that aren't |
| F | Limiting / infinite case | what happens when no finite spanning set exists? |
| G | Real-world word problem | dimension as "number of free dials" |
| H | Exam twist — subspace inside a bigger space | count without listing a basis |
Cell A — two honest bases, same count
Step 1. Test independence: set . This gives and . Why this step? Independence means the only way to build the zero arrow is . If some non-zero worked, one arrow would be a shadow of the other.
Step 2. Solve. From the first, ; substitute: . Why this step? Getting only the trivial solution proves independence — the two arrows point in genuinely different directions (see figure).
Step 3. Two independent vectors in automatically span (independent count dimension basis). So is a basis and . Why this step? This is the theorem paying off: once the count matches the dimension, "independent" upgrades to "basis" for free.

Verify: The determinant of the columns is , so the vectors are independent and span. Count ✓ — same as the standard basis, exactly as the Dimension Theorem promises.
Cell B — the zero space, the degenerate input
Step 1. A basis must be independent. But the set is dependent: is a non-trivial combination equalling zero. Why this step? The zero vector can never sit in an independent set — you can always scale it by a non-zero number and still get .
Step 2. So the basis cannot contain . The only remaining candidate is the empty set . Why this step? We are forced by Step 1 to throw out the only element available.
Step 3. Is a basis? It is independent (vacuously — no vectors, so no bad combination exists) and it spans (the empty sum is defined to be , the only vector present). Why this step? Both defining properties of a basis hold, so qualifies, and .
Verify: . Sanity check with the theorem: any two bases must have equal size, and here the only basis is , size — no contradiction ✓.
Cell C — a too-big, dependent spanning pile
Step 1. Apply Steinitz using the spanning pile we already know: is spanned by the 3 standard vectors. Why this step? The lemma's ceiling is set by the smallest spanning set we can name, not by the bloated 5-vector one. IN ≤ SPAN, and the tightest SPAN available is .
Step 2. Therefore any independent set has size . So 4 independent vectors are impossible. Why this step? Even though someone advertised a size-5 spanning set, a smaller spanning set (size 3) still forbids 4-independent piles. The lemma does not require the spanning pile to be independent — dependence is allowed.
Step 3. The maximum independent count is exactly , achieved e.g. by . Why this step? Three independent vectors exist (standard basis), and Step 2 says you can't beat 3, so 3 is the ceiling and it's reached.
Verify: ; a size-5 spanning set is legal (it's just dependent) but the independent ceiling stays . Largest independent set ; four independent vectors impossible ✓.
Cell D — a too-small independent set
Step 1. Check independence: . Independent ✓ (a single non-zero vector always is). Why this step? Confirms the set is a legitimate independent pile — the trap is that this feels "enough".
Step 2. Check spanning: can we build as ? That needs — impossible. Why this step? Spanning demands every vector be reachable. One arrow along the -axis can never reach off-axis vectors.
Step 3. So it spans only a line (a 1-dimensional subspace), not all of . It is not a basis of ; it is a basis of that line. Why this step? Independence gives the lower half of ; you need spanning too before the count is pinned at .
Verify: Size , so it cannot be a basis of — consistent with the theorem: a basis must hit the dimension exactly, not fall short ✓.
Cell E — a space that isn't arrows: matrices
Step 1. Propose the pile Why this step? Each is "1 in one slot, 0 elsewhere". Any matrix is , so these clearly span.
Step 2. Independence: if , then matching entries forces . Why this step? Each basis matrix owns a distinct slot, so no combination can cancel unless every coefficient is zero — genuinely new "directions".
Step 3. Both properties hold, so it's a basis with 4 elements: . Why this step? By the Dimension Theorem this is forced — every other basis of matrices also has exactly 4 members.
Verify: ✓. General pattern ; here .
Cell F — the limiting case: no finite spanning set
Step 1. Suppose, for contradiction, that a finite pile spans . Why this step? We test the limiting behaviour by assuming the finite tools of Steinitz could apply, then look for a crack.
Step 2. Let be the highest degree among . Every combination of them has degree . But has degree . Why this step? Combining polynomials never raises the top degree, so a fixed finite pile has a degree ceiling — a genuine limiting obstruction.
Step 3. So is not spanned. No finite pile spans ; is infinite-dimensional. Why this step? The set is an infinite basis. The Dimension Theorem still holds in spirit — all bases have the same infinite cardinality — but Steinitz's finite ceiling simply never kicks in.
Verify: For each finite , (matches parent). As grows without bound, ✓ — the honest limiting value.
Cell G — word problem: dimension as free dials
Step 1. "None reproducible from the others" = the 5 recipe-vectors are linearly independent in . Why this step? Translating the word "irreproducible" into "independent" lets the algebra decide the claim.
Step 2. is spanned by 3 vectors, so IN ≤ SPAN gives independent count . Why this step? Three fruits = three dials = a 3-slot spanning pile. The lemma caps independence at that.
Step 3. , so the 5 recipes cannot all be independent — at least one is a mix of the others. Why this step? The claim violates the ceiling; the machine's marketing is mathematically impossible.
Verify: Max independent recipes ; claiming 5 independent is impossible since ✓. (You can offer 3 truly independent signature blends at most.)
Cell H — exam twist: dimension of a subspace, no basis listed
Step 1. Solve the constraint for one variable: , with free. Why this step? One linear equation removes one degree of freedom; the free variables count the dimension (this is Rank-Nullity Theorem in miniature).
Step 2. Write a general element: . Why this step? Every solution is a combination of and — so these two span .
Step 3. Independence: forces (first slot) and (second slot). Independent ✓. So they form a basis of size 2. Why this step? Both basis properties hold, and by the Dimension Theorem the count is the honest dimension — no other basis of can differ.
Verify: One constraint on gives ✓. Rank-nullity check: the map has rank 1, so nullity ✓.
Roundup
Recall Which cell taught what?
Matched every scenario in the matrix? Cell A — tilted basis still counts 2 ::: determinant independent, count . Cell B — dimension of ::: ; basis is the empty set . Cell C — 5-vector dependent spanning set ::: independent ceiling stays ; 4 independent is impossible. Cell D — single independent vector in ::: not a basis; spans only a line, too small. Cell E — matrices ::: ; basis . Cell F — all polynomials ::: infinite-dimensional; no finite pile spans. Cell G — 5 smoothie recipes on 3 fruits ::: at most 3 can be independent, so the claim fails. Cell H — plane ::: via one constraint / rank-nullity.
Connections
- Steinitz Exchange Lemma — the ceiling used in Cells A, C, G.
- Linear Independence — the "no vector is a shadow" test in every cell.
- Spanning Sets — the slots being filled or falling short.
- Basis of a Vector Space — both-at-once object each example builds.
- Rank-Nullity Theorem — the counting shortcut in Cell H.
- Coordinates and Change of Basis — why same-count bases can look so different (Cell A).