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 機械学習・AI →

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 poweredAIでLaTeXを書く

最高のAI LaTeXエディタ、Overleaf代替

Octreeは15以上の大学の研究者がAIを使って論文をより速く書くのを支援

  • AIで美しいTikZダイアグラムを生成
  • 画像をアップロードしてシームレスにLaTeXに変換
  • 論文の執筆とフォーマットに即座にサポートを取得