How to Transpose a Matrix
How to Transpose a Matrix
Matrix transposes are a neat tool for understanding the structure of matrices. Features you might already know about matrices, such as squareness and symmetry, affect the transposition results in obvious ways. Transposition also serves purposes when expressing vectors as matrices, or taking the products of vectors.[1]
X
Research source




If you're dealing with complex matrices, the closely related concept of a conjugate transpose will help you through many problems.
Steps

Transposing a Matrix

Start with any matrix. You can transpose any matrix, regardless of how many rows and columns it has. Square matrices, with an equal number of rows and columns, are most commonly transposed, so we'll use a simple square matrix as an example: matrix A =1 2 34 5 67 8 9

Turn the first row of the matrix into the first column of its transpose. Rewrite row one of the matrix as a column: transpose of matrix A = A first column of A:123

Repeat for the remaining rows. The second row of the original matrix becomes the second column of its transpose. Repeat this pattern until you have turned every row into a column: A =1 4 72 5 83 6 9

Practice on a non-square matrix. The transposition is exactly the same for a non-square matrix. You rewrite the first row as the first column, the second row as the second column, and so forth. Here's an example with color-coding to show you where the elements end up: matrix Z =4 7 2 13 9 8 6 matrix Z =4 37 92 81 6

Express the transposition mathematically. The concept is pretty simple, but it's good to be able to describe it in mathematics. No jargon is required beyond basic matrix notation: If matrix B is an m x n matrix (m rows and n columns), the transposed matrix B is an n x m matrix (n rows and m columns). For each element bxy (xth row, yth column) in B, the matrix B has an equal element at byx (yth row, xth column).

Special Cases

(M = M. The transpose of a transpose is the original matrix. This is pretty intuitive, since all you're doing is switching the rows and columns. If you switch them again, you're back where you started.

Flip square matrices over the main diagonal. In a square matrix, transposition "flips" the matrix over the main diagonal. In other words, the elements in a diagonal line from element a11 to the bottom right corner will remain the same. Each other elements will move across the diagonal and end up at the same distance from the diagonal, on the opposite side. If you can't visualize this, draw a 4x4 matrix on a piece of paper. Now fold is over the main diagonal. See how elements a14 and a41 touch? They trade places in the transpose, as does each other pair that touches when folded.

Transpose a symmetric matrix. A symmetric matrix is symmetric across the main diagonal. If we use the "flip" or "fold" description above, we can immediately see that nothing changes. All the element pairs that trade places were already identical. In fact, this is the standard way to define a symmetric matrix. If matrix A = A, then matrix A is symmetric.

Conjugate Transpose of a Complex Matrix

Start with a complex matrix. Complex matrices have elements with a real and imaginary component. While you can take an ordinary transpose of these matrices, most practical calculations involve the conjugate transpose instead. Matrix C =2+i 3-2i0+i 5+0i

Take the complex conjugate. The complex conjugate changes the sign of the imaginary components, without altering the real components. Perform this operation for all elements of the matrix. complex conjugate of C =2-i 3+2i0-i 5-0i

Transpose the results. Take an ordinary transposition of the result. The matrix you end up with is the conjugate transpose of the original matrix. conjugate transpose of C = C =2-i 0-i3+2i 5-0i

What's your reaction?

Comments

https://kapitoshka.info/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!