Definition: The product of an $m \times n$ matrix $A$ and an $n \times p$ matrix $B$ is the $m \times p$ matrix $C = AB$ defined by:
$$c_{ij} = \sum_{k=1}^{n} a_{ik} b_{kj}$$
The entry $c_{ij}$ is the dot product of row $i$ of $A$ with column $j$ of $B$.
Example:
$$\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix} = \begin{pmatrix} 19 & 22 \\ 43 & 50 \end{pmatrix}$$
Properties:
- Associative: $(AB)C = A(BC)$
- Distributive: $A(B + C) = AB + AC$
- Identity: $AI = IA = A$
- NOT commutative: In general, $AB \neq BA$
Important notes:
- Requires the number of columns of $A$ to equal the number of rows of $B$
- $(AB)^T = B^T A^T$
- $\det(AB) = \det(A)\det(B)$ for square matrices
Parents
Children
- Definition of matrix multiplication in terms of column vectorsIf $B=[b 1\ \cdots\ b p]$ and $A$ has as many columns as $B$ has rows, define $AB=[Ab 1\ \cdots\ Ab p]$. Thus each...
- Definition of matrix multiplicationFor $A\in\mathbb F^{m\times n}$ and $B\in\mathbb F^{n\times p}$, the product $AB\in\mathbb F^{m\times p}$ has entries...
- Theorem describing matrix multiplicationThree equivalent formulas describe matrix multiplication: $(AB) {ij}=\sum k a {ik}b {kj}$; the $j$th column is $Ab...
- Any matrix times the 0 matrix equals the 0 matrix.For compatible shapes, $A0=0$ and $0A=0$. Every product entry is a sum of scalar products containing a zero factor....
- Example of multiplying 2x2 matricesFor $A=\begin{bmatrix}1&2\\0&1\end{bmatrix}$ and $B=\begin{bmatrix}3&1\\2&0\end{bmatrix}$,...
- Example of multiplying 3x3 matricesLet $A=\operatorname{diag}(2,3,4)$ and $B=\begin{bmatrix}1&2&0\\0&1&1\\1&0&1\end{bmatrix}$. Then...
- Example of multiplying nonsquare matricesTake $A=\begin{bmatrix}1&2&0\\-1&0&3\end{bmatrix}$ and $B=\begin{bmatrix}2\\1\\4\end{bmatrix}$. Their shapes are...
- Example of multiplying matricesOuter products are useful nonsquare products:...
- Matrix multiplication is associative.For compatible matrices, $(AB)C=A(BC)$. Expand the $ij$ entry of either side to obtain the same finite double sum...
- Matrix multiplication is distributive over matrix addition.For compatible shapes, $A(B+C)=AB+AC$ and $(A+B)C=AC+BC$. The identities follow by distributing inside the entrywise...
- The identity matrix is the identity for matrix multiplication.For $A\in\mathbb F^{m\times n}$, $I mA=A=AI n$. The identity matrix has ones on the diagonal and zeros elsewhere, so...
- Matrix multiplication is not commutative in general.Matrix multiplication is generally not commutative. Let $A=\begin{bmatrix}1&1\\0&1\end{bmatrix}$ and...
- Matrix cancellation requires an invertibility or rank hypothesisMatrix cancellation requires hypotheses. If $A$ is invertible and $AB=AC$, multiply on the left by $A^{-1}$ to obtain...
- Matrix multiplication can be viewed as the dot product of a row vector of column vectors with a column vector of row vectorsWrite $A=[a 1\ \cdots\ a n]$ by columns and write $B$ by rows $r 1,\ldots,r n$. Then $AB=\sum {k=1}^n a kr k$, a sum...
No children match.
Like how this is organised?
Build your own knowledge tree on knowen.md: notes, decisions and tasks in one connected markdown graph, shared with your team and your AI agents.

