Skip to content
Official PYQ · 2013

GATE CS 2013 Q25 — Graphs: Connectivity, Matching, Colouring

Explain with AI

Which of the following statements is/are TRUE for undirected graphs?

P: Number of odd degree vertices is even.
Q: Sum of degrees of all vertices is even.

Choose one option
View worked solution

Answer: C

Both statements are fundamental properties of undirected graphs, derived from the Handshaking Lemma:

∑v∈Vdeg(v)=2∣E∣\sum_{v \in V} \text{deg}(v) = 2|E|

  • Statement Q is TRUE: Since the sum of the degrees of all vertices is equal to 2∣E∣2|E| (where ∣E∣|E| is the number of edges), and 2∣E∣2|E| is always an even integer, the sum of degrees must always be even.
  • Statement P is TRUE: Let us partition the vertices into two sets: VevenV_{\text{even}} (vertices with even degree) and VoddV_{\text{odd}} (vertices with odd degree). ∑v∈Vevendeg(v)+∑v∈Vodddeg(v)=2∣E∣\sum_{v \in V_{\text{even}}} \text{deg}(v) + \sum_{v \in V_{\text{odd}}} \text{deg}(v) = 2|E| Since the total sum (2∣E∣2|E|) is even and the sum over VevenV_{\text{even}} is even, the sum of degrees of odd-degree vertices (∑v∈Vodddeg(v)\sum_{v \in V_{\text{odd}}} \text{deg}(v)) must also be even. For a sum of odd numbers to be even, the number of terms (∣Vodd∣|V_{\text{odd}}|) must be even.

Thus, both statements P and Q are always true.

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

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