Matrix multiplication
First taught in Algebra 2
Definition
Matrix multiplication combines two matrices by multiplying each row of the first by each column of the second and adding the products.
Advertisement
Example:
The top-left entry uses row 1 of the first matrix and column 1 of the second: .
Size rule: an matrix times an matrix gives an matrix. The inner numbers must match.
- works and gives .
- does not work.
Order matters: usually . Try swapping the matrices above: you get .
Multiplying by a number (scalar multiplication) is simpler: multiply every entry. .
The identity matrix leaves any matrix unchanged: .