Q:

Is matrix multiplication comutative?

Accepted Solution

A:
Answer:Matrix multiplication is not conmutativeStep-by-step explanation:The matrix multiplication can be performed if the number of columns of the first matrix is equal to the number of rows of the second matrixLet A with dimension mxn and B with dimension nxp represent two matrixThe multiplication of A by B is a matrix C with dimension mxp, but the multiplication of B by A is can't be calculated because the number of columns of B is not the number of rows of A. Therefore, you can notice that is not conmutative in general.But even if the multiplication of AB and BA is defined (For example if A and B are squared matrix of 2x2) the multiplication is not necessary conmutative. The matrix multiplication result is a matrix which entries are given by dot product of the corresponding row of the first matrix and the corresponding column of the second matrix:[tex]A=\left[\begin{array}{ccc}a11&a12\\a21&a22\end{array}\right]\\B= \left[\begin{array}{ccc}b11&b12\\b21&b22\end{array}\right]\\AB = \left[\begin{array}{ccc}a11b11+a12b21&a11b12+a12b22\\a21b11+a22b21&a21b12+a22b22\end{array}\right]\\\\BA=\left[\begin{array}{ccc}b11a11+b12a21&b11a12+b12a22\\b21a11+b22ba21&b21a12+b22a22\end{array}\right][/tex]Notice that in general, the result is not the same. It could be the same for very specific values of the elements of each matrix.