Vertex in LaTeX (v)

vv
LaTeX command
v
Package
No package needed: built into LaTeX
Mode
Text and math mode

Where it is used

Lowercase italic v, the conventional letter for a single vertex of a graph.

Vertices are written with lowercase letters such as u, v, w, and membership is v \in V(G). The degree of a vertex is \deg(v), its neighborhood N(v), and an edge between two vertices is often written uv or \{u, v\}. Since this is a plain letter, the main concern is consistency: do not reuse v for a vector or velocity in the same text. Indexing with subscripts, v_1, \dots, v_n, gives an ordering useful for adjacency matrices. When vertices carry labels or weights, functions like w(v) keep notation clean.

Minimal compilable example

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

∑v∈V(G)deg⁡(v)=2∣E(G)∣\sum_{v \in V(G)} \deg(v) = 2|E(G)|
\documentclass{article}
\begin{document}
Vertex: $v$

\[ \sum_{v \in V(G)} \deg(v) = 2|E(G)| \]
\end{document}

Related symbols

All グラフ理論 →

Frequently asked questions

How do I write Vertex in LaTeX?
Type v in math mode, for example $\sum_{v \in V(G)} \deg(v) = 2|E(G)|$. It works in plain LaTeX without loading any package.
Which package do I need for v?
None. v is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use v in text mode, or only in math mode?
Both. v compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
Math poweredAIでLaTeXを書く

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

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

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