Question
An ordered -tuple with is called graphic if there exists a simple undirected graph with vertices having degrees respectively. Which of the following 6-tuples is NOT graphic?
Official answer and solution
- Official answer
- C
- From
- Official GATE 2014 answer key
Solution
Apply the Havel-Hakimi theorem to test whether each degree sequence can be realized as a simple graph.
According to the Havel-Hakimi Theorem, a non-increasing sequence is graphic if and only if the sequence obtained by deleting and subtracting 1 from each of the next terms is graphic.
Let us test the 6-tuples:
-
Option (A) :
Three disjoint edges (). Graphic. -
Option (B) :
A 6-cycle (). Graphic. -
Option (C) :
Remove and subtract 1 from the next 3 terms:Sort: .
Now remove and subtract 1 from the next 2 terms:This contains a negative degree (), which is impossible in any graph.
Therefore, is NOT graphic. -
Option (D) :
Remove 3 and subtract 1 from next 3 terms:Sort: .
Remove 1 and subtract 1 from next term:
, which is graphic.
Thus (D) is graphic.
Hence, is NOT graphic.
C
Checking only if the sum of degrees is even (the sum is 10, which is even), without applying the Havel-Hakimi reduction.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 1
- Question
- 62 of 65, printed as CS Q.52
- 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.