Matrix multiplication
Consider $\alpha: \R^r \to \R^n$ and $\beta: \R^n\to\R^m$. $A$ is the associated $n\times r$ matrix and $B$ is the associated $m\times n$ matrix.
We consider the composition map $\beta\alpha: \R^r\to\R^m$. $$\begin{align*} (BA)_{ij} x_j &= \big(B(A\vec x)\big)_i \\ &= B_{ik}(A\vec x)_k \\ &= B_{ik}A_{kj}x_j \end{align*}$$ so we let $$ (BA)_{ij} = B_{ik}A_{kj}. $$
Properties:
-
In general, $AB\neq BA$.
-
Associativity: $(AB)C = A(BC)$. Proof