Matrix Multiplication Calculator

Multiply matrix A by matrix B and view the dot product steps for every entry, preserving exact fractions.

×

Matrix A

Step-by-Step Row Working

Rules of Matrix Multiplication

Unlike regular multiplication, matrix multiplication is not commutative (A × B is generally not equal to B × A), and it is subject to strict dimensional constraints. To multiply matrix A by matrix B, the matrices must be **compatible**:

How to Calculate Matrix Multiplication

To find the entry in row i and column j of the product matrix C, you take the dot product of the i-th row of A and the j-th column of B:

Ci,j = ai,1b1,j + ai,2b2,j + ... + ai,nbn,j

Worked Example: 2x2 Matrix Multiplication

Let's multiply A and B:

Matrix A:
12
34
Matrix B:
56
78

The entries of product matrix C are computed as follows:

The resulting matrix C is:

1922
4350

Properties of Matrix Multiplication

Frequently Asked Questions

How does matrix multiplication work?

Matrix multiplication involves taking the dot product of rows from the first matrix with columns of the second matrix. The column size of A must equal the row size of B.

What is a transpose of a matrix?

The transpose of a matrix is formed by swapping its rows and columns. The element at row i, column j is moved to row j, column i.

What is the Identity matrix?

The Identity matrix is a square matrix with 1s on the main diagonal and 0s elsewhere. It acts as the multiplicative identity for matrices.

How does the matrix inverse relate to RREF?

To find the inverse of a square matrix A, you augment it with the Identity matrix [A | I] and compute the RREF. If A is invertible, the left side reduces to the Identity matrix, leaving the inverse A^-1 on the right side: [I | A^-1].