Supremum in LaTeX (\sup)

sup⁡\sup
LaTeX command
\sup
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Supremum: the least upper bound of a set, central to completeness of the reals and to norm definitions.

Operator norms are written \|A\| = \sup_{\|x\| = 1} \|Ax\|, and the uniform norm of a function is \sup_x |f(x)|. The command places its subscript below in display mode and to the right inline, just like \lim. Use \limsup for the limit superior rather than combining \lim and \sup by hand, and remember that \sup exists for every bounded nonempty subset of the reals whereas \max may not. When the subscript condition is long, stack lines with \substack{...} under the operator instead of cramming one wide subscript.

Minimal compilable example

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

∥f∥∞=sup⁡x∈X∣f(x)∣\|f\|_\infty = \sup_{x \in X} |f(x)|
\documentclass{article}
\begin{document}
Supremum: $\sup$

\[ \|f\|_\infty = \sup_{x \in X} |f(x)| \]
\end{document}

Related symbols

All Ketaksamaan & Urutan →

Frequently asked questions

How do I write Supremum in LaTeX?
Type \sup in math mode, for example $\|f\|_\infty = \sup_{x \in X} |f(x)|$. It works in plain LaTeX without loading any package.
Which package do I need for \sup?
None. \sup is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \sup in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\sup$ in running text.
Math poweredTulis LaTeX menggunakan AI

Editor LaTeX AI Terbaik, Alternatif Overleaf

Octree membantu peneliti dari 15+ universitas menulis makalah penelitian lebih cepat menggunakan AI

  • Hasilkan diagram TikZ yang indah menggunakan AI
  • Unggah gambar dan konversi ke LaTeX dengan mulus
  • Dapatkan bantuan instan untuk menulis dan memformat makalah penelitian