Skip to content

Matrices and Transformations | IB

A matrix is a rectangular array of numbers arranged in rows and columns. Matrices provide a powerful Framework for solving systems of linear equations, representing geometric transformations, modelling Markov processes, and much more. This topic is central to the IB Mathematics AA course at both SL And HL, with eigenvalues and diagonalisation appearing exclusively at HL.


An m×nm \times n matrix AA is a rectangular array of real numbers with mm rows and nn columns:

A = \begin`\{pmatrix}` a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \cdots & a_`\{mn}` \end`\{pmatrix}`

The entry in row ii and column jj is denoted aija_{ij}. The set of all m×nm \times n real matrices Is written Mm×n(R)\mathcal{M}_{m \times n}(\mathbb{R}).

A column vector in Rn\mathbb{R}^n is an n×1n \times 1 matrix, and a row vector is a 1×n1 \times n Matrix. When the dimensions are equal (m=nm = n), the matrix is called square.

Addition. If A,BMm×n(R)A, B \in \mathcal{M}_{m \times n}(\mathbb{R}) Then A+BA + B is defined Entry-wise:

(A + B)_`\{ij}` = a_`\{ij}` + b_`\{ij}`

Scalar multiplication. For kRk \in \mathbb{R} and AMm×n(R)A \in \mathcal{M}_{m \times n}(\mathbb{R}):

(kA)_`\{ij}` = k \cdot a_`\{ij}`

These operations satisfy the following axioms (making Mm×n(R)\mathcal{M}_{m \times n}(\mathbb{R}) a Vector space over R\mathbb{R}):

  • A+B=B+AA + B = B + A (commutativity)
  • (A+B)+C=A+(B+C)(A + B) + C = A + (B + C) (associativity)
  • A+O=AA + O = AWhere OO is the m×nm \times n zero matrix
  • k(A+B)=kA+kBk(A + B) = kA + kB (distributivity over matrix addition)
  • (k+l)A=kA+lA(k + l)A = kA + lA (distributivity over scalar addition)
  • k(lA)=(kl)Ak(lA) = (kl)A (associativity of scalar multiplication)

If AA is m×pm \times p and BB is p×np \times n Then the product C=ABC = AB is an m×nm \times n matrix Whose entries are:

C_`\{ij}` = \sum_{k=1}^{p} a_`\{ik}` b_`\{kj}`

This is the dot product of the ii-th row of AA with the jj-th column of BB. The inner Dimensions must agree: an m×pm \times p matrix can multiply a p×np \times n matrix, producing an m×nm \times n matrix.

Critical properties:

  • Matrix multiplication is associative: (AB)C=A(BC)(AB)C = A(BC) when the products are defined.
  • Matrix multiplication is distributive over addition: A(B+C)=AB+ACA(B + C) = AB + AC.
  • Matrix multiplication is NOT commutative : ABBAAB \neq BA.
  • The existence of ABAB does not imply the existence of BABA.
  • AB=OAB = O does NOT imply A=OA = O or B=OB = O (there are non-trivial zero divisors).