Infimum in LaTeX (\inf)
- LaTeX command
\inf- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Infimum, the greatest lower bound of a set of reals, which exists even when no minimum does.
The set \{1/n : n \in \mathbb{N}\} has \inf equal to 0 but no minimum, the classic example of why analysis needs \inf instead of \min. The command typesets upright 'inf' with operator spacing and display-style limits underneath, so \inf_{n \ge 1} a_n looks right in an equation environment. A common slip is confusing \inf with \infty, which is the infinity symbol. Related operators include \liminf, which already exists as a command, and essential infimum, which you would define yourself, for instance with \operatorname*{ess\,inf}.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Infimum: $\inf$
\[ \inf_{n \geq 1} \frac{1}{n} = 0 \]
\end{document}Related symbols
- Supremum
\sup - Maximum
\max - Least Upper Bound
\text{lub} - Minimum
\min - Greatest Lower Bound
\text{glb} - Not Greater or Equal
\ngeq
Frequently asked questions
- How do I write Infimum in LaTeX?
- Type \inf in math mode, for example $\inf_{n \geq 1} \frac{1}{n} = 0$. It works in plain LaTeX without loading any package.
- Which package do I need for \inf?
- None. \inf is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \inf in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\inf$ in running text.
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