100% found this document useful (3 votes)
5K views

Graph Theory by Harary

Uploaded by

Iram Jadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
100% found this document useful (3 votes)
5K views

Graph Theory by Harary

Uploaded by

Iram Jadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 284
FRANK HARARY Professor of Mathematics University of Michigan GRAPH THEORY ADDISON-WESLEY PUBLISHING COMPANY Reading, Massachusetts - Menlo Park, California - London - Don Mills, Ontario This book is in the ADDISON-WESLEY SERIES IN MATHEMATICS Copyright © 1969 by Addison-Wesley Publishing Company, Inc. Phil by Addison-Wesley Publishing Company, Inc. pines copyright 1969 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any forin or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. Published simultaneously in Canada. Library of Congress Catalog Card No. 69-1989. To KASIMIR KURATOWSKI Who gave K, and K 3,5 To those who thought planarity “Was nothing but topology. Ke: VN A YN PREFACE ‘When I was a boy of 14 my father was so ignorant I could hardly I got to be 2, I was astonished at how much the old man had learned in 7 years. Marx Twary There are several reasons for the acceleration of interest in graph theory. It has become fashionable to mention that there are applications of graph theory to some areas of physics, chemistry, communication science, computer technology, electrical and civil engineering, architecture, operational research, genetics, psychology, sociology, economics, anthropology, and linguistics. The theory is also intimately related to many branches of mathematics, including group theory, matrix theory, numerical analysis, probability, topology, and combinatorics. The fact is that graph theory serves as a mathematical model for any system involving a binary relation. Partly Decause of their diagranunatic ceptescutatiou, graphy lave an intuitive aud aesthetic appeal. Although there are many results in this field of an ele- mentary nature, there is also an abundance of problems with enough combinatorial subtlety to challenge the most sophisticated mathematician. Earlier versions of this book have been used since 1956 when regular courses on graph theory and combinatorial theory began in the Department of Mathematics at the University of Michigan. It has been found pedagogi- cally advantageous not to include proofs of all theorems. This device has Permitted the inclusion of more theorems than would otherwise have been possible. The book can thus be used as a text in the tradition of the “Moore Method,” with the | power by bh. to prove all theorems stated without proof. Note, however, that some of the missing proofs are both difficult and long. The reader who masters the content of this book will be qualified to continue with the study of special topics and to apply graph theory to other fields. An effort has been made to present the various topics in the theory of graphs in a logical order, to indicate the historical background, and to clarify the exposition by including figures to illustrate concepts and results. In addition, there are three appendices which provide diagrams of graphs, v vi PREFACE directed graphs, and trees. The emphasis throughout is on theorems rather than algorithms or applications, which however are occasionally mentioned. There are vast differences in the level of exercises, Those exercises which are neither easy nor straightforward are so indicated by a bold-faced number. Exercises which are really formidable are both bold faced and starred. The reader is encouraged to consider every exercise in order to become familiar with the material which it contains. Many of the “easier” exercises may be quite difficult if the reader has not first studied the material in the chapter. The reader is warned not to get bogged down in Chapter 2 and its many exercises, which alone can be used as a miniature course in graph theory for college freshmen or high-school seniors. The instructor can select material from this book for a one-semester course on graph theory, while the entire book can serve for a one-year course. Some of the later chapters are suitable as topics for advanced seminars. Since the elusive attribute known as “mathe- matical maturity” is really the only prerequisite for this book, it can be used as a text at the undergraduate or graduate level. An acquaintance with elementary group theory and matrix theory would be helpful in the last four chapters. I owe a substantial debt to many individuals for their invaluable as- sistance and advice in the preparation of this book. Lowell Beineke and Gary Chartrand have been the most helpful in this respect over a period of many years! For the past year, my present doctoral students, Dennis Geller, Bennet Manvel, and Paul Stockmeyer, have been especially enthusiastic in supplying comments, suggestions, and insights. Considerable assistance was also thoughtfully contributed by Stephen Hedetniemi, Edgar Palmer, and Michael Plummer. Most recently, Branko Griinbaum and Dominic Welsh kindly gave the complete book a careful reading. I am personally responsible for all the errors and most of the off-color remarks. Over the past two decades research support for published papers in the theory of graphs was received by the author from the Air Force Ofice of Scientific Research, the National Institutes of Health, the National Science Foundation, the Office of Naval Research, and the Rockefeller Foundation. During this time I have enjoyed the hospitality not only of the University of Michigan, but also of the various other scholarly organizations which I have had the opportunity to visit. These include the Institute for Advanced Study, Princeton University, the Tavistock Institute of Human Relations in London, University College London, and the London School of Economics. Reliable, rapid typing was supplied by Alice Miller and Anne Jenne of the Research Center for Group Dynamics. Finally, the author is especially grateful to the Addison-Wesley Publishing Company for its patience in waiting a full decade for this manuscript from the date the contract was signed, and for its cooperation in all aspects of the production of this book. July 1968 F.H. 1 Thate quotations, Tell me what you know. R. W. EMERSON Discovery . 1 The KSnigsberg bridge problem . 1 Electric networks : 2 Chemical isomers 3 Around the world : 4 The Four Color Conjecture . 5 Graph theory in the 20th century 5 Gaps 8 Varieties of graphs. : 8 Walks and connectedness... foe eB Degrees. woe foe The problemofRamsey 5 5 se Exremaleraphbs =. ss Sse foe Intersection graphs... - oe 19 Operations on graphs . So - 24 Blocks 2. | ee 6 Cutpoints, bridges,and blocks 5 0. wes . % Biovk graphs and curpoint graphs Soe . 23 Trees : : . 2 Characterization of trees. . oe : 2 Centersandcentroids. 9. 5 ws 35 Block-cutpoint trees. Bo te 36 Independent cycles and cocycles . 37 Matroids. se to 40 vii viii 10 u 12 CONTENTS Connectivity Connectivity and line-connectivity Graphical variations of Menger’s theorem Further variations of Menger's theorem Partitions Traversability Eulerian graphs . Hamiltonian graphs Line Graphs Some properties of line graphs Characterizations of line graphs Special line graphs : Line graphs and traversability Total graphs Factorization I-factorization 2-factorization Arboricity . Coverings . Coverings and independence Critical points and lines Line-core and point-core Planarity Plane and planar graphs Outerplanar graphs Kuratowski’s theorem Lo Other characterizations of planar graphs Genus, thickness, coarseness, crossing number Colorability The chromatic number The Five Color Theorem The Four Color Conjecture . The Heawood map-coloring theorem Uniquely colorable graphs Critical graphs. : 4B 47 52 65 n u Bey 11 Bil 82 84 88 90 94 97 v8 102 102 106 108 113 116 126 126 130 131 135 137 141 13 14 1s CONTENTS Homomorphisms . The chromatic polynomial. Matrices The adjacency matiix . The incidence matrix The cycle matrix Groups The automorphism group of a graph Operations on permutation groups The group of a composite graph Graphs with a given group Symmetric graphs Highly symmetric graphs Enumeration Labeled graphs . Poly Enumeration of graphs Enumeration of trees Power group enumeration theorem Solved and unsolved graphical enumeration problems Directional duality and acyclic digraphs Digtaphs and matrices Tournaments Appendix» I Graph Diagrams . Appendix II Digraph Diagrams Appendix III Tree Diagrams Bibliography Index of Symbols Index of Definitions ix 143 149 150 150 152 154 160 160 163 105 168 171 173 178 178 185 187 191 192 198 200 202 205 213 225 231 237 269 273 CHAPTER 1 DISCOVERY! Eureka! ARCHIMEDES It is no coincidence that graph theory has been independently discovered many times, since it may quite properly be regarded as an area of applied mathematics.* Indeed, the earliest recorded mention of the subject occurs in the works of Euler, and although the original problem he was considering might be regarded as a somewhat frivolous puzzle, it did arise from the physical world. Subsequent rediscoveries of graph theory by Kirchhoff and Cayley also had their roots in the physical world. Kirchhoff’s investiga- tions of electric networks led to his development of the basic concepts and theorems concerning trees in graphs, while Cayley considered trees arising from the enumeration of organic chemical isomers. Another puzzle approach to graphs was proposed by Hamilton. After this, the celebrated Four Color Conjecture came into prominence and has been notorious ever since. In the present century, there have already been a great many rediscoveries of graph theory which we can only mention most briefly in this chronological account. THE KONIGSBERG BRIDGE PROBLEM Euler (1707-1782) became the father of graph theory as well as topology when in 1736 he settled a famous unsolved problem of his day called the K6nigsberg Bridge Problem. There were two islands linked to each other and to the banks of the Pregel River by seven bridges as shown in Fig. 1.1. The problem was to begin at any of the four land areas, walk across each bridge exactly once and return to the starting point. One can easily try to * The basic combinatorial nature of graph theory and a clue to its wide applicability are indicated in the words of Sylvester, “The theory of ramification is one of pure colligation, for it takes no account of magnitude or position; geometrical lines are used, but have no more real bearing on the matter than those employed in genealogical tables have in explaining the laws of procreation.” 2 DISCOVERY! Fig, LA, A park in Kénigsberg, 1736. solve this problem empirically, but all attempts must be unsuccessful, for the tremendous contribution of Euler in this case was negative, see [E5]. In proving that the problem is unsolvable, Euler replaced each land area by a point and each bridge by a line joining the corresponding points, thereby producing a “graph.” This graph* is shown in Fig. 1.2, where the points are labeled to correspond to the four land areas of Fig. 1.1. Showing that the problem is unsolvable is equivalent to showing that the graph of Fig. 1.2 cannot be traversed in a certain way. Rather than treating this specific situation, Euler generalized the problem and developed a criterion for a given graph to be so traversable; namely, that it is connected and every point is incident with an even number of lines. While the graph in Fig. 1.2 is connected, not every point is incident with an even number of lines. s ae Fig. 1.2, The graph of the K dnigsberg Bridge Problem. ELECTRIC NETWORKS. Kirchhoff [K7] developed the theory of trees in 1847 in order to solve the system of simultaneous linear equations which give the current in each branch and around each circuit of an electric network. Although a physicist, he thought like a mathematician when he abstracted an electric network * Actually, this is a “multigraph” as we shall see in Chapter 2. CHEMICAL ISOMERS 3 with its resistances, condensers, inductances, etc., and replaced it by its corresponding combinatorial structure consisting only of points and lines without any indication of the type of eiectricai eiement represented by in- dividual lines. Thus, in effect, Kirchhoff replaced each electrical network by its underlying graph and showed that it is not necessary to consider every cycle in the graph of an electric network separately in order to solve the system of equations. Instead, he pointed out by a simple but powerful construction, which has since become standard procedure, that the inde- pendent cycles of a graph determined by any of its “spanning trees” will suffice. A contrived electrical network N, its underlying graph G, and a spanning tree T are shown in Fig. 1.3. Fig. 1.3. A network N, its underlying graph G, and a spanning tree T. CHEMICAL ISOMERS In 1857, Cayley [C2] discovered the important class of graphs called trees in the very natural setting of organic chemistry. He was engaged in enumer- ating the isomers of the saturated hydrocarbons C,H2,42, with a given number n of carbon atoms, as shown in Fig. 1.4. Of course, Cayley restated the problem abstractly: find the number of trees with p points in which every point has degree 1 or 4. He did not immediately succeed in solving this and so he altered the problem until he was able to enumerate : rooted trees (in which onc point is distinguished from the others), trees, trees with points of degree at most 4, and finally the chemical problem of trees in which every point has degree I or 4, see [C3]. Jordan later (1869) independently discovered trees as a purely mathematical dis- cipline, and Sylvester (1882) wrote that Jordan did so “without having any suspicion of its bearing on modern chemical doctrine,” see [K10, p. 48]. 4 DISCOVERY! Methane Ethane Propane Butane Isobutane Fig 14. The smallect saturated hydrocarhans AROUND THE WORLD A game invented by Sir William Hamilton* in 1859 uses a regular solid dodecahedron whose 20 vertices are labeled with the names of famous cities. The player is challenged to travel “around the world” by finding a ciosed circuit along the edges which passes through each vertex exactiy once. Hamilton sold his idea to a maker of games for 25 guineas; this was a shrewd move since the game was not a financial success, Fig. LS. “Around the world.” 8 7 In graphical terms, the object of the game is to find a spanning cycle in the graph of the dodecahedron, shown in Fig. 1.5. The points of the graph are marked 1, 2,- - -, 20(rather than Amsterdam, Ann Arbor, Berlin, Budapest, Dublin, Edinburgh, Jerusalem, London, Melbourne, Moscow, Novosibirsk, New York, Paris, Peking, Prague, Rio di Janeiro, Rome, San Francisco, Tokyo, and Warsaw), so that the existence of a spanning cycle is evident. * See Ball and Coxeter[BCI, p. 262] for a more complete description. GRAPH THEORY IN THE 20TH CENTURY s THE FOUR COLOR CONJECTURE The most famous unsolved problem in graph theory and perhaps in all of mathematics is the celebrated Four Color Conjecture. This remarkable problem can be explained in five minutes by any mathematician to the so- called man in the street. At the end of the explanation, both will understand the problem, but neither will be able to solve it. The following quotation from the definitive historical article by May [MS] states the Four Color Conjecture and describes its role : [The conjecture states that] any map on a plane or the surface of a sphere can be soluied wiih only fou wulvis 30 that au we adjacent cou color. Each country must consist of a single connected region, and adjacent countries are those having a boundary line (not merely a single point) in common, The conjecture has acted as a catalyst in the branch of mathematics known as combinatorial topology and is closely related to the currently fashionable field of graph theory. More than half a century of work by many (some say all) mathe- maticians has yielded proofs for special cases ... The consensus is that the con- jecture is correct but unlikely to be proved in general. It seems destined to retain for some time the distinction of being both the simplest and most fascinating unsolved problem of mathematics. The Four Color Conjecture has an interesting history, but its origin remains somewhat vague. There have been reports that Mobius was familiar with this problem in 1840, but it is only definite that the problem was com- municated to De Morgan by Guthrie about 1850. The first of many erroneous “proofs” of the conjecture was given in 1879 by Kempe [K6]. An error was found in 1890 by Heawood [H38] who showed, however, that the conjecture becomes true when “four” is replaced by “five.” A counterexample, if ever found, will necessarily be extremely large and complicated, for the con- jecture was proved most recently by Ore and Stemple [OS1] for all maps with fewer than 40 countries. The Four Color Conjecture is a problem in graph theory because every map yields a graph in which the countries (including the exterior region) are the points, and two points are joined by a line whenever the corresponding countries are adjacent. Such a graph obviously can be drawn in the plane without intersecting lines, Thus, if it is possible to color the points of every planar graph with four or fewer colors so that adjacent points have different colors, then the Four Color Conjecture will have been proved. GRAPH THEORY IN THE 20th CENTURY The psychologist Lewin [L2] proposed in 1936 that the “life space” of an individual be represented by a planar map.* In such a map, the regions would represent the various activities of a person, such as his work environ- * Lewin used only planar maps because he always drew his figures in the plane. 6 DISCOVERY! Fig. 1.6, A map and its corresponding graph. ment, his home, and his hobbies. It was pointed out that Lewin was actually dealing with graphs, as indicated by Fig. 1.6. This viewpoint led the psy- chologists at the Research Center for Group Dynamics to another psycho- logical interpretation of a graph, in which people are represented by points and interpersonal relations by lines. Such relations include love, hate, communication, and power. In fact, it was precisely this approach which led the author to a personal discovery of graph theory, aided and abetted by psychologists L. Festinger and D. Cartwright. The world of theoretical physics discovered graph theory for its own Purposes more than once. In the study of statistical mechanics by Uhlenbeck [U1], the points stand for molecules and two adjacent points indicate nearest neighbor interaction of some physical kind, for example, magnetic attraction or repulsion. In a similar interpretation by Lee and Yang [LY1], the points stand for small cubes in euclidean space, where each cube may or may not be occupied by a molecule. Then two points are adjacent whenever both spaces are occupied. Another aspect of physics employs graph theory rather as a pictorial device. Feynmann [F3] proposed the diagram in which the points represent physical particles and the lines represent paths of the particles after collisions. The study of Markov chains in probability theory (see, for example, Feller [F2, p. 340]) involves directed graphs in the sense that events are represented by points, and a directed line from one point to another indicates a positive probability of direct succession of these two events. This is made explicit in the book [HNCI, p. 371] in which a Markov chain is defined as a network with the sum of the values of the directed lines from each point equal to 1. A similar representation of a directed graph arises in that part of numerical analysis involving matrix inversion and the calculation of eigenvalues. Examples are given by Varga [V2, p. 48]. A square matrix is given, preferably “sparse,” and a directed graph is associated with it in the following way. The points denote the index of the rows and columns of the GRAPH THEORY IN THE 20TH CENTURY 7 given matrix, and there is a directed line from point i to point j whenever the i, j entry of the matrix in nonzero. The similarity between this approach and that for Markov chains is immediate. The rapidly growing fields of linear programming and operational research have also made use of a graph theoretic approach by the study of flows in networks. The books by Ford and Fulkerson [FF2], Vajda [V1] and Berge and Ghouila-Houri [BG2] involve graph theory in this way. The points of a graph indicate physical locations where certain goods may be stored or shipped, and a directed line from one place to another, together with a positive number assigned to this line, stands for a channel for the transmission of goods and a capacity giving the maximum possible quantity which can be shipped at one time. Within pure mathematics, graph theory is studied in the pioncering book on topology by Veblen [V3, pp. 1-35]. A simplicial complex (or briefly a complex) is defined to consist of a collection V of “points” together with a prescribed collection S of nonempty subsets of V, called “simplexes,” satisfying the following two conditions. 1. Every point is a simplex. 2. Every nonempty subset of a simplex is also a simplex. The dimension of a simplex is one less than the number of points in it ; that of a complex is the maximum dimension of any simplex in it. In these terms, a graph may be defined as a complex of dimension 1 or 0. We call a 1- dimensional simplex a line, and note that a complex is 0-dimensional if and only if it consists of a collection of points, but no lines or other higher dimensional simplexes. Aside from these “totally disconnected” graphs, every graph is a 1-dimensional complex. It is for this reason that the subtitle of the first book ever written on graph theory [K10] is “Kombinatorische Topologie der Streckenkomplexe.” It is precisely because of the traditional use of the words point and line as undefined terms in axiom systems for geometric structures that we have chosen to use this terminology. Whenever we are speaking of “geometric” simplicial complexes as subsets of a euclidean space, as opposed to the abstract complexes defined above, we shall then use the words vertex and edge. Terminological questions will now be pursued in Chapter 2, together with some of the basic concepts and elementary theorems of graph theory. CHAPTER 2 GRAPHS What's in a name? That which we call a rose By any other name would smell as sweet. WILLIAM SHAKESPEARE, Romeo and Juliet Most graph theorists use personalized terminology in their books, papers, and lectures. In order to avoid quibbling at conferences on graph theory, it has been found convenient to adopt the procedure that each man state in agvance the graph theoretic language he would use. Even the very word “graph” has not been sacrosanct. Some authors actually define a “graph” as a graph,* but others intend such alternatives as multigraph, pseudograph, directed graph, or network. We believe that uniformity in graphical terminology will never be attained, and is not necessarily desirable. Alas, it is necessary to present a formidable number of definitions in order to make available the basic concepts and terminology of graph theory. In addition, we give short introductions to the study of complete subgraphs, extremal graph theory (which investigates graphs with forbidden subgraphs), intersection graphs (in which the points stand for sets and nonempty inter- sections determine adjacency), and some useful operations on graphs. VARIETIES OF GRAPHS Before defining a graph, we show in Fig. 2.1 all 11 graphs with four points. Later we shall see that i) every graph with four points is isomorphic with one of these, ii) the 5 graphs to the left of the dashed curve in the figure are disconnected, iii) the 6 graphs to its right are connected, iv) the last graph is complete, v) the first graph is totally disconnected, vi) the first graph with four lines is a cycle, vii) the first graph with three lines is a path. * This is most frequently done by the canonical initial sentence, “In this paper we only consider finite undirected graphs without loops or multiple edges.” VARIETIES OF GRAPHS 9 1 Ed RE ~----J EI Le Fig. 2.1. The graphs with four points. Rather than continue with an intuitive development of additional concepts, we proceed with the tedious but essential sequence of definition upon definition. A graph G consists of a finite nonempty set V of p points* together with a prescribed set X of q unordered pairs of distinct points pf V. Each pair x = {u, v} of points in X is a line* of G, and x is said to join u and v. We write x = uv and say that u and v are adjacent points (sometimes denoted w adj v); point u and line x are incident with each other, as are v and x. If two distinct lines x and y are incident with a common point, then they are adjacent lines. A graph with p points and q lines is called a (p, q) graph. The (1, 0) graph is trivial. Fig. 2.2, A graph to illustrate adjacency. It is customary to represent a graph by means of a diagram and to refer to it as the graph. Thus, in the graph G of Fig. 2.2, the points u and v are adjacent but u and w are not; lines x and y are adjacent but x and z are not. Although the lines x and z intersect in the diagram, their intersection is not a point of the graph. * The following is list of synonyms which have been used in the literature, not always with the indicated pairs: point, vertex, node, junction, 0-simplex, element, jine, edge, arc, branch, 1-simplex, element. 10 GRAPHS There are several variations of graphs which deserve mention, Note that the definition of graph permits no Joop, that is, no line joining a point to itself. Ina multigraph, no loops are allowed but more than one line can join two points; these are called multiple lines. If both loops and multiple lines are permitted, we have a pseudograph. Figure 2.3 shows a multigraph and a pseudograph with the same “underlying graph,” a triangle. We now see why the graph (Fig. 1.2) of the Kénigsberg bridge problem is actually a multigraph. Fig. 2.3. A multigraph and a pseudograph. A directed graph or digraph D consists of a finite nonempty set V of points together with a prescribed collection X of ordered pairs of distinct points. The elements of X are directed lines or arcs. By definition, a digraph has no loops or multiple ares. An oriented graph is a digraph having no symmetric pair of directed lines. In Fig. 2.4 all digraphs with three points and three arcs are shown; the last two are oriented graphs. Digraphs constitute the subject of Chapter 16, but we will encounter them from time to time in the interim. 0 £2.A4 Fig. 2.4. The digraphs with three points and three arcs. A graph Gis labeled when the p points are distinguished from one another by names* such as v;,02,"**, v,- For example, the two graphs G, and G, of Fig. 2.5 are labeled but G, is not. Two graphs G and H are isomorphic (written G = H or sometimes G — II) if there oxists a one-to-one correspondence between their point sets which preserves adjacency. For example, G, and G, of Fig. 2.5 are isomorphic under the correspondence v; + u, and incidentally Gs is iso- * This notation for points was chosen since v is the first letter of vertex. Another author calls them vertices and writes py, Pa.*** s Po» VARIETIES OF GRAPHS ll G: Gs Gs: a Os os cs ts Fig. 2.5. Labeled and unlabeled graphs. morphic with each of them. It goes without saying that isomorphism is an equivalence relation on graphs. An invariant of a graph G is a number associated with G which has the same value for any graph isomorphic to G. Thus the numbers p and q are certainly invariants. A complete set of invariants determines a graph up to isomorphism. For example, the numbers p and q constitute such a set for all graphs with less than four points. No decent complete set of invariants for a graph is known. A subgraph of G is a graph having all of its points and lines in G. If G, is a subgraph of G, then G is a supergraph of G,. A spanning subgraph is a subgraph containing all the points of G. For any set S of points of G, the induced subgraph 3. If for each i, the subgraphs G, = G — v; and H, = H — u; are isomorphic, then the graphs G and H are isomorphic. There is an alternative point of view to this conjecture [1129]. Draw each of the p unlabeled graphs G — v,ona3 x Scard. The conjecture then states that any graph from which these subgraphs can be obtained by de- leting one point at a time is isomorphic to G. Thus Ulam’s conjecture * The reader is urged not to try to settle this conjecture since it appears to be rather difficult, WALKS AND CONNECTEDNESS 13 asserts that any two graphs with the same deck of cards are isomorphic. But we prefer to try to prove that from any legitimate* deck of cards, only one graph can be reconstructed. WALKS AND CONNECTEDNESS, One of the musi cleiteniay properties that any graphs can enjoy is thai of being connected. In this section we develop the basic structure of connected and disconnected graphs. A walk of a graph G is an alternating sequence of points and lines Vo, X45 Piy"* "5 Upn ts Xqr Uw» DEBINNing and ending with points, in which each line is incident with the two points immediately preceding and following it. This walk joins vp and v,, and may also be denoted vg 0; 02 * by (the lines being if v9 = v, and is open otherwise. It is a trail if all the lines are distinct, and a path if all the points (and thus necessarily all the lines) are distinct. If the walk is closed, then it is a cycle provided its n points are distinct and n> 3. In the labeled graph G of Fig. 2.9, v,v:vs0203 is a walk which is not a trail and vy02v5v4v205 is a trail which is not a path; v;v;vsv4 is a path and Bat gsta S a ee cs Fig. 2.9. A graph to illustrate walks. We denote by C, the graph consisting of a cycle with n points and by P, a path with n points; C; is often called a triangle. A graph is connected if every pair of points are joined by a path. A maxi- mal connected subgraph of G is called a connected component or simply a component of G. Thus, a disconnected graph has at least two components. The graph of Fig, 2.10 has 10 components. The length of a walk vp v, --- v, is n, the number of occurrences of lines in it. The girth of a graph G, denoted g(G), is the length of a shortest cycle (if any) in G; the circumference c(G) the length of any longest cycle. Note that these terms are undefined if G has no cycles. is a deck which can actually be obtained from some graph; another apparently difficult problem is to determine when a given deck is legitimate. 14 GRAPHS THAAV Fig. 2.10. A graph with 10 components. The distance d(u, v) between two points u and v in G is the length of a shortest path joining them if any; otherwise d(u, v) = 2. In a connected graph, distance is a metric ; that is, for all points u, v, and w, 1. d(u, v) = 0, with d(u, v) = 0 if and only ifu 2. d(u, v) = d(v, uw). 3. d(u, v) + d(v, w) = d(u, w). v, A shortest u-v path is often called a geodesic. The diameter d(G) of a connected graph G is the length of any longest geodesic. The graph G of Fig, 2.9 has girth g = 3, circumference c = 4, and diameter d = 2. The square G? of a graph G has V(G?) = V(G) with u, v adjacent in G? whenever d(u, v) < 2in G. The powers G?, G4, - - - of G are defined similarly. For example C3 = K,, while Pj = K, — x. - DEGREES s The degree* of a point v; in graph G, denoted d, or deg uy, is the number of lines incident with v;. Since every line is incident with two points, it contrib- utes 2 to the sum of the degrees of the points. We thus have a result, due to Euler [E6], which was the first theorem of graph theory! Theorem 21 The sum of the degrees of the points of a graph G is twice the number of lines, Videg v, = 24 er Corollary 2.1(a) In any graph, the number of points of odd degree is even.+ Ina (p,q) graph, 0 < deg v < p — 1 for every point v. The minimum degree among the points of G is denoted min deg G or 4(G) while A(G) = max deg G is the largest such number. If 4(G) = A(G) = r, then all points have the same degree and G is called regular of degree r. We then speak of the degree of G and write deg G — r. A regular graph of degree 0 has no lines at all. If G is regular of degree 1, then every component contains exactly one line: if it is regular of degree 2, * Sometimes called valency. + The reader is reminded (see the Preface) that not all theorems are proved in the text. THE PROBLEM OF RAMSEY 15 fig. Z.11, “Ihe cubic graphs with six points. every component is a cycle, and conversely of course. The first interesting regular graphs are those of degree 3; such graphs are called cubic. The two cubic graphs with six points are shown in Fig. 2.11. The second of It is convenient to have names for points of small degree. The point » is isolated if deg v = 0; it is an endpoint if deg v = 1 THE PROBLEM OF RAMSEY A puzzle which has become quite well known may be stated in the following frm: Prove that at any party with six people, there are three mutual acquain- tapces or three mutual nonacquaintances. K 1. Some authors admit the “empty graph” (which we would Gcuvic Ko if it eaivicd) and are then faced with iandiing its properties and specifying that certain theorems hold only for nonempty graphs, but we coasider such a concept pointless. + After Frank Ramsey, late brother of the present Archbishop of Canterbury. For a proof that r(m, n) exists for all positive integers m and n, see for example Hall (H7, p. 57] } Note that by definition, an infinite graph is not a graph. A review article on infinite graphs ‘was written by Nash-Williams [N3]. EXTREMAL GRAPHS 17 Table 2.1 RAMSEY NUMBERS n" 2 3 4 5 6 7 2 2 3 4 5 6 7 3 3 6 9 14 Bw 2B 4 4 9 18 EXTREMAL GRAPHS The following famous theorem of Turan [T3] is the forerunner of the field of extremal graph theory, see [E3]. As usual, let [r] be the greatest integer not exceeding the real number r, and {r} = —[—r)], the smallest integer not less than r. Theorem 2.3. The maximum number of lines among all p point graphs with no triangles is [p?/4]. Proof. The statement is obvious for small values of p. An inductive proof may be given separately for odd p and for even p: we present only the latter. Suppose the statement is true for all even p < 2n, We then prove it for p = 2n +2. Thus, let G bea graph with p = 2n + 2 points and no triangles. Since G is not totally disconnected, there are adjacent points u and v. The subgraph G’ = G — {u, v} has 2n points and no triangles, so that by the inductive hypotheses G' has at most [4n?/4] — n? lines., How many more lines can G have? There can be no point w such that u and vare both adjacent to w, for then u, v, and w would be points of a triangle in G. Thus if u is adjacent to k points of G’, v can be adjacent to at most 2n — k points. Then G has at most w+k+(2n—k) +1 =n? + 2n41 = p?/4 = [p?/4] lines. To complete the proof, we must show that for all even p, there exists a (p, p?/4-graph with no triangles. Such a graph is formed as follows: Take two sets V, and V; of p/2 points each and join each point of V; with each point of V;. For p = 6, this is the graph G, of Fig. 2.5. A bigraph (or bipartite graph*) G is a graph whose point set V can be partitioned into two subsets V, and V, such that every line of G joins V, with Vy. For example, the graph of Fig. 2.14(a) can be redrawn in the form of Fig. 2.14(b) to display the fact that it is a bigraph. If G contains every line joining V, and V;, then Gis a complete bigraph. If V, and V; have m and n points, we write G = K,,, = K(m, n). A start is a * Also called bicolorable graph, pair graph, even graph, and other things. + When n = 3, Hoffman [H43] calls K,,, “claw”; Erdés and Rényi [ER1], a “cherry.” 18 GRAPHS. @ © Fig. 2.14. A bigraph, complete bigraph K;,,- Clearly K,,, has mn lines, Thus, if p is even, K(p/, p/2) has p?/4 lines, while if p is odd, K([p/21, {0/2}) has [p/2]{p/2} = [p?/4] lines. That all such graphs have no triangles follows from a theorem of K8nig [K10, p. 170]. Theorem 2.4 A graph is bipartite if and only if all its cycles are even. Proof. If G is a bigraph, then its point set V can be partitioned into two sets V, and V;, so that every line of G joins a point of V, with a point of V;. Thus every cycle v,v,°** v,v, in G necessarily has its oddly subscripted points in V,, say, and the others in V>, so that its length n is even. For the converse, we assume, without loss of generality, that G is connected (for otherwise we can consider the components of G separately), Take any point v, € V, and let V, consist of », and all points at even distance from v,, while V, = V — V,. Since all the cycles of G are even, every line of G joins a point of V, with a point of Vj. For suppose there is a line uv joining two points of V,. Then the union of geodesics from v, to v and from v, to u together with the line uv contains an odd cycle, a contradiction. Theorem 2.3 is the first instance of a problem in “extremal graph theory”: for a given graph H, find ex (p, H), the maximum number of lines that a graph with p points can have without containing the forbidden subgraph IT. Thus Theorem 2.3 states that ex (p, K3) = [p?/4]. Some other results [E3] in extremal graph theory are: ex (p,C,) = 1 + pp + 1/2, (2.3) ex (p, Ky — x) = [p’/4], (2.4) ex (p, K,,5 +») = [p?/4] 0.5) Turan [T3] generalized his Theorem 2.3 by determining the values of ex (p, K,) for all n < p, a ye? = 77), fr) ex @ Ky) = SE (3): (26) INTERSECTION GRAPHS 19 where p = r mod (n — 1) and 0 6, and every Gn, 3n? + 1) graph contains n? cycles of length 4. INTERSECTION GRAPHS Let S be a set and F = {S,, +++, S,} a family of distinct nonempty subsets of $ whose union is S. The intersection graph of F is denoted Q(F) and defined by V(Q(F) = F, with S, and S, adjacent whenever i # j and S,n S) # 8 Then a graph G is an intersection graph on S if there exists a family F of subsets of $ for which G = Q(F). An early result [M4] on intersection graphs is now stated. Theorem 2.5 Every graph is an intersection graph. Proof. For each point v; of G, let S; be the union of {v,} with the set of lines incident with v,. Then it is immediate that G is isomorphic with O{F) where F = {5}. In view of this theorem, we can meaningfully define another invariant. The intersection number oAG) of a given graph G is the minimum number of elements in a set 5 such that G is an intersection graph on S. Corollary 2.5(a) If G is connected and p > 3, then a(G) < q. used in the = XG). Corollary 2.5(6) If G has po isolated*points, then «(G) < q + Po. proof of the theorem, so that ‘The next result tells when the upper bound in Corollary 2.5(a)is attained. Theorem 2.6 Let G be a connected graph with p > 3 points. Then a(G) = q if and only if G has no triangles. Proof, We first prove the sufficiency. In view of Corollary 2.5(a), it is only necessary to show that w(G) > q for any connected G with at least 4 points having no triangles. By definition of the intersection number, G is isomorphic with an intersection graph Q(F) on a set S with |S| = «(G). For each point v, of G, let S, be the corresponding set. Because G has no triangles, no element of S can belong to more than two of the sets S,, and S$; S; # ® if and only if v,0, is a line of G. Thus we can form a 1-1 correspondence between the lines of G and those elements of S which belong to exactly two sets S,. Therefore c(G) = [S| > q so that «(G) = 4. To prove the necessity, let @(G) = g and assume that G has a triangle, Then let G, be a maximal triangle-free spanning subgraph of G. By the preceding paragraph, w(G,) = q, = |X(G,)|. ‘Suppose that G, = Q(F), 20 GRAPHS where F is a family of subsets of some set S with cardinality g,. Let x bea line of G not in G, and consider G, = G, + x. Since G, is maximal triangle-free, G, must have some triangle, say u,u,U3, where x = u,u;. Denote by S,, S, S; the subsets of S corresponding to uy, u>, u3. Now if u, is adjacent to only 4; and uy in G,, replace S, by a singleton chosen from S, > S,, and add that element to Sj. Otherwise, replace $3 by the union of $, and any eiement in 8; 4 $2. In either case this gives a tamily F’ ot distinct subsets of S such that G, = Q(F)). Thus «(G) = q, while |X(G,)| = q, + 1. If G, & G, there is nothing to prove. But if G, # G, then let 1X(G)| — [X(G2) = go: It follows that G is an intersection graph on a set with g, + qo elements. However, g, + qo = q — 1. Thus «(G) < q, completing the proof. The intersection number of a graph had previously been studied by Erdés, Goodman, and Pésa [EGP1]. They obtained the best possible upper bound for the intersection number of a graph with a given number of points. Theorem 2.7 For any graph G with p > 4 points, (G) < [p?/4]. Their proof is essentially the same as that of Theorem 2.3. There isan intersection graph associated with every graph which depends on its complete subgraphs. A clique of a graph is a maximal complete subgraph. The clique graph of a given graph G is the intersection graph of the family of cliques of G. For example, the graph G of Fig. 2.15 obviously has K, as its clique graph, However, it is not true that every graph is the clique graph of some graph, for Hamelink [119] has shown that the same Jo! F. Roberts and J. S; ¢ chor: acterized clique graph: Theorem 2.8 A graph G is a clique graph if and only if it contains a family F of complete subgraphs, whose union is G, such that whenever every pair of such complete graphs in some subfamily F’ have a nonempty inter- section, the intersection of all the members of F’ is not empty. G Ke Fig. 2.15. A graph and its clique graph. Excursion A special class of intersection graphs was discovered in the field of genetics by Benzer [B9] when he suggested that a string of genes representing a OPERATIONS ON GRAPHS 21 bacterial chromosome be regarded as a closed interval on the real line. Hajés [H2] independently proposed that a graph can be associated with every finite family F of intervals S,, which in terms of intersection graphs, is precisely 9(F). By an interval graph is meant one which is isomorphic to some graph Q(F), where F is a family of intervals, Interval graphs have been characterized by Boland and Lekkerkerker [BL2] and by Gilmore and Hoffman [GH2]. Gy: l Ga G.uG | G+Gy: Fig. 2.16. The union and join of two graphs. OPERATIONS ON GRAPHS It is rather convenient to be able to express the structure of a given graph in terms of smaller and simpler graphs. It is also of value to have notational abbreviations for graphs which occur frequently. We have already introduced the complete graph K, and its complement K,, the cycle C,, the path P,, and the complete bigraph K,,,,. Throughout this section, graphs G, and G, have disjoint point sets V, and V; and line sets X, and X, respectively. Their union* G = G, U G, has, as expected, V=V,UV, and X = X,UX,, Their join defined by Zykov [Z1] is denoted G, + G, and consists of G, U G, and all lines joining V, with V;. In particular, Km, = Km + K,. These operations are illustrated in Fig, 2.16 with G, = K, = P, and G, = Ky) = Ps. For any connected graph G, we write nG for the graph with n components each isomorphic with G. Then every graph can be written as in [HP14] in the form Un, with G, different from G, for i # j. For example, the disconnected graph of Fig. 2.10 is 4K, U 3K, U 2K U Ky. ‘Tere are severai operations on G, and G, which resuit in a graph G whose set of points is the cartesian product V, x V,. These include the Product (or cartesian product, see Sabidussi [S5]), and the composition [121] (or lexicographic product, see Sabidussi [S6]). Other operations? of this form are developed in Harary and Wilcox [HW1]. * Of course the union of two graphs which are not disjoint is also defined this way. + These include the tensor product (Weichsel [W6], McAndrew [M7], Harary and Trauth (HTI], Brualdi[B17), and other kinds of product defined in Berge[BI2, p. 23], Ore[OS, p. 35], and Teh and Yap[TY]. uy (Ws, Ma) uy, 00) (us, Wa) Gs G, C—__8___% G,xGr: a (os, ma) 0) x) Fig. 2.17. The product of two graphs. fuga) tug 0) Fig. 2.18. Two compositions of graphs. To define the product G, x G2, consider any two points u = (uy, us) and v = (v4, 02) in V = V, x V>. Then u and v are adjacent in G, x G2 whenever [u, = v, and u; adj v2] or [uz = v, and u, adj v,]. The product of G, = P, and G, = Py is shown in Fig. 2.17. The composition G = G,[G,| also has V = V, x V3 as its point set, and u = (uw, u,) is adjacent with v = (v4, v2) whenever [u, adj v,] or [u, = », and u, adj v,]. For the graphs G, and G, of Fig. 2.17, both com- positions G,[G,] and G,[G,], which are obviously not isomorphic, are shown in Fig. 2.18. IfG, and G, are (p;, 41) and (p2, 42) graphs respectively, then for each of the above operations, one can calculate the number of points and lines in the resulting graph, as shown in the following table. Table 2.2 BINARY OPERATIONS ON GRAPHS Operation Number of points Number of lines Union G, UG, Pit Po nth Join G, + G, Pit Pr 91 + 42 + Pwr Prodi Gx G: PiPr Pidr + Poth Composition G,[G2] Pia Pida + P34 EXERCISES 23 Qe Qs: 100 110 “ Fig. 2.19, Two cubes, The complete n-partite graph K(p1, Px ***» Px) is defined as the iterated join K,, + K,, +°:- + K,,. It obviously has E p; points and £,<; pip; lines. ‘Anespecially important class of graphs known as cubes are most naturally expressed in terms of products. The n-cube Q, is defined recursively by Q, = K, and Q, = K, x Q,-;. Thus Q, has 2" points which may be labeled a,a,°+*d, where each a; is either 0 or 1. Two points of Q, are adjacent if their binary representations differ at exactly one place. Figure 2.19 shows both the 2-cube and the 3-cube, appropriately labeled. If G and H are graphs with the property that the identification of any point of G with an arbitrary point of H results in a unique graph (up to isomorphism), then we write G + H for this graph. For example, in Fig. 2.16 Gy = Ky+ K,, while in Fig. 2.7 G — vy = K3* K>. EXERCISES* 2.1. Draw all graphs with five points. (Then compare with the diagrams given in Appendix 1) 2.2 Reconstruct the graph G from its subgraphs G, = G — v, where G, = Ky — Gz = Py U Ky Gs = Kiy Ge = Gs = Kiy +X 23 A closed walk of odd length contains a cycle* 2.4 Prove or disprove: a) The union of any two distinct walks joining two points contains a cycle. b) The union of any two distinct paths joining two points contains a cycle, 2.5. A graph G is connected if and only if for any partition of V into two subsets V, and Vs, there is a line of G joining a point of V, with a point of V;,. 2.6 Ifd(u, v) = min G, what is d(u, ») in the nth power G*? * Whenever a bald statement is made, it is to be proved. An exercise with number in bold face is more difficult, and one which is also starred is most difficult. 24 GRAPHS. 2.7 A graph H is a square root of G if H? = G. A graph G with p points has a square root if and only if it contains p complete subgraphs G, such that, 1. eG, 2. %€G,ifand only if, G. » 3. each line of G is in some G,. (Mukhopadhyay [M18]) 28 A finite metric space (S, d) is isomorphic to the distance space of some graph if and only if 1, The distance between any two points of S is an integer, 2. If d(u, v) > 2, then there isa third point w such that d(u, w) + dl, ») = du, 0). (Kay and Chartrand [KC1]) 2.9 Ina connected graph any two longest paths have a point in common, 2.10 It is not true that in every connected graph all longest paths have a point in common. Verify that Fig. 2.20 demonstrates this (Walther [W4]) Fig. 2.20. A counterexample for Exercise 2.10, 2.1 Every graph with diameter d and girth 2d + 1 is regular. (Singleton [S13] 212 Let G be a (p,q) graph all of whose points have degree k or k + 1. If G has Py > 0 points of degree k and p,,, points of degree k + 1, then py = (k + L)p — 2g. 2.13. Construct a cubic graph with 2n points (n > 3) having no triangles. 2.14 If G has p points and 4(G) > (p — 1)/2, then G is connected. 215 If Gis not connected then Gis. 2.16 Every self-complementary graph has 4n or 4n + 1 points, 2.17 Draw the four self-complementary graphs with eight points. 2.18 Every nontrivial self-complementary graph has diameter 2 or 3. (Ringel [R11], Sachs [$8]) 2.19 The Ramsey numbers satisfy the recurrence relation, rim, n) < r(m — 1, n) + rim,n ~ 1). (Erdés [E4]) 2.20 Find the maximum number of lines inggjggaph with p points and no even cycles. EXERCISES 25 2.21 Find the extremal graphs which do not contain Ky. (Turén [T3]) 22 Every (p, p + 4) graph contains two int cycles. (Erdés [E3]) 2.23. The only (p, [p?/4]) graph with no triangles is K([p/2], {p/2}). 224 Proveor disprove: The only graph on p points with maximum intersection number is K([p/2], {0/2}). 2.25 The smallest graph having every line in at least two triangles but some line in no K, has 8 points and 19 lines. Construct it (J. Cameron and A. R. Meetham) 2.26 Determine a(K,), o(C, + K,), oC, + C,), and w(C,). 2.27 Prove or disprove: a) The number of cliques of G does not exceed «(G). b) The number of cliques of G is not less than «(G). 2.28 Prove that the maximum number of cliques in a graph with p points where p—4=3r4+5,5=0,1or2 is? 9, (Moon and Moser [MM1]) 229 Accycle of length 4 cannot be an induced subgraph of an interval graph. 2.30 Let s(n) denote the maximum number of points in the n-cube which induce a cycle. Verify the following table: n 23 4° 4 sit) | 4 6 8 14 (Danzer and Klee [DK1]) 2.31 Prove or disprove: If G, and G, are regular, then so is aG+G. 0G,xG. 0 GG]. 232. Prove or disprove: If G, and G, are bipartite, then so is aG+G. 0G, xG. © G[G,). 2.33 Prove or disprove: a GF =G.4+G, )G%G=6,x«G, 0 61G] = GIG). 234 a) Calculate the number of cycles in the graphs (a) C, + Ky, (b) Kp, (C) Krux (Harary and Manvel [HM1]) b) What is the maximum number of line-disjoint cycles in each of these three graphs? (Chartrand, Geller, and Hedetniemi [CGH2]) 2.35 The conjunction Gy G, has V, x Vz as its point set and u = (u,, ua) is adjacent to v = (v,, v2) whenever 4, adj v, and u, adjv,, Then G, x G, = G, A G, if and only if G, = Gz ~ Cams (Miller [M11]) 236 The conjunction G, A G of two connected graphs is connected if and only if G, or G, has an odd cycle. °2.37 There exists a regular graph of degree r with r? + 1 points and diameter 2 only for r = 2, 3, 7, and possibly 57. (Hoffman and Singleton [HS1]) *238 A graph G with p = 2n has the property that for every set S of n points, the induced subgraphs ¢S) and ,. K, x Kz. 2K,.2C,, and their complements. (Kelly and Merriell [KM1]) CHAPTER 3 BLOCKS Not merely a chip but the old block itself. EpMUND BURKE Some connected graphs can be disconnected by the removal of a single point, called a cutpoint. The distribution of such points is of considerable assistance in the recognition of the structure of a connected graph. Lines with the analogous cohesive property are known as bridges. The fragments of a graph held together by its cutpoints are its blocks. After characterizing these three concepts, we study two new graphs associated with a given graph: its block graph and its cutpoint graph. CUTPOINTS, BRIDGES, AND BLOCKS ‘A cutpoint of a graph is one whose removal increases the number of com- ponents, and a bridge is such a line. Thus if v is a cutpoint of a connected graph G, then G ~ p is disconnected. A nonseparable graph is connected, nontrivial, and has no cutpoints. A block of a graph is a maximal nonsepar- able subgraph. If G is nonseparable, then G itself is often called a block. Be Be | 7 Mig. 3.1. A graph and its blocks. 26 CUTPOINTS, BRIDGES, AND BLOCKS 27 In Fig. 3.1, v is a cutpoint while w is not; x is a bridge but y is not; and the four blocks of G are displayed. Each line of a graph lies in exactly one of its blocks, as does each point which is not isolated or a cutpoint. Further- more, the lines of any cycle of G also lie entirely in a single block. Thus in particular, the blocks of a graph partition its lines and its cycles regarded as sets of lines. The first three theorems of this chapter present several equivalent conditions for each of these concepts. Theorem 3.1 Let v be a point of a connected graph G. The following state- ments are equivalent: (1) vis a cutpoint of G. (2) There exist points u and w distinct from v such that v is on every u-w path. (3) There exists a partition of the set of points V — {v} into subsets U and W such that for any points ue U and we W, the point v is on every u-w path. Proof. (1)implies(3) Since vis acutpoint of G,G — vis disconnected and has at least two components. Form a partition of V — {v} by letting U consist of the points of one of these components and W the points of the others. Then any two points u ¢ U and w € W lie in different components of G ~ v. Therefore every u-w path in G contains v. (3) implies (2). This is immediate since (2) is a special case of (3). (2) implies (1) If vis on every path in G joining u and w, then there cannot be a path joining these points in G — v. Thus G — v is disconnected, so v is a cutpoint of G. Theorem 3.2 Let x bea line ofaconnected graph G. The following statements are equivalent: : (1) xis a bridge of G. (2) x is not on any cycle of G. (3) There exist points u and v of G such that the line x is on every path joining u and v. (4) There exists a partition of V into subsets U and W such that for any points u € U and w € W, the line x is on every path joining u and w. ‘Theorem 3.3. Let G be a connected graph with at least three points. The following statements are equivalent: (1) Gis a block. (2) Every two points of G lie on a common cycle. (3) Every point and line of G lie on a common cycle. 28 BLOCKS (4) Every two lines of G lie on a common cycle. (5) Given two points and one line of G, there is a path joining the points which contains the line. (6) For every three distinct points of G, there is a path joining any two of them which contains the third. (1) For every three distinct points of G, there is a path joining any two of them which does not contain the third. : Proof.(1) implies(2) Let wand v be distinct points of G, and let U be the sct of points different from u which lie on a cycle containing u. Since G has at least three points and no cutpoints, it has no bridges; therefore, every point adjacent to u is in U, so U is not empty. Fig, 3.2. Paths in blocks. Suppose v is not in U. Let w be a point in U for which the distance d(w, v) is minimum. Let P, be a shortest w-v path, and let P, and P, be the two u-w paths of a cycle containing u and w (see Fig. 3.2a). Since w is not a cutpoint, there is a u-v path P’ not containing w (see Fig. 3.2). Let w’ be the point nearest u in P’ which is also in Po, and let u’ be the last point of the u-w' subpath of P’ in either P, or P,. Without loss of generality, we assume w isin Py. Let Q, be the uw’ path consisting of the uu’ subpath of P, and the u'-w’ subpath of P’. Let Q, be the u-w’ path consisting of P, followed by the wew' subpath of Py. Then Q, and Q, are disjoint u-w’ paths. Together they form a cycle, so w’ is in U. Since w’' is on a shortest w-v path, d(w’, v) < d(w, »). This contradicts our choice of w, proving that u and v do lie on a cycle. (2) implies (3) Let ubea point and vwa line of G. Let Z bea cycle containing uand v. A cycle Z’ containing u and vw can be formed as follows. If w is on Z, then Z’ consists of vw together with the v-w path of Z containing u. If w isnot on Z, thereis a w-u path P not containing », since otherwise v would bea cutpoint by Theorem 3.1. Let u' be the first point of P in Z. Then Z' consists of vw followed by the w-u’ subpath of P and the uv path in Z containing u. (3) implies (4) This proof is analogous to the preceding one, and the details are omitted. BLOCK GRAPHS AND CUTPOINT GRAPHS 29 (4) implies(5)_ Any two points of G are incident with one line each, which lie on a cycle by (4). Hence any two points of G lie on a cycle, and we have (2), so also(3). Let wand v be distinct points and xa line of G. By statement (3), there are cycles Z, containing u and x, and Z, containing v and x. Ifv is on Z, or wis on Z;, there is cléarly a path joining u and v containing x. Thus, we need only consider the case where p is not on Z, and wis not on Z,. Begin with uand proceed along Z, until reaching the first point w of Z,, then take the path on Z; joining w and v which contains x. This walk constitutes a path joining u and v that contains x. (5) implies (6) Let u, v. and w be distinct points of G, and let x be any line in- cident with w. By (5), there is a path joining u and v which contains x, and hence must contain w. (6) implies (7) Let u, v, and w be distinct points of G. By statement (6), there is a u-w path P containing v. The u-v subpath of P does not contain w. (7) implies (1) By statement (7), for any two points u and », no point lies on every u-v path. Hence, G must be a block. Theorem 3.4 Every nontrivial connected graph has at least two points which are not cutpoints. Proof. Let wand » be points at maximum distance in G, and assume v is a cutpoint. Then there is a point w in a different component of G — v than u Hence v is in every path joining u and w, so d(u, w) > d(u, v), which is im- possible. Therefore v and similarly u are not cutpoints of G. BLOCK GRAPHS AND CUTPOINT GRAPHS There are several intersection graphs derived from a graph G which reflect its structure. If we take the blocks of G as the family F of sets, then the intersection graph Q(F) is the block graph of G, denoted by B(G). The blocks of G correspond to the points of B(G) and two of these points are adjacent whenever the corresponding blocks contain a common cutpoint of G. On CG): @—_+—__ Fig. 3.3. A graph, its block graph, and its cutpoint graph. 30 BLOCKS the other hand, to obtain a graph whose points correspond to the cutpoints of G, we can take the sets S, to be the union of all blocks which contain the cutpoint v;. The resulting intersection graph Q(F) is called the cutpoint graph, C(G). Thus two points of C(G) are adjacent if the cutpoints of G to which they correspond lie on a common block. Note that C(G) is defined only for graphs G which have at least one cutpoint. Figure 3.3 illustrates these concepts, which were introduced in [H28]. Theorem 3.5 A graph H is the block graph of some graph if and only if every block of H is complete. Proof. Let H = B(G), and assume there is a block H, of H which is not complete. Then there are two points in H, which are nonadjacent and lie on a common cycle Z of length at least 4. But the union of the blocks of G corresponding to the points of H; which lie on Z is then connected and has no cutpoint, so it is itself contained in a block, contradicting the maximality property of a block of a graph. On the other hand, let H be a given graph in which every block is com- plete. Form B(H), and then form a new graph G by adding to each point H, of B(H) a number of endlines equal to the number of points of the block H, which are not cutpoints of H. Then it is easy to see that B(G) is isomorphic to H. Clearly the same criterion also characterizes cutpoint graphs. EXERCISES 3.1 What is the maximum number of cutpoints in a graph with p points? 3.2 Acubic graph has a cutpoint if and only if it has a bridge. 3.3. The smaiiest number of points in a cubic graph with a bridge is i0. 3.4 If visa cutpoint of G, then v is not a cutpoint of the complement G. (Harary [H15]) 3.5 A point v of G is a cutpoint if and only if there are points w and w adjacent to v such that v is on every u-w path. 3.6 Prove or disprove: A connected graph G with p > 3 is a block if and only if given any two points and onc linc, there is a path joining the points which docs not contain the line. 3.7 Aconnected graph with at least two lines is a block ifand only if any two adjacent lines lie on a cycle. 38. Let G be a connected graph with at least three points, The following statements are equivalent: 1. G has no bridges. 2. Every two points of G lie on a common closed trail. 3. Every point and line of G lie ona common closed trail. EXERCISES 3] 4, Every two lines of G lie on a common closed trail. . For every pair of points and every line of G, there is a trail joining the points which contains the line. 6. For every pair of points and every line of G, there is a path joining the points which does not contain the line. 7. For every three points there is a trail joining any two which contains the third. 39 IfG isa block with 5 > 3, then there is a point » such that G — vis also a block. (A. Kaugars) 3.10 The square of every nontrivial connected graph is a block. 3.11 IFG is a connected graph with at least one cutpoint, then B(B(G) is isomorphic to CG). 3.12. Let H(v) be the number of blocks to which point v belongs in a connected graph G. Then the number of blocks of G is given by WG) — 1 = [be) - 1]. (Harary [H22]) 3.13. Let (B) be the number of cutpoints of a connected graph G which are points of the block B. Then the number of cutpoints of G is given by oG) — 1 = [e(B) — 1). (Gallai [G3]) 3.14 A block G is line-critical if every subgraph G — x is not a block. A diagonal of G is a line joining two points of a cycle not containing it. Let G be a line-critical block with p > 4. a) Ghas no diagonals. b) G contains no triangles. opsqsp-4 d) The removal of all points of degree 2 results in a disconnected graph, provided Gis not a cycle. (Plummer [P4]) CHAPTER 4 TREES Poems are made by fools like me, But only God can make a tree. Joyce KILMER ‘There is one simple and important kind of graph which has been given the same name by all authors, namely a tree. Trees are important not only for sake of their applications to many different fields, but also to graph theory itself. One reason for the latter is that the very simplicity of trees make it Possible to investigate conjectures for graphs in general by first studying the situation for trees. An een is provided by Ulam’s conjecture mentioned in Chapter 2. Several ways of defining a tree are developed. Using geometric termin- ology, we study centrality of trees. This is followed by a discussion of a tree which is naturally associated with every connected graph: its block-cutpoint tree. Finally, we see how each spanning tree of a graph G gives rise to a collection of independent cycles of G, and mention the dual (complementary) construction of a collection of independent cocycles from each spanning cotree. CHARACTERIZATION OF TREES A graph is acyclic if it has no cycles. A tree is a connected acyclic graph. Any graph without cycles is a forest, thus the components of a forest are trees. There are 23 different trees* with eight points, as shown in Fig. 4.1. There are numerous ways of defining trees, as we shall now see. Theorem 4.1 The following statements are equivalent for a graph G: (1) Gis a tree. (2) Every two points of G are joined by a unique path. * Ieis interesting to ask people to draw the trees with eight points, Some trees will frequently be missed and others duplicated. 32 CHARACTERIZATION OF TREES 33 _ po x TCT CTT CTT ot *K Seppe se pe t Pls tt |... Fig. 4.1. The 23 trees with eight points, (3) Gis connected and p = q + 1. (4) Gis acyclic and p = q + 1. (8) Gis acyclic and if any two nonadjacent points of G are joined by a line x, then G + x has exactly one cycle. (© Gis connected, is not K, for p > 3, and if any two nonadjacent points of G are joined by a line x, then G + x has exactly one cycle. (7) Gis not K3 U Ky or Ky U K3, p = q + 1, and if any two nonadjacent points of G are joined by a line x, then G + x has exactly one cycle. Proof. (1)implies(2) Since Gis connected, every two points of Gare joined by a path. Let P, and P; be two distinct paths joining uv and v in G, and let w be the first point on P, (as we traverse P, from u to v) such that wis on both P, and P, but its successor on P, is not on P3. If we let w’ be the next point on P, which is also on P,, then the segments of P, and P, which are between wand w’ together form a cycle in G, Thus if G is acyclic, there is at most one path joining any two points. (2) implies (3) Clearly G is connected. We prove p = q + 1 by induction. It is obvious for connected graphs of one or two points. Assume it is true for graphs with fewer than p points. If G has p points, the removal of any line of G disconnects G, because of the uniqueness of paths, and in fact this apt will have caacily wo Cumpoueuis, By the inductivu hypuiiiesis each component has one more point than line. Thus the total number of lines in G must be p — 1. (3) implies (4) Assume that G has a cycle of length n. Then there are n points and n lines on the cycle and for each of the p — n points not on the cycle, 34 TREES there is an incident line on a geodesic to a point of the cycle. Each such line is different, so q > p, which is a contradiction. (4) implies (5) Since G is acyclic, each component of G isa tree. Ifthere are k components, then, since each one has one more point than line, p = q + k,so k = Land G is connected. Thus G is a tree and there is exactly one path connecting any two points of G. If we add a line wv to G, that line, together with the unique path in G joining u and v, forms cycle. The cycle is unique because the path is unique. (5) implies (6) Since every K, for p > 3 contains a cycle, G cannot be one of them. Graph G must be connected, for otherwise a line x could be added joining two points in different components of G, and G + x would be acyclic. (6) implies (7) We prove that every two points of G are joined by a unique path and thus, because (2) implies (3), p = q + 1. Certainly every two points of Gare joined by some path. If two points of G are joined by two paths, then by the proof that (1) implies (2), G has a cycle. This cycle cannot have four or more points because, if it did, then we could produce more than one cycle in G + x by taking x joining two nonadjacent points on the cycle (if there are no nonadjacent points on the cycle, then G itself has more than one cycle). So the cycle is K3, which must be a proper subgraph of G since by hypothesis G is not complete with p > 3. Since G is connected, we may assume there is another point in G which is joined to a point of this K3. Then it is clear that if any line can be added to G, then one may be added so as to form at least two cycles in G + x. Ifno more lines may be added, so that the second condition on G is trivially satisfied, then G is K, with p > 3, contrary to hypothesis. (7) implies (1) If G has a cycle, that cycle must be a triangle which is a com- ponent of G, by an argument in the preceding paragraph. This component has three points and three lines. All other components of G must be trees and, in order to make p = g + 1, there can be only one other component. If this tree contains a path of length 2, it will be possible to add a line x to G and obtain two cycles in G + x. Thus this tree must be either K, or K,. So G must be K, U K, or K3 U K,, which are the graphs which have been excluded. Thus G is acyclic. But if G is acyclic and p = q + 1, then G is connected since (4) implies (5) implies (6). So G is a tree, and the theorem is proved. Because a nontrivial tree has © d; = 2g = 2(p = 1), there are at least two points with degree less than 2. Corollary 4.1(a) Every nontrivial tree has at least two endpoints. This result also follows from Theorem 3.4. CENTERS AND CENTROIDS 35 Fig. 4.2. The eccentricities of the points of a tree. CENTERS AND CENTROIDS The eccentricity ev) of a point v in a connected graph G is max d(u, v) for all uinG. The radius r(G) is the minimum eccentricity of the points. Note that the maximum eccentricity is the diameter. A point v is a central point if e(v) = r(G), and the center of G is the set of all central points. In the tree of Fig. 4.2, the eccentricity of each point is shown. This tree has diameter 7, radius 4, and the center consists of the two points u and v, each with minimum eccentricity 4. The fact that u and v are adjacent illustrates a result discovered by Jordan* and independently by Sylvester ; see Kénig [K10, p. 64]. Theorem 4.2 Every tree has a center consisting of either one point or two adjacent points. Proof. The result is obvious for the trees K, and K,. We show that any other tree T’ has the same central points as the tree 7° obtained by removing all endpoints of T. Clearly, the maximum of the distances from a given point u of T to any other point v of T will occur only when v is an endpoint. Thus, the eccentricity of each point in T’ will he exactly ane less than the eccentricity of the same point in T. Hence the points of T which possess minimum eccentricity in T are the same points having minimum eccentricity in T’, that is, T and 7’ have the same center. If the process of removing endpoints is repeated, we obtain successive trees having the same center as T. Since T is finite, we eventually obtain a tree which is either K, or K3. In either case all points of this ultimate tree constitute the center of T which thus consists of just a single point or of two adjacent points. A branch at a point u of a tree T is a maximal subtree containing u as an endpoint. Thus the number of branches at u is deg u. The weight at a point u of T is the maximum number oflines in any branch atu. The weights at the * Of Jordan Curve Theorem fame, 36 TREES 1 Fig. 4.3. The weights at the points of a tree. nonendpoints of the tree in Fig. 4.3 are indicated. Of course the weight at each endpoint is 14, the number of lines. A point visa centroid point of a tree I if v has minimum weight, and the centroid of T consists of all such points. Jordan [J2] also proved a theorem on the centroid of a tree analogous to his result for centers. ‘Theorem 4.3 Every tree has a centroid consisting of either one point or two adjacent points. The smallest trees with one and two central and centroid points are shown in Fig. 4.4. Joo. wa : — — Fig. 4.4. Trees with all combinations of one or two central and centroid points. Centroid BLOCK-CUTPOINT TREES It has often been observed that a connected graph with many cutpoints bears a resemblance to a tree. This idea can be made more definite by as- sociating with every connected graph a tree which displays the resemblance. For a connected graph G with blocks {B,} and cutpoints {c,}, the block-cutpoint graph of G, denoted by be(G), is defined as the graph having point set {B;} U {c;}, with two points adjacent if one corresponds to a block B,and the other to a cutpoint c;and c;is in B,. Thus be(G)is a bigraph. This concept was introduced in Harary and Prins [HP22] and also in Gallai [G3]. (See Fig. 4.5.) INDEPENDENT CYCLES AND COCYCLES 37 G be(G): Fig. 4.5. A graph and its block-cutpoint graph. Theorem 4.4 A graph G is the block-cutpoint graph of some graph H if and only if it is a tree in which the distance between any two endpoints is even, In view of this theorem, we will speak ofthe block-cutpoint tree of a graph. INDEPENDENT CYCLES AND COCYCLES We describe two vector spaces associated with a graph G: its “cycle space” and “cocycle space.” For convenience, these two vector spaces will be taken over the two element field F, = {0,1}, in which 1 + 1 = 0 (even though the theory can be modified to hold for an arbitrary field). In particular, the €, which occur repeatedly in the following definitions are always either 0 or 1. As usual, let G be a graph with points vy, °-°, vp and lines x4, °°, xq. A 0-chain of G is a formal linear combination E ev; of points and a J-chain is a sum E ¢,x; of lines. The boundary operator @ sends 1-chains to 0-chains according to the rules: a) dis linear, b) ifx = we, then ax =u tv. On the other hand, the coboundary operator 6 sends 0-chains to 1-chains by the rules: a) 6 is linear. b) dv = E eqx, where e, = 1 whenever x; is incident with v. 38 TREES 1% 4 © Fig. 4.6. A graph to illustrate the boundary and coboundary operators, In Fig. 4.6, the 1-chain 6, = x, + xz + X4 + Xo has boundary Go, = (vy + v2) + (y+ v3) + (v2 + U4) + (Us + U6) = 03 + Us + Us + U6, and the 0-chain og = v3 + v4 + vs + v¢ has as its coboundary 09 = (Xz + Xa + Xo + Xx) + (Xa + Xe) + (Xs + X6 + Xg + Xo) + (x7 + Xo) = Xp + X35 + Xy t Xs. A 1-chain with boundary 0 is a cycle vector* of G and can be regarded as a set of line-disjoint cycles. The collection of all cycle vectors forms a vector space over F, called the cycle space of G. A cycle basis of G is defined as a basis for the cycle space of G which consists entirely of cycles. We say a cycle-vector Z depends on the cycles Z,, Z,,°*-, Z, if it can be written as Ek, 6)Z,. Thus a cycle basis of G is a maximal collection of independent cycles of G, or a minimal collection of cycles on which all cycles depend. A cutset of a connected graph is a collection of lines whose removal results in a disconnected graph. A cocycle isa minimal cutset. A coboundary of G is the coboundary of some 0-chain in G. The coboundary ofa collection U of points is just the set of all lines joining a point in U to a point not in U. Thus every coboundary isa cutset. Since we define a cocycle as a minimal cutset of G and any minimal cutset is a coboundary, we see that a cocycle is just a minimal nonzero coboundary. The collection of all coboundaries of Gis called the cocycle space of G, and a basis for this space which consists entirely of cocycles is called a cocycle basis for G. We proceed to construct for the cycle space of G a basis which corre- sponds to a spanning tree T. In a connected graph G, a chord of a spanning tree T isa line of G which is not in T. Clearly the subgraph of G consisting of T and any chord of T has exactly one cycle. Moreover, the set Z(T) ‘Most topologists and some graph theorists call this a “cycle.” ‘They then use “circuits” or “elementary cycles” or “polygons” for our cycles. INDEPENDENT CYCLES AND COCYCLES 39 bs A Fig. 4.7. Graph, tree, and cotree. 2D LEN D Fig. 48. A cocycle basis for G of Fig. 4.7. of cycles obtained in this way (one from each chord) is independent, since each contains a line not in any of the others. Also, every cycle Z depends on the set Z(T), for Z is the symmetric difference of the cycles determined by the chords of T which lie in Z. Thus if we define m(G), the cycle rank, to be the number of cycles in a basis for the cycle space of G, we have the following result. Theorem 45 The cycle rank of a connected graph G is equal to the number of chords of any spanning tree in G. Corollary 4.5(a) If G is a connected (p, g) graph, then m(G) = q — p + 1. Corollary 4.5(b) If G is a (p, q) graph with k components, then mG)=a—p+k. Similar results are true for the cocycle space. The cotree T* of a spanning tree T in a connected graph G is the spanning subgraph of G containing exactly those lines of G which are not in T. A cotree of G is the cotree of some spanning tree T. In Fig. 4.7, a spanning tree T and its cotree T* are displayed for the same graph G as in Fig. 4.6. The lines of G which are not in T* are called its twigs. The subgraph of G consisting of T* and any one of its twigs contains exactly one cocycle. ‘The collection of cocycles obtained by adding twigs to T*, one at a time, is seen to be a basis for the cocycle space of G. This is illustrated in Fig. 4.8 for the graph G and cotree T* of Fig. 4.7, with the cocycles indicated by heavy lines. The cocycle rank m*(G) is the number of cocycles in a basis for the cocycle space of G. 40 TREES Theorem 4,6 The cocycle rank of a connected graph G is the number of twigs in any spanning tree of T. As in the case of cycles, we have two immediate corollaries. Corollary 4.6(a) If Gis a connected (p, q) graph, then m*(G) = p — 1. Corollary 4,66) IfGisa(p, q) graph with k components, then m*(G) = p — k Excursion The 1-dimensional case of an important general result about simplicial complexes can be derived from Theorem 4.5. The Euler-Poincaré equation ay — ay + 0 = = By — Bi + Ba = 2s where the 8, are the Betti numbers and the a, are the numbers of simplexes of each dimension, holds for every simplicial complex. By definition, 8, is the rank of the vector space of n-dimensional cycles. Recall from Chapter 1 that every graph is a simplicial complex, with its points 0-simplexes and its lines 1-simplexes. Fora graph, By = k, the number ofconnected components, and B, = m(G), the number of independent cycles of G. Since no graph contains an n-simplex with n> 1, a, = B, = 0, for all n> 1. Thus a — % = Bo ~ By 80 p ~ g =k — mG) and we see that Corollary 4.5(b) is the Euler-Poincaré equation for graphs. MATROIDS This subject was first introduced by Whitney [WIS]. A discussion of the basic properties of matroids, as well as several equivalent axiomatic formula- tions, may be found in Whitney's original paper. A matroid consists of a finite set M of elements together with a family @ = {C,, C2, --} of nonempty subsets of M, called circuits, satisfying the axioms: 1. no proper subset of a circuit is a circuit ; 2. ifx eC, mC, then C, UC, — {x} contains a circuit. With every graph G, one can associate a matroid by taking its set X of lines as the set M, and its cycles as the circuits. It is easily seen that the two axioms are satisfied. it is slightiy iess obvious that G yivids another mairoid by taking the cocycles of G as the circuits. These are called respectively the cycle matroid and the cocycle matroid of G. Another, equivalent, definition of matroid is as follows. A matroid consists of a finite set M of elements together with a family of subsets of M called independent sets such that: penden MaTROIDS = 41 2. every subset of an independent set is independent ; 3. for every subset A of M, all maximal independent sets contained in A have the same number of elements. A graph G yields a matroid in this sense by taking the lines of G as set M and the acyclic subgraphs of G as the independent sets. The duality (cycles vs. cocycles, trees vs. cotrees) which appears in the preceding section is closely related to duality in matroids. Minty [M12] constructed a self-dual axiom system for “graphoids” which displays matroid duality explicitly. A graphoid consists of a set M of elements together with two collections and Y of nonempty subsets of M, called circuits and cocircuits respectively, such that : 1, for any Ce @ and De @,|C 0 Di #1; . no circuit properly contains another circuit and no cocircuit properly contains another cocircuit; . for any painting of M which colors exactly one element green and the rest either red or blue, there exists either a) acircuit C containing the green element and no red elements, or b) acocircuit D containing the green element and no blue elements. nv » While the cycles of every graph form a matroid, not every matroid can so arise from a graph, as we shall see in Chapter 14. Two comprehensive references an matroid theary are Minty [M12] and Tutte [T19] Excursion Ulam’s conjecture is still as unsolved as ever for arbitrary graphs. But Kelly [K5] proved its validity for uees. As we have scen, the point of view toward this conjecture proposed in [H29] is that if G has p > 3 and one is presented with the p unlabeled subgraphs G; = G ~ u, then the graph G itself can be reconstructed uniquely from the G;, Kelly's result for trees was extended in [HP6] where it is shown that every nontrivial tree T can be reconstructed from only those subgraphs 7; = T — v, which are themselves trees, that is, such that v; is an endpoint. This has been improved, in turn, by Bondy, who showed [B15] that a tree T can be reconstructed from its subgraphs T — v, with the v, the peripheral points, those whose eccentricity equals the diameter of T. Manvel [M2] then showed that almost* every tree T can be reconstructed using only those subtrees T — v, which are non- isomorphic. Another class of graphs has been reconstructed by Manvel [M3], namely unicyclic graphs, which are connected and have just one cycle. * With just two pairs of exceptional trees. 42 TREES EXERCISES 4.1, Draw all trees with nine points. Then compare your diagrams with those in Appendix II. 4.2 Every tree is a bigraph. Which trees are complete bigraphs? 43. The following four statements are equivalent. (1) Gisa forest. 2) Every line of Gis a bridge. (3) Every block of G is K>. (4) Every nonempty intersection of two connected subgraphs of G is connected. 44. The following four statements are equivalent. (Ll) Gis unicyclic. (2) Gis connected and p = 4. (3) For some line x of G, the graph G — x isa tree. (4) Gis connected and the set of lines of G which are not bridges form a cycle. (Anderson and Harary [AH1]) 4.5 For any connected graph G, 4G) < d(G) < 2x(G). 4.6 Construct a tree with disjoint center and centroid, each having two points. 4.7 The center of any connected graph lies in a block. (Harary and Norman [HN2]) 48 Given the block-cutpoint tree be(G) of a connected graph G, determine the block- graph B(G) and the cutpoint-graph C(G). 49 Determine the cycle ranks of (a) K,, (b) Kn» (C) @ connected cubic graph with P points. 4.10 The intersection of a cycle and a cocycle contains an even number of lines. 4.11 A graph is bipartite if and only if every cycle in some cycle basis is even. 4.12 Every connected graph has a spanning tree. 4.13. Show how the block-cutpoint graph of any graph can be defined as an intersection graph. 4.14. A cotree of a connected graph is a maximal subgraph containing no cocycles. 4.15. A tree has diameter 2 if and only if it is a star. 4.16 Prove or disprove: a) If G has diameter 2, then it has a spanning star. b) If has a spanning star, then it has diameter 2. 4.17, Determine all connected graphs G for which G © be(G). *418 The maximum number of lines in a graph with p points and radius r is () [Xp - 22) if r= 2, Up? — 4rp + Sp +4? —6r) if r>3. (izing [V5]) 4.19 Gis.a block if and only if every two lines lie on a common cocycle. CHAPTER 5 CONNECTIVITY We must all hang together, or assuredly we shall all hang separately. B. FRANKLIN The connectivity of graphs is a particularly intuitive area of graph theory and extends the concepts of cutpoint, bridge, and block. Two invariants called connectivity and line-connectivity are useful in deciding which of two graphs is “more connected.” There is a rich body of theorems concerning connectivity. Many of these are variations of a classical result of Menger, which involves the number of disjoint paths joining a given pair of points in a graph. We will see that several such variations have been discovered in areas of mathematics other than giaph theory CONNECTIVITY AND LINE-CONNECTIVITY The connectivity x = x(G) of a graph G is the minimum number of points whose removal results in a disconnected or trivial graph. Thus the con- nectivity of a disconnected graph is 0, while the connectivity of a connected graph with a cutpoint is 1. The complete graph K, cannot be disconnected by removing any number of points, but the trivial graph results after re- moving p — 1 points; therefore, x(K,) = p — 1. Sometimes x is called the point-connectivity, Analogously, the line-connectivity 4 = (G) ofa graph G is the minimum number of lines whose removal results in a disconnected or trivial graph. Thus A(K,) = 0 and the line-connectivity of a disconnected graph is 0, while that of a connected graph with a bridge is 1, Connectivity, line-counectivity, and minimum degree are related by an inequality due to Whitney [W11]. ‘Theorem 5.1. For any graph G, (G) < AG) < 1G). 4 4B 44 CONNECTIVITY Proof. We first verify the second inequality. If G has no lines, then A = 0. Otherwise, a disconnected graph results when all the lines incident with a point of minimum degree are removed. In either case, 4 < 6. To obtain the firsi inequality, various cases ure considered. if G is disconnected or trivial, then x = 4 = 0. If Gisconnected and has a bridge x, then A = 1. In this case, x = 1 since either G has a cutpoint incident with x or G is K3. Finally, suppose G has 2 > 2 lines whose removal disconnects it. Clearly, the removal of 4 — 1 of these lines produces a graph with a bridge x = uv. Foreach ofthese 4 — 1 lines, select an incident point different from u or v. The removal of these points also removes the 4 — | lines and quite possibly more. If the resulting graph is disconnected, then k < A; if not, x is a bridge, and hence the removal of u or v will result in either a disconnected or a trivial graph, so x < A in every case. (See Fig. 5.1.) Fig. 5.1. A graph for which x = 2,4 = 3, and 6 = Chartrand and Harary [C114] constructed a family of graphs with prescribed connectivities which also have a given minimum degree. This result shows that the restrictions on x, 4, and 6 imposed by Theorem 5.1 cannot be improved. Theorem 5.2 For all integers a, b, c such that 0 < a < b [p/2], then A(G) = 6(G). For example, if G is regular of degree r > p/2, then AG) = particular, 4(K,) = p — 1. The analogue of Theorem 5.3 for connectivity does not hold. The problem of determining the largest connectivity possible for a graph with a given number of points and lines was proposed by Berge [B11] and a solution was given in [H26]. In Theorem 5.4 Among all graphs with p points and q lines, the maximum connectivity is 0 when q < p — | and is [2q/p], when g = p — CONNECTIVITY AND LINE-CONNECTIVITY 45 Outline of proof. Since the sum of the degrees of any (p, q) graph G is 2g, the mean degree is 24/p. Therefore 5(G) < [2q/p], so x(G) < [24/p] by Theorem 5.1. To show that this value can actually be attained, an appropriate family of graphs can be constructed. The same construction also gives those (p, 9) graphs with maximum line-connectivity. Corollary 5.4a) The maximum line-connectivity of a (p, q) graph equals the maximum connectivity. Only very recently the question of separating a graph by removing a mixed set of points and lines has been studied. A connectivity pair ofa graph of a points wna b lines whose removal disconnects the graph and there is no set of a — 1 points and b lines or of a points and b — 1 lines with this property. Thus in particular the two ordered pairs (x, 0) and (0, 2) are connectivity pairs for G, so that the concept of connectivity pair generalizes both the point-connectivity and the line-connectivity of a graph. It is readily seen that for each value of a, 0 < a < x, there is a unique connectivity pair (a, b,); thus G has exactly x + 1 connectivity pairs. The connectivity pairs of a graph G determine a function f from the set {0,1,---,«} into the nonnegative integers such that f(x) = 0 (cf. Theorem 5.1). This is called the connectivity function of G. It is strictly decreasing, since if (a, b) is a connectivity pair with b > 0 there is obviously aset of a + 1 points and b — 1 lines whose removal disconnects the graph or leaves only one point. The following theorem, proved by construction in Beincke aud Haray [BUG], shows that these are the only cunditivus which a connectivity function must satisfy. Theorem 5.5 Every decreasing function f from {0, 1,---,x} into the non- negative integers such that f(x) = 0 is the connectivity function of some graph. A graph G is n-connected if x(G) > n and n-line-connected if A(G) > n. We note that a nontrivial graph is 1-connected if and only if it is connected, and that it is 2-connected if and only if it is a block having more than one line. So K, is the only block not 2-connected. From Theorem 3.3, it therefore follows that G is 2-connected if and only if every two points of G lie on a cycle. Dirac [D8] extended this observation to n-connected graphs. Theorem 5.6 If G is n-connected, n > 2, then every set of n points of G lie on a cycle. By taking G to be the cycle C, itself, it is seen that the converse is not true forn > 2. A characterization of 3-connected graphs also exists, although its formulation is not as easily given. In order to present this result, we need 46 CONNECTIVITY Wea Kits: Fig. 5.2. A wheel. the “wheel” invented by the eminent graph theorist W. T. Tutte. Forn > 4, the wheel W, is defined to be the graph K, + C,-1. (See Fig. 5.2) Tutte’s theorem [T13] characterizing 3-connected graphs can now be stated. ‘Theorem 5.7 A graph G is 3-connected if and only if G is a wheel or can be obtained from a wheel by a sequence of operations of the following two types: 1, The addition of a new line. 2. The replacement of a point v having degree at least 4 by two adjacent points v’, v” such that each point formerly joined to v is joined to exactly one of v’ and v" so that in the resulting graph, deg v' > 3 and deg v” > 3. The graph G of Fig. 5.3 is 3-connected since it can be obtained from the wheel W, as indicated. An n-component of a graph G is a maximal n-connected subgraph. In particular, the 1-components of G are the nontrivial components of G while the 2-components are the blocks of G with at least 3 points. It is readily seen that two different 1-components have no points in common, and two NX 7 XN 7 ™ A A @ © ” co} (a) Fig. 5.3. Demonstration that a graph is 3-connected, GRAPHICAL VARIATIONS OF MENGER’S THEOREM = 47 Fig. 5.4. A graph with two 3-components which meet in two points. distinct 2-components meet in at most one point. These facts have been generalized by Harary and Kodama [HK1]. (See Fig. 5.4.) Theorem 5.8 Two distinct n-components of a graph G have at most n — 1 points in common. GRAPHICAL VARIATIONS OF MENGER’S THEOREM In 1927 Menger [M9] showed that the connectivity of a graph is related to the number of disjoint paths joining distinct points in the graph. Many ofthe variations and extensions of Menger’s result which have since appeared have been graphical, and we discuss some of these here. By emphasizing the form these theorems take, it is possible to classify them in an illuminating way. Let w and v be two distinct points of a connected graph G. Two paths joining u and v are called disjoint (sometimes called point-disjoint) if they have no points other than w and v (and hence no lines) in common ; they are line-disjoint if they have no lines in common. A set S of points, lines, or points and lines separates u and v if u and v are in different components of G — S. Clearly, no set of points separates two adjacent points. Menger’s Theorem was originally presented in the “point form” given in Theorem 5.9. Theorem 5.9 The minimum number of points separating two nonadjacent points s and ¢ is the maximum number of disjoint s-t paths. Proof. We follow the elegant proof of Dirac [D11]. It is clear that if k points separate s and ¢, then there can be no more than k disjoint paths joining s and r. It remains to show that if it takes k points to separate s and ¢ in G, there are k disjoint s-t paths in G. This is certainly true ifk = 1. Assume it is not true for some k > 1. Let h be the smallest such k, and let F be a graph with the minimum number of points for which the theorem fails for h. We remove lines from F until we obtain a graph G such that h points are required to separates and rin G but for any line x of G, only-h — 1 pointsare requiredto separate s and tin G — x. We first investigate the properties of this graph G, and then complete the proof of the theorem. 48 CONNECTIVITY By the definition of G, for any line x of G there exists a set S(x) of h — 1 points which separates s and t in G — x. Now G — S(x) contains at least one s-t path, since it takes h points to separate s and t in G. Each such s-t path must contain the line x = uv since it is not a path in G — x. So u, v ¢ S(x) and ifu # s, ¢ then S(x) U {u} separates s and ¢ in G. If there is a point w adjacent to both s and tin G, then G — w requires h — 1 points to separate s and t and so it has h — 1 disjoint s-t paths. Replacing w. we have h disjoint s-t paths in G. So we have shown: (1) No point is adjacent to both s and ¢ in G. Let W be any collection of h points separating s and t in G. An s-W path is a path joining s with some w, ¢ W and containing no other point of W. Call the collections of all s-W paths and W-t paths P, and P, respectively. Then each s-t path begins with a member of P, and ends with a member of P,, because every such path contains a point of W. Moreover, the paths in P, and P, have the points of W and no others in common, since it is clear that each w, is in at least one path in each collection and, if some other point were in both an s-W and a W-t path, then there would be an s-t path con- taining no point of W. Finally, cither P, - W = {s} or P, W = {t}, since, if not, then both P, plus the lines {w,t, wat, ---} and P, plus the lines {sw,, sw2,°**} are graphs with fewer points than G in which s and ¢ are nonadjacent and h-connected, and therefore in each there are h disjoint s-t paths. Combining the s-W and W-t portions of these paths, we can construct h disjoint s-t paths in G, and thus have a contradiction. Therefore we have proved: (1) Any collection W of h points separating s and t is adjacent either to sortot. Now we can complete the proof of the theorem. Let P = {s, uy, u,°**, t} be’a shortest st path in G and let ujuz = x. Note that by (I), uz # f. Form S(x) = {v,, v2,°**, vy 1} as above, separating s and tin G — x. By (I, wt €G, so by cu with W = St) u tu}, ot eG, for all i, Thus by (0, have by (Il) that sup € G, contradicting our choice ot Pas a shortest s-t path, and completing the proof of the theorem. In Fig. 5.5 we display a graph with two nonadjacent points s and ¢ which can be separated by removing three points but no fewer. In accordance with the theorem, the maximum number of disjoint s-t paths is 3. Chronologically the second variation of Menger’s Theorem was pub- lished by Whitney in a paper [W11] in which he included a criterion for a graph to be n-connected. Theorem 5.10 A graph is n-connected if and only if every pair of points are joined by at least n point-disjoint paths. GRAPHICAL VARIATIONS OF MENGER’S THEOREM = 49. oo Fig. 5.5. A graph illustrating Menger s Theorem, An indication of the relationship between Theorems 5.9 and 5.10 is easily supplied by introducing the concept of local connectivity. The local con- nectivity of two nonadjacent points u and v of a graph is denoted by x(u, v) and is defined as the smallest number of points whose removal separates uand v. In these terms, Menger’s Theorem asserts that for any two specific nonadjacent points u and v, x(u, v) = fol, v), the maximum number of point-disjoint paths joining u and v. Obviously both theorems hold for complete graphs. If we are dealing with a graph G which is not complete, then the observation which links Theorems 5.9 and 5.10 is that «(G) = min x(u, ») over all pairs of nonadjacent points u and v. Strangely enough, the theorem analogous to Theorem 5.9 in which the pair of points are separated by a set of lines was not discovered until much later. There are several nearly simultaneous discoveries of this result which appeared in papers by Ford and Fulkerson [FF1] (as a special case of their “max-flow, min-cut” theorem) and Elias, Feinstein, and Shannon [EFS1], and also in unpublished work of A. Kotzig. Theorem 5.11 For any two points of a graph, the maximum number of line- disjoint paths joining them equals the minimum number of lines which separate them. Referring again to Fig. 5.5, we see that u and v can be separated by the removal of five lines but no fewer, and that the maximum number of line-disjoint u-v paths is five. Even with only these three theorems available, we can see the beginnings ofa scheme for classifying them. The difference between Theorems 5.9 and 5.10 may be expressed by saying that Theorem 5.9 involves two specific points of a graph while Theorem 5.10 gives a bound in terms of two general Points. This distinction, as well as the obvious one between Theorems 5.9 and 5.11, is indicated in Table 5.1, Thus we see that with no additional effort we can get another variation of Menger’s Theorem by stating the line form of the Whitney result. 50 CONNECTIVITY Table 5.1 . T Theorem Objects separated Maximum number Minimum number 59 specific y, » disjoint paths —_| points separating u, v 5.10 general,» disjoint paths —_| points separating u, v Sl specifiche, v line-disjoint paths | ines separating u, » n-line-connected if and only if every pair of points Theorem 5.12,_A- grap! like-disjoint paths. are joined'by at least In Menger’s original haper there also appeared the following variation involving sets of poiftts rater than individual points. ‘Theorem 5.13 For afy ty disjoint nonempty sets of points V, and V,, the maximum number gf disjoint paths joining V, and V, isequal to the minimum number of points which separate V, and V,. Of course it must be specified that no point of V, is adjacent with a point of V, for the same reason as in Theorem 5.9. Two paths joining V, and V, are understood to be disjoint if they have no points in common other than their endpoints. A proof of the equivalence of Theorems 5.9 and 5.13 is extremely straightforward and only involves shrinking the sets of points V, and Vo to individual points. Another variation is given in the next theorem, considered by Dirac [1D10]. Because the proof involves typical methods in the demonstration of equivalence of these variations, we include it in full. ‘Theorem 5.14 A graph with at least 2n points is n-connected if and only if for any two disjoint sets V; and V2 of n points each, there exist n disjoint paths joining these two sets of points. Note that in this theorem these n disjoint paths do not have any points at all in common, not even their endpoints! Proof. To show the sufficiency of the condition, we form the graph G’ from G by adding two new points w, and w2 with w, adjacent to exactly the points of ¥, i = 1,2. (See Fig. 5.6.) Since G is n-connected, so is G', and hence by Theorem 5.9 there are n disjoint paths joining w; and w,. The restrictions of these paths to G are clearly the n disjoint VV. paths we need. To prove the other “half,” let S be a set of at least n — 1 points which separates G into G, and G,, with points sets V;, and V’ respectively. Then, since [Vi] > 1, [V5] = 1, and [V4] + [Vol + 1S] =|V| = 2n, there is a Partition of S into two disjoint subsets $, and Sz such that |V, U Sy] > and |V; u S2| = n. Picking any n-subsets V, of V; U S,, and V; of Vy U Sp. GRAPHICAL VARIATIONS OF MENGER’S THEOREM SL y Ve , Fig. 5.6. Construction of G’ we have two disjoint sets of n points each. Every path joining V, and V> must contain a point of Sand since we know there are n disjoint VV; paths, we see that [S| > n, and G is n-connected. We have defined connectivity pairs for a graph. Similarly, one can define connectivity pairs for two specific points u and v. It is then natural to ask for a mixed form of Menger’s Theorem involving connectivity pairs. The following theorem of Beineke and Harary [BH6] is one such result ; a proof can be readily supplied by imitating that of Theorem 5.9. Theorem 5.15 The ordered pair (a, b) is a connectivity pair for points u and » in a graph G if and onl: there exist a point-disjoint u-v paths and also b line-disjoint u-v paths which are line-disjoint from the preceding a paths, and further these are the maximum possible numbers of such paths, In general, all of the theorems we have mentioned have corresponding digraph forms, and in fact Dirac points out that his proof of Menger’s Theorem works equally well for directed graphs. At this point, then, we could add eleven more theorems to Table 5.1, namely Theorems 5.12 through 5.15, and the directed forms of Theorems 5.9 through 5.15. This would be a somewhat futile effort, however, since it should be clear that the table would still be far from complete. To count the total number of variations which have been suggested up to this point, we note that we may consider either a graph G or a digraph D, in which we may separate i) specific points 4, v, ii) general points u, v, iii) two sets of points V,, V; (as in Theorem 5.13). This separation may be accomplished by removing i) points, iii) points and lines (as in Theorem 5.15). 52 CONNECTIVITY By taking all possible combinations of these alternatives, we could construct 2° 3°3 = 18 theorems. he fact that all of these theorems are true may be verified by the reader, although it would be a tedious exercise. Finally, Fulkerson [F13] proved the following theorem, which deals with disjoint cutsets instead of disjoint paths. Theorem 5.16 In any graph, the maximum number of line-disjoint cutsets of lines separating two points u and v is equal to the minimum number of lines in a path joining u and p; that is, to d(u, 0). Although this theorem is of Mengerian type, it is much easier to prove than Menger’s Theorem. By taking all the possible variations of this theorem, as we have with the theorems involving paths, we could increase the number engerian theorems again. FURTHER VARIATIONS*OR.MENGER’S THEOREM In this section we include several additional variations of Menger’s Theorem, all discovered independently and only later seen to be related to each other and toa graph theoretic formulation. A network N may be regarded asa graph or directed graph together with a function which assigns a positive real number to each line. For precise definitions of “maximum flow” and “minimum cut capacity,” see the book [FF2] by Ford and Fulkerson. Fig. 5.7. A network with integral capacities. ‘Theorem 5.17 In any network N in which there is a path from u to v, the maximum flow from u to v is equal to the minimum cut capacity. It is straightforward but not entirely obvious to verify that in Fig. 5.7 the maximum flow in the network from u to v is 7, and that the minimum cut capacity is also 7. In the case where all the capacities are positive integers, as in this net- work, there is an immediate equivalence between the maximum flow theorem and that variation of Menger’s Theorem in which the setting is a directed multigraph D and there are two specific points u and v. The transformation FURTHER VARIATIONS OF MENGER’S THEOREM 53 in N 2. in D ey Fig. 5.8. The transformation from network to multigraph. which makes this equivalence apparent is displayed in Fig. 5.8 in which the directed line from u to v, in Fig. 5.7 which has capacity 3 is transformed into three directed lines without any capacity indicated. Let us define a line of a matrix as cithcr a row or a column. Ina binary matrix M, a collection of lines is said to cover all the unit entries of M if every 1 is in one of these lines, Two 1’s of M are called independent if they are neither in the same row nor in the same column. K6nig [K9] obtained the next variation of Menger’s Theorem in these terms; compare Theorem 102. Theorem §.18 In any binary matrix, the maximum number of independent unit elements equals the minimum number of lines which cover all the units. foo 100 o| 90 100 o| 1ioginad 1anonaa M=|001001 mM={000001 o11010 010000 oo1001 000000 We illustrate Theorem 5.18 with the binary matrix M above. All the unit entries of M are covered by rows 2 and 4 and columns 3 and 6, but there is no collection of three lines of M which covers all its I’s, In the matrix M’ there are shown four independent unit entries of M and there is no set of five independent I’s in M. When this matrix M is regarded as an incidence matrix of sets versus clements, Theorem 5.18 becomes very closely related to the celebrated theorem of P. Hall [H8], which provides a criterion for a collection of finite sets S,,S,,---,S,, to possess a system of distinct representatives. This means a set {e,, €.-**. €,} of distinct elements such that e, is in S,. for each i. We present here the proof of Hall’s Theorem which is due to Rado [R1]. Theorem 5.19 There exists a system of distinct representatives for a family of distinct sets $1, S3,-*-, S,, if and only if the union of any k of these sets contains at least k elements, for all k from 1 to m. Proof. The necessity is immediate. For the sufficiency we first prove that if the collection {S;} satisfies the stated conditions and |S,| > 2, then th in element ¢ in S,, such that the collection of sets S,, S2,°**, S,—1, S, — {e} 54 CONNECTIVITY also satisfies the conditions. Suppose this is not the case. Then there are elements e and f in S,, and subsets J and K of {1, 2,--+,m — 1} such that (us) vis, ~ cep (u s)UG - «al ( U s,) U Sal + JK 2K) +14 0K) > lJ] + 1K, which is a contradiction. The sufficiency now follows by induction on the maximum of the numbers |S;|. If each set is a singleton, there is nothing to prove. The in-" duction step is made by application (repeated if necessary) of the above result to the sets of largest order. DIRK vyYvYYN <|J| +1 and But then US| link ‘ Fig. 5.9. A bipartite graph illustrating Hall’s Theorem. In Fig. 5.9 we show a bipartite graph G in which the points refer either to sets S; or to elements a, Two points of B are adjacent if and only if one is a set point, the other is an clement point, and the element is a member of the set. The link between Theorem 5.19 and Menger’s Theorem is accomplished by introducing two new points into a graph of the form of Fig. 5.9. Call these points u and v and join u to every set point S, and v with every element point a,to obtain anew graph. Theorem 5.19 can then be proved by applying either the maximum flow theorem or the appropriate line form of Menger’s Theorem to this graph. Although the following theorem due to Dilworth [D4] is expressed in terms of lattice theory,* it has been established (see Mirsky and Perfect [MP1]) that the result is equivalent to Hall’s Theorem. Two elements of a lattice (see Birkhoff [B13]) are incomparable if neither dominates the other. * More generally the result holds for partially ordered sets. EXERCISES 55 By achain in a lattice is meant a downward path from an upper element to a lower element in the “Hasse diagram” of the lattice. Theorem 5.20 In any finite lattice, the maximum number of incomparable elements equals the minimum number of chains which include all the elements. For example, in the lattice of the 3-cube, there are at most three incom- parable elements: easy to cover all the elements with three chains but impossible to do so with only two chains, We have seen in this section several theorems of Mengerian type occurring in scttings which are not graph thcorctic. A more extensive treatment of such results appears in the review article [H33]. For an elegant summary of the vast literature on theorems involving systems of distinct representatives, see Mirsky and Perfect [MP1]. EXERCISES 5.1. The connectivity of a) the octahedron K, + C, is 4. b) the square of a polygon C,, 1 > 5, is 4. 5.2. Every n-connected graph has at least pn/2 lines, 53. Construct a graph with x = 3,4 = 4,5 = 5. SA Theorem 5:3 does not hold if (G) is replaced by n(G). 5.5. There exists no 3-connected graph with seven lines. 5.6 The connectivity and line-connectivity are equal in every cubic graph. 5.7 Determine which connectivity pairs can occur in 4-regular graphs, 58 If Gis regular of degree r and x = 1, then A < [7/2]. 5.10 Let G be a complete n-partite graph other than C,. Then every minimum line cutset is the coboundary of some point. (M. D. Plummer) 5.1L Find the connectivity function for s and ¢ in the graph of Fig. 5.5. 5.12. Find a graph with points s and 1 for which the connectivity function is (0, 5}, (1, 3), (2, 2), 3, 0). 5.13 Use Tutte’s Theorem 5.7 to show that the graph of the cube is 3-connected. 5.14 Every block of a connected graph G is a wheel if and only if q — 2p — 2 and (4, v) = 1 or 3 for any two nonadjacent points 1, v. (Bollobas [B14}) 5.15 Every cubic triply-connected graph can be obtained from K, by the following construction. Replace two distinct lines u,v, and u,v, (u, = uz is permitted) by the subgraph with two new points w,,w, and the new lines uyw,, W,Uy, UaWa, Wat, and WW. 56 CONNECTIVITY 5.16 Given two disjoint paths P, and P; joining two points u and v of a 3-connected graph G, is it always possible to find a third path joining u and » which is disjoint from both P, and P,? 5.17 State the result analogous to Theorem 5.9 for the maximum number of disjoint paths joining two adjacent points of a graph. *5.18 Iff,(p) is the smallest number such that for q > {f,(p) every (p,q) graph has two points joined by r disjoint paths, then Sfp) = Fp) = (Bp — 1/2}, and fap) = 2p ~ 1 (Bollobis [B14]) 5.19 IfG has diameter d and x > 1, then p > x(d + 1) - 2. (Watkins [WS]) 5.20 Let ¢ be the maximum number such that every sct of £ points in G is contained in some cycle. In a triply connected graph G, x = ¢ if and only if G has a set S of x points such that x(G — S) > x + 1. (Watkins [WS]) $5.21 If Gis connected, then «(G) = 1 + min K(G — v) ev 5.22 In any graph, the maximum number of disjoint cutsets of points separating two points uand v equals d(u, v) — 1. 5.23 Ina x-minimal graph G, x(G — x) < «(G) for every line x. a) Gis x-minimal ifand only if x(u, v) = x(G) for every pair of adjacent points u, v. b) If Gis x-minimal then 5 = x. (Halin (HS) 5.24 Prove the equivalence of Theorems 5.18 and 5.19. (See for example M. Hall (H7, p. 49). 5.25 IfG is n-connected, n > 2, and 6(G) > (3n ~ 1)/2, then there exists a point vin G such that G — v is n-connected. (Chartrand, Kaugars, and Lick [CKL1]) CHAPTER 6 divisa in partes tres. JuLsus Cazsar, de Bello Gallico The degrees d,,-+-,d, of the points of a graph form a sequence of non- negative integers, whose sum is of course 2g. In number theory it is customary to define a partition of a positive integer n as a list or unordered sequence of positive integers whose sumisn. Under this definition, 4 has five partitions: 4341, 242 24141, 1414141 The order of the summands in a partition is not important. The degrees of a graph with no isolated points determine such a partition of 2g, but because of the importance of having a general definition holding for all graphs, it is convenient to use an extended definition, changing positive to nonnegative. 24141 1414141 Fig. 6.1. The graphical partitions of 4, A partition of a nonnegative integer n is a finite list of nonnegative integers with sum n. In this sense, the partitions of 4 also allow an arbitrary finite number of zero summands. The partition of a graph is the partition of 2g asthe sum of the degrees of the points, 2q = ¥ d,, asin Theorem 2.1. Only two of the five partitions of 4 into positive summands belong to a graph, see Fig, 6.1. A partition E d, of n into p parts is graphical if there is a graph G whose points have degrees d;. If such a partition 1s graphical, then certainly every 37 58 PARTITIONS d, < p ~ 1, and n is even. These two conditions are not sufficient for a partition to be graphical, as shown by the partition 10 = 3+3+3+41. Two related questions arise. First, how can one tell whether a given partition is graphical? Second, how can one construct a graph for a given graphical partition? An existential answer to the first was given by Erdés and Gallai [EG1]}. Another answer found independently by Havel [H36] and Hakimi [H4] is constructive in nature, and so answers the second question as well. We first yive this result. Theorem 6.1 A partition TI = (d,, dz,-**,d,) of an even number into p parts with p~1>d, >d,>-+->d, is graphical if and only if the modified partition TW’ = (dz ~ 1, ds — Le, daar — Le days art's dp) is graphical. Proof. If IT’ is graphical, then so is IT, since from a graph with partition IT’ one can construct a graph with partition IT by adding a new point adjacent to points of degrees dy — 1,d3 — 1,---,dy41 — 1 Now let G bea graph with partition IT. If a point of degree d, is adjacent to points of degrees d, for i = 2 tod, + 1, then the removal of this point results in a graph with partition IT’. Therefore we will show that from G one can get a graph with such a point. Suppose that G has no such point. We assume that in G, point v; has degree d,, with v, being a point of degree d, for which the sum of the degrees of the adjacent points is maximum. hen there are points v, and v, with d; > d; such that 0,0, is a line but v,»; is not. Therefore some point vy i adjacent to v; but not to v;, Removal of the lines vv, and v,v; and ad of v1»; and y%40, results in another graph with partition TI in which the sum of the degrees of the points adjacent to v, is greater than before. Repeating this process results in a graph in which v, has the desired property. The theorem gives an effective algorithm for constructing a graph with a given partition, if one exists. If none exists, the algorithm cannot be applied at some step. Corollary 6.1 (Algorithm) A given partition TT = (d,,d2,--+, d,) with p-12>d,24,>-"->d, is graphical if and only if the following procedure results in a partition with every summand zero. 1. Determine the modified partition IT’ as in the statement of Theorem 6.1. 2. Reorder the terms of II’ so that they are nonincreasing, and call the resulting partition I1,. PARTITIONS 59 oe & Fig. 6.2. An example of the algorithm for graphical partitions. 3. Determine the modified partition II” of I], as in step 1, and the re- ordered partition I. 4. Continue the process as long as nonnegative summands can be obtained. Ifa partition obtained at an intermediate stage is known to be graphical, stop, since II itselfisthen established as graphical. To illustrate this algorithm, we test the partition T= (5,5,3,32,2,2) W=( 4.2,21,1,2) TM, =( 422211) mW=( 11,10, 1). Clearly IT’ is graphical, so I is also graphical. The graph so constructed is shown in Fig. 6.2. The theorem of Erdés and Gallai [EG1] is existential in nature, but its proof uses the same construction. Theorem 6.2 Let II = (d,, d2,° 4,) be a partition of 2q into p parts, d, > d, > +++ > dy. Then II is graphical if and only if for each integer r, l e; > e, 2 --- 2 €,. Suppose that condition (6.1) does not hold and let h be the least value of r for which it does not. Then k Ye>hh— 1) + ¥ min {he}. (62) a ihe But the following inequalities do hold: het nat Yd Hh — 1) — min {h—1,¢,} + ¥ (min {h,e,) ~ min {h— 1, ed) int rea (on ey-1 + ey > 4h — 6 — min {h — 2, e,-,} — min {h — 2, e} + ¥ (min {he} — min fh ~2,¢}) 68) hte PARTITIONS 61 Note that e, > A since otherwise inequality (6.7) gives a contradiction. Let a, b, and c denote the number of values of i > h for which e; > h, e, = hy and e, < h, respectively. Furthermore. let a’. b’. and c’ denote the numbers of these for which e; = d;,, — 1. Then dj=sta+bh +e. (6.9) ‘The inequalities (6.6)-(6.8) now become dj +s<2h+a+b +e, (6.10) e&,2h+a+b, (6.11) ever +e > 2h—1+ ¥ (min {he} — min {h—2e}). (6.12 ih There are now several cases to consider. CASE |. ¢ = 0, Since dy > ¢,, we have from (6.11), htatb 0 and d,,,; > h. This means that d,,, = e; + 1 whenever d,., > h. Therefore since d,,, > h,s = hand a = a’. But the inequalities (6.10) and (6.9) imply that dj+hand d,,, = h. Under these circumstances, e, = h and a = b =0, sod, =s +c’. Furthermore, since ¢ = dy 1, &; = h — 1 for at least c’ values of i > h. Hence inequality (6.12) implies &-1zh—-lL+e>h so that e,-, = d, — 1. Therefore s = h ~ 1, and dj =h-1+c h and d,,, > cm, we see that d,,, cannot be less than h. Thus all possible cases have been considered and the proof is complete. 62 PARTITIONS Fig. 6.3. Two trees with the same partition Sometimes, it can be determined quite rapidly whether a given partition is graphical and, if it is, the nature of the graphs having this partition may also be discernible. For example, it is easy to give a criterion for a partition to belong toa tree. This result answers a question posed by Ore [O5, p. 62]; it has been found independently many times. Theorem 6.3 A partition 2q = E% d, belongs to a tree if and only if each d; is positive and q = p — 1. As an illustration, consider the partition 16 =5+3+2+1+1+ 1414141. Here d,>0 for each i and q = 8 while p = 9. Thus Theorem 6.3 assures us that this is the partition of a tree. Two trees to which this partition belongs are shown in Fig. 6.3. EXERCISES: 6.1 Which of the following partitions are graphical? a)4434343424+2424+1 dD) 8+74+ 6454443424241 )S545454343434343 A S+4+34 2+ 14+ Lele lel +i ete 6.2 Draw all the graphs having the partition 5+ 5+34+3+242. the trees in Fig. 6.3. Are there any other trees with this partition? 6.4 Construct all regular graphs with six points. 65 Construct all 5 connected cubic graphs with 8 points: all 20 with 10 points. (Balaban [B2]) 6.6 There is no graphical partition in which the parts are distinct. Whenever p > 2, there are exactly two graphs with p points in which just two parts of the partition are equal, and these graphs are complementary. (Behzad and Chartrand [BC3]) 6.7 A graphical partition is simple if there is exactly one graph with this partition. Every graphical partition with four parts is simple, and the smallest number of parts in a graphical partition which is not simple is five. 68 A partition (d,, d,, **-, d,) belongs toa pscudograph (note that a loop contributes 2 to the degree of its point) if and only if E d, is even. (Hakimi [H4]) EXERCISES 63 69 If a partition of an even integer 2q has the form TI = (dj, dy-+-,d,) with d, > a > +++ > d,, then TI belongs to some multigraph if and only if > 4). (Hakimi [H4]) *6.10 A partition [1 which belongs to some multigraph (see preceding exercise) belongs to exactly one if and only if at least one of the following conditions holds: lL ps3 2. d=dpto td, 3. dy +2=d, 4-1 + d,andd, = dy +--+ 4, 4, p=4andd, > de=1 5. dy =d,=1. (Senior [St]; Hakimi [H4]) 6.11 Prove or disprove: A tree partition belongs to more than one tree if and only if at least one part is greater than 2, three parts are greater than 1, and if only three, then they are not equal. 6.12 Let I = (dj), d2,***,d,) with d, >d, >-°°> d, and p > 3 be a graphical partition. Then b) [belongs to some block ifand only itd, > Land Ed, > 2p - 1+ dy) 6.13 A graphical partition TI as in the preceding exercise belongs to some n-line- connected graph with n > 2 if and only if every d, > m. (Edmonds [E1)) 614 For any nontrivial graph G and for any partition p = p; + pa, there exists a partition V = V, U ¥; such that || = p,and AK) + AH) < AGG). (Lovasz [L4]) CHAPTER 7 TRAVERSABILITY A lie will get you a long way, but it won't take you home, ANONYMOUS: One feature of graph theory that has helped to popularize the subject lies in its applications to the area of puzzles and games. Often a puzzle can be converted into a graphical problem: to determine the existence or non- existence of an “eulerian trail” or a “hamiltonian cycle” within a graph. As mentioned in Chapter 1, the concept of an eulerian graph was formulated when Euier studied the probiem of the Kénigsberg bridges. Two char- acterizations of eulerian graphs are presented. Hamiltonian graphs are studied next and some necessary conditions and some sufficient conditions for graphs to be hamiltonian are given. However, it still remains a challenging unsolved problem to discover an elegant, useful characterization of hamiltonian graphs, rather than only a disguised paraphrase of the definition. EULERIAN GRAPHS As we have seen in Chapter 1, Euler's negative solution of the Kénigsberg Bridge Problem constituted the first publicized discovery of graph theory. The perambulatory problem of crossing bridges can be abstracted to a graphical one: given a graph G, is it possible to find a walk that traverses each line exactly once, goes through all points, and ends at the starting point? A graph for which this is possible is called eulerian. Thus, an eulerian graph has an eulerian trail, a closed trail containing all points and lines. Clearly, an eulerian graph must be connected. Theorem 7.1 The following statements are equivalent for a connected graph* G: (1) Gis eulerian. (2) Every point of G has even degree. (3) The set of lines of G can be partitioned into cycles. * The theorem clearly holds for multigraphs as well. 64 HAMILTONIAN GRAPHS 65 Proof. (i) implies (2) Let T be an eulerian trail in G. Each occurrence of a given point in T contributes 2 to the degree of that point, and since each line of G appears exactly once in T, every point must have even degree. (2) implies (3) Since G is connected and nontrivial, every point has degree at least 2, so G contains a cycle Z. The removal of the lines of Z results in a span- ning subgraph G, in which every point still has even degree. If G, has no lines, then (3) already holds; otherwise, a repetition of the argument applied to G, results in a graph G, in which again all points are even, etc. When a totally disconnected graph G, is obtained, we have a partition of the lines of G into n cycles, (3) implies (1) Let Z, be one of the cycles of this partition. If G consists only of this cycle, then G is obviously eulerian. Otherwise, there is another cycle Z, with a point v in common with Z,. The walk beginning at v and con- sisting of the cycles Z, and Z, in succession is a closed trail containing the lines of these two cycles. By continuing this process, we can construct a closed trail containing all lines of G; hence G is eulerian. Fig. 7.1. An eulerian graph. For exampie, the connected graph of Fig. 7.i in which every point has even degree has an culerian trail, and the set of lines can be partitioned into cycles, By Theorem 7.1 it follows that if a connected graph G has no points of odd degree, then G has a closed trail containing all the points and lines of G. There is an analogous result for connected graphs with some odd points. Corollary 7.1(a) Let G bea connected graph with exactly 2n odd points, n> 1, Then the set of lines of G can be partitioned into n open trails. Corollary 7.1(b) Let Gbea connected graph with exactly two odd points. Then G has an open trail containing all the points and lines of G (which begins at one of the odd points and ends at the other). HAMILTONIAN GRAPHS Sir William Hamilton suggested the class of graphs which bears his name when he asked for the construction of a cycle containing every vertex of a dodecahedron. If a graph G has a spanning cycle Z, then G is called a hamiltonian graph and Z a hamiltonian cycle. No elegant characterization 66 TRAVERSABILITY / Fig. 7.2. A nonhamiltonian block. of hamiltonian grAphs exists, although several necessary or sufficient con- ditions are knowf. A theta graph is a block with two nonadjacent points of degree 3 and all other points of degree 2. Thus a theta graph consists of two points of degree 3 and three disjoint paths joining them, cach of length at Icast 2. Theorem 7.2 Every hamiltonian graph is 2-connected. Every nonhamiltonian 2-connected graph has a theta subgraph. It is easy to find a theta subgraph in the nonhamiltonian block of Fig. 7.2. The next theorem, due to Pésa [P7], gives a sufficient condition for a graph to be hamiltonian. It generalizes earlier results by Ore and Dirac which appear as its corollaries. Theorem 7.3 Let G have p > 3 points. If for every n, 1 (p — 1)/2, we have p/2 < degv, < p—1—n

p/2 for all points v, then G is hamiltonian. (Lhis is stated below as Corollary 7.3(b).) For the above argument implies that every pair of points of G are adjacent, so G is complete. But this is a contradiction since K, is hamiltonian for all p > 3. Therefore there isa point » in G with deg » < p/2. Let mbe the maximum degree among all such points and choose v, so that deg v, = m. By hypoth- esis the number of points of degree not exceeding m is at most m < p/2. Thus there must be more than m points having degree greater than m and hence at least p/2. Lheretore there is some point, say v,, of degree at least p/2 not adjacent to v,. Since v, and 2, are not adjacent, there is a spanning path 0, 02 +++» As above, we write v,,,°**, v,, as the points of G adjacent to », and note that », cannot be adjacent to any of the m points n, , for 1 3 and 1 1, and form the graph G = K,,,+;, then G is not hamiltonian but violates the theorem only 68 TRAVERSABILITY Syeee eye Fig. 7.4. The Tutte graph. by having (p — 1)/2 + 1 points of degree (p — 1)/2. The graph Gy = Ky,3 of Fig. 7.3 illustrates this construction for p = 5. By specializing Pésa’s Theorem, we obtain simpler but less powerful sufficient conditions due to Ore [03] and Dirac [D6] respectively. Corollary 7.a) If p > 3 and for every pair u and v of nonadjacent points, deg u + deg v > p, then G is hamiltonian. Corollary 7.6) If for all points v of G, deg v = p/2, where p > 3, then G is hamiltonian. Actually, the cubic hamiltonian graph G, of Fig. 7.3 has four spanning cycles. The smallest cubic hamiltonian graph, Ks, has three spanning cycles. These observations serve to illustrate a theorem of C. A. B. Smith which appears in a paper by Tutte [T6]. Theorem 7.4 Every cubic hamiltonian graph has at least three spanning cycles. Tait [T1] conjectured that every 3-connected planar graph* contains a spanning cycle. Tutte ['T6] settled this in the negative by showing that the 3-connected planar graph with 46 points of Fig. 7.4 is not hamiltonian. The smallest known nonhamiltonian triply connected planar graph, having 38 points, was constructed independently by J. Lederberg, J. Bosak, and D, Barnette; see Griinbaum [G10, p. 359]. The apparent lack of any relationship between eulerian and hamiltonian graphs is illustrated in Fig. 7.5 where each graph is a block with eight points. * See Chapter II for a discussion of planarity. Tait’s conjecture, if true, would have settled the Four Color Conjecture. EXERCISES, 69 Hamiltonian Nophamiltonian Fig. 7.5. Eulerian and/or hamiltonian graphs. However, in the next chapter we shall relate eulerian and hamiltonian graphs by way of the “line graph.” Incidentally, M. D, Plummer conjectures that the square of every 2-connected graph is hamiltonian, EXERCISES 7.1 Find an eulerian trail in the graph G of Fig, 7.1 and a partition of the lines of G into cycles. 72. Hevery block ofa connected graph Giseulerian, then G is eulerian, and conversely. 73 In Corollary 7.1(a), the partition cannot be done with fewer than 7 trails. State and prove the converse of Corollary 7.1(b). 74. A graph is arbitrarily traversable from a point vif the following procedure always results in an eulerian trail: Start at point vp by traversing any incident line; on arriving at a point u depart by traversing any incident line not yet used, and continue until no new lines remain. a) An eulerian graph is arbitrarily traversable from vy if and only if every eyele b) 1fG is arbitrarily traversable from vo, then vo has maximum degree, (Babler [B1) ¢) If G is arbitrarily traversable from vo, then cither vg is the only cutpoint or G has no cutpoints. (Harary [H17]) 75 Prove or disprove: If a graph G contains an induced theta subgraph, then G is not hamiltonian, 76 a) For any nontrivial connected graph G, every pair of points of G? are joined by a spanning path. Hence every line of G? is in a hamiltonian cycle. (Karaganis [K2]) b) If every pair of points of G are joined by a spanning path and p > 4, then G is 3-connected. 70 TRAVERSABILITY 7.7 Give an example of a nonhamiltonian graph with 10 points such that for every pair of nonadjacent points u and v, degu + deg > p — 1. 7.8 How many spanning cycles are there in the complete bigraphs K3,; and K,,3? 79 A graph G is called randomly traceable [randomly hamiltonian] if a spanning path [hamiltonian cycle] always results upon starting at any point of G and then successively proceeding to any adjacent point not yet chosen until no new points are available. a) Agraph G with p = 3 points is randomly traceable if and only ifit is randomly hamiltonian, b) A graph G with p > 3 points is randomly traceable if and only ifit is one of the graphs C,, K,, or K,,, with p = 2n, (Chartrand and Kronk [CK1]) 7.10 Theorem 7.3 can be regarded as giving sufficient conditions for a graph to be 2-connected. This can be generalized to the n-connected case. Let G be nontrivial and let 1 3. and q > (p? ~ 3p + 6)/2, then Gis hamiltonian. {Ore [04]) 7.14 If for any two nonadjacent points wand v of G, deg u + deg v > p + 1, then there is a spanning path joining every pair of distinct points. (Ore [06]) 7.15 If G isa graph with p > 3 points such that the removal of any set of at most 7 points results in a hamiltonian graph, then G is (n + 2)-connected. (Chartrand, Kapoor, Kronk [CKK1]) 7.16 Consider the nonhamiltonian graphs G such that every subgraph G — v is hamiltonian. There is exactly one such graph with 10 points and none smaller. (Gaudin, Herz, and Rossi [GHR1]) 7.17 Do there exist nonhamiltonian graphs with arbitrarily high connectivity? CHAPTER 8 LINE GRAPHS A straight line is the shortest distance between two points. Eucup The concept of the line graph of a given graph is so natural that it has been independently discovered by many authors. Ofcourse, each gave it a different name* : Ore [O5] calls it the “interchange graph,” Sabidussi [S7] “derivative” and Beineke [B8] “derived graph,” Seshu and Reed [SR1] “edge-to-vertex dual,” Kasteleyn [K4] “covering graph,” and Menon [M10] “adjoint.” Various characterizations of line graphs are developed. We also introduce the total graph, first studied by Behzad [B4], which has surprisingly been discovered only once thus far, and hence has no other names. Relationships between line graphs and total graphs are studied, with particular emphasis on eulerian and hamiltonian graphs. Si THES RAP! Consider the set X of lines of a graph G as a family of 2-point subsets of V(G). The line graph of G, denoted L(G), is the intersection graph Q(X). Thus the points of L(G) are the lines of G, with two points of L(G) adjacent whenever the corresponding lines of G are. If x = uv isa line of G, then the degree of x in L(G) is clearly deg u + deg v — 2. Two examples of graphs and their line graphs are given in Fig. 8.1. Note that in this figure G, = L(G,), so that L(G,) = L(L{G,)). We write L(G) = L(G), E(G) = L(L(G)), and in general the iterated line graph is I'(G) = L(Z~"(G). As an immediate consequence of the definition of L(G), we note that every cutpoint of L(G) isa bridge of G which is not an endline, and conversely. When defining any class of graphs, it is desirable to know the number of points and lines in each; this is easy to determine for line graphs. * Hoffman [H46] uses “line graph” even though he chooses “edge.” Whitney | WII] was the first to discover these graphs but didn’t give them a name, nm 2 LINE GRAPHS LG): 3 Gr: UG): Fig. 8.1, Graphs and their line graphs. Theorem 8.1 If G is a (p, g) graph whose points have degrees d;, then L(G) has q points and q, lines, where qu= ~9 +45 dP Proof. By the definition of line graph, L(G) has q points. The d, lines incident with a point v; contribute (4) to 4, so a= ¥(H)=sEaa~ 9 45a 454 40a The next result can be proved in many different ways, depending on ‘one’s whimsy. Theorem 82 A connected graph is isomorphic to its line graph if and only if it is a cycle. ‘Thus for a (not necessarily connected) graph, G = L(G) if and only if G is regular of degree 2. If G, and G, are isomorphic, then obviously L(G,) and L(G,) are. Whitney [W11] found that the converse almost always holds by displaying the only two different graphs with the same line graph. The proof given here is due to Jung [3]. Theorem 8.3 Let G and G’ be connected graphs with isomorphic line graphs. Then G and G’ are isomorphic unless one is K and the other is K,,. Proof. First note that among the connected graphs with up to four points, the only two different ones with isomorphic line graphs are K3 and K;,3. CHARACTERIZATIONS OF LINE GRAPHS 73 Note further that if ¢ is an isomorphism of G onto G’, then there is a derived isomorphism ¢, of L(G) onto L(G’). The theorem will be demonstrated when the following stronger result is proved. If G and G’ have more than four points, then any isomorphism ~, of L(G) onto L(G’) is derived from exactly one isomorphism of G to G'. We first show that ¢, is derived from at most one isomorphism. Assume there are two such, ¢ and y. We will prove that for any point v of G, d(v) = Y(v). There must exist two lines x = uv and y = uw or ow. If y = vw, then the points #(v) and ¥(v) are on both lines $,(x) and ¢,(9), so that since only cone point is on both these lines, ¢(v) = W(v). By the same argument, when y = un, gu) = Yu) so that since the line #,(x) contains the two points @(v) and pu) = yu), we again have (v) = y(v). Therefore ¢, is derived from at most one isomorphism of G to G’. We now show the existence of an isomorphism ¢ from which ¢, is derived. The first step is to show that the lines x, = uv,, x, = uv, and X3 = uv3 of a K,_; subgraph of G must go to the lines of a K, , subgraph of G' under ¢,. Let y be another line adjacent with at least one of the x;, which is adjacent with only one or all three. Such a line y must exist for any graph with p > 5 and the theorem is trivial for p < 5. If the three lines #,(x;) form a triangle instead of K,,; then $,(y) must be adjacent with precisely two of the three. Therefore, every K:,3 must go to a Ky, Let S(v) denote the set of lines at v. We now show that to each v in G, there is exactly one v’ in G’ such that S(v) goes to S(v') under $,. Ifdeg v > 2, let y, and y, be lines at v and let v’ be the common point of $,(y,) and ,()2). Then for each line x at v, ’ is incident with @ (x) and for each line x’ atv’, v is incident with gj '(x’). If deg v = 1, let x = uv be the line at v. Then deg u > 2 and hence S(u) goes to S(u’) and $,(x) = w’v’. Since for every line x’ at v’, the lines py '(x’) and x must have a common point, u is on #7 *(x') and u' is on x’. That is, x’ = @,(x) and deg v’ = 1. The mapping ¢ is therefore one-to-one from V to V’ since S(u) = S(v) only when u = v. Now given v’ in V’, there is an incident line x’. Denote 7 1(x’) by wv. Then either @(u) = v' or p(v) = v’ so @ 18 onto. Finally, we note that for each line x = uv in G, @,(x) = 6(u)@(v) and for each line x’ = u'r’ in G’, 67 (x) = 6 (wo '(v), so that @ is an iso- morphism from which ¢, is derived. This completes the proof. CHARACTERIZATIONS OF LINE GRAPHS A graph G is a line graph if it is isomorphic to the line graph L(H) of some graph H. For example, K, — x is a line graph; see Fig. 8.1. On the other hand, we now verify that the star K, 5 is not a line graph. Assume K,,, = L(H). Then H has four lines since K,,, has four points, and H must be connected. All the connected graphs with four lines are shown in Fig. 8.2. 4 LINE GRAPHS Tt fe Fig. 8.2. The connected graphs with four lines, Since L(C,) = C, by Theorem 8.3 and L(K,,3 + x) = K, — x (see Fig. 8.1), it follows that H is one of the three trees. But the line graphs of these trees are the path P,, the graph K3~ K>, and K,, showing that K,,, is not a line graph. We will see that the star K,,, plays an important role in characterizing line graphs. The first characterization of line graphs, statement (2) of the next theorem and due to Krausz [K12], was rather close to the defini- tion. The situation was improved by van Rooij and Wilf [RW1] who were able to describe in (3) a structural criterion for a graph to be a line graph Finally, Beineke [B8] and N. Robertson (unpublished) displayed exactly those subgraphs which cannot occur in line graphs. Recall that an induced subgraph is one which is maximal on its point set. A triangle T of a graph G is called odd if there is a point of G adjacent to an odd number of its points, and is even otherwise. ‘Theorem 8.4 The following statements are equivalent: (1) Gisa line graph. (2) The lines of G can be partitioned into complete subgraphs in such a way that no point lies in more than two of the subgraphs. (3) G does not have K,,. as an induced subgraph, and if two odd triangles have a common line then the subgraph induced by their points is K,. (4) None of the nine graphs of Fig. 8,3 is an induced subgraph of G. Proof. (2)implies (2) Let G be the line graph of H. Without loss of generality we assume that H has no isolated points. Then the lines in the star at each point of H induce a complete subgraph of G, and every line of G lies in exactly ‘one such subgraph. Since each line of H belongs to the stars of exactly two points of H, no point of G is in more than two of these complete subgraphs. (2) implies (1) Given a decomposition of the lines of a graph G into complete subgraphs 5,,S2,-*~, S, satisfying (2), we indicate the construction of a graph H whose line graph is G. The points of H correspond to the set S of CHARACTERIZATIONS OF LINE GRAPHS 75 Gy: Oy Ge: La Se ged Fig. 8.3. ‘The nine forbidden subgraphs for line graphs. subgraphs of the decomposition together with the set U of points of G belonging to only one of the subgraphs S,. Thus S U U is the set of points of H and two of these points are adjacent whenever they have a nonempty intersection ; that is, H is the intersection graph Q(S U U). (2) implies (4) it can be readily verified that none of the nine graphs of Fig. 8.5 can have its set of lines partitioned into complete subgraphs satisfying the given condition. Since every induced subgraph of a line graph must itself hea line graph, the result follows (4) implies (3) We show that if G does not satisfy (3), then it has one of the nine forbidden graphs as an induced subgraph. Assume that G has odd triangles abe and abd with c and d not adjacent. There are two cases, depending on whether or not there is a point v adjacent to an odd number of points of both odd triangles. 76 LINE GRAPHS CASE 1. There is a point v adjacent to an odd number of points of triangle abcand of triangle abd. Now there are two possibilities : either v is adjacent to exactly one point of each of these triangles or it is adjacent to more than one point of one of them. In the latter situation, » must be adjacent to all four points of the two triangles, giving G3 as an induced subgraph of G. In the former, either v is adjacent only either to a or b, giving G,, or to both cand d, giving G. CASE 2, There is no point adjacent to an odd number of points of both triangles. In this case, let u and v be adjacent to an odd number of points in triangles abc and abd, respectively. There are three subcases to consider: Case 2.1. Each of u, v is adjacent to exactly one point of the corre- sponding triangle. Case 2.2. One of u, v is adjacent to all three points of “its” triangle, the other to only one. Case 2.3. Each of u, vis adjacent to all three points of the corresponding triangle. Before these alternatives are considered, we note two facts. If u or v is adjacent to a or b, then it is also adjacent to c or to d, since otherwise G, is an induced subgraph. Also, neither u nor v can be adjacent to both c and dsince then G, or Gs is induced. CASE 2.1. Ifuc, ud € G then, depending on whether or not line wv is in G, we have G, or G, as an induced subgraph. If ub, vd ¢ G then it follows from the preceding remarks that udeG while ve ¢G; if wv ¢G then points {a,d, u,v} induce G,, while if uv eG, then {a,b,c,d,u,v} induce Gs. If ub, va € G then necessarily ud, ve € G, so that if uv ¢ G, Gg is induced, while if uv ¢ Gthen G, appears. Finally ifub, vb ¢ G, then again ud, ve € G from which it follows that either Gy or G, is an induced subgraph of G, depending on whether or not uve G. CASE 2.2. Let ua, ud, uc eG. Clearly if ude G then G, is induced; thus ud ¢G. Now v can be adjacent to d or b. If vd eG, then depending on whether or not uv € G, we find G, or Gs induced. If vb eG then either G, or G, is induced, depending on whether or not v is adjacent to both ¢ and u. CASE 23. Ifud, ve, or uv € G, then G3 is induced. The only other possibility gives Gy. 3. implies 1. Suppose that G is a graph satisfying the conditions of the statement. We may clearly take G to be connected. Now, exactly one of the following statements must be true: 1. G contains two even triangles with a common line. 2, Whenever two triangles in G have a line in common, one of them is odd. SPECIAL LINE GRAPHS 77 Fig. 8.4, Three line graphs It can be shown that if G satisfies the first statement, then it is one of the graphs 1, = L(K,,3 + %, H, = L(H,) or H3 = {K,) displayed in Fig. 8.4. So suppose that G satisfies the second statement. We indicate the method of constructing a graph H such that G = L(H) Let F, be the family of all cliques of G which are not even triangles, where each such clique is considered as a set of points. Let F, be the family of points (taken as singletons) of G lying in some clique K in F, but not adjacent to any point of G — K. Finally, let F be the family of lines (each taken as a set of two points) of G contained in a unique and even uiangle. It is not difficult to verify that G is isomorphic to the line graph of the inter- section graph H = Q(F, u F, UF). This completes the proof. This iasi consiruciion is ifiusiraied in Fig. 8.3, in which ihe given graph G has families F, = {{1,2,3, 4}, (4,5, 6}}, F2 = {{1}, (2}, (3}}, and F3 = {{5, 7}, (6, T}} leading to the intersection graph H; thus G = L(H). iy 1 2 {5,7} {6.7} Fig. 8.5. A line graph and its graph. SPECIAL LINE GRAPHS In this section, characterizations are presented for line graphs of trees, complete graphs, and complete bigraphs The next result, due to G. T. Chartrand, specifies when a graph is the line graph of a tree. 7B LINE GRAPHS _— 3 a a bs Fig. 8.6. The line-graph G of a tree T. ‘Theorem 8S A graph is the line graph of a tree if and only if it isa connected block graph in which each cutpoint is on exactly two blocks. Proof. Suppose G = L(T), T some tree. Then G is also B(T) since the lines and blocks of a tree coincide. Fach cutpoint x of G corresponds to a bridge uv of T, and is on exactly those two blocks of G which correspond to the stars at u and v. This proves the necessity of the condition. To see the sufficiency, let G be a block graph in which each cutpoint is on exactly two blocks. Since each block of a block graph is complete, there exists a graph H such that L(H) = G by Theorem 8.2. If G = K, we can take H = K,,3. IfGis any other block graph, then we show that H must be atree. Assume that H is not a tree so that it contains a cycle. If H is itself acycle, then by Theorem 8.3, L(H) = H, but the only cycle which isa block graph is K, a case not under consideration. Hence H must properly contain a cycle, thereby implying that H has a cycle Z and a line x adjacent to two lines of Z, but not adjacent to some line y of Z. The points x and y of L(H) lie on a cycle of L(H), and they are not adjacent. This contradicts the condition of Theorem 3.5 that L(H) is a block graph. Hence H is a tree, and the thcorem is proved. In Fig. 8.6, a block graph G is shown in which each cutpoint lies on just two blocks. The tree T of which G is the line graph is constructed by first forming the block graph B(G) and then adding new points for the non- cutpoints of G and the lines joining each block with its noncutpoints. The line graphs of complete graphs and complete bigraphs are almost always characterized by rather immediate observations involving adjacencies of lines in K, and K,,,. The case of complete graphs was independently settled by Chang [C7] and Hoffman [143], [H44]. LINE GRAPHS AND TRAVERSABILITY 79 Theorem 8.6 Unless p = 8, a graph G is the line graph of K, if and only if 1. G has (§) points, 2. Gis regular of degree 2p — 2), 3. Every two nonadjacent points are mutually adjacent to exactly four points, 4. Every two adjacent points are mutually adjacent to exactly p — 2 points. It is evident that L(K,) has these four properties. It is not at all obvious that when p = 8, there are exactly three exceptional graphs satisfying the conditions. For complete bigraphs, the corresponding result was found by Moon [M13], and Hoffman [H46]. Theorem 8.7 Unless m = only if = 4, a graph G is the line graph of K,,,, if and 1. G has mn points, 2. G is regular of degree m +n — 2, 3. Every two nonadjacent points are mutually adjacent to exactly two points, 4, Among the adjacent pairs of points, exactly n(’) pairs are mutually adjacent to exactly m — 2 points, and the other m(3) pairs to n — 2 points. There is only one exceptional graph satisfying these conditions. It has 16 points, is not L(K,,,), and was found by Shrikhande [S12] when he proved Theorem 8.7 for the case m = n. LINE GRAPHS AND TRAVERSABILITY We now investigate the relationship of eulerian and hamiltonian graphs with line graphs. If x = wv isa line of G, and w is not a point of G, then x is subdivided when it is replaced by the lines uw and wv. Ifevery line of G is subdivided, the G S@): Fig. 8.7. A graph and its subdivision graph. 80 LINE GRAPHS a” Fig. 8.8. A counterexample. > OO G LG) LAG) Fig. 8.9, Another counterexample. resulting graph is the subdivision graph S(G); see Fig. 8.7. If we denote by $,(G) the graph obtained from G by inserting n new points of degree 2 into every line of G, so that S(G) = S,(G), we can then define a new graph L,(G) = L{S,_,(G)). Note that, in general, L,(G) # L(G), the nth iterated line graph of G. Theorem 8.8 If G is eulerian, then L(G) is both eulerian and hamiltonian. If G is hamiltonian, then L(G) is hamiltonian, For example i in mes 88, L(G) is culerian and hamiltonian while G is not eulerian;; in Fig. 8.9, L(G) is hamiltonian while G is not A refinement of the second statement in Theorem 8.8 is provided by the following result of Harary and Nash-Williams [HN1] which follows readily from the preceding theorem and the fact that L(G) = L(S(G)). ‘Theorem 8.9 A sufficient condition for L(G) to be hamiltonian is that G be hamiltonian and a necessary condition is that L(G) be hamiltonian. The graphs of Figs. 8.10 and 8.9 show that the first of these conditions is not necessary and the second is not sufficient for L3(G) to be hamiltonian. Wenote also (see Fig. 8.11) that L(G) = L,(G) and L(G) may be hamiltonian LINE GRAPHS AND TRAVERSABILITY 81 A Fig. 8.10. Still another counterexample. ip OY LAG) L(G) Fig. 8.11. A sequence of graphs L(G). without G being culerian. However, the next graph L(G) in this scrics provides the link between these two properties. ‘Theorem 8.10 A graph G is eulerian if and only if L(G) is hamiltonian. For almost every connected graph G, however, nearly all of the graphs 1G) are hamiltonian, as shown by Chartrand [C9]. Theorem 8.11 If G is a nontrivial connected graph with p points which is not a path, then Z(G) is hamiltonian for all n > p — 3. An example is given in Fig. 8.12 in which a 6-point graph G, as well as L(G), 2(G), and the hamiltonian graph [3(G) are shown. YY Ps LO LG) Fig. 812. A sequence of iterated line graphs. 82 LINE GRAPHS { = | Fig. 813. Formation of a total graph. TOTAL GRAPHS The points aud lines of a graph are called its elements. Two elements of a graph are neighbors if they are either incident or adjacent. The total graph T(G) has point set V(G) U X(G), and two points of T(G) are adjacent whenever they are neighbors in G. Figure 8.13 depicts the formation of the total graph T(K;). It is easy to see that T(G) always contains both G and L(G) as induced subgraphs. An alternative characterization of total graphs was given by Behzad [B4]. Theorem 8.12 The total graph T(G) is isomorphic to the square of the sub- division graph S(G). Corollary 8.12(a) If v is a point of G, then the degree of point v in T(G) is 2degv. If x = w is a line of G, then the degree of point x in T(G) is deg u + deg v. Corollary 8.12(b) If G is a (p, q) graph whose points have degrees d,, then the total graph T(G) has pr = p + q points and qr = 2q + $Z d lines. The Ramsey function r(m, n) was defined in Chapter 2, where it was noted that its general determination remains an unsolved problem. Behzad and Radjavi [BR1] defined and solved an analogue of the Ramsey problem, suggested by line graphs. The line Ramsey number r,(m, n) is the smallest positive integer p such that every connected graph with p points contains either n mutually disjoint lines or m mutually adjacent lines, that is, the star K,,,- Thus r;(m, n) is the smallest integer p such that for any graph G with p points, L(G) contains K,, or L(G) contains K,, ‘Theorem 8.13 For n >1, we always have r,(2, n) = 3. For all other m and n, r(m, n) = (m — 1Xn — 1) + 2. Note that it is not always true that r,(m, n) = r,(n,m). Furthermore, in contrast with Ramsey numbers, r,(m,n) is defined only for connected graphs. EXERCISES 83 EXERCISES 8.1 Under what conditions can the lines of a line graph be partitioned into complete subgraphs so that cach point lies in exactly two of these subgraphs? 8.2 Determine the number of triangles in L(G) in terms of the number n of triangles of Gand the partition of G. 83 Determine a criterion for a connected graph to have a regular line graph. 84 A graph G can be reconstructed from the collection of q spanning subgraphs G — x, ifand only if its line graph L(G) satisfies Ulam’s Conjecture (p. 12). (Hemminger [H41)) 85 IfG is mline-connected, then 1. L(G) is n-connected, 2. 1{G) is Qn — 2}-line-connected, and 3. L(G) is (2n — 2)-connected. (Chartrand and Stewart [CS1]) 8.6 a) Construct a connected graph G with p > 4 such that L(G) is not eulerian but LG) is. on Lod gra BG) is. 8&7 The smallest block whose line graph is not hamiltonian is the theta graph with 8 points in which the distance between the points of degree 3 is 3. (J. W. Moon) 88 L(G) is hamiltonian if and only if there is a closed trail in G which includes at least one point incident with each line of G. 89 The graph L,(G) is hamiltonian if and only if G has a closed spanning trail. (Harary and Nash-Williams [HN1]) 8.10. The following statements are equivalent (1) L(G) is eulerian. (2) The degrees of all the points of G are of the same parity. (3) T(G)is eulerian 8.11 T(K,) is isomorphic to L(K,+,). (Behzad, Chartrand, and Nordhaus [BCN1]) 8.12 Define a family F of subsets of elements of G such that T(G) — Q(F). 8.13 a) IfG is hamiltonian, so is T(G). If G is eulerian, then T(G) is both eulerian and hamiltonian. b) The total graph T(G) of every nontrivial connected graph Gcontainsa spanning eulerian subgraph, ©) Ifa nontrivial graph G contains a spanning eulerian subgraph, then T(G) is hamiltonian, 4) If G is nontrivial and connected, then T2(G) is hamiltonian. (Behzad and Chartrand [BC2]) 8.14 For any multigraph M, define the line graph L(M) by V(L(M)) = X(M) and x adj y in L(M) whenever x and y are distinct lines meeting at either one or two points. Then @ graph G is the line graph of some multigraph if and only if it has no induced subgraph of the form G,, Gg, or Gy of Fig. 8.3. (. P. Geller) CHAPTER 9 FACTORIZATION The whole is equal to the sum of its parts. Fuicun, Elements ‘The whole is greater than the sum of its parts. Max WeRTHEIMER, Productive Thinking A problem which occurs in varying contexts is to determine whether a given graph can be decomposed into line-disjoint spanning subgraphs possessing a prescribed property. Most frequently, this property is that of regularity of specified degree. In particular, a criterion for the existence in a graph of a spanning regular subgraph of degree 1 was found by Tutte. Some observa- tions are presented concerning the decomposition of complete graphs into spanning subgraphs regular of degree 1 and 2. The partitioning of the lines of a given graph into spanning forests is also studied and gives rise to an invariant known as “arboricity.” A formula for the arboricity of a graph in terms of its subgraphs was derived by Nash- Williams, and explicit constructions for the minimum number of spanning forests in complete graphs and bigraphs have been devised. 1-FACTORIZATION A factor of a graph G is a spanning subgraph of G which is not totally dis- connected. We say that G is the sum* of factors G; if it is their line-disjoint union, and such a union is called a factorization of G. An n-factor is regular of degree n. If G is the sum of n-factors, their union is called an n-factorization and G itself is n-factorable. Unless otherwise stated, the results presented in this chapter appear in or are readily inferred from theorems in Kénig [K10, pp. 155-195], where the topic is treated extensively. When G has a 1-factor, say Gy, it is clear that p is even and the lines of G, are independent. In particular, K2,,, cannot have a 1-factor, but K3, certainly can. * Some call this product; others direct sum. 1-FACTORIZATION 85 “LA +/ / ) pea NU ON | | a Fig. 9.1. A L-factorization of Kg Theorem 9.1. The complete graph K , is 1-factorable. Proof. We need only display a partition of the set X of lines of K3, into (2n — 1) I-factors. For this purpose we denote the points of G by Dy, Vy,"*, Vg, and define, for i= 1,2,---,2n —1, the sets of lines X= {02q} U (0) i253) = 1217+, — 1}, where each of the subscripts i ~ jandi + jis expressed as one of the numbers 1, 2,---, (2n — 1) modulo (2n — 1). The collection {X;} is easily seen to give an appropriate partition of X, and the sum of the subgraphs G; induced by X; is a |-factorization of Ka, For example, consider the graph K shown in Fig. 9.1. The 1-factoriza- tion presented in the proof of the theorem produces the five !-factors G,. Although the complete bigraphs K,,, have no I-factor if m # n, the graphs K,,, are 1-factorable, as seen by the next statement. ‘Theorem 9.2. Every regular bigraph is 1-factorable. It is not an easy problem to determine whether a given graph is 1- factorable, or, indeed, to establish whether there exists any 1-factor. Beineke and Plummer [BP2] have shown, however, that many graphs cannot have exactly one 1-factor. Theorem 9.3 If a 2-connected graph has a 1-factor, then it has at least two different 1-factors. ‘The graph G in Fig. 9.2 is a block with exactly two 1-factors, and they ave one common line. The most significant result on factorization is due to Tutte [T7] and characterizes graphs possessing a 1-factor. In general, this test for a I-factor is quite inconvenient to apply. The proof given here is based on Gallai [G1]. 86 FACTORIZATION ? wl 4% \ | Fig. 9.2. Two I-factors of a block. A set of mutually nonadjacent lines is called independent. By an odd component of G we mean one with an odd number of points. Theorem 9.4 A graph G has a 1-factor if and only if p is even and there is no set S of points such that the number of odd components of G — S exceeds ISI. Proof. The easier half of this theorem is its necessity. Let S be any set of points of G and let H be a component of G — S. Inany !-factor of G, each point of H must be paired with either another point of H or a point of S. But if H has an odd number of points, then at least one point of H is matched with a point of S. Let ko be the number of odd components of G — S. If G has a 1-factor then |S] > ko, since in a 1-factor each point of S can be matched with at most one point of G — S and therefore can take care of at most one odd component. In order to prove the sufficiency, assume that G does not have a 1-factor, and let S be a maximum set of independent lines. Let T denote the set of lines not in S, and let uo be a point incident only with lines in T. A path is called alternating if the lines allernately lie in S and T. For each point v # ug, call va 0-point if there are no up-v alternating paths; if there is such a Path, call v an S-point if all these paths terminate in: a line of § at v, a T- in pry type of line. The following s statements a are immediate consequences, Every point adjacent to ug is a T- or an ST-point. No S- or O-point is adjacent to any T- or ST-point. No T-point is joined by a line of $ to any T- or 0-point. Therefore, each S-point is joined by aline ofS toa T-point. Furthermore, each T-point v is incident with a line of S since otherwise the lines in an alternating ug~v path could be switched between S and T to obtain a larger independent set. 1-FACTORIZATION 87 Let H be the graph obtained by deleting the 7-points. One component of H contains ug, and any other points in it are ST-points. The other com- ponents either consist of an isolated S-point, only ST-points, or only 0-points. We now show that any component H, of H containing ST-points has an odd number of them. Obviously H, either contains up or has a point u, joined in G to a T-point by a line of S such that some alternating ug—u, path contains this line and no other points of H,. If H, contains uo, we take uy = Uo. The following argument will be used to show that within H, every point v other than u, is incident with some line of S. This is accomplished by showing that there is an alternating u,—» path in H, which terminates in a line of S. The first step in doing this is showing that if there is an alternating u,-v path P,, then there is one which terminates ina line of S. Let P; be an alternating up-v path ending in a line of T, and let uv’ be the last line of P,, if any, which does not lie in H,. Then v’ must be a T-point and wv’ a line in S. Now go along P; from u, until a point w’ of P is reached. Continuing along P, in one of the two directions must give an alternating path. If going to v' results in an alternating path, then the original ug-u, path Po followed by this new path and the line v'u’ would be a up-u, path terminating in a line of S and u’ could not be a T-point. Hence there must be a u,—v path terminating in a line of S. Now we show that there is necessarily a u,-v alternating path by as- suming there is not. Then there is a point w adjacent to v for which there is a u,-w alternating path. If line wv is in S, then the u,-w alternating path terminates in a line of T, while if wo is in T, the preceding argument shows there is a uy~w path terminating in a line of S. In either case, there is a u,v alternating path. ‘his shows that ihe component fi, has an odd number of poinis, and that if H, does not contain up, exactly one of its points is joined to a T-point by a line of S. Hence, with the exception of the component of H containing up and those consisting entirely of 0-points, each is paired with exactly one T-point by a line in S. Since each of these and the component containing Ug is odd, the theorem is proved. The graph of Fig. 9.3 has an even number of points but contains no 1- factor, for if the set S = {0,, v,} is removed from G, four isolated points (and therefore four odd components) remain. ey va Fig. 9.3. A graph with no 1-factor. 88 FACTORIZATION Building up on his criterion for the existence of a !-factor in a given graph, Tutte [T10] was able to characterize those graphs having a spanning subgraph with prescribed degree sequence, and later, [T11], proved this result asa straightforward consequence of Theorem 9.4. Consider a labeling of G and a function f from V into the nonnegative integers. Let S and T be disjoint subsets of V, let H be a component of G — (SU T), and let 4(H, T) be the number of lines of G joining a point of H with one in T. Then we may write ko(S, 7) as the number of components H of G ~ (S UT) such that q(H, T) + Eyer f(u) is odd. Theorem 9.5 Let G be a given graph and let f be a function from V into the nonnegative integers. Then Ghasa spanning subgraph whosedegree sequence is prescribed by f if and only if there exist disjoint sets S and T of points such that tr) < ko(S, T) + Lye ~ dg-s(v)]- 2-FACTORIZATION Ifa graph is 2-factorable, then each factor must be a union of disjoint cycles. If a 2-factor is connected, it is a spanning cycle. We saw that a complete graph is I-factorable if and only if it has an even number of points. ‘Since are not 2-factorable. The odd complete graphs are 2-factorable, and in fact a stronger statement can be made. Ze Zz |. A 2-factorization of K;. 2-FACTORIZATION 89 Theorem 9.6 The graph K2,., is the sum of n spanning cycles. Proof. In order to construct n line-disjoint spanning cycles in K 2,4, first label its points v4, ¥2,°-*, ¥2941- Then construct n paths P; on the points Py Ba, “7s Vay aS follows: Py = vj 0-4 Bj) 4 277" Me View Thus the jth point of P; is », where k = i + (—1)/*![j/2] and all subscripts are taken as the integers 1, 2,---, 2n (mod 2n). The spanning cycle Z, is then constructed by joining v2,,, to the endpoints of P;. This construction is illustrated in Fig. 9.4 for the graph Ky. The lines of the paths P, are solid and the two added lines are dashed. ‘There is a decomposition of K,, which embellishes the result of Theorem 91. ‘Theorem 9.7 The complete graph K2, is the sum of a I-factor and n — 1 spanning cycles. Of course, every regular graph of degree 1 is itself a 1-factor and every regular graph of degree 2 is a 2-factor. If every component of a regular graph G of degree 2 is an even cycle, then G is also 1-factorable since it can be expressed as the sum of two I-factors. Ifa cubic graph contains a 1-factor, it must also have a 2-factor, but there are many cubic graphs which do not have 1-factors. The graph of Fig. 9.5 has three bridges. Petersen [P3] proved that any cubic graph without a 1-factor must have a bridge. Fig. 9.5. A cubic graph with no I-factor. Fig. 9.6. The Petersen graph. Theorem 98 Every bridgeless cubic graph is the sum of a I-factor and a 2-factor. a bridgeless cubic graph which is not the sum of three I-factors. This well known graph, shown in Fig. 9.6, is called the Petersen graph. By Theorem 9.8, it is the sum of a 1-factor and a 2-factor. The pentagon and pentagram together constitute a 2-factor while the five lines joining the pentagon with the pentagram form a 1-factor. 90 FACTORIZATION A criterion for the decomposability of a graph into 2-factors was also obtained by Petersen [P3]. Theorem 9.9 A connected graph is 2-factorable if and only if it is regular of even degree, ARBORICITY In the only type of factorization considered thus far, each factor has been an n-factor. Several other kinds of factorizations have been investigated and we discuss one now and others in Chapter 11. Any graph G can be expressed as a sum of spanning forests, simply by letting each factor contain only one of the q lines of G. A natural problem is to determine the minimum number of line-disjoint spanning forests into which G can be decomposed. This number is called the arboricity of G and is denoted by ¥(G). For example, Y(K,) = 2 and Y(K;) = 3; minimal decompositions of these graphs into spanning forests are shown in Fig. 9.7. LINZ war Fig. 9.7. Minimal decompositions into spanning forests. A formula discovered by Nash-Williams [N2] gives the arboricity of any graph. Theorem 9.10 Let G be a nontrivial (p,q) graph and let g, be the maximum number of lines in any subgraph of G having n points. Then = m Wn 116) = max, | }. The fact that Y(G) > max, {q,/(n — 1)} can be shown as follows. Since G has p points, the maximum number of lines in any spanning forest isp — 1. Hence, the minimum possible number of spanning forests required ARBORICITY — 91. to fill G, which by definition is Y(G), is at least g/(p — 1). But the arboricity of Gis an integer, so Y(G) > {q(p — 1)}. The desired inequality now follows from the fact that for any subgraph H of G, Y(G) > Y(H). Among all subgraphs H with n < p points, max Y(H) will occur in those induced subgraphs containing the greatest number of lines. Thus if H is a subgraph of G, Y(H) can be greater than {q/(p — 1)}. The (10, 15) graph in Fig. 98 illustrates this observation. Takingn = Sandq, = 10(for H = Ks), we have a \_ i 4 wy =f bas>2ef a}. For K,, the maximum value of q, clearly occurs for n = p so that Y(K,) = {p/2}- Similarly, for the complete bigraph K,,,, {g,/(n — 1)} assumes its maximum value when n = p = r + s. 2 Y \ Fig. 9.8. A graph G with a dense subgraph H. Corollary 9.10(a) The arboricities of the complete graphs and bigraphs are rik = {zh and nn,) {2}. Although Nash-Williams’ formula gives the minimum number of spanning forests into which an arbitrary graph can be factored, his proof does not display a specific decomposition. Beineke [BS] accomplished this for complete graphs and bigraphs, the former of which we present here. For p = 2n, K, can actually be decomposed into n spanning paths. Labeling the Points vj, V2, “+ ~, U2_, We consider the same n paths Py = 0; 0-1 ren Vin Via Pin Mam as in proof of Theorem 9.6, For p = 2n + 1, the arboricity of K, isn + 1 by Corollary 9.10(a). A decomposition is obtained by taking the paths just described, adding an extra point labeled v,, , to each, and then constructing 92 FACTORIZATION Se Lge WIS Fig. 9.9. A minimal decomposition of K, into spanning forests. a star by joining v2,,, to the other 2n points. The construction for p = 9 is shown in Fig. 9.9. It is easily seen to consist of the star at one of the points of K, together with spanning subforests corresponding to the four spanning paths of Kg indicated above. EXERCISES 9.1 The graph K,, has a unique 1-factorization. Find the number of 1-factorizations of K3,3 and of Ky. 9.2 Display a 1-factorization for Ky. 9.3. The number of 1-factors in Ky is (2n)!/(2"n!). 9.4 Keq-2 has a 3-factorization. 95 Forn > 1, K4,., is 4-factorable. 9.6 Use Tutte’s Theorem 9.4 to show that the graph of Fig. 9.5 has no I-factor. 9.7 Ifan n-connected graph G with p even is regular of degree n, then G hasa 1-factor. (Tutte [T7)) 98 Let G be a graph with a I-factor F, A line of G is in more than one actor if'and only if it lies on a cycle whose lines are alternately in F. (Beineke and Plummer [BP2]) 9.9 Express K as the sum of four spanning cycles. 9.10 Is the Petersen graph hamiltonian? EXERCISES — 93 *9.11 Corresponding to any two integers d > 3 and g > 3, there exists a graph G with the following properties: L wR wND 9.12 9.13 Gis regular of degree d. . G has girth g. . Gis hamiltonian. .. The cycles of length g are line-disjoint and constitute a 2-factor of G. . G is the sum of this 2-factor and (d — 2) 1-factors, (Sachs [S9]) Display a minimal decomposition of K,,, into spanning forests. Find the smallest connected (p, q) graph G such that max, {q,/(r — 1)} > {al(p — 1)}, where q, is the maximum number of lines in any induced subgraph of G with r points. CHAPTER 10 COVERINGS Through any point not on a given line, there passes a unique line having no points in common with the given line. Through any point not on a given line, there passes no line having no points in common with the given line. RIEMANN, Through any point not on a given line, there pass more than one line having no points in common with the given line. BOLyal It is natural to say that a line x = uv of G covers the points wand v. Similarly, we may consider each point as covering all lines incident with it. From this viewpoint, one defines two invariants of G: the minimum number of points (lines) which cover all the lines (points). Two related invariants are the maximum number of nonadjacent points and lines. These four numbers associated with any graph satisfy several relations and also suggest the study of spovial puinis and lines witich are critical for covering purposes. These concepts lead naturally to two special subgraphs of G called the line-core and point-core. Criteria for the existence of such subgraphs are established in terms of covering properties of the graph. COVERINGS AND INDEPENDENCE A point and a line are said to cover each other if they are incident. A set of points which covers all the lines of a graph G is called a point cover for G, while a set of lines which covers all the points is a line cover. The smallest number of points in any point cover for G is called its point covering number and is denoted by %o(G) or @g. Similarly, «(G) or «, is the smallest number of lines in any line cover of G and is called its line covering number. For example, a(K,) = p — 1 and a,(K,) = [(p + 1)/2]. A point cover (line cover) is called minimum if it contains a (respectively «,) elements. Observe that a 94 COVERINGS AND INDEPENDENCE 95 Fig. 10.1. The graph Ky Ky. point cover may be minimal without being minimum; such a sct of points is given by the 6 noncutpoints in Fig. 10.1. The same holds for line covers ; the 6 lines incident with the cutpoint serve. A set of points in G is independent if no two of them are adjacent. The largest number of points in such a set is called the point independence number of G and is denoted by fo(G) or Bo. Analogously, an independent set of lines of G has no two of its lines adjacent and the maximum cardinality of such a sei is the dine independence number f(G} or py. For ihe compicic grapir, Bo(K,) = 1 and B,(K,) = [p/2]. Obviously B,(G) = p/2 if and only if G has a I-factor. The numbers just defined are Bo(G) = 2 and B,(G) = 3 for the graph G of Fig. 10.1. For this graph as well as for K,,a + Bo = % + B, = p. Gallai [G2] proved that this identity always holds. Theorem 10.1 For any nontrivial connected graph G, a + Bo =P = % + fr Proof. Let My beany maximum independent set of points, so that |Mol = Bo. Since no line joins two points of Mg, the remaining set of p ~ Bo points constitutes a point cover for G so that %» < p — Bo. On the other hand, if No is a minimum point cover for G, then no line can join any two of the remaining p — 1, points af G, sa the set V — Ny is independent Hence, Bo = p — %p, proving the first equation. To obtain the second equality, we begin with an independent set M, of B, lines. A line cover Y is then produced by taking the union of M, and a set of lines, one incident line for each point of G not covered by any line in My. Since |M,| +|Y¥| = p and |¥| > ay, it follows that a, + B, p, completing the proof of the theorem. 96 ‘COVERINGS Hedetniemi [H39] noticed that the proof of the first equation in Theorem 10.1, % + Bo = applies in a more general setting. A property P of a graph G is hereditary if every subgraph of G also has this property. Examples of hereditary properties include a graph being totally disconnected, acyclic, and bipartite. Aset S of points of G is called a P-set if the induced subgraph has property P; it is called a P-set if every subgraph of G without property P contains a point of S. Let Bo(P) be the maximum cardinality of a P-set of G and let ao(P) be the minimum number of points of a P-set. Then the proof of the next statcment is obtained at once from that of Theorem 10.1 Corollary 10.1(a) If P is an hereditary property of G, then ao(P) + Bo(P) = p. A collection of independent lines of a graph G is sometimes called a matching of G since it establishes a pairing of the points incident to them. For this reason, a set of B, independent lines in Gis called a maximum matching of G. If Gis bipartite, then more can be said. The next theorem due to Konig [K9] is intimately related to his Lheorem 5.18 on systems of distinct representatives stated in matrix form, in fact it is the same result. ‘Theorem 10.2 If G is bipartite, then the number of lines in a maximum matching equals the point covering number, that is, By = a. The problem of finding a maximum matching, the so-called matching problem, is closely related to that of finding a minimum point cover. Let M c X(G) be a matching of G. In an alternating M-walk, exactly ‘one of any two consecutive lines is in M. An augmenting M-walk is an alternating M-walk whose endpoints are not incident with any line of M. Such a walk must be a path because M is a matching. IfG has no augmenting M-walk, then matching M is unaugmentable. Clearly every maximum matching is unaugmentable; the converse is due to Berge [B10] and the proof given below appears in Norman and Rabin [NR1]. Theorem 10.3 Every unaugmentable matching is maximum. Proof. Let M be unaugmentable and choose a maximum matching M' for which |M ~ M'|, the number of lines which are in M but not in M’, is minimum. If this number is zero then M = M’. Otherwise, construct a walk W of maximum length whose lines alternate in M — M' and M’. Since M’isunaugmentable, walk W cannot begin and end with lines of M — M'‘and has equally many lines in M — M’ and in M’. Now we form a maximum matching N from M’ by replacing those lines of W which are in M’ by the lines of Win M — M'. Then|M — N| <|M — M1, contradicting the choice of M’ and completing the proof. CRITICAL POINTS AND LINES 97 Norman and Rabin [NR1] developed an algorithm, based on the next theorem, for finding all minimum line covers in a given graph. Let Y be a line cover of G. An alternating Y-walk is a Y-reducing walk if its endlines arc in Y and its endpoints arc incident to lines of Y which are not cndlines of the walk, Obviously every minimum line cover has no reducing walk. ‘Theorem 10.4 If Y is a line cover of G such that there is no Y-reducing walk, then Y is a minimum line cover. ‘The cover invariants a and a, of G refer to the number of points needed to cover all the lines and vice versa. We may also regard each point as covering itself and two points as covering cach other if they are adjacent, and similarly for lines. Then other invariants suggest themselves. Let agg be the minimum number of points needed to cover V, and let dog be the minimum number* of independent points which cover V. Then both these numbers are defined for any graph. Let a1, and a, have similar meanings for the covering of lines by lines. The relationships among these invariants were determined by Gupta [G11]. Theorem 10.5 For any graph G, oS %q and, = Hs CRITICAL POINTS AND LINES Obviously, if H is a subgraph of G, then ao(H) < a9(G). In particular, this inequality holds when H = G — v or H = G — x for any point vor line x. Iag(G — v) < ao(G), then v is called a criticalt point; if 1(G — x) < a9(G), then x is a critical line of G. Clearly, if v and x are critical, it follows that ao(G — v) = a(G — x) = &% — 1. Critical points are easily characterized. Theorem 10.6 A point v is critical in a graph G if and only if some minimum point cover contains v. Proof. If M isa minimum point cover for G which contains v, then M — {v} covers G — v; hence, x(G — v) <|M — {v}| = |M| — 1 = a(G) — 1 so that v is critical in G. Let v be a critical point of G and consider a minimum point cover M’ for G — v. The set M’ u {v} is a point cover for G, and since it contains one more element than M’, it is minimum. If the removal of a line x = uv from G decreases the point covering number, then the removal of u or v must also result in a graph with smaller point covering number. Thus, if a line is critical both its endpoints are * Berge [B12] calls ao the “external stability number” and fj, the “internal stability number.” + In this chapter, “critical” refers to covering; in Chapter 12, the same word will involve coloring. ‘The meanings should be clear by context. 98 COVERINGS Fig. 10.2. Line-critical graphs. critical. If a graph has critical points, it need not have critical lines; for example, every point of C, is critical but no line is. A graph in which every point is critical is called point-critical while one having all lines critical is line-critical. Thus a graph G is point-critical if and only if each point of G lies in some minimum point cover for G. From our previous remarks, every line-critical graph is point-critical. Among the line-critical graphs are the complete graphs, the cycles of odd length, and the graphs of Fig. 10.2. A constructive criterion for line-critical graphs is not known at present ; however, the first two corollaries to the following theorem of Beineke, Harary, and Plummer [BHP1] place some rather stringent conditions on such graphs. Theorem 10.7. Any two adjacent critical lines of a graph lie on an odd cycle. Corollary 10.7(a) Every line-critical graph isa block in which any two adjacent lines lie on an odd cycle. Theorem 10.7 was derived by generalizing the next result due to Dulmage and Mendelsohn [DM1] Coroliary 10.7(6) Any two critical lines of a bipartite graph are independent. LINE-CORE AND POINT-CORE The line-core* C,(G) of a graph G is the subgraph of G induced by the union ofall independent sets Y of lines (if any) such that |Y| = 29(G). This concept was introduced by Dulmage and Mendelsohn [DM1], who made it an integral part of their theory of decomposition for bipartite graphs. It is not always the case that a graph has a line-core, though by Theorem 10.2, every bipartite graph which is not totally disconnected has one. As an example of a graph with no line-core, consider an odd cycle C,. Here we find that ao(C,) = (p + 1)/2 but that B,(C,) = (p — 1)/2, so C, has no line-core. * Called “core” in [DMI] and [HP19}. LINE-CORE AND POINT-CORE 99 Fig. 10.3. A graph and its line-core. Harary and Plummer [HP19] developed a criterion for a graph to have a line-core. A minimum point cover M fora graph G with point set V is said to. be external if for each subset M’ of M, |M’| < |U(M’], where U(M’) is the set of all points of V — M which are adjacent to a point of M’. Theorem 10.8 The following are equivalent for any graph G: (1) Ghas a line-core. 2) Ghas an external minimum point cover. (3) Every minimum point cover for G is external. ‘As an example, consider the graph G of Fig. 10.3. This graph has two minimum point covers: M, = {v, Us, Ug} and Mz = {vz, vs, 07}. Let us concentrate on M,. If Mj = M,, then U(M}) = {0,, 03, 04, 07}. For Mi Dg, Vg}, U(M7) = {03, U4, 07}. We observe that |M4| < |U(M))| and |M’| <|U(M")|, a fact which is true for every subset of M,; hence, by definition, M, is external. Obviously, M, is also external. On the other hand, there are graphs which are equal to their line-core. This family of graphs is characterized in the next theorem, given in [HP19]. Following the terminology of Dulmage and Mendelsohn [DMI], we consider a bigraph G whose point set V is the disjoint union $ U T. We say that G is semi-irreducible if G has exactly one minimum point cover M and either M.A S or MO Tisempty. Next, G is irreducible if it has exactly two minimum point covers M, and M, andeitherM, 0 S = gandM, \T = ¢ or M, T = ¢ and M, 0S = 9. Finally, G is reducible if it is neither irreducible nor semi-irreducible. Ge 7 Gey us Fig. 10.4. A semi-irreducible and an irreducible graph. 100 COVERINGS Theorem 10.9 A graph G and its line-core C,(G) are equal if and only if G is bipartite and not reducible. Consider the bigraphs G, and G, of Fig. 10.4. In G,, let S; = {v3, ve} and T, = {vj, U2, U4, Us, V7}. The bigraph G, has the unique minimum point cover M, = {v3, vg}, and since M, 1 T, = ¢, G, is semi-irreducible and hence equals its line-core. In'Gz, set Sy = {uy, Us, us} and T, = {2, ua, Ug}. There are two minimum point covers, namely, M, = {u,, uy, us} and Ny = {uz, Uy, Ug}. However, My 0 T, = $ and Nz 7 Sz = ¢; therefore, G, is irreducible and also equals its line-core. EXERCISES 10.1 Prove or disprove: Every point cover of a graph G contains a minimum point cover. 10.2 Prove or disprove: Every independent set of lines is contained in a maximum independent set of lines. 103 For any graph G. aa(G) > B.(G) and a,(G) > o(G). 10.4 Find a necessary and sufficient condition that @,(6) = B,(G). 10.5 IfG has a closed trail containing a point cover, then L(G) is hamiltonian. 106 For any graph G, #(G) > 4(6). 10.7 IfGisa bigraph then q < doo, with equality holding only for complete bigraphs. 108 If Gis acomplete n-partite graph, then a) % -5—K— b) Gis hamiltonian if and only if p < 2a. ©) If G is not hamiltonian, then its circumference c = 2a and G has a unique minimum point cover. (M.D. Plummer) d) B; = min {6, [p/2]}. (Chartrand, Geller, Hedetniemi [CGH2]) 10.9 a) Let f, be the maximum number of points in a set Sc V(G) such that ¢S) is disconnected, Then x = p — By. b) Defining B, analogously, 4 = q — Py. (Hedetniemi [1139] 10.10 Calculate: a) @4(K,) —B) Ho0(Kmn 11 Kn 10.11. The “chess-queen graph” has the 64 squares of a chess board as its points, two of which are adjacent whenever one can be reached from the other by a single move of a queen; the chess-knight, chess-bishop, and chess-rook graphs are defined similarly. What is the number ago for each of these four graphs? (Solutions are displayed in Berge [B12, pp. 41-42] 10.12. Some relationships among a, doo, and oo are as follows: a) tag S to. b) For some graphs, ag < ag. ©) For some graphs, #9 < %. d) For some graphs, a9 < Mo. EXERCISES 101 10.13. Prove or disprove: A line x iscritical ina graph G ifand only ifthere is a minimum line cover containing x. 10.14 Prove or disprove: Every 2-connected line-critical graph is hamiltonian. 10.15 The converse of Corollary 10.6(a) does not hold. Construct a block which is not line-critical in which any two adjacent lines lie on an odd cycle. 10.16 A tree T equals its line-core if and only if T is a block-cutpoint tree. (Harary and Plummer [HP19]) 10.17 For any graph G, the following are equivalent : 1. Ghasa line-core. 2 a9(6) = B(G), 3. 43(6) = Bo(G). (Harary and Plummer [HP19]) 10.18 If Gis a connected graph having a line-core C,(G), then a) C,(G) is a spanning subgraph of G, b) C(C(G) = CG), ©) the components of C,(6) are bipartite subgraphs of G which are not reducible. (Harary and Plummer [HP19]) 10.19 If G is a graph with line-core C,(G) and B is a bipartite subgraph of G properly containing C,(G), then B is reducible. (Harary and Plummer [HP 19]) 10.20. The point-care C,(G) is the subgraph of Ginduced by the union of all indenendent sets S of @,(G) points. A graph G has a point-core if and only if it has a line-core. (Harary and Plummer [HP 18]) 10.21 IfG = CoG), then G has a I-factor. (Harary and Plummer [HP 18]) 10.22. If G is regular of degree n, then there is a partition of V into at most 1 + [n/2] subsets such that each point is adjacent to at most one other point in the same subset. (Gerencsér [G6)) CHAPTER 11 PLANARITY Return with me a while to the plains of Flatland, and I will shew you that which you have often reasoned and thought about . . Epwin A. Aport, Flatland Topological graph theory was first discovered in 1736 by Euler (V — E + F = 2)and then was dormant for 191 years. The subject was revived when Kuratowski found a criterion for a graph to be planar. Another pioneer in topological graph theory was Whitney, who developed some important propertics of the cmbedding of graphs in the plane. All the known criteria for planarity are presented. These include the theorems of Kuratowski and Wagner, which characterize planar graphs in terms of forbidden subgraphs, Whitney’s result in terms of the existence of a combinatorial dual, and MacLane’s description of the existence of a pre- scribed cycle basis. Several topological invariants of a graph are introduced. The genus of a graph has been determined for the complete graphs and bipartite graphs, the thickness for “most” of them, and the crossing number for only a few. PLANE AND PLANAR GRAPHS A graph is said to be embedded in a surface S when it is drawn on S so that no two edges intersect. As noted in Chapter 1, we shall use “points and lines” for abstract graphs, “vertices and edges” for geometric graphs (embedded in some surface). A graph is planar if it can be embedded in the plane; a bOI <_< Fig. 11.1. A planar graph and an ambessng 102 PLANE AND PLANAR GRAPHS — 103 plane graph has already been embedded in the plane. For example, the cubic graph of Fig. 11.1(a) is planar since it is isomorphic to the plane graph in Fig, 11.1(b). We will refer to the regions defined by a plane graph as its faces, the unbounded region being called the exterior face. When the boundary of a face of a plane graph is a cycle, we will sometimes refer to the cycle as a face. The plane graph of Fig. 11.2 has three faces, f,, f, and the exterior face fs. Of these, only f; is bounded by a cycle. xh Fig. 11.2. A plane graph. ‘The subject of planar graphs was discovered by Euler in his investigation of polyhedra. With every polyhedron there is associated a graph consisting only of its vertices and edges, called its /-skeleton. For example, the graph Q, is the 1-skeleton of the cube and K>,»,» that of the octahedron. The Euler formula for polyhedra is one of the classical results of mathematics. ‘Theorem 11.1 (Euler Polyhedron Formula). For any spherical polyhedron with V vertices, E edges, and F faces, V-E+F=2. (11.1) For the 3-cube we have V = 8, E = 12, and F = 6 so that (11.1) holds; for a tetrahedron, V = F = 4 and E = 6. Before proving this equation, we will recast it in graph theoretic terms. A plane map is a connected plane graph together with all its faces. One can restate (11.1) for a plane map in terms of the numbers p of vertices, q of edges, and r of faces, P-qtr=2. (HL) It is easy to prove this theorem by induction. However, this equation has already been proved in Chapter 4 where it was established that the cycle rank m of a connected graph G is given by m=q-ptlh Since it is easily seen that if (11.1’) holds for the blocks of G separately, then (11.1) holds for G also, we assume from the outset that G is 2-connected. Thus every face of a plane embedding of G is a cycle. We have just noted that p = V and q = E for a plane map. It only remains to link m with F. We now show that the interior faces of a plane graph G constitute a cycle basis for G, so that they are m in number. This holds because the edges of every cycle Z of G can be regarded as the symmetric 104 PLANARITY difference of the faces of G contained in Z. Since the exterior face is thus the sum (mod 2) of all the interior faces (regarded as edge sets), we see that m = F — 1, Hencem =q ~ p+ 1 becomesF -1=E-V+1. Euler's equation has many consequences. Corollary 11.1(a)_ If G is a (p, q) plane map in which every face is an n-cycle, then q = nlp — In — 2) (11.2) Proof. Since every face of G is an n-cycle, each line of G is on two faces and each face has n edges. Thus nr = 2g, which when substituted into (11.1’) gives the result. ‘A maximal planar graph is one to which no line can be added without losing planarity. Substituting n = 3 and 4 into (11.2) gives us the next result. Corollary 11.1(b) If G is a (p, g) maximal plane graph, then every face is a triangle andq = 3p — 6. IfGisa plane graph in which every face is a 4-cycle, then g = 2p — 4. Because the maximum number of edges in a plane graph occurs when each face is a triangle, we obtain a necessary condition for planarity of a graph in terms of the number of lines. Corollary 11.1) If Gis any planar(p, q) graph with p > 3, theng < 3p — 6. If G is 2-connected without triangles, then g < 2p — 4. Corollary 11.1(d) The graphs K, and K3,; are nonplanar. Proof. The (5, 10) graph Ks is nonplanar because q = 10 > 9 = 3p ~ 6; for Ks,3,q = Yand 2p — 4 = 8. As we will soon see, the graphs Ks and K;,3 play a prominent role in characterizing planarity. The above corollaries are extremely useful in investigating planar graphs, especially maximal planar graphs. Corollary 11.1(e) Every planar graph G with p > 4 has at least four points of degree not exceeding 5. Clearly, a graph is planar if and only if each of its components is planar. Whitney [W12] showed that in studying planarity, it is sufficient to consider 2-connected graphs. ‘Theorem 11.2 A graph is planar if and only if each of its blocks is planar. It is intuitively obvious that any planar graph can be embedded in the sphere, and converscly. This fact enables us to embed a planar graph in the plane in many different ways. PLANE AND PLANAR GRAPHS 105 Theorem 11.3 Every 2-connected plane graph can be embedded in the plane so that any specified face is the exterior. Proof. Let fe a nonexterior face of a plane block G. Embed G on a sphere and call some point interior to fthe “North Pole.” Consider a plane tangent to the sphere at the South Pole and project* G onto that plane from the North Pole. The result is a plane graph isomorphic to G in which fis the exterior face. ———— Corollary 11.3(a) Every planar graph can be embedded in the plane so that a prescribed line is an edge of the exterior region. Whitney also proved that every maximal planar graph is a block, and more. Theorem 11.4 Every maximal planar graph with p > 4 points is 3-connected. Nv ALY @ () Fig. 11,3. Plane wheels. There are five ways of embedding the 3-connected wheel W, in the plane: one looks like Fig. 11.3(a), and the other four look like Fig. 11.3(b). However, there is only one way of embedding W, on a sphere, an observation which holds for all 3-connected graphs (Whitney [W13)). Theorem 11.5 Fvery 3-connected planar graph is uniquely embeddable on the sphere. 11.4. Two plane embeddings of a 2-connected graph. To show the necessity of 3-connectedness, consider the isomorphic graphs G, and G, of connectivity 2 shown in Fig. 11.4. The graph G, is embedded on the sphere so that none of its regions are bounded by five edges while G, has two regions bounded by five edges. * This is usually called stereographic projection. 106 PLANARITY A polyhedron is convex if the straight line segment joining any two of its points lies entirely within it. The next theorem is due to Steinitz and Rademacher (SR2]. Theorem 11.6 A graphis the 1-skeleton ofa convex 3-dimensional polyhedron if and only if it is planar and 3-connected. One of the most fascinating areas of stndy in the theary of planar graphs is the interplay between considering a graph as a combinatorial object and as a geometric figure. Very often the question arises of placing geometric constraints on a graph. For example, Wagner [W1], Fary [F1], and Stein [S15] independently showed that every planar graph can be embedded in the plane with straight edges. ‘Theorem 11.7. Every planar graph is isomorphic with a plane graph in which all edges are straight line segments. OUTERPLANAR GRAPHS A planar graph is outerplanar if it can be embedded in the plane so that all its vertices lie on the same face ; we usually choose this face to be the exterior. Figure 11.5 shows an outerplanar graph (a) and two outerplane embeddings (b) and (0). In (©) all vertices lie on the exterior face. p= @) e © Fig. 11.5. An outerplanar graph and two outerplane embeddings. In this section we develop theorems for outerplanar graphs parallel with those for planar graphs. The analogue of Theorem 11.2 is immediate. ‘Theorem 11.8 A graph G is outerplanar if and only if each of its blocks is outerplanar. An outerplanar graph G is maximal outerplanar if no line can be added without losing outerplanarity. Clearly, every maximal outerplane graph is a triangulation of a polygon, while every maximal plane graph is a tri- angulation of the sphere. The three maximal outerplane graphs with 6 vertices are shown in Fig. 11.6, Theorem 11.9 Tet G be a maximal outerplane graph with p > 3 vertices all lying on the exterior face. Then G has p — 2 interior faces. OUTERPLANAR GRAPHS 107 w © © Fig. 11.6. Three maximal outerplanar graphs. Ke Rist Fig. 11.7. The forbidden graphs for outerplanarity. Proof. Obviously the result holds for p = 3. Suppose it is true for p = n and let G have p = n + 1 vertices and m interior faces. Clearly G must have a vertex v of degree 2 on its exterior face. In forming G — v we reduce the number of interior faces by 1 so that m— 1 =n — 2. Thusm=n—1 = p — 2, the number of interior faces of G. This theorem has several consequences. Corollary 11.9(a) Every maximal outerplanar graph G with p points has a) 2p — 3 lines, ) at ieast three points of degree not exceeding 3, c) at least two points of degree 2, a) x(G) = 2. All plane embeddings of K, and K 2,, are of the forms shown in Fig. 11.7, in-which each hasa vertex inside the exterior cycle. Therefore, neither of these graphs is outerplanar. We now observe that these are the two basic non- outerplanar graphs, following [CH3] Two graphs are homeomorphic if both can be obtained from the same graph by a sequence of subdivisions of lines. For example, any two cycles are homeomorphic, and Fig. 11.8 shows a homeomorph of K4. ‘Theorem 11.10 A graph is outerplanar if and only if it has no subgraph homeomorphic to Ky or Kz, except Ky — x. It is often important to investigate the complement of a graph with a given property. For planar graphs, the following theorem due to Battle, 108 PLANARITY Fig. 11.8. A homeomorph of K,. Harary, and Kodama [BHK1] and proved less clumsily by Tutte [T16], provides a sufficient condition for the complement of a planar graph to be planar. Theorem 11.11 Every planar graph with at least nine points has a nonplanar complement, and nine is the smallest such number. This result was proved by exhaustion; no elegant or even reasonable proof is known. The analogous observation for outerplanar graphs was made in [G5]. Theorem 11.12 Every outerplanar graph with at least seven points has a WYVOe@ Fig. 11.9. The four maximal outerplanar graphs with seven points. Proof. To prove the first part, it is suflicient to verify that the complement of every maximal outerplanar graph with seven points is not outerplanar. This holds because there are exactly four maximal outerplanar graphs with p = 7 (Fig. 11.9) and the complement of each is readily seen to be non- outerplanar. The minimality follows from the fact that the (maximal) outerplanar graph of Fig. 11.6() with six points has an outerplanar complement. KURATOWSKI’S THEOREM Until Kuratowski's paper appeared [K14], it was a tantalizing unsolved problem to characterize planar graphs. The following proof of his theorem is based on that by Dirac and Schuster [DS!]. KURATOWSKI'S THEOREM 109 ‘Theorem 11.13 A graph is planar if and only if it has no subgraph homeo- morphic to Ks or K3,3- Proof. Since Ks and K;, are nonplanar by Corollary 11.1(d), it follows that if a graph contains a subgraph homeomorphic to either of these, it is also nonplanar. The proof of the converse is a bit more involved. Assume itis false. Then there is a nonplanar graph with no subgraph homeomorphic to either Ks or K;,3. Let G be any such graph having the minimum number oflines. Then G must be a block with 6(G) > 3. Let xo = uovo be an arbitrary line of G. The graph F = G — xq is necessarily planar. We will find it convenient to use two lemmas in the development of the proof. Lemma 11.13(a) There is a cycle in F containing ug and vo. Proof of Lemma. Assume that there is no cycle in F containing up and 9. Then uo and vo lie in different blocks of F by Theorem 3.3. Hence, there exists a cutpoint w of F lying on every uo-vo path. We form the graph Fo by adding to F the lines wug and wv if they are not already present in F. In the graph Fo, uo and vg still lie in different blocks, say B, and B,, which necessarily have the point w in common. Certainly, each of B, and B, has fewer lines than G, so either B, is planar or it contains a subgraph homeo- morphic to K, or K3,3. If, however, the insertion of wg produces a subgraph H of B, homeomorphic to K or K3,3, then the subgraph of G obtained by replacing wu, by a path from up to w which begins with xo is necessarily homeomorphic to H and so to Ks or K;3,3, but this is a contradiction. Hence, B, and similarly B, is planar. According to Corollary 11.3(a), both B, and B, can be drawn in the plane so that the lines wu, and wv, bound the exterior region. Hence it is possible to embed the graph F, in the plane with both WUy and wv on the exterior region. Inserting x» cannot then destroy the planarity of Fo. Since G is a subgraph of Fo + Xo, G is planar; this contra- diction shows that there is a cycle in F containing uy and vp. Let F be embedded in the plane in such a way that a cycle Z containing Uo and vp has a maximum number of regions interior to it. Orient the edges of Z in a cyclic fashion, and let Z[u, v] denote the oriented path from u to v along Z. Ifv does not immediately follow u on Z, we also write Z(u, v) to indicate the subpath of Z[u, v] obtained by removing u and v. By the exterior of cycle Z, we mean the subgraph of F induced by the vertices lying outside Z, and the components of this suhgraph are called the exterior components of Z. By an outer piece of Z, we mean a subgraph of F induced by all edges incident with at least one vertex in some exterior component or by an edge (if any) exterior to Z meeting two vertices of Z. Ina like manner, we define the interior of cycle Z, interior component, and inner piece, 110 PLANARITY Fig. 11.10. Separating cycle Z illustrating lemma. An outer or inner piece is called u—» separating if it meets both Z(u, ») and Z(v, u). Clearly, an outer or inner piece cannot be w-v separating ifu and vare adjacent on Z. Since F is connected, each outer piece must meet Z, and because F has no cutvertices, each outer piece must have at least two vertices in common with Z. No outer piece can meet Z(uo, v9) or Z(vo, vo) in more than one vertex, for otherwise there would exist a cycle containing ug and v9 with more interior regions than Z. For the same reason, no outer piece can meet uy or vo. Hence, every outer piece meets Z in exactly two vertices and is Up—vo separating. Furthermore, since x, cannot be added to F in planar fashion, there is at least one up-vo separating inner piece. Lemma 11.13(b) There exists a uv separating outer piece meeting Z(uo, Uo), say at u,, and Z(vo, uo), say at v,, such that there is an inner piece which is both u,~v, separating and u,—v, separating. Proof of Lemma. Suppose, to the contrary, that the lemma does not hold. It will be helpful in understanding this proof to refer to Fig. 11.10. We order the uo-v, separating inner pieces for the purpose of relocating them in the plane. Consider any uo-vo separating inner piece I, which is KURATOWSKI’S THEOREM IL Fig. 11.11. The possibilities for nonplanar subgraphs. nearest to ug in the sense of encountering points of this inner piece on moving along Z from up. Continuing out from up, we can index the up—vo separating inner pieces I, 15, and so on. Let uz and u, be the first and last points of I, meeting Z(uo, vo) and vy and v be the first and last vertices of I, meeting Z(vo, uo). Every outer piece necessarily has both its common vertices with Z on either Z[v3, u,] or Z[us, v2], for otherwise there would exist an outer piece meeting Z(uo, vo) atu, and Z(vp, uo) at v, and an inner piece which is both ug-vo separating and u,v, separating, contrary to the supposition that the lemma is false. Therefore, a curve C joining v; and u can be drawn in the exterior region so that it meets no edge of F. (See Fig. 11.10.) Thus, I, can be transferred outside of C in a planar manner. Similarly, the remaining u,—vy separating inner pieces can be transferred outside of Z, in order, so that the resulting graph is plane. However, the edge x, can then be added without destroying the planarity of F, but this is a contradiction, completing the lemma. Proof of Theorem. Let H be the inner piece guaranteed by Lemma 11.13(b) which is both uo-v, separating and u,—v, separating. In addition, let Wo, Wo, W,, and w be vertices at which H meets Z(ug, U9) Zo» Uo Zl, 0), and Z(v,, u,) respectively. There are now four cases to consider, depending on the relative position on Z of these four vertices. CASE 1. One of the vertices w, and w is on Z(uo, Vg) and the other is on Zr, uo). We can then take, say, Wo = w; and wy = wi, in which case G 112 PLANARITY contains a subgraph homeomorphic to K 3,3, as indicated in Fig. 11.11(a), in which the two sets of vertices are indicated by open and closed dots. CASE 2. Both vertices w, and w, are on either Z(uy, vg) Or Z(vy uy). Without loss of generality we assume the first situation. There are two possibilities : either v, # wo or v, = w>. Ifo, # ws, then G contains a subgraph homeo- morphic to K3,3, as shown in Fig. 11.11(b) or (c), depending on whether w’y lies on Z(u,, v;) or Z(v,, u,), respectively. If v, = wy (see Fig. 11.114), then H contains a vertex r from which there exist disjoint paths to w,, w', and v,, all of whose vertices (except w,, w;, and p,) belong to H. In this case also, G contains a subgraph homeomorphic to K,5- CASE 3. W; = 09 and Ww; # uo. Without loss of generality, let w, be on Zuo, 9). Once again G contains a subgraph homeomorphic to K3,3. If ¥ ig. = the other hand, w is on Z(0,, up), there is a K,,, as indicated in Fig, 11.11(0. This figure is easily modified to show G contains K;,, if wy = 01. CASE 4, w, = vy and w', = uy. Here we assume wy = u, and wy — v,, for otherwise we are in a situation covered by one of the first 3 cases. We distinguish between two subcases. Let Py be a shortest path in H from uo to vo, and let P, be such a path from u, to v,. The paths P, and P, must intersect. If Py and P, have more than one vertex in common, then G contains a subgraph homeomorphic to K3,3, as shown in Fig. 11.11(g); otherwise, G contains a subgraph homeomorphic to K, as in Fig. 11.11(h). Since these are all the possible cases, the theorem has been proved. In his paper “How to draw a graph,” Tutte [T17] gives an algorithm for drawing in the plane as much of a given graph as possible and shows that whenever this process stops short of the entire graph, it must contain a subgraph homeomorphic to Ks or K3,3- Thus his algorithm furnishes an independent proof of Theorem 11.13. An elementary contraction of a graph G is obtained by identifying two adjacent points u and », that is, by the removal of u and v and the addition Fig. 11.12, Nonplanarity of the Petersen graph, OTHER CHARACTERIZATIONS OF PLANAR GRAPHS — 113 of a new point w adjacent to those points to which u or v was adjacent. A graph G is contractible to a graph H if H can be obtained from G by a sequence of elementary contractions. For example, as indicated in Fig. 11.12(a) and (b), the Petersen graph is contractible to Ks by contracting each of the five lines u,v; joining the pentagon with the pentagram to a new point w,, A dual form of Kuratowski’s theorem (in the sense of duality in matroid theory) was found independently by Wagner [W2] and Harary and Tutte [HT3]. Theorem 11.14 A graph is planar if and only if it does not have a subgraph contractible to K, or K3,3. We have just seen that the Petersen graph is contractible to K,. Since every point has degree 3, it clearly does not have a subgraph homeomorphic to Ks; Fig. 11.12(c) shows one homeomorphic to K3,3. OTHER CHARACTERIZATIONS OF PLANAR GRAPHS Several other criteria for planarity have been discovered since the original work of Kuratowski. We have already noted the “dual form” in terms of contraction in Theorem 11.14. Tutte’s algorithm for drawing a graph in the plane may also he regarded as a characterization Whitney ‘Tw, W14] expressed planarity in terms of the existence of dual graphs. Given a plane graph G, its geometric dual G* is constructed as follows: place a vertex in each region of G (including the exterior region) and, if two regions have an edge x in common, join the corresponding vertices by an edge x* crossing only x. The result is always a plane pseudo- graph, as indicated in Fig. 11.13 where G has solid edges and its dual G* dashed edges. Clearly G* has loop ifand only if G has an endvertex, and G* has multiple edges if and only if two regions of G have at least two edges in common. Thus, a 2-connected plane graph always has a graph or multi- graph as its dual, while the dual of a 3-connected graph is always a graph. Other examples of geometric duals are given by the Platonic graphs: the tetrahedron is self-dual, whereas the cube and octahedron are duals, as are the dodecahedron and the icosahedron. Fig. 11.13. A plane graph and its geometric dual. 114 PLANARITY Fig. 11.14, Different geometric duals of the same abstract graph. As defined, the geometric dual of a plane graph G is also plane, and it follows that the dual of the dual of G is the original graph G. However, an abstract graph with more than one embedding on the sphere can give rise to more than one dual graph. This is illustrated in Fig. 11.14 in which graphs G and H are abstractly isomorphic, but as embedded they have different duals G* and H*. However, since a triply connected graph has only one spherical embedding, as noted in Theorem 11.5, it must have a unique geometric dual. Whitney gave a combinatorial definition of dual, which is an abstract formulation of the geometric dual. To state this, we recall from Chapter 4 that for a graph G with k components, the cycle rank is given by m(G) = q — p + kand the cocycle rank by m*(G) = p — k. The relative complement G — H of a subgraph H of G is defined to be that subgraph obtained by deleting the lines of H. A graph G* is a combina- torial dual of graph G if there is a one-to-one correspondence between their sets of lines such that for any choice Y and ¥* of corresponding subsets of lines, mG — Y) = *(G) — mCY*)), (11.3) where {¥*) is the subgraph of G* with line set Y*. This definition is illus- trated by Fig. 11.15 where the correspondence is x,++) Here ¥ — {%2, Xs Xa Xe)» SO that m*(G — Y) = 1, m*G) = 4, and m(¥*) = 3, so OTHER CHARACTERIZATIONS OF PLANAR GRAPHS 115 Ye Fig. 11.15. Combinatorial duals. the defining equation is satisfied. It is of course very difficult to check whether two graphs are duals using (11.3) since it involves verifying this equation for every set y of lines in G. As with geometric duals, combinatorial duals of planar graphs are not necessarily unique. However, if two graphs are combinatorial duals of isomorphic graphs, there is a one-to-one correspondence between their sets of lines which preserves cycles as sets of lines (that is, their cycle matroids are isomorphic). The correspondence x; + y, of G* and H* in Fig. 11.14 illustrates this. Whitney proved that combinatorial duals are equivalent to geometric duals, giving another criterion for planarity. Theorem 11.15 A graph is planar if and only if it has a combinatorial dual. Another criterion for planarity due to MacLane [M1] is expressed in terms of cyclic structure. Theorem 11.16 A graph G is planar if and only if every block of G with at least three points has a cycle basis Z;, Zz,*+*,Z, and one additional cycle Zy such that every line occurs in exactly two of these m | 1 cycles. We only indicate the necessity, which is much easier. As mentioned in the proof of Theorem 11.1, all the interior faces of a 2-connected plane graph G constitute a cycle basis Z,, Zz, ***, Zp Where m is the cycle rank of G. Let Z, be the exterior cycle of G. Then obviously each edge of G lies on exactly two of the m + 1 cycles Z,. To prove the sufficiency, it is necessary to construct a plane embedding of a given graph G with the stipulated properties. 116 PLANARITY All of these criteria for planarity are summarized in the following list of equivalent conditions for a graph G. (1) Gis planar. (2) G has no subgraph homeomorphic to K's or Ks, (3) G has no subgraph contractible to Ks or K3,. (4) G has a combinatorial dual. (5) Every nontrivial block of G has a cycle basis Z,, Zz,***, Zp and one additional cycle Zp such that every line x occurs in exactly two of these m+ Lvydles. GENUS, THICKNESS, COARSENESS, CROSSING NUMBER In this section four topological invariants of a graph G are considered. These are genus: the number of handles needed on a sphere in order to embed G, thickness: the number of planar graphs required to form G, coarseness: the maximum number of linc-disjoint nonplanar subgraphs in G, and crossing number: the number of crossings there must be when G is drawn in the plane. We will concentrate on three classes of graphs—com- plete graphs, complete bigraphs, and cubes—and indicate the values of these invariants for them as far as they are known. ARN Fig. 11.16. Embedding a graph on an orientable surface. As observed by KSnig, every graph is embeddible on some orientable surface. This can easily be seen by drawing an arbitrary graph G in the plane, possibly with edges that cross each other, and then attaching a handle to the plane at each crossing and allowing one edge to go over the handle and the other under it. For example, Fig. 11.16 shows an embedding of K in a plane to which one handle has been attached. Of course, this method often uses more handles than are actually required. In fact, Kénig also showed that any embedding of a graph on an orientable surface with a minimum number of handles has all its faces simply connected. GENUS, THICKNESS, COARSENESS, CROSSING NUMBER 117 a a PAY ING 1 I ! I 1 | ! 1 1 1 1 I t 1 | 1 L Fig. IL17. An embedding of Ky on the Fig. 11.18. A toroidal embedding of torus Kaw We have already noted that planar graphs can be embedded on a sphere.. A toroidal graph can be embedded on a torus. Both K and K, ,are toroidal ; in fact Figs. 11.17 and 11.18 show embeddings of K, and K,,, on the torus, represented as the familiar rectangle in which both pairs of opposite sides are identified. No characterization of toroidal graphs analogous to Kura- towski’s Theorem has been found. However, Vollmerhaus [V6] settled a conjecture of Erdés in the affirmative by proving that for the torus as well as any other orientable surface, there is a finite collection of forbidden subgraphs. ‘The genus )(G) of a graph G is the minimum number of handies which must be added to a sphere so that G can be embedded on the resulting surface. Ofcourse, ;(G) = 0 ifand only if G is planar, and homeomorphic graphs have the same genus. The first theorem of this chapter presented the Euler characteristic equation, V — E + F = 2, for spherical polyhedra. More generally, the genus of a polyhedron* is the number of handles needed on the sphere for a surface to contain the polyhedron, Theorem 11.1 has been generalized to polyhedra of arbitrary genus, in a result also due to Euler. A proof may be found in Courant and Robbins [CR1]. Theorem 11.17 For a polyhedron of genus 7 with V vertices, E edges and F faces, V-E+F=2-2. (11.4) This equation is particularly useful in proving the easy half of the results to follow on the genus and thickness of particular graphs. Its corollaries, which offer no difficulty, are often more convenient for this purpose. * For a combinatorial treatment of the theory of polyhedra, see Griinbaum[G10]. 8 PLANARITY Corollary 11.17(a) If G is a connected graph of genus y in which every face isa triangle, then q = Xp — 2 + 2); (11.5) when every face is a quadrilateral, q = Up —2 + 2y). (11.6) ‘As mentioned in [BH2], it is easily verified from these two equations that the genus of a graph has the following lower bounds. Corollary 11.17(b)_ If Gis a connected graph of genus », then. y= eq — Hp - 2); (11.7) if G has no triangles, then 7249-4 - 2. (11.8) ‘The determination of the genus of the complete graphs has been a long, interesting, difficult, successful struggle. In its dual form, it was known as the Heawood Conjecture and stood unproved from 1890 to 1967. We return to this aspect of the problem in the next chapter. There have been many contributors to this result and the coup de grace, settling the conjecture in full, was administered by Ringel and Youngs [RY1]. Theorem 11.18 For every positive integer p, the genus of the complete graph is a W(K,) {oe 3h (11.9) The proof of the easier half of equation (11.9) is due to Heawood [H38]. It amounts to substituting q(K,) into inequality (11.7) to obtain x Ir) _ 16 -@=0- 49 AK) = (b) 30 -2)= 2. Then since the genus of every graph is an integer, = 3Xp - 4 AK) > {ee}, ‘The proof that this expression is also an upper bound for 7(K,) can only be accomplished by displaying an embedding of K, into an orientable surface of the indicated genus. When Heawood originally stated the conjecture 990, d that (K.) =< $90, he proved that 7{K7} Fig. 11.17, which triangulates the torus. Heffter proved (11.9) in 1891 for p = 8 through 12. Not until 1952 did Ringel prove it for p = 13. At that stage, it was realized that because of its form, it was natural to try to settle the question for one residue class of p

You might also like