Matrix and vector multiplication examples
Example 1
Compute where
Solution:
Example 2
Compute where and is as in Example 1.
Solution: The matrix-vector product is not defined. is and is (viewed as column vector).
Example 3
Compute , where
Solution:
Example 4
Using and as defined in Example 3, calculate .
Solution:
Clearly, one can see that matrix multiplication is not commutative, i.e., . In the case of examples 3 and 4, isn’t even the same size matrix as . In some other cases, might be defined but won’t be defined (for example, when is a matrix and is a matrix). It is even true that when and are square matrices, matrix multiplication is not commutative. You can try yourself and see that if