Question Video: Possibility of Commutativity in Matrix Multiplication | Nagwa Question Video: Possibility of Commutativity in Matrix Multiplication | Nagwa

Question Video: Possibility of Commutativity in Matrix Multiplication Mathematics

State whether the following statement is true or false: If 𝐴 and 𝐡 are both 2 Γ— 2 matrices, then 𝐴𝐡 is never the same as 𝐡𝐴.

03:47

Video Transcript

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 𝐡𝐴.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

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