Mathematics · Ch 3 — Matrices
Multiplication of Matrices
Multiplication of Matrices
The Compatibility Condition
Unlike addition, matrix multiplication does not require the two matrices to have the same order -- but it does require a different kind of match.
Definition. If is a matrix of order and is a matrix of order -- that is, the number of columns of equals the number of rows of -- then the product is defined, and is a matrix of order . If the column-count of does not equal the row-count of , the product is simply not defined.
The Row-by-Column Rule
Each entry of the product is computed by pairing a full row of with a full column of :
In words: to find the entry in row , column of , take row of , take column of , multiply them term by term, and add up the results. Example 5 and Exercise: Matrix Multiplication, Q1 both apply this rule directly for matrices:
The same rule extends to rectangular matrices exactly as stated in the compatibility condition above -- Exercise: Matrix Multiplication, Q3 multiplies a matrix by a matrix to get a product, working through each entry as a sum of three products (since here) rather than two.
Properties That Multiplication Does Satisfy
Although matrix multiplication behaves very differently from ordinary multiplication in some respects (Section 8 covers exactly where it differs), it does satisfy the following, whenever the products involved are defined:
- Associativity: .
- Distributivity over addition: and .
- Compatibility with scalars: for any scalar . …