For finite matrices, the product of an matrix and an matrix is defined only when the inner dimensions agree, ; the resulting matrix has dimensions . The shared dimension governs whether multiplication is possible, while the outer dimensions determine the product’s size, independently of the matrix entries; block-matrix and other generalized product settings are not included.
On this page:
To determine the dimensions of a matrix product, compare the inner dimensions. The product is defined only if they match. If they do, the outer dimensions give the size of the result.
For example, suppose is a matrix and is a matrix. In the product :
Therefore, has dimensions . The entries of the matrices do not affect this dimension check.
Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill
Earned ?
Print this free 'Determine the dimensions of a matrix product' worksheet to practice this skill away from the computer. Click 'Modify' to easily customize this worksheet to your exact needs.
These adaptive units introduce, teach, or reinforce this skill (Determine the dimensions of a matrix product) through scaffolded problems that grow in difficulty as concepts are understood.