Worked example
Operation: Multiply a: 1 2 3 4 b: 1 0 0 1
c₁₁ = 1 × 1 + 2 × 0 = 1 c₁₂ = 1 × 0 + 2 × 1 = 2 A × I = A
→ [[1,2],[3,4]]
Method and scope
Addition and subtraction require equal dimensions. Multiplication requires columns(A)=rows(B) and computes row–column dot products, not elementwise products. Scalar multiplication uses one number.
(AB)ᵢⱼ = Σₖ AᵢₖBₖⱼ