Nepedia
Back to Discover
Fluent Reader
🔢

Transpose

math Maturity 7-9 Next article →

Imagine a grid filled with numbers. In math, we call this grid a matrix. You can change this grid using a special move called a transpose.

Matrix transpose
Matrix transpose

This move flips the matrix over a diagonal line. This line starts at the top left corner and goes to the bottom right. When you flip the grid, the rows and columns swap places. A row becomes a column, and a column becomes a row. This process is a very steady tool. If you transpose a matrix and then transpose it again, it returns to the start.

Matrix transpose
Matrix transpose

There are a few different ways to do this. You can reflect the numbers over that main diagonal line. You can also simply write the rows as columns. Another way is to write the columns as rows. If you have a square matrix, it might have special names. A symmetric matrix is one that stays exactly the same after a transpose. A skew-symmetric matrix is one where the transpose makes every number its negative.

Matrix transpose
Matrix transpose

We can thank a mathematician for these ideas. Arthur Cayley was a British mathematician who introduced the transpose. He shared his work in a memoir in 1858. His paper was published in the Philosophical Transactions of the Royal Society of London. This was a very important time for the study of matrices. Cayley helped us understand how these grids work together. His work laid the ground for much of the math we use today.

Transposing can also create new kinds of special matrices. For example, a Hermitian matrix is a complex square matrix. It is special because its transpose is equal to its conjugate. There are also orthogonal matrices. These are square matrices where the transpose is the same as the inverse.

Row and column major order
Row and column major order

Even the determinant, which is a special number for a matrix, stays the same after a transpose. This shows how much the grid keeps its core properties during the flip.

Computers use the transpose in very clever ways. Sometimes, a computer does not even move the numbers. It just reads the data in a different order to work faster. This is common in software libraries like BLAS. However, other times the computer must physically reorder the numbers in its memory.

Row and column major order
Row and column major order

This can help with tasks like the fast Fourier transform. Scientists have been studying how to do this efficiently since the late 1950s. It is a hard job to move data without using too much extra storage.

407 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Matrix transpose.gif
Matrix transpose.gif
File:Row_and_column_major_order.svg
Row_and_column_major_order.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.