Answers · The mathematics underneath
Why do the columns of a matrix tell you where the basis vectors go?
In shortA matrix lists where each coordinate axis lands, one destination per column, because feeding in a single axis picks out exactly that column.
The columns are where the axes land because a matrix acts on a vector by mixing its columns, and a basis vector asks for one column with amount one and all the others with amount zero. In symbols, the -th column of is , where is the vector with a 1 in position and 0 elsewhere.
One column, one axis
Take . Its coordinates are and all other , so the mixture above collapses: every term with a zero amount disappears and the survivor is . That is the whole reason the columns are destinations. The first column is where the first axis goes, the second column is where the second axis goes, and the same sentence continues for as many input axes as there are columns.
Let . Its first column is and its second column is . By hand, has first coordinate and second coordinate , while has first coordinate and second coordinate .
For a general input , the same arithmetic gives . Written as a mixture, that is . The input coordinates are amounts, not instructions to walk the rows. If and , the output is ; the row arithmetic gives first coordinate and second coordinate .
Construction is the same statement in reverse. If a map is meant to send the first axis to and the second to , those two vectors are the columns, so the matrix is . Feed in and the mixture has only the first column; feed in and it has only the second. The rows of that matrix, and , are then the recipes for the two output coordinates: first , second .
Why the row reading misleads
Reading a matrix row by row is not false. The first row pairs with to manufacture the first output coordinate: . The second row manufactures . But a row is not a destination. If you read rows only, the image of is split across two rows, 2 in the first and 1 in the second, and you have to know to gather those entries down a column before you see the point . The natural guess is that a matrix stores a set of rules about output coordinates, so the rows look primary; the better description is that it stores a short list of destination vectors, and the rows are what you see when you ask how each output coordinate is assembled.
Shape and other bases
The shape is part of the statement. An by matrix has columns, one for each input axis, and rows, one for each coordinate of a destination, so it maps to . For there are three columns and two rows. Feeding in the third axis gives the third column , so the third axis lands at in the plane. The row count is 2 because destinations live in ; the column count is 3 because there are three input axes.
The statement is about a fixed choice of axes. If you change the input basis, the -th column still records where the -th basis vector goes, but the entries are now coordinates of that destination in the chosen output basis. With a different input basis, column belongs to that basis vector, not to the old . If the map is affine, with a translation added, the columns give only the linear part; the translation is a separate vector. A single matrix cannot represent a non-linear map at all, so the column statement does not apply without qualification.
Worth keeping
- The jth column of a matrix is the image of the jth basis vector.
- Multiplying a matrix by a vector mixes its columns using the vector's entries as amounts.
- Reading by rows gives output coordinates one at a time; reading by columns gives the destinations of the axes.
Where this goes next
This question is one step of Matrices as Maps, a course that works through its subject from the beginning. The page that teaches this part of it is Reading a Matrix Off Its Columns, and it reads the whole way through whether or not you have an account.
What an account changes is the practice: problems standing under every idea, marked with a reason rather than a tick, in a copy of the course that is yours.
Read that pageThe whole courseOther questions people ask about this
- Why do eigenvectors stay in the same direction after a transformation?An eigenvector is defined as a vector that a matrix sends to a scaled copy of itself, so staying on its line is the condition that selects it, not a property of ordinary vectors.
- What's the difference between singular values and eigenvalues?Singular values measure stretching along perpendicular directions and exist for every matrix; eigenvalues measure directions a square matrix leaves on their own line.
- Why doesn't matrix multiplication work like regular multiplication where order doesn't matter?Matrix multiplication means doing one transformation and then another, and reversing that order usually lands a vector somewhere else.
- What does it mean when a matrix doesn't have full rank?A matrix lacks full rank when it cannot reach as many independent directions as its shape allows, so it loses information and cannot be reversed.
- What is the difference between variance and standard deviation?They measure the same spread: variance is the average squared distance from the mean, standard deviation is its square root, so you report the standard deviation and calculate with the variance.
- How do you make a vague claim precise enough to tell whether it's true?Fix what is being talked about, what is asserted, which cases are covered and the cut-off, then name an observation that would prove it false.