MatricesTopic #10 of 30

Matrix Transpose

Transpose definition, properties, transpose of products, and symmetric matrices.

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×nm \times n matrix AA, the transpose ATA^T is an n×mn \times m matrix where:

(AT)ij=aji(A^T)_{ij} = a_{ji}

Row ii of AA becomes column ii of ATA^T.

Notation

ATorAorAtA^T \quad \text{or} \quad A' \quad \text{or} \quad A^t

Visual Example

A=[123456]AT=[142536]A = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix} \qquad A^T = \begin{bmatrix} 1 & 4 \\ 2 & 5 \\ 3 & 6 \end{bmatrix}

AA is 2×32 \times 3, ATA^T is 3×23 \times 2

Properties of Transpose

PropertyFormula
Double transpose(AT)T=A(A^T)^T = A
Sum(A+B)T=AT+BT(A + B)^T = A^T + B^T
Scalar(cA)T=cAT(cA)^T = cA^T
Product(AB)T=BTAT(AB)^T = B^T A^T
Inverse(A1)T=(AT)1(A^{-1})^T = (A^T)^{-1}

Product Transpose

Important: The transpose of a product reverses the order:

(ABC)T=CTBTAT(ABC)^T = C^T B^T A^T

Proof for ABAB

((AB)T)ij=(AB)ji=kajkbki=kbkiajk=k(BT)ik(AT)kj=(BTAT)ij((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}

Transpose and Special Matrices

Symmetric Matrices

AA is symmetric if AT=AA^T = A

[123245356]T=[123245356]\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}

Skew-Symmetric Matrices

AA is skew-symmetric if AT=AA^T = -A

[023204340]T=[023204340]=[023204340]\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}

Useful Identities

Creating Symmetric Matrices

For any matrix AA:

  • AATAA^T is symmetric
  • ATAA^T A is symmetric
  • A+ATA + A^T is symmetric
  • AATA - A^T is skew-symmetric

Decomposition

Any square matrix can be written as:

A=A+AT2+AAT2A = \frac{A + A^T}{2} + \frac{A - A^T}{2}

where the first term is symmetric and the second is skew-symmetric.

Transpose and Inner Products

For vectors u\mathbf{u} and v\mathbf{v}:

uv=uTv\mathbf{u} \cdot \mathbf{v} = \mathbf{u}^T \mathbf{v}

For matrices:

(Ax)y=xTATy=x(ATy)(A\mathbf{x}) \cdot \mathbf{y} = \mathbf{x}^T A^T \mathbf{y} = \mathbf{x} \cdot (A^T \mathbf{y})

Examples

Example 1: Find Transpose

A=[123456]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \\ 5 & 6 \end{bmatrix}

AT=[135246]A^T = \begin{bmatrix} 1 & 3 & 5 \\ 2 & 4 & 6 \end{bmatrix}

Example 2: Verify (AB)T=BTAT(AB)^T = B^T A^T

A=[1234],B=[5678]A = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, \quad B = \begin{bmatrix} 5 & 6 \\ 7 & 8 \end{bmatrix}

AB=[19224350],(AB)T=[19432250]AB = \begin{bmatrix} 19 & 22 \\ 43 & 50 \end{bmatrix}, \quad (AB)^T = \begin{bmatrix} 19 & 43 \\ 22 & 50 \end{bmatrix}

AT=[1324],BT=[5768]A^T = \begin{bmatrix} 1 & 3 \\ 2 & 4 \end{bmatrix}, \quad B^T = \begin{bmatrix} 5 & 7 \\ 6 & 8 \end{bmatrix}

BTAT=[5×1+7×25×3+7×46×1+8×26×3+8×4]=[19432250]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

Example 3: Check Symmetry

A=[2335]A = \begin{bmatrix} 2 & 3 \\ 3 & 5 \end{bmatrix}

AT=[2335]A^T = \begin{bmatrix} 2 & 3 \\ 3 & 5 \end{bmatrix}

Since AT=AA^T = A, the matrix is symmetric.