Handshaking lemma

Handshaking lemma
In this graph, an even number of vertices (the four vertices numbered 2, 4, 5, and 6) have odd degrees. The sum of the degrees of the vertices is 2 + 3 + 2 + 3 + 3 + 1 = 14, twice the number of edges.

In graph theory, a branch of mathematics, the handshaking lemma is the statement that every finite undirected graph has an even number of vertices with odd degree. In more colloquial terms, in a party of people some of whom shake hands, an even number of people must have shaken an odd number of other people's hands.

The handshaking lemma is a consequence of the degree sum formula (also sometimes called the handshaking lemma),

\sum_{v\in V} \deg(v) = 2|E|

for a graph with vertex set V and edge set E. Both results were proven by Leonhard Euler (1736) in his famous paper on the Seven Bridges of Königsberg that began the study of graph theory.

The vertices of odd degree in a graph are sometimes called odd nodes or odd vertices; in this terminology, the handshaking lemma can be restated as the statement that every graph has an even number of odd nodes.

Contents

Proof

Euler's proof of the degree sum formula uses the technique of double counting: he counts the number of incident pairs (v,e) where e is an edge and vertex v is one of its endpoints, in two different ways. Vertex v belongs to deg(v) pairs, where deg(v) (the degree of v) is the number of edges incident to it. Therefore the number of incident pairs is the sum of the degrees. However, each edge in the graph belongs to exactly two incident pairs, one for each of its endpoints; therefore, the number of incident pairs is 2|E|. Since these two formulas count the same set of objects, they must have equal values.

In a sum of integers, the parity of the sum is not affected by the even terms in the sum; the overall sum is even when there is an even number of odd terms, and odd when there is an odd number of odd terms. Since one side of the degree sum formula is the even number 2|E|, the sum on the other side must have an even number of odd terms; that is, there must be an even number of odd-degree vertices.

Regular graphs

The degree sum formula implies that every r-regular graph with n vertices has rn/2 edges.[1] In particular, if r is odd then the number of edges must be evenly divisible by r.

Infinite graphs

The handshaking lemma does not apply to infinite graphs, even when they have only a finite number of odd-degree vertices. For instance, an infinite path graph with one endpoint has only a single odd-degree vertex rather than having an even number of such vertices.

Exchange graphs

Several combinatorial structures listed by Cameron & Edmonds (1999) may be shown to be even in number by relating them to the odd vertices in an appropriate "exchange graph".

For instance, as C. A. B. Smith proved, in any cubic graph G there must be an even number of Hamiltonian cycles through any fixed edge uv; Thomason (1978) used a proof based on the handshaking lemma to extend this result to graphs G in which all vertices have odd degree. Thomason defines an exchange graph H, the vertices of which are in one-to-one correspondence with the Hamiltonian paths beginning at u and continuing through v. Two such paths p1 and p2 are connected by an edge in H if one may obtain p2 by adding a new edge to the end of p1 and removing another edge from the middle of p1; this is a symmetric relation, so H is an undirected graph. If path p ends at vertex w, then the vertex corresponding to p in H has degree equal to the number of ways that p may be extended by an edge that does not connect back to u; that is, the degree of this vertex in H is either deg(w) − 1 (an even number) if p does not form part of a Hamiltonian cycle through uv, or deg(w) − 2 (an odd number) if p is part of a Hamiltonian cycle through uv. Since H has an even number of odd vertices, G must have an even number of Hamiltonian cycles through uv.

Computational complexity

In connection with the exchange graph method for proving the existence of combinatorial structures, it is of interest to ask how efficiently these structures may be found. For instance, suppose one is given as input a Hamiltonian cycle in a cubic graph; it follows from Smith's theorem that there exists a second cycle. How quickly can this second cycle be found? Papadimitriou (1994) investigated the computational complexity of questions such as this, or more generally of finding a second odd-degree vertex when one is given a single odd vertex in a large implicitly-defined graph. He defined the complexity class PPA to encapsulate problems such as this one; a closely related class defined on directed graphs, PPAD, has attracted significant attention in algorithmic game theory because computing a Nash equilibrium is computationally equivalent to the hardest problems in this class.[2]

Other applications

The handshaking lemma is also used in proofs of Sperner's lemma and of the piecewise linear case of the mountain climbing problem.

Notes

  1. ^ Aldous, Joan M.; Wilson, Robin J. (2000), "Theorem 2.2", Graphs and Applications: an Introductory Approach, Undergraduate Mathematics Series, The Open University, Springer-Verlag, p. 44, ISBN 9781852332594 
  2. ^ Chen, Xi; Deng, Xiaotie (2006), "Settling the complexity of two-player Nash equilibrium", Proc. 47th Symp. Foundations of Computer Science, pp. 261–271, doi:10.1109/FOCS.2006.69, ECCC TR05-140 

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Handshaking lemma — In der Graphentheorie besagt das Handschlaglemma, dass in jedem Graph die Summe der Grade aller Knoten genau doppelt so groß ist wie die Anzahl seiner Kanten. Formal heißt das: Ist G = (V,E) ein Graph (bei gerichteten Graphen werden sowohl die… …   Deutsch Wikipedia

  • Degree (graph theory) — A graph with vertices labeled by degree In graph theory, the degree (or valency) of a vertex of a graph is the number of edges incident to the vertex, with loops counted twice.[1] The degree of a vertex …   Wikipedia

  • Double counting (proof technique) — In combinatorics, double counting, also called counting in two ways, is a combinatorial proof technique for showing that two expressions are equal by demonstrating that they are two ways of counting the size of one set. In this technique, which… …   Wikipedia

  • List of lemmas — This following is a list of lemmas (or, lemmata , i.e. minor theorems, or sometimes intermediate technical results factored out of proofs). See also list of axioms, list of theorems and list of conjectures. 0 to 9 *0/1 Sorting Lemma ( comparison… …   Wikipedia

  • Handshake — For the telecommunications concept, see Handshaking. Two men shaking hands A handshake is a short ritual in which two people grasp one of each other s like hands, in most cases accompanied by a brief up and down movement of the grasped hands …   Wikipedia

  • Lemme de Sperner —  Ne pas confondre avec le théorème de Sperner sur les familles d ensembles. En mathématiques, le lemme de Sperner, dû à Emanuel Sperner[1], est un analogue combinatoire du théorème du point fixe de Brouwer. Le lemme de Sperner affirme que… …   Wikipédia en Français

  • Parity of zero — Zero objects, divided into two equal groups Zero is an even number. In other words, its parity the quality of an integer being even or odd is even. Zero fits the definition of even number : it is an integer multiple of 2, namely 0 × 2. As a… …   Wikipedia

  • Route inspection problem — In graph theory, a branch of mathematics, the Chinese postman problem (CPP), postman tour or route inspection problem is to find a shortest closed path or circuit that visits every edge of a (connected) undirected graph. When the graph has an… …   Wikipedia

  • Edge coloring — A 3 edge coloring of the Desargues graph. In graph theory, an edge coloring of a graph is an assignment of “colors” to the edges of the graph so that no two adjacent edges have the same color. For example, the figure to the right shows an edge… …   Wikipedia

  • Cubic graph — Not to be confused with graphs of cubic functions. The Petersen graph is a Cubic graph …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”