Modern interactive lesson

Composition, Matrix Products, and Inverse Transformations

See matrix multiplication as a chain of transformations. Compare orders, compose rotations, and test inverse maps.

MathJax formulasLive calculatorsCanvas visualizationQuick checks

Big idea: multiplication means composition

If $T(x)=Bx$ and $S(y)=Ay$, then applying $T$ first and $S$ second gives

$$(S\circ T)(x)=A(Bx)=(AB)x.$$
Read products from right to left: in $ABx$, $B$ acts first and $A$ acts second.

Order matters

$AB$

First apply $B$, then apply $A$.

$BA$

First apply $A$, then apply $B$.

Usually $AB\ne BA$. Geometry makes this visible: rotating then projecting is different from projecting then rotating.

Composition studio: compare $AB$ and $BA$

noncommutativity

Choose two transformations. The left panel shows $AB$ and the right panel shows $BA$ on the same input vector.

Rotation composer

angles add

Inverse transformations

An inverse transformation reverses a linear transformation. If $A$ is invertible, then $A^{-1}Ax=x$.

2 by 2 inverse lab

reverse map
Important: a projection has no inverse because many input vectors collapse to the same output.

Chapter summary

Composition

$S\circ T$ corresponds to $AB$ when $T(x)=Bx$ and $S(y)=Ay$.

Order

Rightmost transformation acts first.

Inverse product

$(AB)^{-1}=B^{-1}A^{-1}$.

Quick check

In $PQx$, which transformation acts first?