Tensor Rank in LaTeX ((p, q))

(p,q)(p, q)
LaTeX command
(p, q)
Package
No package needed: built into LaTeX
Mode
Text and math mode

Where it is used

Type of a tensor: p contravariant (upper) and q covariant (lower) indices, sometimes loosely called its rank.

A (p, q) tensor is an element of V^{\otimes p} \otimes (V^*)^{\otimes q}, so a vector is (1, 0), a covector (0, 1), a linear map (1, 1) and a metric (0, 2). Terminology varies: some books call p + q the rank or order and reserve type for the pair. Contraction maps type (p, q) to (p-1, q-1). In LaTeX the pair is just parentheses with a comma; a thin space after the comma is automatic in math mode, so do not add extra spacing.

Minimal compilable example

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

T∈V⊗p⊗(V∗)⊗qT \in V^{\otimes p} \otimes (V^*)^{\otimes q}
\documentclass{article}
\begin{document}
Tensor Rank: $(p, q)$

\[ T \in V^{\otimes p} \otimes (V^*)^{\otimes q} \]
\end{document}

Related symbols

All Tensor Notation →

Frequently asked questions

How do I write Tensor Rank in LaTeX?
Type (p, q) in math mode, for example $T \in V^{\otimes p} \otimes (V^*)^{\otimes q}$. It works in plain LaTeX without loading any package.
Which package do I need for (p, q)?
None. (p, q) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use (p, q) in text mode, or only in math mode?
Both. (p, q) compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
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