Skip to content
Official PYQ · 2014

GATE CS 2014 Set 2 Q51 — Graphs: Connectivity, Matching, Colouring

Explain with AI
A cycle on nn vertices is isomorphic to its complement. The value of nn is _____.
View worked solution

Answer: 5

For a graph GG to be isomorphic to its complement G‾\overline{G}, they must have the same number of vertices and the same number of edges.

Let CnC_n be a cycle on nn vertices (where n≥3n \ge 3).

  • The number of vertices in CnC_n is nn.
  • The number of edges in CnC_n is nn.

The total number of edges in a complete graph KnK_n on nn vertices is given by:

∣E(Kn)∣=n(n−1)2|E(K_n)| = \frac{n(n-1)}{2}

The number of edges in the complement graph Cn‾\overline{C_n} is:

∣E(Cn‾)∣=n(n−1)2−n|E(\overline{C_n})| = \frac{n(n-1)}{2} - n

Since CnC_n is isomorphic to Cn‾\overline{C_n}, their edge counts must be equal:

n=n(n−1)2−nn = \frac{n(n-1)}{2} - n2n=n(n−1)22n = \frac{n(n-1)}{2}4n=n2−n4n = n^2 - nn2−5n=0n^2 - 5n = 0

Since n≥3n \ge 3 for a cycle, we divide by nn:

n=5n = 5

Verification:
For n=5n = 5, the cycle C5C_5 is a 2-regular graph. Its complement C5‾\overline{C_5} is also a 2-regular connected graph on 5 vertices, which is indeed a 5-cycle. Thus, C5≅C5‾C_5 \cong \overline{C_5}.

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

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