MathorynMathematical Formula Database

Linear Algebra

Transpose of a Product

The transpose of a product of matrices is the product of the transposes in reverse order. It is used to manipulate matrix expressions, in least-squares derivations such as (ATA)T=ATA(A^TA)^T=A^TA and in proofs about symmetric matrices.

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

Variables

A, BA,\ B
matrices with compatible sizes
T^{T}
transpose (rows become columns)

Example

Check for A=(1234)A=\begin{pmatrix}1&2\\3&4\end{pmatrix}, B=(0152)B=\begin{pmatrix}0&1\\5&2\end{pmatrix}.

  1. AB=(1052011)AB=\begin{pmatrix}10&5\\20&11\end{pmatrix}, so (AB)T=(1020511)(AB)^T=\begin{pmatrix}10&20\\5&11\end{pmatrix}.
  2. BTAT=(0512)(1324)=(1020511)B^TA^T=\begin{pmatrix}0&5\\1&2\end{pmatrix}\begin{pmatrix}1&3\\2&4\end{pmatrix}=\begin{pmatrix}10&20\\5&11\end{pmatrix}.

Answer: Both equal (1020511)\begin{pmatrix}10&20\\5&11\end{pmatrix}.

Related formulas