Question
A graph is self-complementary if it is isomorphic to its complement. For all self-complementary graphs on vertices, is
Official answer and solution
- Official answer
- D
- From
- Official GATE 2015 answer key
Solution
Use the edge-counting argument for self-complementary graphs.
A graph on vertices is self-complementary if .
The complete graph has total edges:
Because and partition the edges of and have identical edge counts due to isomorphism:
Since the number of edges must be an integer, must be divisible by 4:
- If , is a multiple of 4.
- If , is a multiple of 4.
- If or , .
Hence, or (option D).
D
Assuming must simply be even or a multiple of 4, overlooking odd values such as (which forms a self-complementary 5-cycle ).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 2
- Question
- 38 of 65, printed as CS Q.28
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.