The Language of Vector Spaces
The SPAN of a set is everything reachable by linear combinations. A set is INDEPENDENT when no member is a combination of the others. A BASIS is both: independent AND spanning — every vector then has exactly ONE coordinate representation, and every basis of a space has the same size: its DIMENSION.
Each independent linear condition on removes one dimension: the hyperplane in has dimension . Solution sets of homogeneous systems ARE subspaces — this is where geometry and equations meet.
To write in the basis : solve , , giving , . Changing basis is solving a linear system — and orthogonal bases make it a pair of one-line dot products.
Polynomials, audio signals, quantum states, and solutions of linear ODEs all form vector spaces — the span/basis/dimension language transfers wholesale. That is why "the solution space of is 2-dimensional with basis " is a sentence, not an analogy: the differential equations course runs on this chapter.
What is the dimension of the space of matrices with trace ? Work: the space of all matrices has dimension ; trace zero is ONE linear condition; dimension . A basis: .
Proofs & Why It Matters
Suppose in a basis . Subtract: . Independence forces every coefficient to vanish: . Existence comes from spanning, uniqueness from independence — a basis delivers both at once.
The exchange argument: if is independent and spans, insert the s one at a time into the spanning set, each time ejecting some (writing the new in the current spanning set must use a surviving , which can then be solved for). The process never runs out of s to eject, so . Applying this both ways to two bases gives and : dimension is well-defined.
Going Deeper: Explanations & Worked Problems
To decide whether vectors are independent, ask whether forces all — but that is a homogeneous linear SYSTEM in the , with the vectors as columns.
Row reduce: if every column earns a pivot, only the zero combination works — independent; a pivotless column means a free variable, hence a nonzero combination summing to zero — dependent, and back-substitution hands you the actual dependence. The same computation delivers dimension: the pivot columns form a basis of the span, so . This is the great economy of the subject — span, independence, basis, dimension, and solvability are all read off ONE echelon form.
Test .
Step 1 — put them as columns and reduce: .
Step 2 — read: pivots in columns 1, 2 only — DEPENDENT, dimension of the span is .
Step 3 — recover the dependence: the free column says is free; rows give and ; take : ✓ — i.e. , the hidden relation, now explicit.
Step 4 — basis: keep the pivot columns ; they span the same plane with nothing wasted.
Write in the basis , . THE SYSTEM ROUTE: means and ; adding, , ; subtracting, .
THE ORTHOGONAL SHORTCUT: because , each coefficient is an independent projection: and — no system solved, no interaction between coordinates. Check: ✓. This is precisely why orthogonal bases (and eventually Fourier series) are prized: coordinates decouple.