4.5.18 · D2Linear Algebra (Full)

Visual walkthrough — Dimension — basis cardinality

2,131 words10 min readBack to topic

Before line one, three words we will use constantly. Each is anchored to a picture in Step 1.

We work in the flat plane (arrows on paper). Everything transfers to higher dimensions unchanged — the pictures just get harder to draw, not harder to think about.


Step 1 — Meet the two casts of characters

WHAT. We have two teams of arrows living in the same plane.

  • The spanning team (gray): enough arrows to build everything. They may overlap or be redundant — we do not require them to be independent.
  • The independent team (blue): no waste — each points somewhere genuinely new.

WHY. The whole lemma is a claim comparing these two numbers, so we must pin down exactly what each team promises. promises coverage. promises no redundancy. Coverage is a resource; no-redundancy is a demand on that resource.

PICTURE.

Figure — Dimension — basis cardinality

In the figure, the gray -arrows overlap — that is fine, a spanning set is allowed to be sloppy. The blue -arrows point in clearly distinct directions — that is what independent looks like.


Step 2 — Every arrow is a recipe (why spanning lets us write )

WHAT. Take the first independent arrow . Because the gray team spans, is a combination of gray arrows:

WHY THIS TOOL — a linear combination. We reach for a weighted sum because that is the only operation a vector space gives us: scale arrows and add them. The word "spans" literally means "reachable by such a sum," so writing this way is just cashing in the spanning promise. The numbers are the amounts of each ingredient — a recipe for .

PICTURE.

Figure — Dimension — basis cardinality

The dashed arrows show , , … laid head-to-tail; their sum lands exactly on the blue tip of .


Step 3 — At least one ingredient is real (the first swap)

WHAT. Not all the can be zero. If they were, the recipe would read — but comes from an independent team, and independent arrows are never the zero arrow. So some ; relabel so that . Now solve the recipe backwards for :

WHY. This line says is now redundant: anything you could build with you can rebuild using and the remaining grays. The tool here is just rearranging the equation — legal because means we may divide by it. Division by is where "" earns its keep; had been we could not isolate .

PICTURE.

Figure — Dimension — basis cardinality

We kick out (faded gray, crossed) and swap in (solid blue). The new team still has arrows and — crucially — still spans everything the old team did.


Step 4 — Keep swapping, and watch for the trap

WHAT. Suppose after swaps our spanning team is a mix: Bring in the next blue . Since this mixed team still spans, write:

WHY. Same spanning promise, applied to the current team. The recipe now has two flavours of ingredient: blues we already placed ('s) and grays still standing ('s). We split them on purpose, because the two flavours play opposite roles in the next step.

PICTURE.

Figure — Dimension — basis cardinality

Blue contributions in blue, gray contributions in gray, summing to .


Step 5 — Why we never run out of grays to kick (the heart)

WHAT. Look at the gray amounts . At least one is nonzero.

WHY — this is exactly where independence is used. Suppose every . Then the recipe collapses to i.e. is built entirely from earlier blues. But the blue team is independentno blue is a combination of the others. Contradiction. So some : a gray is still genuinely present, and we can kick it out and swap in. The team size stays , and it still spans.

PICTURE.

Figure — Dimension — basis cardinality

Left panel — the forbidden world where all : (red) lands inside the blue span, which independence outlaws. Right panel — the real world: a nonzero keeps a gray in play (green arrow), so the swap goes through.


Step 6 — Count the swaps: the inequality falls out

WHAT. Each swap uses up one blue (added) and one gray (removed). To place all blues we need grays to remove. There are only grays. So:

WHY. This is pure bookkeeping. Independence (Step 5) guaranteed a gray is always available to remove, so the swapping never jams before the blues run out. If were bigger than we would try an -th swap with no gray left — impossible. Hence blues cannot outnumber grays.

PICTURE.

Figure — Dimension — basis cardinality

A tally: blues-consumed on one axis, grays-remaining on the other, marching down until grays hit zero — the wall that caps .


Step 7 — Edge cases: don't skip these

WHAT & WHY. We must show every input behaves.

  • (empty independent set). The empty set is vacuously independent, and always. No swaps needed; claim trivially holds.
  • (blues exactly fill the grays). The final swap removes the last gray. The team is now all blue, size , still spanning — this is precisely the case that will force the Dimension Theorem in Step 8.
  • Redundant / dependent spanning team. The grays were never required to be independent. Two grays might be identical; a might be . None of that breaks a single step — we only ever used that the grays span. This generality is why the lemma is so powerful.
  • can't happen. A zero arrow would make the blue team dependent, contradicting our hypothesis — so Step 5's contradiction machinery is never even tested against a zero blue.

PICTURE.

Figure — Dimension — basis cardinality

Three mini-panels: empty (nothing to do), a duplicated gray (swap still fine), and (all grays consumed, all-blue team survives).


Step 8 — Two bases, applied both ways ⇒ equal size

WHAT. Let (size ) and (size ) each be a basis of the same space . A basis is both independent and spanning, so each can play either role in the lemma.

  • Treat as the blue team (independent) and as the gray team (spanning):
  • Now swap the roles: blue, gray:

Two arrows squeeze and from both sides:

WHY. The lemma alone gives only one inequality. It is the double life of a basis — independent and spanning at once — that lets us fire the lemma twice, in opposite directions, trapping the two counts into equality. That equal number is the dimension of .

PICTURE.

Figure — Dimension — basis cardinality

A see-saw: pushing down one side, the other, balancing at .


The one-picture summary

Figure — Dimension — basis cardinality

Read it left to right: a gray spanning pile → blues march in one at a time, each swap kicking a gray out (independence guarantees a gray is always available) → the tally caps blues at grays, giving → fire it both ways on two bases → the see-saw balances at .

Recall Feynman: the whole walk in plain words

You've got a messy pile of gray sticks that's enough to build any shape (that's spanning — the pile may have duplicates, doesn't matter). You've also got a neat set of blue sticks, no two pointing the same way (that's independence). Now play a game: one at a time, feed a blue stick into the pile and throw out a gray one, always keeping the pile big enough to build everything. The magic move is this: whenever you add a blue, could you be forced to remove another blue instead of a gray? No — because if only blues were left doing the work, your new blue would be a copy of old blues, and blues are never copies. So there's always a gray to throw. Since each round eats one blue and one gray, you can't have more blues than you started with grays: independent ≤ spanning. Finally, a basis is a stick set that's both neat and enough — so it can be the blue team or the gray team. Point two bases at each other both ways and you get "this one ≤ that one" and "that one ≤ this one." The only way both can be true is if they're equal. That equal number is the dimension — the fixed brick-count of the space, no matter which colours you use.


Connections