Matrix multiplication
Matrix multiplication involves combining two matrices to produce a third matrix. Not every pair of matrices can be multiplied together.
Rule for multiplication
Two matrices are multipliable if the number of columns,
In other words, we can multiply any two matrices having equal inner dimensions, and the result would be a new matrix with an order equaling the outer dimensions:
Matrix multiplication through dot product
The simplest way to understand matrix multiplication is through dot product. The dot product of two vectors is simply the sum of the products of corresponding elements. Consider the vectors
The same dot product can be used to represent matrix multiplication. Consider the matrices
Below is an example of matrix multiplication where
Properties of matrix multiplication
The commutative property doesn’t always hold:
Consider:
The cancellation property doesn’t always hold:
doesn’t imply that Consider:
Matrix multiplication is associative:
Multiplication is distributive over addition:
The identity matrix
is the multiplicative identity of matrices:
Free Resources