Multiply a 2x3 matrix A by a 3x2 matrix B to get a 2x2 result C. The
inner dimension (3) must match. Each of the four output entries uses
three terms in its dot product, and the state panel accumulates them
one at a time until the cell is filled.
Example
Fill each 2x2 result entry from three row-column terms.
highlighted = computed this step
Step 1 — Set up
Start with the given matrix data.
A=[14203−1],B=1200−13,C=[□□□□]
Step 2 — Top-Left entry
Fill top-left entry: 1*1 + 2*2 + 3*0 = 5.
C=[5□□□],1⋅1+2⋅2+3⋅0=5
Step 3 — Top-Right entry
Fill top-right entry: 1*0 + 2*-1 + 3*3 = 7.
C=[5□7□],1⋅0+2⋅−1+3⋅3=7
Step 4 — Bottom-Left entry
Fill bottom-left entry: 4*1 + 0*2 + -1*0 = 4.
C=[547□],4⋅1+0⋅2+−1⋅0=4
Step 5 — Bottom-Right entry
Fill bottom-right entry: 4*0 + 0*-1 + -1*3 = -3.
C=[547-3],4⋅0+0⋅−1+−1⋅3=−3
Step 6 — Result
Read the completed C matrix.
C=[547−3],C complete
inner-dimension matchingFor A (m×p) · B (p×n), the inner dimension p must match. The output is m×n. Here A is 2×3 and B is 3×2, so p=3 and the result is 2×2.
non-square multiplicationMatrix multiplication does not require square matrices. Shapes are determined by the outer dimensions after the inner dimension is consumed.