Optimal Value in LaTeX (x^*)

x∗x^*
LaTeX command
x^*
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

x with a star superscript: the optimal solution or minimizer of an optimization problem.

The star marks the optimal point, so p^* = f(x^*) is the optimal value, and dual optima are written \lambda^*, \nu^*. Convergence rates are stated in terms of f(x_k) - f(x^*) or \|x_k - x^*\|. ^* and ^\ast produce the same asterisk; ^\star gives a star that avoids confusion with complex conjugates, adjoints, or the Kleene star, which also use an asterisk. When x has a subscript too, x_k^* and x^*_k render identically. Distinguish x^* from \hat{x}, which typically denotes an estimate or approximate solution.

Minimal compilable example

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

f(xk)−f(x∗)≤L∥x0−x∗∥22kf(x_k) - f(x^*) \leq \frac{L \|x_0 - x^*\|^2}{2k}
\documentclass{article}
\begin{document}
Optimal Value: $x^*$

\[ f(x_k) - f(x^*) \leq \frac{L \|x_0 - x^*\|^2}{2k} \]
\end{document}

Related symbols

All التحسين →

Frequently asked questions

How do I write Optimal Value in LaTeX?
Type x^* in math mode, for example $f(x_k) - f(x^*) \leq \frac{L \|x_0 - x^*\|^2}{2k}$. It works in plain LaTeX without loading any package.
Which package do I need for x^*?
None. x^* is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use x^* in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $x^*$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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