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 Graph Theory →

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 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