TOPICS
Search

Handshaking Lemma


The handshaking lemma states that for a finite undirected graph G with vertex set V(G) and edge set E(G), the sum of the vertex degrees is twice the number of edges,

 sum_(v in V(G))deg(v)=2|E(G)|.

The name comes from interpreting the graph vertices as people and the graph edges as handshakes. Each handshake is counted once at each of its two participants, just as each edge contributes two to the degree sum. Since the right-hand side is even and each odd-degree vertex contributes an odd summand, the number of odd-degree vertices is even.


See also

Degree Sequence, Edge Set, Handshake Problem, Vertex Degree, Vertex Set

Explore with Wolfram|Alpha

Cite this as:

Weisstein, Eric W. "Handshaking Lemma." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/HandshakingLemma.html

Subject classifications