Docsity

Graph theory, Apuntes de Matemáticas

Vista previa parcial del texto

¡Descarga Graph theory y más Apuntes en PDF de Matemáticas solo en Docsity!

GRAPH THEORY WITH APPLICATIONS J. A. Bondy and U. S. R. Murty Department-of Combinatorics and Optimization, University of Waterloo, Ontario, Canada de NORTH-HOLLAND New York « Amsterdam + Oxford (O)J.A. Bondy and U.S.R. Murty 1976 First published in Great Britain 1976 by The Macmillan Press Ltd. First published in the U.S.A. 1976 by Elsevier Science Publishing Co., Inc. 52 Vanderbilt Avenue, New York, N. Y. 10017 Fifth Printing, 1982. Sole Distributor in the U.S.A: Elsevier Science Publishing Co., Inc. Library of Congress Cataloging in Publication Data Bondy, John Adrian. Graph theory with applications. Bibliography: p. Includes index. 1. Graph theory. 1. Murty, U.S.R., joint author. IL. Title. QA166.B67 1979 515 75-29826 ISBN 0-444-19451-7 Al rights reserved. No part of this publication may be reproduced or transmitted, in any form or by any means, without permission. Printed in the United States of Americá Preface This book is intended as an introduction to graph theory. Our aim has been to present what we consider to be the basic material, together with a wide variety of applications, both to other branches of mathematics and to real-world problems. Included are simple new proofs of theorems of Brooks, Chvátal, Tutte and Vizing. The applications have been carefully selected, and are treated in some depth. We have chosen to omit all so-called “applications” that employ just the language of graphs and no theory. The applications appearing at the end of each chapter actually make use of theory developed earlier in the same chapter. We have also stressed the importance of efficient methods of solving problems. Several good al- gorithms are included and their efficiencies are analysed. We do not, however, go into the computer implementation of these algorithms. The exercises at the end of each section are of varying difficulty. The harder ones are starred (*) and, for these, hints are provided in appendix l. In some exercises, new. definitions are introduced. The reader is recom- mended to acquaint himself with these definitions. Other exercises, whose numbers are indicated by bold type, are used in subsequent sections; these should all be attempted. Appendix IT consists of a table in which basic propertiés of four graphs are listed. When new definitions are introduced, the reader may find it helpful to check his understanding by referring to this table. Appendix HI includes a selection of interesting graphs with special properties. These may prove to be useful in testing new conjectures. In appendix IV, we collect together a number of unsolved problems, some known to be very difficult, and others more hopeful. Suggestions for further reading are given in appendix V. Many people have contributed, either directly or indirectly, to this book. We are particularly indebted to C. Berge and D. J. A. Welsh for introducing us to graph theory, to G. A. Dirac, J. Edmonds, L. Lovász and W. T. Tutte, whose works have influenced our treatment of the subject, to V. Chungphaisan and C. St. J. A. Nash-Williams for their careful reading of the Preface vii manuscript and valuable suggestions, and to the ubiquitous G. O. M. for his kindness and constant encouragement. We also wish to thank S. B. Maurer, P. J. O'Halloran, C. Thomassen, B. Toft and our colleagues at the University of Waterloo for many helpful comments, and the National Research Council of Canada for its financial support. Finally, we would like to express our appreciation to Joan Selwood for her excellent typing and Diana Rajnovich for her beautiful artwork. A. Bondy S. J. U.S. R. Murty Contents 5 MATCHINGS 5.1 Matchings 5.2. Matchings and Coverings in Bipartite Graphs 5.3 Perfect Matchings . . . . Applications 5,4 The Personnel Assignment Problem 5.5 The Optimal Assignment Problem EDGE COLOURINGS 6.1 Edge Chromatic Number 6.2 Vizing's Theorem . Applications 6.3 The Timetabling Problem INDEPENDENT SETS AND CLIQUES 7.1 Independent Sets . 7.2 Ramsey's Theorem 7.3 Turán's Theorem . Applications 7.4 Schur's Theorem . . 7.5 A Geometry Problem . VERTEX COLOURINGS 8.1 Chromatic Number 8.2 Brooks' Theorem . 8.3 Hajós” Conjecture. 8.4 Chromatic Polynomials 8.5 Girth and Chromatic Number Applications 8.6 A Storage Problem PLANAR GRAPHS 9.1 Plane and Planar Graphs 9.2 Dual Graphs. 9.3 Euler's Formula 9.4 Bridges . . 9.5 Kuratowski's Theorem . 9.6 The Five-Colour Theorem and the Four-Colour Conjecture 9.7. Nonhamiltonian Planar Graphs Applications 9.8 A Planarity Algorithm . ix 70 72 76 80 86 91 93 96 101 103 109 112 113 117 122 123 125 129 131 135 139 143 145 151 156 160 163 xXx 10 DIRECTED GRAPHS 11 12 10,1 Directed Graphs . 10,2 Directed Paths 10.3 Directed Cycles Applications 10.4 A Job Sequencing Problem. 10.5 Designing an Efficient Computer Drum 10.6 Making a Road System One-Way 10.7 Ranking the Participants in a Tournament. NETWORKS 11.1 Flows 11.2 Cuts 11.3 The Max-Flow Min- Cut Theorem Applications 11.4 Menger's Theorems 11.5 Feasible Flows THE CYCLE SPACE AND BOND SPACE 12.1 Circulations and Potential Differences. 12.2 The Number of Spanning Trees . Applications 12.3 Perfect Squares Appendix 1 Hints to Starred Exercises Appendix Il Four Graphs and a Table of their Properties . Appendix IM. Some Interesting Graphs. Appendix IV Unsolved Problems. Appendix V Suggestions for Further Reading Glossary of Symbols Index Contents 171 173 176 179 181 182 185 191 194 196 . 203 . 206 . 212 . 218 220 . 227 . 232 234 . 246 . 254 . 257 261 2 Graph Theory with Applications Figure 1.1. Diagrams of graphs G and H Graphs are so named because they can be represented graphically, and it is this graphical representation which helps us understand many of their properties. Each vertex is indicated by a point, and each edge by a line joining the points which represent its ends.f Diagrams of G and H are shown in figure 1.1. (For clarity, vertices are depicted here as small circles.) There is no unique way of drawing a graph; the relative positions of points representing vertices and lines representing edges have no significance, Another diagram of G, for example, is given in figure 1.2. A diagram of a graph merely depicts the incidence relation holding between its vertices and edges. We shall, however, often draw a diagram of a graph and refer to it as the graph itself; in the same spirit, we shall call its points 'vertices” and its lines “edges”. Note that two edges in a diagram of a graph may intersect at a point that e3 es, Se es e Ya 2 A o Ye ez ee ba Ya Figure 1.2. Another diagram of G + ln such a drawing it is understood that no line intersects itself or passes through a point representing a vertex which is not an end of the corresponding edge—this is clearly always possible. Graphs and Subgraphs 3 is not a vertex (for example e, and es of graph G in figure 1.1). Those graphs that have a diagram whose edges intersect only at their ends are called plaríar, since such graphs can be represented in the plane in a simple manner. The graph of figure 1.3a is planar, even though this is not immediately clear from the particular representation shown (see exercise 1.1.2). The graph of figure 1.3b, on the other hand, is nonplanar. (This will be proved in chapter 9.) Most of the definitions and concepts in graph theory are suggested by the graphical representation. The ends of an edge are said to be incident with the edge, and vice versa. Two vertices which are incident with a common edge are adjacent, as are two edges which are incident with a common vertex. An edge with identical ends is called a loop, and an edge with distinct ends a link. For example, the edge es of G (figure 1.2) is a loop; all other edges of G are links. Figure 1.3. Planar and nonplanar graphs A graph is finite if both its vertex set and edge set are finite. In this book we study only finite graphs, and so the term “graph” always means “finite graph”. We call a graph with just one vertex trivial and all other graphs nontrivial. A graph is simple if it has no loops and no two of its links join the same pair of vertices. The graphs of figure 1.1 are not simple, whereas the graphs of figure 1.3 are. Much of graph theory is concerned with the study of simple graphs. We use the symbols v(G) and e(G) to denote the numbers of vertices and edges in graph G. Throughout the book the letter G— denotes a graph. Moreover, when just one graph is under discussion, we usually denote this graph by G. We then omit the letter G from graph-theoretic symbols and write, for instance, V, E, v and e instead of V(G), E(G), v(G) and e(G). Graphs and Subgraphs 5 (o) (b) (c) Figure 1.4. (a) Ks; (b) the cube; (c) Ka graph is one whose vertex set can be partitioned into two subsets X and Y, so that each edge has one end in X and one end in Y; such a partition (X, Y) is called a bipartition of the graph. A complete bipartite graph is a simple bipartite graph with bipartition (X, Y) in which each vertex of X is joined to each vertex of Y; if |X|=m and |Y|=n, such a graph is denoted by Kan. The graph defined by the vertices and edges of a cube (figure 1.4b) is bipartite; the graph in figure 1.4c is the complete bipartite graph Ko.. There are many other graphs whose structures are of special interest. Appendix lll includes a selection of such graphs. Exercises 1.2.1 Find an isomorphism between the graphs G and H of examples 1 and 2 different from the one given. 1.2.2 (a) Show that if G=H, then v(G)= v(H) and e(G)= e(H). (b) Give an example to show that the converse is false. 1.2.3 Show that the following graphs are not isomorphic: 12.4 Show that there are eleven nonisomorphic simple graphs on four vertices. 1.2.5 Show that two simple graphs G and H are isomorphic if and only if there is a 'bijection 9: V(G) > V(H) such that uve E(G) if and only if 6(u)0(v) e E(H). 6 1.2.6 1.2.7 1.2.8 1.2.9 1.2.10 1.2,11 1.2.12 Graph Theory with Applications Show that the following graphs are isomorphic: y Let G be simple. Show that £ = E Show that (a) e(Ko.n) = mn; (b) if G is simple and bipartite, then e < v?/4. A k-partite graph is one whose vertex set can be partitioned into k subsets so that no edge has both ends in any one subset; a complete k-partite graph is one that is simple and in which each vertex is joined to every vertex that is not in the same subset. The complete m-partite graph on n vertices in which each part has either [n/m] or [n/mj vertices is denoted by Tu... Show that (a) £(Tm5)= ( 2 + (m-— n(* 3 » where k =[n/m]; (b)* if G is a complete m-partite graph on n vertices, then e(G)= e(Tm,0), with equality only if G=Tw,... The k-cube is the graph whose vertices are the ordered k-tuples of 0's and T's, two vertices being joined if and only if they differ in exactly one coordinate. (The graph shown in figure 1.4b is just the 3-cube.) Show that the k-cube has 2* vertices, k2'"* edges and is bipartite. (a) The complement G* of a simple graph G is the simple graph with vertex set V, two vertices being adjacent in G* if and only if they are not adjacent in G. Describe the graphs K; and K%,.. (b) A simple graph G is self-complementary if G =G*. Show that if G is self-complementary, then v=0, 1 (mod 4). An automorphism of a graph is an isomorphism of the graph onto itself. ) if and only if G is complete. (a) Show, using exercise 1.2.5, that an automorphism of a simple graph G can be regarded as a permutation on V which pre- serves adjacency, and that the set of such permutations form a 8 Graph Theory with Applications The adjacency matrix of a graph is generally considerably smaller than its incidence matrix, and it is in this form that graphs are commonly stored in cormputers. Exercises 1.31 Let M be the incidence matrix and A the adjacency matrix of a graph G. (a) Show that every column sum of M is 2. (b) What are the column sums of A? 1.3.2 Let G be bipattite. Show that the vertices of G can be enumerated so that the adjacency matrix of G has the form where Aj; is the transpose Of Ayz. 1.3.3* Show that if G is simple and the eigenvalues of A are distinct, then the automorphism group of G is abelian 1.4 SUBGRAPHS A graph H is a subgraph of G (written H< G) if V(H)< V(G), E(H)< E(G), and díu is the restriction of pa to E(H). When H< G but HA G, we write HC G and call H a proper subgraph of G. If H is a subgraph of G, G is a supergraph of H. A spanning subgraph (or spanning supergraph) of G is a subgraph (or supergraph) H with V(H) = V(G). By deleting from G all loops and, for every pair of adjacent vertices, all but one link joining them, we obtain a simple spanning subgraph of G, called the underlying simple graph of G. Figure 1.6 shows a graph and its underlying simple graph. Figure 1.6. A graph and its underlying simple graph Graphs and Subgraphs 9 u 8 a + y v y v . g g d b d Xx mw Xx c 6 A sponning G- lu, w) subgraph of G y y u € Xx € a y Y v y v 9 g d h x w xo O Cc c G- lo, b, f) The induced The edge-induced , subgraph subgraph Gllu,w x1 Gila, c, e, Figure 1.7 Suppose that V' is a nonempty subset of V. The subgraph of G— whose vertex set is V' and whose edge set is the set of those edges of G that have both ends in V” is called the subgraph of G induced by V' and is denoted by G[V'"]; we say that G[V"] is an induced subgraph of G. The induced subgraph G[V1V"] is denoted by G— V”; it is the subgraph obtained from G by deleting the vertices in V' together with their incident edges. If V'= (6) we write G—v for G—fo). Now suppose that E' is a nonempty subset of E, The subgraph of G whose vertex set is the set of ends of edges in E' and whose edge set is E” is called the subgraph of G induced by E' and is denoted by G[E”]; G[E” is an edge-induced subgraph of G. The spanning subgraph of G with edge set ENE' is written simply as G—E'; it is the subgraph obtained from G by deleting the edges in E”. Similarly, the graph obtained from G by adding a set of edges E" is denoted by G+E”. If E'=([e) we write G—e and G+e instead of G—(e) and G +1e). Subgraphs of these various types are depicted in figure 1.7. Let G, and G, be subgraphs of G. We say that G, and G, are disjoint if they have no vertex in common, and edge-disjoint if they have no edge in common. The union G,UG, of G, and G, is the subgraph with vertex set Graphs and Subgraphs 11 A graph G is k-regular if d(v) = k for all ve V; a regular graph is one that is k-regular for some k. Complete graphs and complete bipartite graphs Ko, are regular; so, also, are the k-cubes. Exercises 1.5.1 Show that 8=2e/v=A. 1.5.2 Show that if G is simple, the entries on the diagonals of both MM' and A? are the degrees of the vertices of G. 1.5.3 Show that if a k-regular bipartite graph with k>0 has bipartition (X, Y), then |X]=] Y]. 1.5.4 Show that, in any group of two or more people, there are always two with exactly the same number of friends inside the group. 1.5.5 1f£ G has vertices 0;, 07, ..., 0, the sequence (d(v,), d(v»), ..., dío,)) is called a degree sequence of G. Show that a sequence (d1, dz, ..., d») of non-negative integers is a degree sequence of some graph if and only if. Y d, is even. i=l 1.5.6 A sequence d=(d,, d»,..., da) is graphic if there is a simple graph with degree sequence d. Show that (a) the sequences (7, 6, 5, 4, 3,3, 2) and (6, 6,5, 4, 3, 3, 1) are not graphic; - (b) if d is graphic and d>d,>...=d,, then Y d, is even and i=1 k n 2 dis k(k-1)+ 2, miník, dj for 1,..., d,) be a nonincreasing sequence of non-negative integers, and denote the sequence (d2-1, di-1,...,da.—1, dajrz, . .., d) by d. (a)* Show that d is graphic if and only if d' is graphic. (b) Using (a), describe an algorithm for constructing a simple graph with degree sequence d, if such a graph exists, (V. Havel, S. Hakimi) 1.5.8* Show that a loopless graph G contains a bipartite spanning subgraph H such that du(v) > ida(v) for all v e V. 1.5.9* Let S=(x,,xX2,..., Xn) be a set of points in the plane such that the distance between any two points is at least one. Show that there are at most 3n pairs of points at distance exactly one. 1.5.10 The edge graph of a graph G is the graph with vertex set E(G) in which two vertices are joined if and only if they are adjacent edges in 12 Graph Theory with Applications G. Show that, if G is simple (a) the edge graph of G has e(G) vertices and Y (1) edges; vEVIG) (b) the edge graph of Ks is isomorphic to the complement of the graph featured in exercise 1.2.6, 1.6 PATHS AND CONNECTION A walk in G is a finite non-null sequence W= v.e,D:€702... €x0x, whose terms are alternately vertices and edges, such that, for 1 Figure 1.8