Basis and Dimension
What You’ll Learn
Section titled “What You’ll Learn”A basis is a minimal set of “building blocks” that can construct every vector in a space. The dimension tells you how many building blocks you need. These two ideas are central to everything that follows in linear algebra.
The Concept
Section titled “The Concept”A basis for a vector space is a set of vectors that is:
- Linearly independent (no redundancy)
- Spans the entire space (every vector in can be written as a linear combination of the basis vectors)
The standard basis in 2D is , often written as . In 3D it’s .
Dimension
Section titled “Dimension”The dimension of a vector space is the number of vectors in any basis for that space.
- The space of all matrices has dimension 4
Key fact: all bases for the same vector space have the same number of vectors.
The span of a set of vectors is all possible linear combinations of those vectors. If a set of vectors spans the space and is linearly independent, it’s a basis.
In the diagram: the basis vectors (blue) and (green) are used to build the vector (purple). You scale by 3 and by 2, then add them. Any point in the plane can be reached this way, which is why these two vectors form a basis for .
Worked Examples
Section titled “Worked Examples”Example 1: Standard Basis
The set is a basis for because:
- They are linearly independent
- Any vector (they span )
Example 2: Non-Standard Basis
Is a basis for ?
Yes. They’re independent (neither is a scalar multiple of the other) and they span the space (you can reach any as ).
Example 3: Not a Basis
The set is not a basis because the vectors are linearly dependent (the second is 2 times the first). They only span a single line, not all of .
Example 4: Dimension of a Plane in 3D
Any plane through the origin in has dimension 2. You need exactly two linearly independent vectors to form a basis for that plane, even though the plane lives inside 3D space.
Real-World Application
Section titled “Real-World Application”Basis and dimension show up everywhere:
- Game development: choosing efficient coordinate systems, compressing animation data, working with tangent spaces for normal mapping
- Computer graphics: changing between coordinate systems (world space, object space, camera space) is a change of basis
- Machine learning: PCA (Principal Component Analysis) finds the most important “directions” (basis) that explain the data
- Data compression: reducing dimension means storing less data while keeping the important information
Example: When a game stores character animations, it often uses a reduced basis (fewer independent directions) to save memory while still reconstructing realistic movement. This is dimension reduction in action.
Retrying will remove your ✅ checkmark until you pass again.