4.5.17 · D3Linear Algebra (Full)

Worked examples — Basis — definition, uniqueness of representation

2,883 words13 min readBack to topic

Before anything, two reminders in plain words.

Finding those scalars almost always means solving a small system of equations — that is the one skill this page drills. Recall that a basis must do two jobs at once, and each job is guaranteed by one property: spanning guarantees a solution exists (every vector has at least one address), while independence guarantees the solution is unique (no vector has two addresses). We lean on both throughout.


The scenario matrix

Every basis problem you will ever meet lives in one of these cells. Figure 1 encodes the same landscape visually — the three coloured regimes (too few, just right, too many) are the spine of everything below, so glance at it before reading the table.

Figure 1 — The whole landscape at a glance. A set of vectors sits in one of three regimes depending on how its size compares to . Red (too few): independent but cannot reach every vector → some addresses are missing (Cell E). Green (just right): exactly independent vectors → a genuine basis, every vector has exactly one address (Cells A, B, F, G, I). Orange (too many): enough to reach everything but redundant → the same vector gets many addresses (Cell D). The green box also swallows the zero-vector case (Cell C), whose address is always all-zeros. Follow the grey arrows: adding a vector pushes you rightward from "just right" into "too many."

# Case class What makes it tricky Regime (Fig 1) Worked example
A Standard basis, plain vector coordinates equal components — the "invisible" case green Ex 1
B Non-standard basis, mixed signs must solve a system; signs matter green Ex 2
C Degenerate INPUT: the zero vector coordinates should all be — but only if is a basis green Ex 3
D Degenerate SET: dependent "basis" coordinates are not unique — must detect failure orange Ex 4
E Degenerate SET: too few (doesn't span) some vectors have no coordinates — detect failure red Ex 5
F Non-arrow space (polynomials) "vectors" are functions; same machinery still works green Ex 6
G Non-arrow space (matrices) matrices as a -dimensional space green Ex 7
H Real-world word problem translate a mixing/recipe story into coordinates green Ex 8
I Exam twist: verify a set IS a basis in check independence + spanning together via a determinant green Ex 9

We now walk every cell.


Worked examples

Cell A — the invisible standard basis


Cell B — non-standard basis, mixed signs

Figure 2 — Coordinates as a recipe of scaled basis arrows. The blue arrow and green arrow are the two directions of basis . The orange arrow is the target . To build we walk of the way along (dashed blue, landing at the blue dot), then along (dashed green — the negative coefficient means we travel opposite to ). The dashed path lands exactly on the orange arrow's tip: that is what "" means as a picture.


Cell C — degenerate input: the zero vector


Cell D — degenerate SET: dependent, coordinates not unique


Cell E — degenerate SET: too few, doesn't span


Cell F — a space with no arrows: polynomials

Figure 3 — Why the basis is "triangular." Each basis polynomial is a row; each power is a column. A filled cell means "this power appears." The filled cells form a lower-triangular staircase: uses only the -column; adds the -column; adds the -column. Because only the last basis polynomial reaches the column, its coefficient is pinned first by the top power; then is pinned, then — exactly the top-down solve of step 2.


Cell G — a space of matrices


Cell H — a real-world word problem


Cell I — exam twist: prove a set IS a basis of


Recall Which cell is this problem? (self-test)

Given a problem, ask in order: How many vectors vs. ? ::: More than → dependent (Cell D); fewer → can't span (Cell E); equal → possible basis, check det (Cell I). Is the input the zero vector? ::: Coordinates are all in any genuine basis (Cell C). Is the "vector" a polynomial or matrix? ::: Same machinery — match coefficients / slots (Cells F, G). Is it a mixing/recipe story? ::: It's coordinates in disguise — set up the system (Cell H).

Connections

  • Linear Independence — the reason coordinates are unique (Cells C, D, I).
  • Span and Spanning Sets — the reason coordinates exist (Cell E).
  • Dimension — the "right count" that decides Cells D, E, I.
  • Coordinate Vectors and Change of Basis — every answer here is a coordinate vector .
  • Subspaces — polynomial and matrix examples live in bigger spaces.
  • Matrix of a Linear Map — Cell G's matrix-as-4-vector is the seed of this idea.