Definition
Handshaking Lemma
Simple Undirected simple undirected graph , it holds that:
In a
where is the degree of .
Directed directed graph , it holds that:
In a
Proof
Proof (Simple Undirected)
In a simple undirected graph, every edge is incident to exactly two vertices, namely and . Hence, when summing the degrees over all vertices, each edge is counted exactly twice: once in and once in . Therefore,