logo

Transpose Matrix 📂Matrix Algebra

Transpose Matrix

Definition1

Let’s consider a matrix of size m×nm\times n as AA. The matrix obtained by swapping the rows and columns of AA is called the transpose of AA and is denoted by ATA^{T} or AtA^{t}.

Description

Following the definition, if AA is a m×nm \times n matrix then ATA^{T} will be a n×mn \times m matrix. Also, the iith row of AA is the same as the iith column of ATA^{T} and vice versa.

A=[10030822],AT=[10008322] A=\begin{bmatrix} 10 & 0 & 3 \\ 0 & 8 & 22 \end{bmatrix} ,\quad A^{T} = \begin{bmatrix} 10 & 0 \\ 0 & 8 \\ 3 & 22 \end{bmatrix}

It can be considered as being symmetric with respect to the main diagonal.

Properties

Let’s assume r,sRr,s\in \mathbb{R} and A,BA,B are sizes that make the matrix operations well-defined in each case. Then, the following hold:

(a) Linearity: (rA+sB)T=rAT+sBT\left( rA + sB\right)^{T}=r A^{T} + s B^{T}

(b) The transpose of a product is equal to the product of the transposes in reverse order.

(AB)T=BTAT (AB)^{T}=B^{T}A^{T}

(b’) The transpose of the product of several matrices is equal to the product of the transposes of those matrices in reverse order.

(A1A2An)T=AnTA2TA1T \left( A_{1} A_{2}\cdots A_{n} \right)^{T} = A_{n}^{T} \cdots A_{2}^{T} A_{1}^{T}

Proof

(b)

For the m×nm\times n matrix AA and the n×kn\times k matrix CC

[(AC)T]km=i=1n[A]mi[C]ik=i=1n[AT]im[CT]ki=i=1n[CT]ki[AT]im=[CTAT]km \begin{align*} \left[ { \left( AC \right) }^{ T } \right] _{ km } &= \sum _{ i=1 }^{ n }{ [A] _{ m i } { [C] } _{ i k } } \\ &= \sum _{ i=1 }^{ n }{ { \left[ { A }^{ T } \right] } _{ i m } { \left[ { C }^{ T } \right] } _{ k i } } \\ &= \sum _{ i=1 }^{ n }{ { \left[ { C }^{ T } \right] } _{ k i }{ \left[ { A }^{ T } \right] } _{ i m } } \\ &= { \left[ { C }^{ T } { A }^{ T } \right] } _{ km } \end{align*}

Therefore, if each element is the same, then the matrices are equal and thus the following equation holds.

(AC)T=CTAT \left( AC \right) ^{ T } = { C }^{ T } { A }^{ T }

(b')

This is a corollary to (b).


  1. Jim Hefferon, Linear Algebra(4th Edition). 2020, p138 ↩︎