GATE / CS ARCHIVE

SIMILAR QUESTIONS / DISCRETE MATHEMATICS

Use pigeonhole principle on possible simple-graph degrees

2 questions solved the same way, newest first. Back to Discrete Mathematics

1 mark · MCQ
Report issue

Repeated degree in a connected graph

Graph Theory

Question 3, GATE 2009: Which statement holds for every simple connected undirected graph with more than two vertices? A all degrees distinct; B at least two equal degrees; C at least three equal degrees; D all degrees equal.
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

For n vertices in a simple connected graph with n>2, each degree lies in{1, ..., n−1}. There are n vertices but only n−1 possible degrees. By the pigeonhole principle at least two share a degree, B. Three equal degrees are not necessary, as a path on four vertices shows.

Connectivity excludes degree 0, and simplicity excludes degree above n−1. Thus n vertices must be assigned one of only n−1 possible degree values. The pigeonhole principle forces a repeated degree, proving B. A three-vertex path has degrees 1, 2, 1, so neither three equal degrees nor all equal degrees is necessary. This example also makes clear why the claim is about at least two, not a particular pair.

Original paper, page 2

5 marks · Descriptive
Report issue

Repeated vertex degrees in a finite graph

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