Linear Transformation Visualizer
Drag the basis vectors and watch a matrix move the whole plane or space. See determinant, rank, and eigen-directions update as you go.
The transformation
Drag on the grid to move î or ĵ, whichever tip is closer.
What it does
Updates as you type.
lands on , and lands on .
- Determinant
- Rank
- 2
Areas scale by , and orientation is kept.
Lines that stay in place
- No line stays in place, because every direction turns.
The matrix
Each column is where one basis vector lands. Edit an entry and the picture follows.
Up to 3 rows and 3 columns.
Use integers, decimals, or fractions such as 1/3. Paste rows from a spreadsheet or a Python list into any cell.
Columns are where the basis vectors land
A matrix is a recipe for moving space. Its first column says where , the unit vector along , ends up. Its second column says where ends up:
Those two landing points decide everything else. A point at is , so it goes to times the first column plus times the second. That is why grid lines stay straight, stay parallel, and stay evenly spaced, and why the origin never moves.
What to look for
- Determinant. The factor by which areas scale, or volumes in 3D. A negative value means orientation flips, and the shape turns amber. Find it for larger matrices with the Determinant Calculator.
- Rank. The dimension of what's left. Rank 2 in the plane keeps a plane, and rank 1 squashes it onto a line. The Matrix Rank Calculator finds what gets lost.
- Eigen-directions. Lines that stay in place, with vectors along them only stretching. A rotation in the plane has none, and a shear has one.
Common transformations
| Transformation | Matrix | Determinant | Lines kept |
|---|---|---|---|
| Rotate by | None, unless is a multiple of | ||
| Shear | The axis | ||
| Reflect across | Both axes | ||
| Scale | Both axes | ||
| Project onto | Both axes |
A transformation that doesn't collapse anything can be undone. The Matrix Inverse Calculator finds the matrix that does it.
Related calculators
Put numbers to what you just saw.
Determinant Calculator
Find the determinant of a square matrix with exact fractions, drag a live area picture, and step through elimination or cofactor expansion.
Matrix Inverse Calculator
Invert a square matrix with exact fractions, step through [A | I] to [I | A⁻¹], and see the inverse undo the transformation.
Matrix Rank Calculator
Find rank and nullity with exact fractions, get bases for the column, row, null, and left null spaces, and see what a matrix collapses.