Question
Consider a set of 23 different compounds in a Chemistry lab. There is a subset of of 9 compounds, each of which reacts with exactly 3 compounds of . Consider the following statements:
I. Each compound in reacts with an odd number of compounds.
II. At least one compound in reacts with an odd number of compounds.
III. Each compound in reacts with an even number of compounds.
Which one of the above statements is ALWAYS TRUE?
Official answer and solution
- Official answer
- B
- From
- Official GATE 2016 answer key
Solution
Model compound reactions as an undirected graph and use the Handshaking Lemma to deduce degree parity.
Model the 23 compounds as an undirected graph , where each vertex represents a compound and an edge exists between two vertices if the corresponding compounds react with each other. Thus, .
By the Handshaking Lemma, the sum of degrees of all vertices in an undirected graph equals twice the number of edges, which is always an even integer:
We are given a subset of 9 compounds, each reacting with exactly 3 compounds. Hence, for each , .
The sum of degrees in is:
Split the total degree sum across and :
A sum of integers can be odd if and only if there is an odd number of odd terms in the summation. In particular, the number of compounds in with an odd degree cannot be zero; there must be at least one compound in with an odd degree.
Therefore, Statement II ("At least one compound in reacts with an odd number of compounds") is ALWAYS TRUE.
B
Concluding that all remaining compounds must have odd degrees (only the count of odd-degree vertices must be odd, not all of them).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2016 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.