Argmin Subscript in LaTeX (\arg\min_{x})
- LaTeX command
\arg\min_{x}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Argmin over x: the point x that minimizes the objective function.
This form defines the solution of a minimization problem, as in the proximal operator \operatorname{prox}_f(v) = \arg\min_x \big(f(x) + \frac{1}{2}\|x - v\|_2^2\big). Since \arg cannot take limits, the subscript belongs to \min, which centers it under min only in display mode; \operatorname*{arg\,min} fixes the placement. Constraints can go in the subscript, \arg\min_{x \in C}, or for several lines inside \substack. Distinguish argmin, which returns a point or set, from \min, which returns the value; mixing them is a common error in student write-ups.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Argmin Subscript: $\arg\min_{x}$
\[ \operatorname{prox}_f(v) = \arg\min_{x} f(x) + \tfrac{1}{2}\|x - v\|_2^2 \]
\end{document}Related symbols
- Minimize
\min_{x} - Argmax Subscript
\arg\max_{x} - Maximize
\max_{x} - Argmin
\arg\min - Subject To
\text{s.t.} - Argmax
\arg\max
Frequently asked questions
- How do I write Argmin Subscript in LaTeX?
- Type \arg\min_{x} in math mode, for example $\operatorname{prox}_f(v) = \arg\min_{x} f(x) + \tfrac{1}{2}\|x - v\|_2^2$. It works in plain LaTeX without loading any package.
- Which package do I need for \arg\min_{x}?
- None. \arg\min_{x} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \arg\min_{x} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\arg\min_{x}$ in running text.
أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf
يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي
- أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
- ارفع صورة وحولها إلى LaTeX بسلاسة
- احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث