Concept Lab · Week 4 · Prerequisites
Matrices move space
Drag the basis vectors and watch the whole grid transform with them.
The idea: Matrices as linear transformations
The single most useful reframe in linear algebra: a matrix is not a grid of numbers, it is a transformation of space that keeps grid lines parallel and evenly spaced and the origin fixed: rotation, scaling, shear, reflection or projection.
Read a 2×2 matrix column by column: the first column is where lands, the second is where lands. Every other vector follows, because it is a combination of and . Drag the basis vectors in the simulation and watch the whole grid follow.
Matrix–vector multiplication is therefore 'apply transformation to '. A neural network layer is exactly this, followed by a non-linearity.
Next simulation: Dot product → cosine similarity