Britannica Sources used in this answer

How does a matrix product represent performing transformations in sequence?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In linear algebra, linear transformations are functions that map one vector to another while preserving vector addition and scalar multiplication. When performing computations, these transformations are represented by matrices.1

The product of two matrices represents the result of performing these transformations in sequence. Specifically, if you have two transformations represented by matrices S and T, the matrix product ST corresponds to applying transformation T first, followed by transformation S (reading from right to left).1

Because matrix multiplication is generally not commutative—meaning ST is rarely equal to TS—the order in which you perform these transformations is critical. Changing the sequence of operations typically results in a different final transformation. This property is fundamental to applications such as computer graphics, where sequences of rotations and other geometric transformations are calculated using matrix products.21