# Nakafa Framework: LLM
URL: https://nakafa.com/en/subject/high-school/11/mathematics/matrix/matrix-transpose
Source: https://raw.githubusercontent.com/nakafaai/nakafa.com/refs/heads/main/packages/contents/subject/high-school/11/mathematics/matrix/matrix-transpose/en.mdx
Output docs content for large language models.
---
export const metadata = {
    title: "Matrix Transpose",
    description: "Master matrix transpose by swapping rows and columns. Learn step-by-step methods, explore essential properties, and practice with detailed examples.",
    authors: [{ name: "Nabil Akbarazzima Fatih" }],
    date: "06/05/2025",
    subject: "Matrix",
};
## What Is a Matrix Transpose?
A matrix transpose is a new matrix obtained by interchanging the rows and columns of the original matrix. The elements of the rows become the elements of the columns, and conversely, the elements of the columns become the elements of the rows.
If we have a matrix , then the transpose of matrix  is usually denoted by  or .
Formally, if matrix  has an order of  with elements  (element in the -th row and -th column), then its transpose, , will have an order of  with elements .
This means that the element in the -th row and -th column of  is the same as the element in the -th row and -th column of .
## How to Determine the Matrix Transpose
To obtain the matrix transpose, follow these steps:
1.  Write the first row of the original matrix as the first column of the transpose matrix.
2.  Write the second row of the original matrix as the second column of the transpose matrix.
3.  Continue this process for all rows in the original matrix.
### General Matrix
Suppose we have matrix :
Then, the transpose of matrix  is:
Notice how the first row  becomes
the first column , and
the second row  becomes
the second column .
### Matrix with Different Order
Given matrix  with order :
The transpose of matrix , denoted , will have order :
- The first row of  () becomes the first column of .
- The second row of  () becomes the second column of .
### Column Matrix to Row Matrix
If  is a column matrix:
Then its transpose, , is a row matrix:
### Transpose of a Square Matrix
Given a square matrix :
Then its transpose, , is also a square matrix:
## Properties of Matrix Transpose
Some important properties of matrix transpose are:
1.   (The transpose of a transpose matrix is the
    matrix itself)
2.   (Transpose of the sum of two matrices)
3.   (Transpose of the subtraction of
    two matrices)
4.  , where  is a
    scalar
5.   (Transpose of the product of two matrices,
    note the reversed order)
## Exercises
Determine the transpose of the following matrices and state the type of the resulting matrix (e.g., row matrix, column matrix, square matrix).
1.  
2.  
3.  
### Answer Key
1.  
     is a column matrix.
2.  
     is a rectangular matrix (horizontal matrix).
3.  
     is a square matrix.