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 Optimization →

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 poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers