Positive Semidefinite in LaTeX (\succeq 0)

⪰0\succeq 0
LaTeX command
\succeq 0
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Positive semidefinite condition: A \succeq 0 means x^T A x \geq 0 for all vectors x.

Semidefinite constraints X \succeq 0 define semidefinite programs, and convexity of a smooth function is equivalent to \nabla^2 f(x) \succeq 0. Gram and covariance matrices are always positive semidefinite. \succeq draws succeeds with a straight bar beneath; \succcurlyeq is a curved-bar variant that some optimization texts prefer, so pick one and stay with it. The strict version is \succ. The set of such matrices is often written \mathbb{S}^n_+, and Schur complement conditions are a common way to state these constraints in block form.

Minimal compilable example

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

min⁡Xtr⁡(CX)s.t.X⪰0\min_{X} \operatorname{tr}(CX) \quad \text{s.t.} \quad X \succeq 0
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Positive Semidefinite: $\succeq 0$

\[ \min_{X} \operatorname{tr}(CX) \quad \text{s.t.} \quad X \succeq 0 \]
\end{document}

Related symbols

All التحسين →

Frequently asked questions

How do I write Positive Semidefinite in LaTeX?
Type \succeq 0 in math mode, for example $\min_{X} \operatorname{tr}(CX) \quad \text{s.t.} \quad X \succeq 0$. It works in plain LaTeX without loading any package.
Which package do I need for \succeq 0?
None. \succeq 0 is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \succeq 0 in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\succeq 0$ in running text.
Math poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

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

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

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