Two matrices Am×n and Bn×p can be multiplied — "are conformable for the product AB" — exactly when the number of columns of A matches the number of rows of B; the product AB then has order m×p, with each entry Cij=∑kaikbkj formed by "dotting" row i of A with column j of B. Matrix multiplication behaves very differently from ordinary number multiplication: it is generally not commutative (AB=BA, and one product may not even be defined while the other is); it is associative ((AB)C=A(BC)) and distributes over addition (A(B+C)=AB+AC); multiplying by the identity matrix I leaves a matrix unchanged (AI=IA=A); and — sharply unlike numbers — the product of two non-zero matrices can equal the zero matrix. Because AB=BA, algebraic identities that are automatic …