Contraction in LaTeX (T^i_i)

TiiT^i_i
LaTeX command
T^i_i
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Contraction of a mixed tensor: summing over a repeated upper and lower index, which gives its trace.

Setting an upper index equal to a lower one and summing removes both, lowering the rank by two; for a (1,1) tensor the result T^i_i = \operatorname{tr} T is a scalar. The Ricci tensor is a contraction of the Riemann tensor, and scalar curvature contracts again with the metric, R = g^{ij}R_{ij}. Only an upper index may be contracted with a lower one; contracting two lower indices requires the metric. Write \operatorname{tr} rather than plain tr so the trace is upright with operator spacing.

Minimal compilable example

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

Tii=tr⁡TT^i_i = \operatorname{tr} T
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Contraction: $T^i_i$

\[ T^i_i = \operatorname{tr} T \]
\end{document}

Related symbols

All Notasi Tensor →

Frequently asked questions

How do I write Contraction in LaTeX?
Type T^i_i in math mode, for example $T^i_i = \operatorname{tr} T$. It works in plain LaTeX without loading any package.
Which package do I need for T^i_i?
None. T^i_i is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use T^i_i in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $T^i_i$ in running text.
Math poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI

  • Jana diagram TikZ yang cantik menggunakan AI
  • Muat naik imej dan tukar ke LaTeX dengan lancar
  • Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan