The Handshaking Lemma
Discrete Math
Theorem statement
In every finite undirected simple graph, the sum of all vertex degrees equals twice the number of edges.
Key prerequisites
- Vertices, edges and degrees
- Finite undirected simple graphs
- Double counting
Common student pitfalls
- Counting an edge at only one endpoint
- Applying the claim unchanged to directed graphs
- Confusing degree sum with vertex count
Double counting compares two ways of counting the same collection. What collection would make vertex degrees meaningful?