Courses / Business I
Mathematics I

Matrix Product

Business I 239 words Free to read

Row Meets Column

Matrix multiplication is the algebra of chained dependencies. It is not entrywise; it works row-by-column.

(AB)ij=kaikbkj(AB)_{ij} = \sum_k a_{ik}b_{kj}

Entry (i,j)(i,j) is the dot product of row ii of AA and column jj of BB: multiply matching components and add them.

Dimension rule: Am×nBn×p=Cm×pA_{m \times n} \cdot B_{n \times p} = C_{m \times p}. Inner dimensions must match and disappear.

ActionRuleResult
Inner Check(m×n)(n×p)(m \times \mathbf{n})(\mathbf{n} \times p)Must be equal
Outer Shape(m×n)(n×p)(\mathbf{m} \times n)(n \times \mathbf{p})Final size m×p\mathbf{m \times p}

Tip: Always write dimensions side by side. Ten seconds of checking catches most errors.

A chain links only where the hand-off dimension matches -- and once it

Business Value & Warnings

Why business loves it: If QQ holds units sold and VV holds prices and costs, VQVQ delivers revenue and cost per branch in one stroke.

PropertyStandard AlgebraMatrix Algebra
Commutativeab=baab = baABBAAB \neq BA
Zero Productab=0    a=0ab = 0 \implies a=0AB=0AB = 0 can happen
Cancellationab=ac    b=cab = ac \implies b=cNeeds inverse

The identity matrix II has ones on the diagonal and zeros elsewhere: AI=IA=AAI = IA = A.

Common pitfall: Assuming AB=BAAB = BA. Matrix multiplication chains processes, so order is always critical.

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

13practice questions
2interactive scenes

Mathematics I