Bring the mental model from Vector Spaces; this page will reuse it instead of restarting from zero.
Linear Algebra
Basis and Span
The span is everything you can build by mixing vectors; a basis is a non-redundant set that spans the whole space and gives unique coordinates.
Concept Structure
Basis and Span
Start with the picture, metaphor, or geometric mechanism.
Make the objects explicit and connect them with notation.
Mirror the equations with runnable implementation details.
Manipulate the mechanism and watch the idea respond.
Learning map
Basis and SpanConceptual Bridge
What should feel connected as you move through this page.
The span is everything you can build by mixing vectors; a basis is a non-redundant set that spans the whole space and gives unique coordinates.
The next edge should feel earned: use the demo prediction here before following Linear Transformations.
01
Intuition
Build the mental picture first so the rest of the page has something to attach to.
Think of vectors as “building blocks.” The span is the set of everything you can build by mixing those blocks with real-valued weights.
A basis is what you get when you remove all redundancy but still keep enough blocks to build everything in the space. When you have a basis, every vector has a unique coordinate description.
That uniqueness is why bases show up everywhere: once you pick a basis, a complicated abstract space turns into a list of numbers (coordinates), and linear algebra becomes computation.
02
Math
Translate the story into symbols, assumptions, and a derivation you can inspect.
Span. Given vectors in a vector space , their span is
Basis. A set is a basis of if:
- it spans , and
- it is linearly independent.
Key insight: in a basis, coordinates are unique. If and is a basis, then there exists a unique coefficient vector such that
Matrix form: let . Then
If is square and invertible (a basis in ), then
03
Code
Keep the implementation aligned with the notation so the algorithm is legible.
import numpy as np
b1 = np.array([1.0, 1.0])
b2 = np.array([1.0, -1.0])
B = np.column_stack([b1, b2]) # basis matrix
x = np.array([3.0, 1.0])
c = np.linalg.solve(B, x)
print("coordinates c:", c)
print("reconstruct:", B @ c)
04
Interactive Demo
Use direct manipulation to connect the explanation to a moving system.
No interactive demo yet. A good demo: choose 2 vectors in 2D, watch the span (a line vs the whole plane) and whether the basis matrix becomes singular.
No live visualization is registered for this concept yet.
The page still supports explanatory demo notes above; when a viz.tsx exists, it will render here without changing the route.
After The First Pass
Turn the concept into an inspected object.
Once the invariant is visible in the intuition, math, code, and demo, use these panels to inspect the mechanism visually, check source support, practice the idea, and attach a grounded research question.
Mechanism Storyboard
See the idea move before the page explains it
The span is everything you can build by mixing vectors; a basis is a non-redundant set that spans the whole space and gives unique coordinates.
Start with the picture, metaphor, or geometric mechanism.
Before reading further, choose the kind of change Basis and Span should make visible.
Visual Inquiry
Make the image answer a mathematical question
The span is everything you can build by mixing vectors; a basis is a non-redundant set that spans the whole space and gives unique coordinates.
Which visible object should carry the first intuition?
Pick the cue that should make Basis and Span easier to reason about before the page gives the answer.
Claim Review
The span is everything you can build by mixing vectors; a basis is a non-redundant set that spans the whole space and gives unique coordinates.
Source IDs and witness objects are attached for review; they are not proof by themselves.
Add source metadata before claiming support.
Use equation, code, and demo objects to check whether the source support is operational.
Source support candidates
No structured source note is attached yet.
Practice Loop
Try the idea before it explains itself
The span is everything you can build by mixing vectors; a basis is a non-redundant set that spans the whole space and gives unique coordinates.
Before touching the demo, predict one visible change that should happen in Basis and Span.
Reveal when your model needs a nudge.
Reveal when your model needs a nudge.
Reveal when your model needs a nudge.
A concrete answer is on the canvas.
The answer names why the claim should hold.
It touches the page context or a neighboring idea.
Research Room
Attach the question to an exact object
Pick the concept, equation, source, code witness, claim, misconception, or demo state before asking for help. The handoff stays grounded to that object.Open the draft below to save one note and next action in this browser.
Basis and Span
What is the smallest example that makes Basis and Span click without losing the math?
Local action draftNo local draft saved yetExpand only when ready to capture one local next action
This draft stays locally in this browser for concept:linear-algebra/basis-and-span.
- Definition, prerequisite, and contrast concept links
- The equation or code witness that makes the concept operational
- One demo state that shows the invariant instead of a slogan
- The learner can state the mechanism in their own words
- The learner can name the prerequisite that would repair confusion
- The learner can predict how the mechanism changes under one perturbation
I am working in Continuous Function's research reading room. Object: concept - Basis and Span Object key: concept:linear-algebra/basis-and-span Context: Linear Algebra Anchor id: concept/concept-notebook/linear-algebra/basis-and-span Open question: What is the smallest example that makes Basis and Span click without losing the math? Evidence to inspect: - Definition, prerequisite, and contrast concept links - The equation or code witness that makes the concept operational - One demo state that shows the invariant instead of a slogan What would resolve this: - The learner can state the mechanism in their own words - The learner can name the prerequisite that would repair confusion - The learner can predict how the mechanism changes under one perturbation Answer as a careful research tutor: stay source-grounded, separate verified evidence from assumptions, name the relevant math objects, and end with one next action.
concept/concept-notebook/linear-algebra/basis-and-span
concept:linear-algebra/basis-and-span