If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Properties of matrix multiplication

Learn about the properties of matrix multiplication (like the distributive property) and how they relate to real number multiplication.

Properties of matrix multiplication

In this table, A, B, and C are n×n matrices, I is the n×n identity matrix, and O is the n×n zero matrix
PropertyExample
The commutative property of multiplication does not hold!ABBA
Associative property of multiplication(AB)C=A(BC)
Distributive properties A(B+C)=AB+AC
(B+C)A=BA+CA
Multiplicative identity property IA=A and AI=A
Multiplicative property of zeroOA=O and AO=O
Dimension propertyThe product of an m×n matrix and an n×k matrix is an m×k matrix.
Let's take a look at matrix multiplication and explore these properties.

What you should be familiar with before taking this lesson

In matrix multiplication, each entry in the product matrix is the dot product of a row in the first matrix and a column in the second matrix.
If this is new to you, we recommend that you check out our matrix multiplication article.
Here are other relevant articles:

Matrix multiplication is not commutative

One of the biggest differences between real number multiplication and matrix multiplication is that matrix multiplication is not commutative.
In other words, in matrix multiplication, the order in which two matrices are multiplied matters!

See for yourselves!

Let's take a look at a concrete example with the following matrices.
A=[3412] B=[6232]
1) Find AB and BA.
AB=
BA=

Notice that the products are not the same! Since ABBA, matrix multiplication is not commutative!
Other than this major difference, however, the properties of matrix multiplication are mostly similar to the properties of real number multiplication.

Associative property of multiplication: (AB)C=A(BC)

This property states that you can change the grouping surrounding matrix multiplication.
For example, you can multiply matrix A by matrix B, and then multiply the result by matrix C, or you can multiply matrix B by matrix C, and then multiply the result by matrix A.
When using this property, be sure to pay attention to the order in which the matrices are multiplied, since we know that the commutative property does not hold for matrix multiplication!

Distributive properties

We can distribute matrices in much the same way we distribute real numbers.
  • A(B+C)=AB+AC
  • (B+C)A=BA+CA
If a matrix A is distributed from the left side, be sure that each product in the resulting sum has A on the left! Similarly, if a matrix A is distributed from the right side, be sure that each product in the resulting sum has A on the right!

Multiplicative identity property

The n×n identity matrix, denoted In, is a matrix with n rows and n columns. The entries on the diagonal from the upper left to the bottom right are all 1's, and all other entries are 0.
For example:
I2=[1001]I3=[100010001]I4=[1000010000100001]
The multiplicative identity property states that the product of any n×n matrix A and In is always A, regardless of the order in which the multiplication was performed. In other words, AI=IA=A.
The role that the n×n identity matrix plays in matrix multiplication is similar to the role that the number 1 plays in the real number system. If a is a real number, then we know that a1=a and 1a=a.

Multiplicative property of zero

A zero matrix is a matrix in which all of the entries are 0. For example, the 3×3 zero matrix is O3×3=[000000000].
A zero matrix is indicated by O, and a subscript can be added to indicate the dimensions of the matrix if necessary.
The multiplicative property of zero states that the product of any n×n matrix and the n×n zero matrix is the n×n zero matrix. In other words, AO=OA=O.
The role that the n×n zero matrix plays in matrix multiplication is similar to the role that the number 0 plays in the real number system. If a is a real number, then we know that a0=0 and 0a=0.

The dimension property

One property that is unique to matrices is the dimension property. This property has two parts:
  1. The product of two matrices will be defined if the number of columns in the first matrix is equal to the number of rows in the second matrix.
  2. If the product is defined, the resulting matrix will have the same number of rows as the first matrix and the same number of columns as the second matrix.
For example, if A is a 3×2 matrix and if B is a 2×4 matrix, the dimension property tells us:
  • The product AB is defined.
  • AB will be a 3×4 matrix.

Check your understanding

Now that you are familiar with matrix multiplication and its properties, let's see if you can use them to determine equivalent matrix expressions.
For the problems below, let A, B, and C be 2×2 matrices and let O be the 2×2 zero matrix.
2) Which of the following expressions are equivalent to A(B+C)?
Choose all answers that apply:

3) Which of the following expressions are equivalent to I2(AB)?
Choose all answers that apply:

4) Which of the following expressions are equivalent to O(A+B)?
Choose all answers that apply:

Want to join the conversation?