Overview
The transpose of a matrix is obtained by interchanging its rows and columns. This operation is fundamental in linear algebra and appears frequently in applications.
Definition
For an m × n m \times n m × n matrix A A A , the transpose A T A^T A T is an n × m n \times m n × m matrix where:
( A T ) i j = a j i (A^T)_{ij} = a_{ji} ( A T ) ij = a ji
Row i i i of A A A becomes column i i i of A T A^T A T .
Notation
A T or A ′ or A t A^T \quad \text{or} \quad A' \quad \text{or} \quad A^t A T or A ′ or A t
Visual Example
A = [ 1 2 3 4 5 6 ] A T = [ 1 4 2 5 3 6 ] A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix} \qquad A^T = \begin{bmatrix} 1 & 4 \\ 2 & 5 \\ 3 & 6 \end{bmatrix} A = [ 1 4 2 5 3 6 ] A T = 1 2 3 4 5 6
A A A is 2 × 3 2 \times 3 2 × 3 , A T A^T A T is 3 × 2 3 \times 2 3 × 2
Properties of Transpose
Property Formula Double transpose ( A T ) T = A (A^T)^T = A ( A T ) T = A Sum ( A + B ) T = A T + B T (A + B)^T = A^T + B^T ( A + B ) T = A T + B T Scalar ( c A ) T = c A T (cA)^T = cA^T ( c A ) T = c A T Product ( A B ) T = B T A T (AB)^T = B^T A^T ( A B ) T = B T A T Inverse ( A − 1 ) T = ( A T ) − 1 (A^{-1})^T = (A^T)^{-1} ( A − 1 ) T = ( A T ) − 1
Product Transpose
Important : The transpose of a product reverses the order:
( A B C ) T = C T B T A T (ABC)^T = C^T B^T A^T ( A BC ) T = C T B T A T
Proof for A B AB A B
( ( A B ) T ) i j = ( A B ) j i = ∑ k a j k b k i = ∑ k b k i a j k = ∑ k ( B T ) i k ( A T ) k j = ( B T A T ) i j ((AB)^T)_{ij} = (AB)_{ji} = \sum_k a_{jk}b_{ki} = \sum_k b_{ki}a_{jk} = \sum_k (B^T)_{ik}(A^T)_{kj} = (B^T A^T)_{ij} (( A B ) T ) ij = ( A B ) ji = ∑ k a jk b ki = ∑ k b ki a jk = ∑ k ( B T ) ik ( A T ) kj = ( B T A T ) ij
Transpose and Special Matrices
Symmetric Matrices
A A A is symmetric if A T = A A^T = A A T = A
[ 1 2 3 2 4 5 3 5 6 ] T = [ 1 2 3 2 4 5 3 5 6 ] \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 5 \\ 3 & 5 & 6 \end{bmatrix}^T = \begin{bmatrix} 1 & 2 & 3 \\ 2 & 4 & 5 \\ 3 & 5 & 6 \end{bmatrix} 1 2 3 2 4 5 3 5 6 T = 1 2 3 2 4 5 3 5 6
Skew-Symmetric Matrices
A A A is skew-symmetric if A T = − A A^T = -A A T = − A
[ 0 2 − 3 − 2 0 4 3 − 4 0 ] T = [ 0 − 2 3 2 0 − 4 − 3 4 0 ] = − [ 0 2 − 3 − 2 0 4 3 − 4 0 ] \begin{bmatrix} 0 & 2 & -3 \\ -2 & 0 & 4 \\ 3 & -4 & 0 \end{bmatrix}^T = \begin{bmatrix} 0 & -2 & 3 \\ 2 & 0 & -4 \\ -3 & 4 & 0 \end{bmatrix} = -\begin{bmatrix} 0 & 2 & -3 \\ -2 & 0 & 4 \\ 3 & -4 & 0 \end{bmatrix} 0 − 2 3 2 0 − 4 − 3 4 0 T = 0 2 − 3 − 2 0 4 3 − 4 0 = − 0 − 2 3 2 0 − 4 − 3 4 0
Useful Identities
Creating Symmetric Matrices
For any matrix A A A :
A A T AA^T A A T is symmetric
A T A A^T A A T A is symmetric
A + A T A + A^T A + A T is symmetric
A − A T A - A^T A − A T is skew-symmetric
Decomposition
Any square matrix can be written as:
A = A + A T 2 + A − A T 2 A = \frac{A + A^T}{2} + \frac{A - A^T}{2} A = 2 A + A T + 2 A − A T
where the first term is symmetric and the second is skew-symmetric.
Transpose and Inner Products
For vectors u \mathbf{u} u and v \mathbf{v} v :
u ⋅ v = u T v \mathbf{u} \cdot \mathbf{v} = \mathbf{u}^T \mathbf{v} u ⋅ v = u T v
For matrices:
( A x ) ⋅ y = x T A T y = x ⋅ ( A T y ) (A\mathbf{x}) \cdot \mathbf{y} = \mathbf{x}^T A^T \mathbf{y} = \mathbf{x} \cdot (A^T \mathbf{y}) ( A x ) ⋅ y = x T A T y = x ⋅ ( A T y )
Examples
Example 1: Find Transpose
A = [ 1 2 3 4 5 6 ] A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{bmatrix} A = 1 3 5 2 4 6
A T = [ 1 3 5 2 4 6 ] A^T = \begin{bmatrix} 1 & 3 & 5 \\ 2 & 4 & 6 \end{bmatrix} A T = [ 1 2 3 4 5 6 ]
Example 2: Verify ( A B ) T = B T A T (AB)^T = B^T A^T ( A B ) T = B T A T
A = [ 1 2 3 4 ] , B = [ 5 6 7 8 ] A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix} A = [ 1 3 2 4 ] , B = [ 5 7 6 8 ]
A B = [ 19 22 43 50 ] , ( A B ) T = [ 19 43 22 50 ] AB = \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix}, \quad (AB)^T = \begin{bmatrix} 19 & 43 \\ 22 & 50 \end{bmatrix} A B = [ 19 43 22 50 ] , ( A B ) T = [ 19 22 43 50 ]
A T = [ 1 3 2 4 ] , B T = [ 5 7 6 8 ] A^T = \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix}, \quad B^T = \begin{bmatrix} 5 & 7 \\ 6 & 8 \end{bmatrix} A T = [ 1 2 3 4 ] , B T = [ 5 6 7 8 ]
B T A T = [ 5 × 1 + 7 × 2 5 × 3 + 7 × 4 6 × 1 + 8 × 2 6 × 3 + 8 × 4 ] = [ 19 43 22 50 ] ✓ B^T A^T = \begin{bmatrix} 5 \times 1 + 7 \times 2 & 5 \times 3 + 7 \times 4 \\ 6 \times 1 + 8 \times 2 & 6 \times 3 + 8 \times 4 \end{bmatrix} = \begin{bmatrix} 19 & 43 \\ 22 & 50 \end{bmatrix} \checkmark B T A T = [ 5 × 1 + 7 × 2 6 × 1 + 8 × 2 5 × 3 + 7 × 4 6 × 3 + 8 × 4 ] = [ 19 22 43 50 ] ✓
Example 3: Check Symmetry
A = [ 2 3 3 5 ] A = \begin{bmatrix} 2 & 3 \\ 3 & 5 \end{bmatrix} A = [ 2 3 3 5 ]
A T = [ 2 3 3 5 ] A^T = \begin{bmatrix} 2 & 3 \\ 3 & 5 \end{bmatrix} A T = [ 2 3 3 5 ]
Since A T = A A^T = A A T = A , the matrix is symmetric.