Transpose of a Matrix — Definition, Formula & Examples
Transpose of a Matrix
A matrix which is formed by turning all the rows of a given matrix into columns and vice-versa. The transpose of matrix A is written AT.
![Example showing matrix [1 2 3; 4 5 6] transposed to matrix A^T = [1 4; 2 5; 3 6]](t_assets/t52.gif)
See also
Key Formula
If A=[aij], then AT=[aji]
Where:
- A = The original matrix
- AT = The transpose of matrix A
- aij = The element in row i and column j of the original matrix A
- aji = The element in row j and column i, meaning the row and column indices are swapped
Worked Example
Problem: Find the transpose of the 2×3 matrix A.
Step 1: Write out the original matrix A.
A=[142536]
Step 2: Take the first row of A and write it as the first column of the transpose.
Row 1 of A:[123]→Column 1 of AT:123
Step 3: Take the second row of A and write it as the second column of the transpose.
Row 2 of A:[456]→Column 2 of AT:456
Step 4: Combine the columns to form the transposed matrix. Notice the dimensions changed from 2×3 to 3×2.
AT=123456
Answer: The transpose is AT=123456, a 3×2 matrix.
Another Example
This example uses a square matrix instead of a rectangular one, and demonstrates the important property that the transpose of a transpose returns the original matrix.
Problem: Find the transpose of the 3×3 symmetric-looking matrix B and verify that (BT)T=B.
Step 1: Write out the original square matrix B.
B=231754089
Step 2: Swap rows and columns: the element in position (i, j) moves to position (j, i). For example, b12=7 moves to position (2, 1), and b21=3 moves to position (1, 2).
BT=270358149
Step 3: Now transpose BT again by swapping its rows and columns. The diagonal elements (2, 5, 9) stay in place.
(BT)T=231754089=B
Step 4: This confirms the property that transposing a matrix twice returns the original matrix: (BT)T=B.
Answer: BT=270358149, and transposing again gives back B.
Frequently Asked Questions
What is the difference between the transpose and the inverse of a matrix?
The transpose swaps rows and columns—every matrix has a transpose, regardless of its size. The inverse, denoted A−1, is a matrix such that A⋅A−1=I (the identity matrix). Only square matrices with a nonzero determinant have an inverse. These are fundamentally different operations, though for orthogonal matrices the transpose happens to equal the inverse.
What happens to the dimensions of a matrix when you transpose it?
If the original matrix is m×n (m rows and n columns), its transpose is n×m (n rows and m columns). The dimensions are flipped. For a square matrix (m=n), the dimensions stay the same.
What is a symmetric matrix and how does it relate to the transpose?
A symmetric matrix is a square matrix that equals its own transpose: A=AT. This means the element in row i, column j is always equal to the element in row j, column i. Symmetric matrices appear frequently in physics and statistics, for example as covariance matrices.
Transpose of a Matrix vs. Inverse of a Matrix
| Transpose of a Matrix | Inverse of a Matrix | |
|---|---|---|
| Definition | Swap rows and columns of the matrix | Find a matrix that multiplies with A to give the identity matrix |
| Notation | AT | A−1 |
| Existence | Exists for every matrix of any size | Exists only for square matrices with nonzero determinant |
| Dimensions | m×n matrix becomes n×m | n×n matrix stays n×n |
| Key property | (AT)T=A | A⋅A−1=I |
Why It Matters
You encounter the transpose in nearly every area that uses matrices—solving systems of linear equations, computing dot products, and working with data in statistics. In linear algebra courses, key results like the formula for least-squares regression (x^=(ATA)−1ATb) depend directly on the transpose. Understanding it is also essential for recognizing symmetric and orthogonal matrices, which have special properties that simplify many calculations in physics and engineering.
Common Mistakes
Mistake: Only swapping some elements instead of all off-diagonal elements.
Correction: Every element aij must move to position (j,i). A systematic approach is to rewrite each row of the original as a column of the transpose, working from the first row to the last.
Mistake: Forgetting to change the dimensions of the matrix after transposing.
Correction: If the original matrix is m×n, the transpose must be n×m. A 2×3 matrix becomes a 3×2 matrix. Only square matrices keep the same dimensions.
Related Terms
- Matrix — The fundamental object being transposed
- Row of a Matrix — Rows become columns in the transpose
- Column of a Matrix — Columns become rows in the transpose
- Inverse of a Matrix — Different operation, often compared with transpose
- Symmetric Matrix — A matrix that equals its own transpose
- Determinant — Determinant of A equals determinant of A^T
- Identity Matrix — Its own transpose; related to inverse definition
