Skip to content
Official PYQ · 2006

GATE CS 2006 Q72 — 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 maximum degree of a vertex in GG is:

Choose one option
View worked solution

Answer: C

Let SS be the set of size nn, so that the vertices of the graph GG correspond to the 2n2^n subsets of SS.

Let AA be a vertex corresponding to a subset of size kk (where 0≤k≤n0 \le k \le n). A vertex BB is adjacent to AA if and only if ∣A∩B∣=2|A \cap B| = 2. To construct such a subset BB:

  1. We must choose exactly 22 elements from AA to be in BB. There are (k2)\binom{k}{2} ways to do this.
  2. For the remaining n−kn - k elements in S∖AS \setminus A, each element can either be included in BB or not. There are 2n−k2^{n-k} ways to make this choice.

Thus, the degree of a vertex corresponding to a subset of size kk is given by:

d(k)=(k2)2n−kd(k) = \binom{k}{2} 2^{n-k}

Let us evaluate d(k)d(k) for different values of kk to find the maximum degree:

  • For k=2k = 2: d(2)=(22)2n−2=1×2n−2=2×2n−3d(2) = \binom{2}{2} 2^{n-2} = 1 \times 2^{n-2} = 2 \times 2^{n-3}
  • For k=3k = 3: d(3)=(32)2n−3=3×2n−3d(3) = \binom{3}{2} 2^{n-3} = 3 \times 2^{n-3}
  • For k=4k = 4: d(4)=(42)2n−4=6×2n−4=3×2n−3d(4) = \binom{4}{2} 2^{n-4} = 6 \times 2^{n-4} = 3 \times 2^{n-3}
  • For k=5k = 5: d(5)=(52)2n−5=10×2n−5=2.5×2n−3d(5) = \binom{5}{2} 2^{n-5} = 10 \times 2^{n-5} = 2.5 \times 2^{n-3}

For any k≥4k \ge 4, the ratio of consecutive terms is:

d(k+1)d(k)=k+12(k−1)\frac{d(k+1)}{d(k)} = \frac{k+1}{2(k-1)}

Since k≥3k \ge 3, we have 2(k−1)>k+12(k-1) > k+1, which means the sequence d(k)d(k) strictly decreases for k≥4k \ge 4.

Thus, the maximum degree is achieved at k=3k = 3 and k=4k = 4, and its value is:

3×2n−33 \times 2^{n-3}

Therefore, the correct option is C.

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

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