Link
This note lacks links.
In graph theory, the degree [1][2] of a vertex of a graph is the number of edges that are incident to the vertex.
Definition
Definition 1 (Degree)
Definition 2 (Maximum degree)
Let be a graph. The maximum degree of is
Definition 3 (Minimum degree)
Let be a graph. The minimum degree of is
Notation
The degree of is denoted , or simply when the graph is unambiguous. The maximum degree of is denoted , and the minimum degree is denoted .
Properties
The sum of the degrees of all vertices of equals twice the number of edges, known as the handshaking lemma.
Multigraphs
Definition 1 extends to multigraphs, which allow parallel edges and loops, but a loop must be counted specially.
Definition 4 (Degree in a multigraph)
Let be a ??multigraph??, where maps each edge to its pair of endpoints, with if is a ??loop?? at . The degree of a vertex is
the number of edges incident to , with each loop at counted twice.
Since edges are distinct elements of , two parallel edges with the same endpoints are counted separately by the first term even though sends them to the same pair. A loop is the exception to plain incidence counting. The second term adds one further count for each loop at , so it contributes to rather than the the first term alone would give.
Directed graphs
In a directed graph, the degree of a vertex splits into two directed notions. The in-degree is the number of directed edges with as head, and the out-degree is the number of directed edges with as tail.
Definition 5 (Degree in a directed graph)
A self-loop contributes to and to , since serves as both its head and its tail, so it adds to overall, matching the loop convention of Definition 4.
References
- [1]
“Degree (graph theory)”, Wikipedia, Available: https://en.wikipedia.org/wiki/Degree_(graph_theory), Accessed: 2026-07-31 ↩
- [2]
“Vertex Degree”, Wolfram MathWorld, Available: https://mathworld.wolfram.com/VertexDegree.html, Accessed: 2026-08-28 ↩