Minimize in LaTeX (\min_{x})

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

Where it is used

Minimum over x: the smallest value an expression takes as x varies, written with x below min.

\min is a predefined operator that accepts limits, so in display math \min_{x} puts x beneath the word, while inline it appears as a subscript to the right. This is the opening line of a standard optimization problem: \min_x f(x) subject to constraints. When the minimum may not be attained, as with open sets, use \inf instead. To force display-style placement inline, write \min\limits_{x}. For multi-line conditions under min, use \substack{x \in \mathbb{R}^n \\ Ax = b}. The value it denotes is a number, unlike argmin, which returns the minimizer.

Minimal compilable example

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

min⁡x  12x⊤Qx+c⊤x\min_{x} \; \tfrac{1}{2} x^\top Q x + c^\top x
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Minimize: $\min_{x}$

\[ \min_{x} \; \tfrac{1}{2} x^\top Q x + c^\top x \]
\end{document}

Related symbols

All التحسين →

Frequently asked questions

How do I write Minimize in LaTeX?
Type \min_{x} in math mode, for example $\min_{x} \; \tfrac{1}{2} x^\top Q x + c^\top x$. It works in plain LaTeX without loading any package.
Which package do I need for \min_{x}?
None. \min_{x} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \min_{x} in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\min_{x}$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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