GATE / CS ARCHIVE

GATE CSE 1991 / QUESTION 16(b)

Repeated vertex degrees in a finite graph

Discrete Mathematics · Graph Theory · Full GATE CSE 1991 paper

GATE 1991, Q16(b) 5 marks · Descriptive
Report issue

Graph Theory

Question 16(b), GATE 1991: Prove that a finite undirected simple graph with at least two vertices has two vertices of equal degree.
Tap to enlarge
Answer & solution

Answer: Two vertices must share a degree, since degrees 0 and n−1 cannot both occur. (no official key was published)

Let the graph have n≥2 vertices. In a simple undirected graph each degree is an integer in {0,1,…,n−1}. Merely counting n possible degrees and n vertices does not yet prove a repetition; the key is that the extreme values cannot coexist.

If a vertex has degree n−1, it is adjacent to every other vertex, so every other vertex has degree at least 1. Thus no degree-0 vertex exists. Conversely, if an isolated vertex exists, no vertex can be adjacent to all n−1 others, so degree n−1 is absent.

There are therefore at most n−1 possible degrees in the graph: if there is an isolated vertex, use {0,…,n−2}; if not, use {1,…,n−1}. Assigning n vertices to at most n−1 degree values forces two into the same value by the pigeonhole principle.

The simple-graph convention matters. If parallel edges or loops were allowed, the bound n−1 would fail and so can the conclusion. For example, on three vertices put one edge between a and b, two parallel edges between a and c, and none between b and c. The degrees are 3,1,2, all distinct. The source's unqualified graph is interpreted in the standard simple-graph setting.

Original paper, page 8