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 poweredAIでLaTeXを書く

最高のAI LaTeXエディタ、Overleaf代替

Octreeは15以上の大学の研究者がAIを使って論文をより速く書くのを支援

  • AIで美しいTikZダイアグラムを生成
  • 画像をアップロードしてシームレスにLaTeXに変換
  • 論文の執筆とフォーマットに即座にサポートを取得