GATE / CS ARCHIVE

GATE CSE 1994 / QUESTION 2.5

Edges in a regular graph

Discrete Mathematics · Graph Theory · Full GATE CSE 1994 paper

GATE 1994, Q2.5 Other
Report issue

Graph Theory

Question 2.5, GATE 1994: A graph has n vertices each of degree d. Fill in its number of edges.
Tap to enlarge
Answer & solution

Answer: nd/2 (no official key was published)

Summing vertex degrees gives nd. Each undirected edge contributes two to that sum, one at each endpoint, so the handshaking lemma yields 2|E|=nd. Therefore |E|=nd/2. In particular nd must be even for such a finite graph to exist. This is the standard undirected interpretation of a regular graph; a directed graph would require stating whether d denotes indegree, outdegree or total degree.

Original paper, page 3