Alex Loftus
← Back to the lesson

Matrices as transformations and column combinations

The input supplies coefficients for a combination of the matrix's columns.
The input supplies coefficients for a combination of the matrix's columns.

Columns tell you where the axes go

Suppose a matrix has columns uu and vv:

A=[1011]=[u v],u=[11],v=[01].A=\begin{bmatrix}1&0\\1&1\end{bmatrix} =[u\ v],\qquad u=\begin{bmatrix}1\\1\end{bmatrix},\quad v=\begin{bmatrix}0\\1\end{bmatrix}.

Apply it to the first coordinate direction, (1,0)(1,0), and you get uu. Apply it to (0,1)(0,1), and you get vv. The columns record where these two basic directions land.

Build every other output from those two arrows

The input (2,3)(2,3) means two steps along the first direction and three along the second. Linearity sends it to two copies of uu plus three copies of vv:

A[23]=2[11]+3[01]=[25].A\begin{bmatrix}2\\3\end{bmatrix} =2\begin{bmatrix}1\\1\end{bmatrix} +3\begin{bmatrix}0\\1\end{bmatrix} =\begin{bmatrix}2\\5\end{bmatrix}.

This is the column-combination view of matrix multiplication. The input coordinates supply coefficients; the matrix columns supply the arrows to combine.

Connect it to row–column arithmetic

The first output coordinate is 1×2+0×3=21\times2+0\times3=2. The second is 1×2+1×3=51\times2+1\times3=5. We have obtained the same answer by organizing the arithmetic differently.

The geometric view explains the whole transformation. Here the first axis tilts upward while the second stays fixed: the grid shears. A straight line of inputs still maps to a line or a point, and the origin stays at the origin.

Choose the coefficients

Which input returns exactly vv?

Answer: (0,1)(0,1), because 0u+1v=v0u+1v=v. This is why the second column describes the image of the second coordinate direction.