Transposes, Covectors, and Duality


Transposes, Covectors, and Duality

Maria
When people first meet matrix transpose, it sounds like a simple instruction: swap rows and columns. But there’s a deeper idea underneath. A transpose takes a way of measuring vectors in the output space and turns it into a way of measuring vectors in the input space.

Simon
So before we talk about matrices, we need to talk about the things doing the measuring. Those are called covectors. You may also hear the terms dual vectors or 1-forms, but we’ll use “covectors.”

Maria
A covector is a linear measuring device: it takes a vector as input and returns a number. Linearity means that if it measures two vectors as a and b, then it measures their sum as a plus b. And if you scale a vector by some number, its measurement scales by that same number.

Simon
Now imagine a linear transformation alpha that sends a vector v in one space to a vector w in another. The spaces don’t even have to have the same dimension. If we want to measure w, one option is to transform v into w and then measure it in the output space.

Maria
But there’s another option: bring the measuring device back to the input space, then measure v directly. The transpose, alpha transpose, is the operation that moves the measuring device back in just the right way, so the answer is unchanged.

Simon
The scale analogy makes that feel concrete. Suppose you need to weigh yourself, but the scale is at your neighbour’s house. You could go there and use it, or your neighbour could lend you the scale so you can weigh yourself at home. Moving yourself to the scale is like alpha; moving the scale back to you is like alpha transpose.

Maria
And this explains the familiar matrix rule. A matrix is a compact summary of a linear transformation. In two dimensions, its first column tells you where the vector (1,0) goes, and its second column tells you where (0,1) goes.

Simon
Then linearity tells you where every other vector goes. Since (x,y) is x times (1,0) plus y times (0,1), its image is x times the first column plus y times the second. The columns contain enough information to determine the whole map.

Maria
So if a matrix A summarizes alpha, the matrix A transpose summarizes alpha transpose. It turns out that these two summary matrices are related by swapping rows and columns. That familiar rule is a consequence of the deeper operation on measuring devices.

Simon
Let’s make covectors visible. In two dimensions, a covector is determined by what it measures on (1,0) and (0,1). If those measurements are a and b, we call it the (a,b)-covector.

Maria
Because (x,y) equals x times (1,0) plus y times (0,1), the (a,b)-covector measures (x,y) as xa plus yb. You could graph that as a three-dimensional plane whose height is the measurement, but there’s a visualization that will also work in three dimensions.

Simon
Instead, draw level sets: all the points that receive the same measurement. For a (2,3)-covector, the points measured as c satisfy 2x plus 3y equals c. That’s a line. Draw one for each integer c, and you get a family of parallel lines.

Maria
Each line has a label: the value c that the covector measures there. The lines are parallel because they represent equal measurements at different levels. Different covectors give families with different directions and different spacing.

Simon
How can we read the covector from the lines? First, the associated vector is perpendicular to them. For example, a family representing the (-1,-0.5)-covector has a perpendicular direction that tells us the direction of its associated vector.

Maria
The spacing tells us its length. If the gap between consecutive level lines is g, the vector’s length is 1 divided by g. Smaller gaps mean more densely packed lines, and therefore a longer associated vector.

Simon
There are two possible directions along that perpendicular, though. To choose between them, look at the labels: the associated vector points toward the positive measurements. So the direction, spacing, and labels together identify the covector.

Maria
In three dimensions, the same picture uses parallel planes instead of parallel lines. The associated vector is perpendicular to the planes, its length is the reciprocal of the gap between them, and it points toward the positive labels.

Simon
Now we can visualize the transpose acting on covectors. Just as a two-dimensional vector transformation can be described by what happens to two basis vectors, a two-dimensional covector transformation can be described by what happens to the (1,0)-covector and the (0,1)-covector.

Maria
Those two covectors become the columns of the matrix representing the covector transformation: the first column records the image of (1,0), and the second records the image of (0,1). Let’s use a right shear to see what this means.

Simon
A right shear sends (1,0) to itself and sends (0,1) to (1,1). So its matrix is [[1,1],[0,1]]. The transpose’s job is to take a covector that measures the sheared vectors and find the covector that measures the original vectors in exactly the same way.

Maria
Start with the (1,0)-covector, whose level lines show the first coordinate. After the right shear, the two basis vectors both have first coordinate 1, so their tips lie on the same level line. To preserve those measurements while bringing the basis vectors back to their original positions, the covector’s level lines have to shift with them.

Simon
For the (0,1)-covector, the sheared basis vectors have different second coordinates. The level line through each tip records that vector’s measurement. When the vectors return to their original positions, those measurements must stay the same, so the covector lines adjust accordingly.

Maria
Taken together, the picture can look like a left shear. But be careful: those gridlines are not ordinary markings on space. They represent covectors, and the apparent left shear is a transformation of those measuring devices.

Simon
Reading off what happens to the two covectors gives the matrix [[1,0],[1,1]]: the (1,0)-covector becomes (1,1), while the (0,1)-covector stays put. That is precisely the transpose of the original right-shear matrix.

Maria
So a transpose can look like an inverse in the picture, but that visual impression has to be interpreted correctly: we are moving the level lines as covectors, not simply applying an inverse transformation to ordinary vectors.

Simon
A diagonal example makes the relationship clear in another way. For the matrix with diagonal entries 3 and 2, the first basis vector is stretched by 3 and the second by 2. When we bring the covector level lines back to account for that stretching, their gaps shrink by those factors.

Maria
Because the associated vector length is the reciprocal of the gap, the corresponding covectors have components (3,0) and (0,2). The transpose matrix is unchanged, which fits the fact that a diagonal matrix equals its own transpose.

Simon
For a rotation, the basis vectors rotate anticlockwise by 60 degrees. To bring them back in the covector picture, the level-line families rotate clockwise by 60 degrees. Their spacing doesn’t change, so the associated vectors rotate clockwise by the same amount without changing length.

Maria
In this rotation example, the transpose really does act like the inverse rotation. In matrix language, A transpose equals A inverse. Matrices with that property are called orthogonal, and rotation matrices are examples.

Simon
There’s a limitation to this visualization when the map is singular—in the technical description here, when its rank is smaller than the dimension of the original space. The inverse-style picture can fail there, though the map can be adjusted slightly to make the visualization work.

Maria
That brings us to an important subtlety. Saying A transpose equals A inverse compares two operations that act on different kinds of things: the transpose acts on covectors, while the inverse acts on vectors. How can we treat them as equal?

Simon
The answer is that we pair vectors with covectors, identifying one kind of object with the other. In our two-dimensional picture, the (a,b)-covector measures (1,0) as a and (0,1) as b, and we associate it with the vector (a,b). Equivalently, we associate it with the perpendicular-to-the-level-lines vector whose length records their density.

Maria
That association works in both directions, so it gives a one-to-one correspondence between vectors and covectors in this setting. With that pairing in place, a covector transformation can be represented as though it were a vector transformation, and vice versa. That is the sense in which we can compare the transpose with the inverse.

Simon
But the pairing is a choice, not a universal fact. For instance, we could associate the (a,b)-covector with (-a,b), or with (a,-b), and still get a one-to-one correspondence. The choice matters because different pairings produce different mathematics.

Maria
The two alternative pairings just mentioned lead to the mathematics of special relativity in one space dimension and one time dimension. Under those pairings, the matrices satisfying the corresponding orthogonality condition are Lorentz transformations.

Simon
In the language of relativity, the metric tensor—usually just called the metric—does the job of turning vectors into covectors. The inverse metric turns covectors back into vectors. So when discussing an identification between the two, it’s important to specify which metric is being used.

Maria
There’s another caveat in infinite-dimensional spaces: there can be far more covectors than vectors, so a one-to-one pairing between all of them may not be possible. To define an orthogonality-like relationship, you may have to restrict attention to a special class of covectors that does correspond to vectors.

Simon
That’s where the related concept of an adjoint becomes important. It’s a central idea in quantum mechanics, though understanding all its technical details would take us beyond today’s discussion.

Maria
So the big picture is that transpose is not fundamentally about rearranging matrix entries. It pulls a measurement on the output space back to a measurement on the input space while preserving the result.

Simon
And the level-line picture lets us see those measurements as families of parallel lines or planes. It helps explain why transposes can look like inverses, why rotations give A transpose equal to A inverse, and why that comparison depends on how vectors and covectors are paired.

Ask anything
We've read this whole study set, so questions about it get the best answers.