In mathematics and linear algebra, matrix multiplication is multiplying two matrices together. The number of columns in the first matrix must be equal to the number of rows in the second matrix. The product of two matrices \displaystyle{ \mathbf{A} } and \displaystyle{ \mathbf{B} } is written as \displaystyle{ \mathbf{A}\mathbf{B} }