Lesson Video: Properties of Matrix Multiplication Mathematics • 10th Grade

In this video, we will learn how to identify the properties of matrix multiplication, including the transpose of the product of two matrices, and how they compare with the properties of number multiplication.

17:25

Video Transcript

In this video, we will learn how to identify the properties of the multiplication of matrices and compare them to the properties of multiplication of numbers. We will begin by recalling how we multiply two matrices and define the properties they must have for us to be able to do so.

We can only multiply two matrices if the number of columns in the first matrix is equal to the number of rows in the second matrix, for example, a three-by-two matrix and a two-by-five matrix. There are two columns in the first matrix and two rows in the second. The resultant matrix will have three rows and five columns. This is the number of rows of the first matrix and the number of columns of the second.

In general, we can multiply an π‘š-by-𝑛 matrix with an 𝑛-by-𝑝 matrix, which results in an π‘š-by-𝑝 matrix. This can be demonstrated as shown. Matrix 𝐴 has elements from π‘Ž one one to π‘Ž π‘šπ‘›, and matrix 𝐡 has elements from 𝑏 one one to 𝑏 𝑛𝑝. Multiplying matrix 𝐴 by matrix 𝐡 gives us matrix 𝐢, with elements from 𝑐 one one to 𝑐 π‘šπ‘. Each of the elements in matrix 𝐢 can be calculated using the following formula. The general term 𝑐 𝑖𝑗 is equal to the sum from π‘˜ equals one to π‘˜ equals 𝑛 of π‘Ž π‘–π‘˜ multiplied by 𝑏 π‘˜π‘—, where π‘Ž π‘–π‘˜ and 𝑏 π‘˜π‘— are the general terms in the matrix 𝐴 and 𝐡. This is equal to the sum of π‘Ž 𝑖 one multiplied by 𝑏 one 𝑗 and so on up to π‘Ž 𝑖𝑛 multiplied by 𝑏 𝑛𝑗.

We will now consider how this works in a practical example.

Given that matrix 𝐴 is equal to negative four, two, two, negative four and matrix 𝐡 is equal to negative three, negative three, negative one, one, find 𝐴𝐡 and 𝐡𝐴.

We recall that we can only multiply two matrices if the number of columns of the first matrix is equal to the number of rows in the second matrix. As both of our matrices are two by two, this will hold for 𝐴𝐡 and 𝐡𝐴. Let’s begin by multiplying matrix 𝐴 by matrix 𝐡. When multiplying two matrices, we multiply the elements of each row in the first matrix by the elements of each column in the second matrix.

The first element in matrix 𝐴𝐡 will be equal to negative four multiplied by negative three plus two multiplied by negative one. This is equal to 10, as negative four multiplied by negative three is 12 and two multiplied by negative one is negative two. The top-right element in matrix 𝐴𝐡 will be equal to negative four multiplied by negative three plus two multiplied by one. This is equal to 14.

We now repeat this process by multiplying the numbers in the second row of matrix 𝐴 by the columns in matrix 𝐡. Two multiplied by negative three plus negative four multiplied by negative one is equal to negative two. And two multiplied by negative three plus negative four multiplied by one is equal to negative 10. The matrix 𝐴𝐡 is equal to 10, 14, negative two, negative 10.

We now need to repeat this process for matrix 𝐡𝐴. Negative three multiplied by negative four plus negative three multiplied by two is equal to six. Repeating this for the other rows and columns gives us values of six, six, and negative six. Matrix 𝐡𝐴 is therefore equal to six, six, six, negative six.

We notice that matrix 𝐴𝐡 is not equal to matrix 𝐡𝐴. This leads us to a general rule when dealing with the multiplication of matrices. As 𝐴𝐡 is not equal to 𝐡𝐴, matrix multiplication is not commutative. This is different to the multiplication of numbers, as multiplying any two numbers is commutative.

In our next question, we will look at a specific example when 𝐴𝐡 is equal to 𝐡𝐴.

State whether the following statement is true or false. If 𝐴 and 𝐡 are both two-by-two matrices, then 𝐴𝐡 is never the same as 𝐡𝐴.

In order to prove that a statement is false, we simply need to find one example where the statement is not true. We are told that both of our matrices are two by two. And we will let the elements of matrix 𝐴 be π‘Ž, 𝑏, 𝑐, 𝑑. Whilst we could let the elements of matrix 𝐡 have any values, in this case, we will let matrix 𝐡 be the identity matrix: one, zero, zero, one. We know that the identity matrix has ones on its leading diagonal and zeros everywhere else.

To calculate matrix 𝐴𝐡, we need to multiply π‘Ž, 𝑏, 𝑐, 𝑑 by one, zero, zero, one. When multiplying matrices, we multiply the elements of each row in the first matrix by each column in the second matrix. π‘Ž multiplied by one is equal to π‘Ž, and 𝑏 multiplied by zero is zero. Therefore, the first element in the matrix 𝐴𝐡 is π‘Ž. Repeating this for the other rows and columns, we get the elements 𝑏, 𝑐, and 𝑑. Matrix 𝐴𝐡 is equal to π‘Ž, 𝑏, 𝑐, 𝑑, which is equal to matrix 𝐴.

We will now repeat this method when multiplying matrix 𝐡, the identity matrix, by matrix 𝐴. Once again, this gives us the elements π‘Ž, 𝑏, 𝑐, 𝑑. We have therefore found an example where the matrix 𝐴𝐡 is the same as the matrix 𝐡𝐴. This leads us to a general rule. When we multiply any matrix by the identity matrix, it is the same as multiplying the identity matrix by this matrix. In both cases, the original matrix remains the same. 𝐴𝐼 is equal to 𝐼𝐴, which is equal to the matrix 𝐴.

We can actually go one stage further when looking at the commutative property of matrices. We will now let matrix 𝐡 have the elements 𝑒, 𝑓, 𝑔, β„Ž. Multiplying the matrices 𝐴𝐡 and 𝐡𝐴, we get the following two-by-two matrices. At first glance, matrix 𝐴𝐡 and 𝐡𝐴 appear to have nothing in common. However, we do notice that the top-left element contains π‘Žπ‘’ or π‘’π‘Ž and the bottom-right element contains π‘‘β„Ž or β„Žπ‘‘. The elements π‘Ž, 𝑑, 𝑒, and β„Ž are the elements on the leading diagonals of matrices 𝐴 and 𝐡, respectively. We can see that if all the other products were equal to zero, the two matrices would be the same.

Let’s consider what happens if 𝑏, 𝑐, 𝑓, and 𝑔 are all equal to zero. Matrices 𝐴𝐡 and 𝐡𝐴 are both equal to π‘Žπ‘’, zero, zero, π‘‘β„Ž. This is an example of a diagonal matrix, as all the elements apart from those on the leading diagonal are equal to zero. This leads us to another general rule of matrix multiplication. If 𝐴 and 𝐡 are both diagonal matrices, then the two matrices are commutative. 𝐴𝐡 is equal to 𝐡𝐴.

In our next question, we will demonstrate how we can distribute matrix multiplication over addition.

Given three matrices 𝐴, 𝐡, and 𝐢, which of the following is equal to 𝐴 multiplied by 𝐡 plus 𝐢? Is it (A) 𝐴𝐡 plus 𝐢, (B) 𝐴𝐡 plus 𝐴𝐢, (C) 𝐡𝐴 plus 𝐢𝐴, (D) 𝐡𝐴 plus 𝐢, or (E) 𝐡 plus 𝐴𝐢?

In order to answer this question, we need to use the distributive property of matrices. We can distribute matrices in a similar way to how we distribute real numbers. Multiplying matrix 𝐴 by matrix 𝐡 plus 𝐢 is equal to matrix 𝐴𝐡 plus matrix 𝐴𝐢. It is important to note though that if the parentheses came first, we were multiplying 𝐡 plus 𝐢 by 𝐴, then our answer would be 𝐡𝐴 plus 𝐢𝐴. If the matrix 𝐴 is distributed from the left side, we must ensure that the product in the resulting sum has 𝐴 on the left. In the same way, if matrix 𝐴 is distributed from the right side, each product in the resulting sum must have 𝐴 on the right. We can therefore see that the correct answer is option (B). 𝐴 multiplied by 𝐡 plus 𝐢 is equal to 𝐴𝐡 plus 𝐴𝐢.

It is important to remember that when performing matrix addition and matrix multiplication, the order of each matrix is key. In order to add matrix 𝐡 and 𝐢, they must have the same order. To perform matrix multiplication, the number of columns in matrix 𝐴 must be equal to the number of rows in matrix 𝐡 and 𝐢.

Our final question will include an application of the distributive property.

Suppose matrix 𝐴 is equal to one, negative three, negative four, two; matrix 𝐡 is equal to two, zero, one, negative one; and matrix 𝐢 is equal to zero, one, negative three, zero. There are four parts to this question. Find matrix 𝐴𝐡. Find matrix 𝐴𝐢. Find 𝐴 multiplied by two 𝐡 plus seven 𝐢. And express 𝐴 multiplied by two 𝐡 plus seven 𝐢 in terms of 𝐴𝐡 and 𝐴𝐢.

In order to multiply matrix 𝐴 by matrix 𝐡, we need to multiply all of the elements in the rows of matrix 𝐴 by the columns of matrix 𝐡. One multiplied by two plus negative three multiplied by one is equal to negative one. Repeating this for the other rows and columns gives us the elements three, negative six, and negative two. Matrix 𝐴𝐡 is equal to negative one, three, negative six, negative two.

To work out matrix 𝐴𝐢, we multiply one, negative three, negative four, two by zero, one, negative three, zero. This gives us the elements nine, one, negative six, and negative four. This is the matrix 𝐴𝐢.

In the third part of our question, we begin by multiplying matrix 𝐡 by the scalar or constant two and matrix 𝐢 by the scalar seven. When multiplying a matrix by a scalar, we simply multiply each of the elements by that scalar. This means that two 𝐡 is equal to four, zero, two, negative two. In the same way, seven 𝐢 is equal to zero, seven, negative 21, zero.

Next, we need to add these two matrices. We do this by adding the elements in corresponding positions in each matrix. Four plus zero is equal to four. Repeating this for the other elements gives us the matrix four, seven, negative 19, negative two.

Finally, we need to multiply this matrix by matrix 𝐴. The order here is important. We must multiply matrix 𝐴 by the matrix four, seven, negative 19, negative two. This gives us the elements 61, 13, negative 54, and negative 32. 𝐴 multiplied by two 𝐡 plus seven 𝐢 is equal to 61, 13, negative 54, negative 32.

In the final part of this question, we can use the distributive property of matrix multiplication. We can multiply matrix 𝐴 by two 𝐡 and then add matrix 𝐴 multiplied by seven 𝐢. This gives us one, negative three, negative four, two multiplied by four, zero, two, negative two plus one, negative three, negative four, two multiplied by zero, seven, negative 21, zero. The first product gives us negative two, six, negative 12, negative four. The second product gives us 63, seven, negative 42, negative 28.

We might be tempted to simply add these matrices. However, we were asked to give our answer in terms of 𝐴𝐡 and 𝐴𝐢. We notice that our first matrix negative two, six, negative 12, negative four is two times matrix 𝐴𝐡. We also notice that the second matrix 63, seven, negative 42, negative 28 is seven times matrix 𝐴𝐢. This means that matrix 𝐴 multiplied by two 𝐡 plus seven 𝐢 is equal to two multiplied by matrix 𝐴𝐡 plus seven multiplied by matrix 𝐴𝐢.

We will now summarize the key points from this video. We saw in our first example that matrix multiplication is generally not commutative. Matrix 𝐴𝐡 is not equal to matrix 𝐡𝐴. There were a couple of exceptions to this though. Multiplying a matrix by the identity matrix gives the original matrix. This can be done in either order. 𝐴 multiplied by 𝐼 is equal to 𝐼 multiplied by 𝐴, which is equal to matrix 𝐴.

We also saw that if 𝐴 and 𝐡 are both diagonal matrices with the same order, then 𝐴𝐡 is equal to 𝐡𝐴. Two diagonal matrices of the same order are commutative. We also saw that matrix multiplication is distributive with respect to matrix addition. That is, 𝐴 multiplied by 𝐡 plus 𝐢 is equal to 𝐴𝐡 plus 𝐴𝐢. It is important to note here that as matrix 𝐴 is in front of the parentheses, it will be the first matrix in each of the products. This is not the same as matrix 𝐡𝐴 plus matrix 𝐢𝐴.

The order of each matrix is also important. To perform matrix addition, both matrices must have the same order. In order to perform matrix multiplication, the number of columns of the first matrix must be equal to the number of rows in the second matrix. If the orders don’t have these properties, then the matrix addition and matrix multiplication cannot be defined. These properties have some similarities and some differences between the properties of multiplication of numbers.

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.