Britannica Sources used in this answer

Which arithmetic laws hold for matrix multiplication?

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

In linear algebra, matrix multiplication follows several fundamental arithmetic laws, though it differs from ordinary multiplication in significant ways.

When the dimensions of the matrices allow for the operations to be performed, the following laws hold true:

  • Associative Law: The grouping of matrices does not affect the result of the product, expressed as A(BC)=(AB)C.1
  • Distributive Law: Matrix multiplication is distributive over addition, meaning A(B+C)=AB+AC and (B+C)A=BA+CA.1

It is important to note that the commutative law—which states that ab=ba in ordinary arithmetic—does not generally hold for matrix multiplication; in most cases, AB≠BA. While there are specific exceptions, such as when multiplying certain diagonal matrices, commutativity is not a general property of matrix systems.21