Let natural number . For indices , the transposition matrix in is given by
with all for all .
Remark. Notice how any transposition matrix can be formed by taking the square 8.6 Identity Matrix and swapping row with row . Likewise, this can also be done by swapping columns because the identity matrix is symmetric. Transposition matrices are an example of rank-two updates because there are two linearly dependent vectors.
Transposition Matrix
Let's consider the transposition matrix in the case.
We can compute the shear matrix using our definition from above.
Remark. These types of matrices are part of a bigger group of matrices known as permutation matrices.