Transpose in LaTeX (A^{\top})

A⊤A^{\top}
LaTeX command
A^{\top}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Transpose of matrix A written with the \top symbol, flipping rows and columns.

Using \top as the superscript gives a clean upright T-shaped mark that cannot be confused with a variable named T, which is why many machine-learning and statistics papers write \mathbf{x}^{\top}\mathbf{y} or (AB)^{\top} = B^{\top}A^{\top}. A^T looks similar but uses an italic T, and \intercal is a third option that sits lower and is narrower. Whatever you choose, define a short macro for it so switching styles later is a one-line edit. For complex matrices, the conjugate transpose is usually A^{*} or A^{H}, with \dagger common in physics.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

(AB)⊤=B⊤A⊤(AB)^{\top} = B^{\top} A^{\top}
\documentclass{article}
\begin{document}
Transpose: $A^{\top}$

\[ (AB)^{\top} = B^{\top} A^{\top} \]
\end{document}

Related symbols

All Linear Algebra →

Frequently asked questions

How do I write Transpose in LaTeX?
Type A^{\top} in math mode, for example $(AB)^{\top} = B^{\top} A^{\top}$. It works in plain LaTeX without loading any package.
Which package do I need for A^{\top}?
None. A^{\top} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use A^{\top} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $A^{\top}$ in running text.
Math poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers