Matrix Transformations
Drag the matrix entries and watch the basis vectors, unit square, and determinant change. This is linear algebra as geometry.
The cyan square is the transformed unit square. The determinant tells you how area changes; a negative determinant means orientation is flipped. Press Play to morph from the identity.
What you are seeing
The columns of the matrix are the images of the basis vectors (1,0) and (0,1).
The determinant is the factor by which areas are scaled. A negative determinant flips orientation.
Every point is transformed by the same linear rule: v ↦ Av.
Why it matters
Matrix transformations are the language of computer graphics, robotics, quantum mechanics, and machine learning.
Complexity & details
Applying a 2×2 matrix to one vector: O(1). Transforming n points: O(n).
Frequently asked questions
What does a determinant of zero mean?+
The transformation collapses the plane onto a line or a point, so information is lost and the matrix has no inverse.
Why do graphics use matrices?+
Matrices compose rotations, scales, and shears into one operation, and GPUs can apply them to millions of vertices in parallel.