Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Linear Algebra / Matrices as transformations

Matrices and Multiplication

A matrix is a function on vectors. Multiplying matrices composes those functions, which explains every rule of matrix arithmetic.

3 min read · 2 sections · 2 checks

Contents 3 sections
  1. §1Columns tell you everything
  2. §2Composition
  3. ?Check yourself

By the end you can

  • Multiply a matrix by a vector as a combination of its columns
  • Multiply matrices and explain why order matters
  • Compute inverses of 2×2 matrices

Helps to know: Vectors, Combinations and Span

§1Columns tell you everything

The product AxA\mathbf{x} is the combination of the columns of AA weighted by the entries of x\mathbf{x}:

(abcd)(xy)=x(ac)+y(bd)\begin{pmatrix} a & b \\ c & d \end{pmatrix}\begin{pmatrix} x \\ y \end{pmatrix} = x\begin{pmatrix} a \\ c \end{pmatrix} + y\begin{pmatrix} b \\ d \end{pmatrix}

So the first column is where e1=(1,0)\mathbf{e}_1 = (1, 0) lands and the second is where e2=(0,1)\mathbf{e}_2 = (0, 1) lands. Knowing where the basis vectors go determines the whole transformation.

Preparing the instrument…
Fig. 1 Edit the matrix entries: the red and blue arrows are the columns, and the whole grid follows them.

§2Composition

The product ABAB means “apply BB, then AA”. Rotating then shearing is usually different from shearing then rotating, so in general AB≠BAAB \ne BA.

Check yourself

  1. Q1
    The matrix (0−110)\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix} sends (1,0)(1, 0) to…
  2. Q2
    For square matrices, is AB=BAAB = BA always true?