Change of Basis Interactive Visualizer
Run the Change of Basis Visualizer Fullscreen
Edit the MicroSim with the p5.js editor
About This MicroSim
This visualization demonstrates a fundamental concept: the same vector has different coordinate representations in different bases.
Key ideas:
- The vector itself (green arrow) doesn't change—it's the same geometric object
- Only its coordinate representation changes based on which basis we use
- The transition matrix P⁻¹ converts coordinates: [v]_B = P⁻¹[v]_std
How to Use
- Drag the vector v (green) to see how its coordinates change in both bases
- Select a preset basis (Rotated, Skewed, Scaled) or use Custom
- Adjust the rotation slider to rotate the custom basis
- Toggle "Overlay Bases" to see both coordinate systems on one grid
- Toggle "Show Grids" to see the coordinate grid lines
Key Observations
- The vector arrow stays in the same position regardless of basis choice
- In a rotated basis, the coordinates reflect the new orientation
- The transition matrix P⁻¹ relates the two coordinate systems
Embedding
1 | |
Lesson Plan
Learning Objectives
Students will be able to:
- Explain why coordinate representations depend on basis choice
- Calculate coordinates in a new basis using the transition matrix
- Distinguish between a vector and its coordinate representation
Suggested Activities
- Predict coordinates: Before dragging, predict what [v]_B will be
- Verify transition: Check that P⁻¹[v]_std = [v]_B
- Special vectors: Find vectors that have the same coordinates in both bases
Assessment Questions
- If the basis is rotated 90°, how do the coordinates of (1, 0) change?
- What properties do similar matrices share?
- Why is change of basis useful in linear algebra?
References
- Chapter 4: Linear Transformations - Change of Basis section
- Similar matrices and diagonalization