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 부등식 및 순서 →

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 poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기