Positive Semidefinite in LaTeX (\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.
\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
- Positive Definite
\succ 0 - Calligraphic C (category)
\mathcal{C} - KKT Conditions
\nabla f + \lambda \nabla g = 0 - Mu
\mu - Function
f(x) - Feasible Set
\mathcal{X}
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.
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI
- Jana diagram TikZ yang cantik menggunakan AI
- Muat naik imej dan tukar ke LaTeX dengan lancar
- Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan