Question Video: Finding the Product of Two Matrices Mathematics

Given that π΄ is the matrix (β4, 2, 2, β4) and π΅ is the matrix (β3, β3, β1, 1), find π΄π΅ and π΅π΄.

04:20

Video Transcript

Given that π΄ is the matrix negative four, two, two, negative four and π΅ is the matrix negative three, negative three, negative one, one, find π΄π΅ and π΅π΄.

First we find π΄π΅. What is π΄π΅? Well itβs the product of the two matrices π΄ and π΅ in that order. So the first step is just to substitute in the values of π΄ and π΅ that were given in the question. π΄ is negative four, two, two, negative four and π΅ is negative three, negative three, negative one, one.

What do we get when we multiply these two matrices? Well the first thing to say is that we get another matrix, in fact another two-by-two matrix, so now we just have to fill in the entries of this matrix.

Weβll start with the first entry of the matrix, which is the entry in the first row and the first column of the matrix. We are in the first row, so we look at the first row of the matrix on the left, π΄. This is the row negative four, two, and this entry that we want to find is in the first column of π΄π΅, so we look at the first column of the matrix on the right, π΅.

The entry of π΄π΅ that weβre looking for is the dot product of the highlighted row with the highlighted column, so that is negative four times negative three plus two times negative one. So thatβs the first entry of the first row of π΄π΅.

Now letβs move on to the second entry of the first row. This entry is in the first row and second column of the matrix π΄π΅. So it is the dot product of the first row of π΄ with the second column of π΅. So it is negative four times negative three plus two times one.

Whatβs the entry in the second row and first column of π΄π΅? Itβs the dot product of the second row of π΄ with the first column of π΅, two times negative three plus negative four times negative one. And finally the entry in the second row and second column of π΄π΅ is the dot product of the second row of π΄ with the second column of π΅.

Now we just need to evaluate the entries. Negative four times negative three plus two times negative one is just 10. Negative four times negative three plus two times one is 14. Two times negative three plus negative four times negative one is negative two. And finally two times negative three plus negative four times one is negative 10.

Now we found π΄π΅. We just have to find π΅π΄. The only difference here is that the matrix π΅ is written before π΄, so we have negative three, negative three, negative one, one times negative four, two, two, negative four.

The entry in the first row and first column of π΅π΄ is the dot product of the first row of π΅ with the first column of π΄. The entry in the first row and second column of π΅π΄ is the dot product of the first row of π΅ with the second column of π΄. The entry in the second row and first column of π΅π΄ is the dot product of the second row of π΅ with the first column of π΄. And finally the entry in the second row and second column of π΅π΄ is the dot product of the second row of π΅ with the second column of π΄.

Evaluating all these entries, we get six, six, six, and negative six, and so our final answer is that π΄π΅ is the matrix 10, 14, negative two, negative 10 and π΅π΄ is the matrix six, six, six, negative six.

Notice that the values of π΄π΅ and π΅π΄ are different. This shows that, unlike the multiplication of natural numbers or real numbers or even complex numbers, matrix multiplication is not commutative. The commutative property does not hold. That isnβt to say that there canβt be two matrices π΄ and π΅ such that π΄π΅ equals π΅π΄; it just says that, in general, we canβt rely on this being true.