GATE / CS ARCHIVE

GATE CSE 2000 / QUESTION 6(a)

Degree in the two-toggle graph

Discrete Mathematics · Graph Theory · Full GATE CSE 2000 paper

GATE 2000, Q6(a) Descriptive
Report issue

Graph Theory

Question 6(a), GATE 2000: G has one vertex for each of the 2ⁿ subsets of S={1,…,n}. Vertices A,B are adjacent iff |A△B|=2, where △ is symmetric difference.

Task: Find the common degree of each vertex.
Question 6(a), GATE 2000: G has one vertex for each of the 2ⁿ subsets of S={1,…,n}. Vertices A,B are adjacent iff |A△B|=2, where △ is symmetric difference.

Task: Find the common degree of each vertex.
Tap to enlarge
Shared context

G has one vertex for each of the 2ⁿ subsets of S={1,…,n}. Vertices A,B are adjacent iff |A△B|=2, where △ is symmetric difference.

Answer & solution

Answer: C(n,2)=n(n−1)/2. (no official key was published)

1. Fix any vertex A. A neighbor must be obtained by toggling membership of exactly two distinct elements of S.

2. For every unordered pair P⊆S, |P|=2, the vertex B=A△P is a neighbor. Different pairs give different B because A△B uniquely recovers P.

3. This is a bijection between neighbors and two-element subsets of S. Thus every vertex has degree C(n,2), independently of |A|. For n=0 or 1 there are no edges.

Original paper, page 7