Linear Algebra

Lesson 2 of 11

Matrices as Transformations

Matrix-vector multiplication as a linear map: rotations, scalings, projections, and composition.

A matrix is a function

Stop thinking of a matrix as a grid of numbers; think of it as a function that moves vectors: x↦Ax\mathbf{x} \mapsto A\mathbf{x}. The columns of AA tell you everything: they are the images of the basis vectors. If Ae1=col1A\mathbf{e}_1 = \text{col}_1 and Ae2=col2A\mathbf{e}_2 = \text{col}_2, linearity determines where every other vector goes.

To rotate the plane 90° counterclockwise: e1=(1,0)↦(0,1)\mathbf{e}_1 = (1,0) \mapsto (0,1) and e2=(0,1)↦(−1,0)\mathbf{e}_2 = (0,1) \mapsto (-1,0), so

R=(0−110)R = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}