ContentsThe library

Matrices as Maps

Each Column Is a Destination

Last timeSomething That Moves Vectors

The columns of a matrix are the places the axes land, which turns reading a matrix into looking at a short list of destinations and writing one into a design decision.

The last lesson ended with a formula showing that a linear map is completely

determined by where it sends the axes. This lesson collects the consequence,

which is the single most useful habit in the subject.

Take the simplest possible input: a one in the first slot and zeros everywhere

else. Running it through the combination formula, every term with a zero

coefficient vanishes and one term survives. The output is wherever the first axis

went. Do the same with a one in the second slot and you get the second

destination.

Those destinations are the columns. That is what the grid is: a list of

destinations, written vertically and set side by side.

FIG 1Multiplication read the useful way
the output, a combination of the columns with the input coordinates as weights
the first column, which is where the first axis lands
a coordinate of the input, acting as the amount of that column to use
the last column, one per axis and no more
Ingredients and amounts. The columns are the ingredients, fixed by the matrix; the input coordinates are the amounts, which change with every vector you feed in. Every output the map can possibly produce is some mixture of these few columns, which already tells you that the reachable outputs form a limited set. The fourth lesson gives that set a name.

Writing a map down on purpose

The column reading turns matrix construction from memorisation into a short

decision. Decide where each axis should go, write those down as columns, and the

matrix is finished.

FIG 2Four maps on the plane, by their destinations
first column, x partfirst column, y partsecond column, x partsecond column, y part
stretch x by two, y by t2003
quarter turn anticlockwi01-10
shear, leaning x to the 1011
flatten everything onto 1000
Read each row as two destinations. The quarter turn sends the first axis straight up, which is the marked entry, and sends the second axis to point backwards along the first. The shear leaves the first axis alone and tips the second one sideways. The flattening sends the second axis to nothing at all, which is the first appearance in this course of a map that destroys information.
FIG 3Building a reflection from intent
stepstepdecisionresult so far
1name the mapreflect the plane in the line at forty fnothing written yet
2send the first axisthe x axis reflects onto the y axisfirst column is zero then one
3send the second axisthe y axis reflects onto the x axissecond column is one then zero
4write it downset the two destinations side by sidethe matrix that swaps the two coordinate
5check itapply it twice and see that everything rreflecting twice is doing nothing, as it
5 steps
Five seconds of thought and the matrix is written, with no formula recalled and no sign errors to make. The final row is worth keeping as a habit: a map built from intent can usually be checked by applying it to one vector whose destination you already know.

The same method scales to any number of dimensions and to maps that have no

name. A map that keeps the first three coordinates of a long embedding and

discards the rest has columns that are the first three axes of the output space

followed by a great many zero columns, and writing that down takes no thought at

all once the rule is in hand. A map that averages two features into one has a

column of one half in both of the relevant places. In each case the description

in words translates directly into a list of destinations, with no formula to

recall and nothing to get backwards.

The lesson stops here

4 more paragraphs to go

You have read the opening. The rest of the argument, the problems that check whether it landed, and the lines worth keeping at the end all come with a plan.

The first lesson of every course in the library reads the whole way through, free, so you can see exactly what the rest of them are.

See the planThe contents

This is the reading half

Starting the course gives you your own copy of it. Every idea on every page has problems standing under it, marked with a reason rather than a tick, and any sentence you do not believe can be opened and argued with. None of that can happen on a page nobody owns.

The contents

The rest of this course

  1. 01Not a Grid, a Verb
  2. 02Each Column Is a Destinationyou are here
  3. 03Why the Multiplication Rule Looks Like Thatopening only
  4. 04The Shadow and the Thingopening only
  5. 05Undo, If You Canopening only
  6. 06The Directions That Only Stretchopening only
  7. 07Every Map Is a Rotation, a Stretch and a Rotationopening only
  8. 08When You Cannot Hit the Targetopening only

Read alongside