Out-Degree in LaTeX (\deg^{+}(v))

deg⁡+(v)\deg^{+}(v)
LaTeX command
\deg^{+}(v)
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Out-degree of vertex v in a directed graph: the number of arcs leaving v.

Out-degree counts arcs whose tail is v; a sink has \deg^+(v) = 0. Summed over all vertices it equals |E|, matching the total in-degree. Superscript plus is common, with d^+(v) and \deg_{\text{out}}(v) as alternatives, so define your notation. A directed graph has an Eulerian circuit exactly when it is connected (ignoring isolated vertices) and \deg^+(v) = \deg^-(v) at every vertex. In adjacency-matrix terms, out-degree is a row sum and in-degree a column sum. Brace the superscript, ^{+}, for clarity in the source.

Minimal compilable example

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

deg⁡+(v)=deg⁡−(v)∀v∈V\deg^{+}(v) = \deg^{-}(v) \quad \forall v \in V
\documentclass{article}
\begin{document}
Out-Degree: $\deg^{+}(v)$

\[ \deg^{+}(v) = \deg^{-}(v) \quad \forall v \in V \]
\end{document}

Related symbols

All Graph Theory →

Frequently asked questions

How do I write Out-Degree in LaTeX?
Type \deg^{+}(v) in math mode, for example $\deg^{+}(v) = \deg^{-}(v) \quad \forall v \in V$. It works in plain LaTeX without loading any package.
Which package do I need for \deg^{+}(v)?
None. \deg^{+}(v) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \deg^{+}(v) in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\deg^{+}(v)$ 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