GATE / CS ARCHIVE

GATE CSE 2001 / QUESTION 2.15

Counting labeled undirected graphs

Discrete Mathematics · Graph Theory · Full GATE CSE 2001 paper

GATE 2001, Q2.15 2 marks · MCQ
Report issue

Graph Theory

Question 2.15, GATE 2001: How many undirected graphs can be formed on a fixed labeled set of n vertices, without requiring connectedness? Choices: n(n−1)/2, 2^n, n!, 2^[n(n−1)/2]. State the simple loop-free graph convention.
Tap to enlarge
Your answer
Answer & solution

Answer: D under the simple loop-free convention (no official key was published)

Step 1: The fixed labeled vertex set has binomial(n,2)=n(n−1)/2 possible unordered pairs of distinct vertices. Each pair can independently be an edge or not.

Step 2: Multiplying these two choices for every pair gives 2^[n(n−1)/2], D. Connectedness is not imposed, so no edge subsets are excluded.

This is the conventional simple loop-free graph model. Permitting loops adds n binary choices, and permitting unrestricted parallel edges would remove this finite count. The fixed labels mean we are not quotienting by graph isomorphism.

Original paper, page 6