- Asked 3/9
- 2070 Bhadra · 6 marks
- 2068 Bhadra · 6 marks
- 2075 Bhadra · 3 marks
Handshaking theorem; even number of odd vertices
Short answer
The handshaking theorem: sum of degrees = 2e. Proof of even number of odd-degree vertices: split vertices into even-degree and odd-degree sets. The sum of all degrees (2e) and sums from even-degree vertices are even, so the sum of odd-degree terms is even. Since each term is odd, the count of odd-degree vertices must be even.
State the handshaking theorem for the undirected graph and use it to prove the theorem that an undirected graph has an even number of vertices of odd degree.
Handshaking theorem
If G = (V, E) is an undirected graph with e edges, then
Σ over v ∈ V of deg(v) = 2e.
Reason: each edge has two endpoints, so it adds exactly 1 to the degree of each of its two end vertices (a loop adds 2 to its single vertex). Counting all degrees counts every edge twice.
Theorem: an undirected graph has an even number of vertices of odd degree
Proof. Let V₁ be the set of vertices of even degree and V₂ the set of vertices of odd degree. By the handshaking theorem,
2e = Σ_{v∈V} deg(v) = Σ_{v∈V₁} deg(v) + Σ_{v∈V₂} deg(v).
- 2e is even.
- Σ_{v∈V₁} deg(v) is a sum of even numbers, so it is even.
- Therefore Σ_{v∈V₂} deg(v) = 2e − Σ_{v∈V₁} deg(v) is even (difference of two even numbers).
- Every term in this last sum is odd. A sum of odd numbers is even only if the number of terms is even.
- Hence |V₂|, the number of vertices of odd degree, is even. ∎
Example: a graph with degrees 3, 3, 2, 2, 4 has 14 = 2·7 as degree sum, 7 edges, and two (even number) odd vertices.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Short note: Handshaking theorem · Discrete Structure, chapter 4 · asked 2×
- Prove n even iff 7n+4 even · Discrete Structure, chapter 1
- Design FSA accepting odd number of b's · Discrete Structure, chapter 2 · asked 4×
- Design FSA accepting even number of a's · Discrete Structure, chapter 2 · asked 4×
- Graph coloring and chromatic number · Discrete Structure, chapter 4 · asked 3×
- Draw K6 and its chromatic number · Discrete Structure, chapter 4 · asked 4×
- (4,3) even parity code is linear, odd parity is not · Communication Systems, chapter 8
- DFA: even a and odd b · Theory of Computation, chapter 2
- RE: even a's followed by odd b's · Theory of Computation, chapter 2
- Count even and odd until -1 · Computer Programming, chapter 5