Argmin in LaTeX (\arg\min)

arg⁡min⁡\arg\min
LaTeX command
\arg\min
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

The argument of the minimum: the input at which a function reaches its smallest value.

\arg\min is how most optimization and learning problems define a solution, for instance least squares \hat{\beta} = \arg\min_\beta \|y - X\beta\|_2^2 or k-means cluster assignment. Typed this way, it is \arg followed by \min, so in display math the subscript centers under min rather than under the whole phrase. For a centered subscript, use \operatorname*{arg\,min} or declare a starred operator in the preamble. Some authors write argmin as one word without a space; the thin space in arg\,min follows the most common style. Remember the result may be a set if minimizers are not unique.

Also listed under: 최적화

Minimal compilable example

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

β^=arg⁡min⁡β∥y−Xβ∥22\hat{\beta} = \arg\min_{\beta} \|y - X\beta\|_2^2
\documentclass{article}
\begin{document}
Argmin: $\arg\min$

\[ \hat{\beta} = \arg\min_{\beta} \|y - X\beta\|_2^2 \]
\end{document}

Related symbols

All 머신러닝 및 AI →

Frequently asked questions

How do I write Argmin in LaTeX?
Type \arg\min in math mode, for example $\hat{\beta} = \arg\min_{\beta} \|y - X\beta\|_2^2$. It works in plain LaTeX without loading any package.
Which package do I need for \arg\min?
None. \arg\min is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \arg\min in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\arg\min$ in running text.
Math poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기