Theorem
Let be a finite simple graph (undirected without loop) with at least two vertices, the set of vertices and the set of edges. The degree of a vertex is the number of edges adjacent to .
G has at least two vertices of equal degree.
Proof
We will prove the theorem by contradiction.
Let , we note the number of vertices.
According to the degree theorem of a vertex, we have .
Let’s suppose by contradiction that all the vertices of G have different degrees.
The set of degrees of the vertices is therefore:
However, this graph cannot have a vertex of degree and one of degree .
Indeed, let’s suppose that a vertex exists such that . Then must be connected to other vertices.
Let’s take for example a graph of 2 vertices. We have , but if has an edge, is necessarily connected to , but must not have an edge to have a different degree than . Contradiction.
We therefore have either:
Such that .
By the pigeonhole principle, we have |V| = n and |D| = n-1, so there are at least two vertices of equal degree.