The geometry of linear algebra
Linear algebra is often taught as a mechanical subject; solve for x, invert this matrix, compute that determinant. But beneath the calculation lies a deeply geometric story. One that’s not just useful for understanding the math but essential for remembering it.
This post is a guide to seeing what linear algebra is really doing: reshaping space.
What is a linear transformation, visually?
A linear transformation is a function that takes space and systematically changes it. It doesn’t bend or break; it stretches, squashes, rotates, or reflects. It transforms every point in the space in a predictable, structured way. That predictability is what makes it linear.
Imagine a flat, infinite grid, like graph paper stretching forever. Now imagine applying a transformation to that entire grid:
- Every line still looks like a line.
- Parallel lines stay parallel.
- The origin stays fixed.
But the squares? They might become parallelograms. Circles might become ellipses. Entire shapes shift, and with them, the vectors inside them.
2D transformations: changing the plane
In two dimensions, transformations are relatively easy to visualise.
Picture this:
- A square becomes a diamond.
- A triangle stretches sideways and leans to one side.
- A circle becomes an ellipse, slanted and elongated.
This isn’t just distortion—it’s a record of what the matrix is doing. For example:
- If your grid leans to the right, you’re looking at shear.
- If it grows evenly in all directions, that’s scaling.
- If everything spins around the origin, rotation is at work.
- If all your vectors line up on a single axis, that’s projection, space collapsed.
2D transformations give students a powerful mental model. Instead of memorising matrix multiplication rules, they start asking: What does this do to space? That’s conceptual retention.
3D transformations: reshaping space
Move to three dimensions, and things become more dramatic and more relevant. Physics, graphics, machine learning, and engineering: these fields rely on seeing how objects move and change in space.
In 3D:
- A cube can become a skewed box.
- A sphere becomes a stretched ellipsoid.
- Planes rotate, fold, or collapse.
- Objects reflect across invisible planes.
Here’s what’s important: 3D linear transformations aren’t harder; they’re just harder to see. But with the right visualisations, like animated grids, students understand the concept. Transformed solids and changing coordinate systems also help. They grasp the same ideas as in 2D: Space shifts, but structure remains.
Why visualization works
Linear algebra is fundamentally geometric. It describes how space changes. Teaching it without pictures is like teaching music with no sound.
Visuals do three things:
- Anchor abstract concepts in the physical world.
- Reinforce structure: seeing lines stay straight or angles preserved gives a concrete sense of what “linear” means.
- Enhance memory: students remember the “look” of a transformation long after they’ve forgotten the formula.
Put simply: what you see, you tend to understand. And what you understand, you remember.
From intuition to insight
Understanding linear algebra visually isn’t about skipping the math. It’s about giving the math meaning. Once a student sees how a matrix turns a square into a parallelogram, the determinant is no longer just a number. They understand it represents an area scale. Eigenvectors become directions that don’t rotate. Orthogonality becomes visible right angles in motion.
In short: geometry isn’t a distraction from the math. It is the math.
