Skip to content
Official PYQ · 2006

GATE CS 2006 Q71 — Graphs: Connectivity, Matching, Colouring

Explain with AI

The 2n2^n  vertices of a graph GG corresponds to all subsets of a set of size nn, for n≥6n \geq 6.  Two vertices of GG are adjacent if and only if the corresponding sets intersect in exactly two elements.
The number of vertices of degree zero in GG is:

Choose one option
View worked solution

Answer: C

Let SS be the set of size nn (where n≥6n \geq 6). The vertices of the graph GG correspond to all 2n2^n subsets of SS. Two vertices (subsets) AA and BB are adjacent if and only if ∣A∩B∣=2|A \cap B| = 2.

A vertex AA has degree zero if there exists no other subset B⊆SB \subseteq S (B≠AB \neq A) such that ∣A∩B∣=2|A \cap B| = 2. Let us analyze this based on the size of AA, denoted by k=∣A∣k = |A|:

  • Case 1: k=0k = 0 (the empty set ∅\emptyset)
    For any subset BB, ∣∅∩B∣=0≠2|\emptyset \cap B| = 0 \neq 2. Thus, the empty set has degree 00. There is (n0)=1\binom{n}{0} = 1 such vertex.
  • Case 2: k=1k = 1 (singletons)
    For any subset BB, ∣A∩B∣≤∣A∣=1<2|A \cap B| \leq |A| = 1 < 2. Thus, no singleton set can have an intersection of size 22 with any other set. All singletons have degree 00. There are (n1)=n\binom{n}{1} = n such vertices.
  • Case 3: k≥2k \geq 2
    Since ∣A∣≥2|A| \geq 2, we can always choose at least one pair of elements {x,y}⊆A\{x, y\} \subseteq A.
    • If k>2k > 2, the subset B={x,y}B = \{x, y\} is distinct from AA and satisfies ∣A∩B∣=2|A \cap B| = 2.
    • If k=2k = 2, say A={x,y}A = \{x, y\}, any subset of the form B={x,y}∪CB = \{x, y\} \cup C (where C⊆S∖AC \subseteq S \setminus A and C≠∅C \neq \emptyset) satisfies ∣A∩B∣=2|A \cap B| = 2. Since n≥6n \geq 6, the set S∖AS \setminus A is non-empty, ensuring such a distinct BB always exists.
    Thus, no subset of size k≥2k \geq 2 has degree 00.

Therefore, the total number of vertices of degree zero is 1+n1 + n.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Graphs: Connectivity, Matching, Colouring questions