Form the transpose
A plain-language explanation of the transpose of a matrix. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.
Transposing exchanges rows and columns. Entry of is entry of:
So, which is, transposes to
which is. The first row of is now the first column of.
Flipping a picture across the diagonal only makes sense when you can see the picture. The index rule works for any shape and is what every proof uses. It also explains, in one line, why transposing twice changes nothing:
so.
And it settles the shape question without any thought about pictures: the entry of exists only when and, so the transpose's row index runs to and its column index to.
Write the rows of down the columns of:
Two checks, both cheap and both worth doing every time:
Shape. was, so must be. It is. One entry., and indeed row 2, column 3 of holds.
The entry counts are equal too — six in each — which is a weaker check than the shape but catches a dropped or duplicated entry.
- Apply (A^T)_ij = A_ji entry by entry
- Predict the shape of a transpose before computing it
- Explain why transposing twice returns the original matrix
.
(a) What is the shape of? (b) What is? (c) Is the same shape as?
Answers
(a) is, so is.
(b). Row 2 of is, so does not exist — has only two columns, so column 3 is out of range. The question has no answer, and recognising that is the point: an index pair outside the shape is not a small error, it is no entry at all.
(c) No. is and is. They are both symmetric and both are perfectly well defined; they are simply different sizes, which is the reason " is not an identity for rectangular matrices.