Argmin Subscript in LaTeX (\arg\min_{\theta})

arg⁡min⁡θ\arg\min_{\theta}
LaTeX command
\arg\min_{\theta}
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Argmin over theta: the parameter value that minimizes a loss or objective function.

This is how empirical risk minimization is usually written: \theta^* = \arg\min_\theta \frac{1}{N}\sum_i \ell(f_\theta(x_i), y_i). In display style the subscript goes under min only, which looks slightly off-center; \operatorname*{arg\,min}_{\theta} fixes that and keeps spacing consistent. If you write it often, a preamble macro saves typing and guarantees identical output. Regularized objectives commonly add a penalty term, as in ridge or lasso. When the minimizer is unique, the equals sign is fine; otherwise, \in is the more precise relation because argmin returns a set.

Minimal compilable example

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

θ∗=arg⁡min⁡θ∑i=1Nℓ(fθ(xi),yi)\theta^* = \arg\min_{\theta} \sum_{i=1}^{N} \ell(f_\theta(x_i), y_i)
\documentclass{article}
\begin{document}
Argmin Subscript: $\arg\min_{\theta}$

\[ \theta^* = \arg\min_{\theta} \sum_{i=1}^{N} \ell(f_\theta(x_i), y_i) \]
\end{document}

Related symbols

All التعلم الآلي والذكاء الاصطناعي →

Frequently asked questions

How do I write Argmin Subscript in LaTeX?
Type \arg\min_{\theta} in math mode, for example $\theta^* = \arg\min_{\theta} \sum_{i=1}^{N} \ell(f_\theta(x_i), y_i)$. It works in plain LaTeX without loading any package.
Which package do I need for \arg\min_{\theta}?
None. \arg\min_{\theta} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \arg\min_{\theta} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\arg\min_{\theta}$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث