Matrix transformations

A 2×2 matrix moves every point of the plane, and its two columns say where the arrows î and ĵ end up. Everything else follows from those two arrows: the grid warps with them, and the unit square becomes the shaded shape. Drag the numbers in the matrix or the tips of the arrows, or pick a preset.

\begin{pmatrix} \tangle{a} & \tangle{b} \\ \tangle{c} & \tangle{d} \end{pmatrix} \qquad \det = \val[%.2f]{det} \qquad \text{area} = \val[%.2f]{Math.abs(det)}
î ĵ

Things to try

How it's built

Open the source panels above for the full markup, script and styles.