Lably
Skip to content

Degree (graph theory)

Number of edges touching a vertex in a graph

  • 4 min read
  • 4 chapters
  • 1 lab on Lably

Learn it on Lably

In a regular graph, every vertex has the same degree, and so we can speak of the degree of the graph. A complete graph (denoted Kn, where n is the number of vertices in the graph) is a special kind of regular graph where all vertices have the maximum possible degree, n−1.

In a signed graph, the number of positive edges connected to a vertex is called its positive degree and the number of connected negative edges is called negative degree.

Handshaking lemma

The degree sum formula states that, given a graph G=(V,E),

∑v∈Vdeg⁡(v)=2|E|.

The formula implies that in any undirected graph, the number of vertices with odd degree is even. This statement (as well as the degree sum formula) is known as the handshaking lemma. The latter name comes from a popular mathematical problem, which is to prove that in any group of people, the number of people who have shaken hands with an odd number of other people from the group is even.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Discrete mathematics