IOAI ML Notes Mathematics FundamentalsLinear Algebra

Matrix Operations

Math fundamentals note for IOAI ML preparation.

Syllabus Map


Core Idea

Key Formulas

If ARm×nA\in\mathbb{R}^{m\times n} and BRn×pB\in\mathbb{R}^{n\times p}, then:

ABRm×p,(AB)ij=k=1nAikBkjAB\in\mathbb{R}^{m\times p},\quad (AB)_{ij}=\sum_{k=1}^n A_{ik}B_{kj} (AB)=BA(AB)^\top = B^\top A^\top

Practical Notes

Check matrix shapes before multiplication.

Matrix multiplication is not commutative.

Why This Matters for ML

← Back to Blog