Skip to content

Transpose and symmetric matrices

5 min read

Short answer

The transpose ATA^{T} swaps rows and columns, so (AT)ij=Aji(A^T)_{ij}=A_{ji}. A matrix is symmetric when AT=AA^T=A, meaning it mirrors across its main diagonal. The most important rule is that transposing reverses the order of a product: (AB)T=BTAT(AB)^T=B^TA^T.

(AB)ᵀ = BᵀAᵀ(AB)ᵀ = BᵀAᵀ(A + B)ᵀ = Aᵀ + Bᵀ sums split(cA)ᵀ = c Aᵀ scalars pass through(Aᵀ)ᵀ = A flip twice, back againSymmetric: Aᵀ = A mirror across the diagonal
Four rules cover almost every transpose question. The reversal of order in a product is the one people forget.

Why the order reverses

Entry (i,j)(i,j) of (AB)T(AB)^T is entry (j,i)(j,i) of ABAB, which is row jj of AA dotted with column ii of BB. That is the same as row ii of BTB^T dotted with column jj of ATA^T, so (AB)T=BTAT(AB)^T=B^TA^T. The same reversal shows up with inverses: (AB)−1=B−1A−1(AB)^{-1}=B^{-1}A^{-1}.

Why symmetric matrices matter

For any matrix AA (even a rectangular one), ATAA^TA and AATAA^T are symmetric, because (ATA)T=AT(AT)T=ATA(A^TA)^T=A^T(A^T)^T=A^TA. Symmetric matrices have real eigenvalues and orthogonal eigenvectors, which is why they appear in least squares, covariance matrices and quadratic forms.

Worked example

Let A=(1234)A=\begin{pmatrix}1&2\\3&4\end{pmatrix} and B=(0110)B=\begin{pmatrix}0&1\\1&0\end{pmatrix}. Verify (AB)T=BTAT(AB)^T=B^TA^T.

AB=(2143)AB=\begin{pmatrix}2&1\\4&3\end{pmatrix}, so (AB)T=(2413)(AB)^T=\begin{pmatrix}2&4\\1&3\end{pmatrix}.

BT=BB^T=B and AT=(1324)A^T=\begin{pmatrix}1&3\\2&4\end{pmatrix}, so BTAT=(0110)(1324)=(2413).B^TA^T=\begin{pmatrix}0&1\\1&0\end{pmatrix}\begin{pmatrix}1&3\\2&4\end{pmatrix}=\begin{pmatrix}2&4\\1&3\end{pmatrix}. They match. (Computing ATBTA^TB^T instead would give (3142)\begin{pmatrix}3&1\\4&2\end{pmatrix}, which is wrong.)

Try it yourself

Is A+ATA+A^T symmetric for every square matrix AA?

Show the answer

Yes. (A+AT)T=AT+(AT)T=AT+A=A+AT(A+A^T)^T=A^T+(A^T)^T=A^T+A=A+A^T, so it equals its own transpose.

Keep going with practice

Transposes and symmetric matrices appear throughout Vidi's Linear Algebra & Probability course, and the matrix calculator computes them instantly.