GATE / CS ARCHIVE

GATE CSE 2017 SET 2 / QUESTION 23

GATE CSE 2017 Set 2 Q23

Discrete Mathematics · Graph Theory · Full GATE CSE 2017 Set 2 paper

GATE 2017 Set 2, Q23 1 mark · NAT
Report issue

Graph Theory

Question 23, GATE 2017: An undirected graph G has n vertices and 25 edges, and every vertex has degree at least 3. What is the maximum possible n?
Tap to enlarge
Answer & solution

Official answer: 16.0

Our answer: 16

1. By the handshaking lemma, the sum of all vertex degrees is twice the edge count, 50. Since each of n vertices contributes at least 3, we have 3n≤50. Therefore n≤floor(50/3)=16.

2. A numerical upper bound is not enough; show that 16 is attainable. Start with a cycle on 16 vertices, providing 16 edges and degree 2 at each vertex. Add the 8 edges joining opposite vertices around the cycle. This gives a simple 3-regular graph with 24 edges.

3. Add any further edge not already present. It raises two degrees to 4 and leaves all others at 3, with exactly 25 edges and 16 vertices. Thus the maximum is indeed 16.

Original paper, page 9 · Answer key