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 الجبر الخطي →

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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث