determin.ant
02-transformations / 2.4

Module 2: Transformations

The Transformation Zoo

Where you'll see this: every transformation type has a direct application — rotations in robotics and 3D graphics, shears in typography and italicised text rendering, projections in shadow calculations and PCA, reflections in symmetry detection and data augmentation for ML.

You've built the vocabulary. Now let's meet the whole family. There are a handful of named transformations that appear over and over — in graphics, physics, machine learning, and geometry.

The named transformations

Rotation

Spins every point around the origin by angle θ\theta. Lengths and angles are perfectly preserved. The determinant is always 1.

Scaling

Uniform scaling zooms everything in or out. Non-uniform scaling stretches one axis more than another — turning circles into ellipses.

Shear

Tilts one axis while leaving the other in place. Think of slanting a stack of cards — each card slides a little more than the one below. Parallel lines stay parallel; right angles don't stay right.

Reflection

Flips space across a line through the origin. The determinant is −1: area is preserved but orientation flips (clockwise becomes counter-clockwise).

Projection

Squashes everything onto a line. Every point is dropped perpendicularly onto that line. The determinant is 0 — information is permanently lost. You can't "un-project" back to where you came from.

Explore each transformation in the interactive. Pay attention to the determinant for each one — it tells you whether space is expanded, compressed, flipped, or collapsed.

Combining them

Real-world transformations are usually combinations: a rotation followed by a non-uniform scale, or a shear followed by a reflection. Any combination of linear transformations is still linear — and can always be described by a single matrix.

CompositionBuild a Transformation
îĵ
Identity
Does nothing. Every vector stays exactly where it is.
[1001]\begin{bmatrix}1&0\\0&1\end{bmatrix}
det = 1 · preserves orientation