The product 
 of two Matrices 
 and 
 is defined by
  | 
(1) | 
 
where 
 is summed over for all possible values of 
 and 
.  Therefore, in order for multiplication to be defined, the
dimensions of the Matrices must satisfy
  | 
(2) | 
 
where 
 denotes a Matrix with 
 rows and 
 columns. Writing out the product explicitly,
![\begin{displaymath}
\left[{\matrix{c_{11} & c_{12} & \cdots & c_{1p}\cr c_{21} &...
...ots & \vdots\cr b_{m1} & b_{m2} & \cdots & b_{mp}\cr}}\right],
\end{displaymath}](m_640.gif)  | 
(3) | 
 
where
Matrix multiplication is Associative, as can be seen by taking
![\begin{displaymath}[(ab)c]_{ij} = (ab)_{ik} c_{kj} = (a_{il}b_{lk})c_{kj}.
\end{displaymath}](m_642.gif)  | 
(4) | 
 
Now, since 
, 
, and 
 are Scalars, use the Associativity 
of Scalar Multiplication to write
![\begin{displaymath}
(a_{il}b_{lk})c_{kj} = a_{il}(b_{lk}c_{kj}) = a_{il}(bc)_{lj} = [a(bc)]_{ij}.
\end{displaymath}](m_646.gif)  | 
(5) | 
 
Since this is true for all 
 and 
, it must be true that 
  | 
(6) | 
 
That is, matrix multiplication is Associative.  However, matrix multiplication is not, in general,
Commutative (although it is Commutative if 
 and 
 are Diagonal and
of the same dimension).
The product of two Block Matrices is given by multiplying each block
 
 | 
 | 
 
 | 
 | 
| 
 
  | 
(7) | 
See also Matrix, Matrix Addition, Matrix Inverse, Strassen Formulas
References
Arfken, G.  Mathematical Methods for Physicists, 3rd ed.  Orlando, FL: Academic Press, pp. 178-179, 1985.
© 1996-9 Eric W. Weisstein 
1999-05-26