The only move in the building
Take vectors in a vector space and scalars . The expression is a linear combination of the . Scale each vector, add them all up. The are the coefficients or weights.
I am not exaggerating when I say this is the only operation in linear algebra. Matrix multiplication is built from it. Solving systems is reverse-engineering it. The whole Subspaces node was secretly about which sets are closed under it (because closure under and scaling together is exactly closure under linear combinations). Burn the phrase into your skull: linear algebra is the study of linear combinations and nothing else. If you think something else is happening, look again — it's a linear combination wearing a hat.
Span: everything you can reach
Given a set , the span of is the set of all linear combinations you can form from it: It's every destination reachable by scaling and adding. If you hand me three vectors, is the complete map of where those three can take you.
Span is a subspace (and here's the proof)
This is the theorem that makes span worth defining. Reach for the three-condition test from the Subspaces node.
Theorem. For any , is a subspace of .
Proof. Let .
- Contains . Take all coefficients zero: (using from the Vector Spaces node). So . ✓
- Closed under addition. Take two elements of : Add them and group by like vectors (commutativity + the distributive axioms): That's again a linear combination of the , so . ✓
- Closed under scaling. For :
All three conditions hold, so is a subspace.
In fact is the smallest subspace containing : any subspace that contains all the must (being closed under combinations) contain every linear combination of them, hence all of . Span is the tightest possible subspace wrapper around your vectors.
The geometry: lines, planes, and "is in there?"
Picture it in :
- Span of one nonzero vector : all scalar multiples — a line through the origin.
- Span of two non-parallel vectors : a plane through the origin.
- Span of two parallel vectors: collapses back to a line (the second adds nothing — hold that thought, it's the whole next node).
Drag the two vectors below and the slider weights; the dot is the linear combination . Watch which points it can and can't reach — that reachable set is the span.
Now the question that powers the rest of the course: is a given vector in ? By definition, that asks: do there exist coefficients with That is a system of linear equations in the unknowns . And solving systems is exactly what Gaussian elimination from the Matrices stratum does. So: The abstract membership question cashes out as elimination. This is the marriage again: a Sets-flavored "is it in the set?" answered by a Matrices-flavored row reduction.
Column space: the matrix's own span
Here's where it gets gorgeous. Stack vectors as the columns of a matrix . Then the product is, by the definition of matrix–vector multiplication (Matrices stratum), exactly — a linear combination of the columns, weighted by the entries of . So the set of all possible outputs is the span of the columns. We name it the column space:
And the headline theorem of solvability — and I want you to feel the weight of this: Read that in plain English: is solvable exactly when can be mixed from the columns of . "Solving a system" means "expressing as a mixture of columns." You've been computing spans since the Matrices stratum without knowing the word — and that should feel a little bit like finding out your name in a foreign language.
Spanning sets, and a teaser
A set spans if — every vector in is reachable. For , the standard basis (the columns of the identity matrix) spans, since . You need at least vectors to span .
But here's the rot we'll exterminate next node: some vectors in a spanning set are redundant — they're already in the span of the others, so deleting them changes nothing. Two parallel vectors only span a line; the second is pure deadweight. Detecting and removing that deadweight is the entire job of Linear Independence. File it away — we're going hunting.