3.4 Vertex Degree

Vertex Degree

The degree of a vertex v in the graph G, denoted by dG(v) or just d(v) (or sometimes deg(v), as in the book), is the number of edges that are incident to v (with loops counted twice, i.e. each loop on v contributes 2 to d(v))

Theorem 3.1 Degree-sum Formula

If G is a graph with vertices v1,v2,,vn, then i=1nd(vi)=2|E(G)|

Proof

Each loop contributes 2 to the summation. In the summation, each edge e=uv that is not a loop is counted exactly twice, once in d(u) and once in d(v)

Corollary 3.1

In any graph, the number of vertices of odd degree is even

Proof

Let x1,xn be vertices of graph G with even degree and let y1,,ym be vertices of odd degree
Let S=d(x1)++d(xn)
and T=d(y1)++d(ym)
By Theorem 3.1, S+T is even
Since S is the sum of even numbers, S is even
So T must be even
Since T is the sum of m odd numbers, m must be even

Friendship Puzzle

At any party of two or more people, show that there are always two people with exactly the same number of friends at the party

Proof

Let G be a simple graph with vertex set V(G)={v1,,vn} denoting people at the party
Edges of G are defined as follows: uvE(G) if u and v are friends
For i=1,,n,d(vi)= number of friends of vi

Consider the following 2 cases

Case 1: Everyone at the party has at least one friend at the party
So for every i=1,,n,1d(vi)n1
Since n variables d(v1),,d(vn) are each assigned one of n1 numbers from the set {1,,n1}, at least two of them must have the same value (Pigeonhole Principle)

Case 2: Someone at the party does not have any friends at the party
For some i{1,,n},d(vi)=0
So for every i=1,,n,0d(vi)n2
Since n variables d(v1),,d(vn) are each assigned one of n1 numbers from the set {0,,n2}, at least two of the must have the same value (Pigeonhole Principle)