The number of columns in the matrix A equals the number of rows in the matrix B.
So, matrix product is defined and its dimensions are .
The matrix product AB is defined and matrix AB dimensions are .