Argmax Subscript in LaTeX (\arg\max_{x})
- LaTeX command
\arg\max_{x}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Argmax over x: the point x at which the objective function is largest.
In optimization texts the maximizer of f over a feasible set is written x^* = \arg\max_{x \in \mathcal{X}} f(x). Typed as \arg\max_{x}, the subscript attaches to \max, so in display style x appears centered under max rather than under the whole arg max. \operatorname*{arg\,max}_{x} or a starred declared operator places it under the full name. In inline math the subscript sits to the lower right regardless. Because maxima may not be unique, x^* \in \arg\max is technically more precise than equality. For maximization over several variables, list them: \arg\max_{x, y}.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Argmax Subscript: $\arg\max_{x}$
\[ x^* = \arg\max_{x \in \mathcal{X}} \; c^\top x \]
\end{document}Related symbols
- Argmin Subscript
\arg\min_{x} - Argmin
\arg\min - Minimize
\min_{x} - Argmax
\arg\max - Maximize
\max_{x} - Subject To
\text{s.t.}
Frequently asked questions
- How do I write Argmax Subscript in LaTeX?
- Type \arg\max_{x} in math mode, for example $x^* = \arg\max_{x \in \mathcal{X}} \; c^\top x$. It works in plain LaTeX without loading any package.
- Which package do I need for \arg\max_{x}?
- None. \arg\max_{x} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \arg\max_{x} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\arg\max_{x}$ in running text.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기