Is matrix multiplication commutative?
Step 1: Assigning two matrices for multiplication
The commutative property of multiplication is defined as
Let there be two matrices and such that
Now, multiplication of and is possible only if the number of columns of is equal to the number of rows of . In the above case, this condition is satisfied.
Step 2: Calculating
Step 3: Calculating
Therefore, we can say that matrix multiplication is not commutative in general.
Step 4: Finding with one of the matrices as an identity matrix
Hence, it is clearly understood that for a matrix multiplication to be commutative, one of the matrices should be either an identity matrix or zero matrix.
In general, matrix multiplication is not commutative