GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 24

Even number of odd-degree vertices

Discrete Mathematics · Graph Theory · Full GATE CSE 1995 paper

GATE 1995, Q24 5 marks · Descriptive
Report issue

Graph Theory

Question 24, GATE 1995: Prove that a finite undirected graph has an even number of vertices of odd degree.
Tap to enlarge
Answer & solution

Answer: The degree sum equals 2|E|, so the number of its odd summands is even. (no official key was published)

Each undirected edge contributes one incident end at each endpoint. Counting all incident ends first by edges and then by vertices yields the handshaking identity ∑v deg(v)=2|E|, an even integer. If loops are allowed, a loop contributes 2 to the degree of its vertex, so the same identity remains true under that standard convention.

Partition the vertices into those with even degree and those with odd degree. The sum over the even-degree vertices is even. Subtracting it from the even total shows that the sum over the odd-degree vertices is also even. A sum of m odd integers has parity m: write each degree as 2ki+1, so their sum is 2∑ki+m. It can be even only if m is even. Hence the number of odd-degree vertices is even.

The graph need not be connected, and isolated vertices have degree 0 and do not affect the argument. Finiteness ensures that these are ordinary finite sums. The assertion is about undirected degree; for a directed graph, odd outdegrees alone need not occur an even number of times. One must specify the appropriate total-degree convention rather than reuse this proof unaltered.

Original paper, page 8