Intersection graphs of boxes and cubes
A Thesis Submitted For the Degree of
Doctor of Philosophy in the Faculty of Engineering
by
Mathew C. Francis
Department of Computer Science and Automation Indian Institute of Science Bangalore – 560 012
July, 2009 To my parents and all my teachers Acknowledgements
Of all people, I should thank Dr. L. Sunil Chandran first, as the work behind this thesis is as much his as it is mine. The faith he reposed in me was at times as puzzling to me as it was reassuring. I am indebted to Dr. Naveen Sivadasan for the long discussions we had that not only produced results but went a long way in helping me learn the ropes. The brief but fruitful collaboration with Santhosh Suresh was thoroughly enjoyable. I am thankful to Dr. Samir Datta for his insights on planar graphs. The stimulating discussions with Dr. Irith Hartman, Rogers, Manu, Abhijin, Anita, Meghna, Sadagopan, Chintan and Subramanya have helped shape my view of the subject. Words cannot express my gratitude towards all my friends at IISc, each one of them inimitable, each one with a different perspective of the world but at the same time car- ing, guiding and helping with all their hearts. Rogers, Raj Mohan, Murali Sir, Sheron, Thomas, Ashik, Dileep, Shijo, Hari, Deepak Ravi, Rashid have all left indelible impres- sions on me. I am grateful to Nicky for her care and understanding. It is impossible to thank my parents enough for their unflinching support and constant encouragement.
i Abstract
A graph G is said to be an intersection graph of sets from a family of sets if there exists F a function f : V (G) such that for u, v V (G), (u, v) E(G) f(u) f(v) = → F ∈ ∈ ⇔ ∩ 6 . Interval graphs are thus the intersection graphs of closed intervals on the real line ∅ and unit interval graphs are the intersection graphs of unit length intervals on the real line. An interval on the real line can be generalized to a “k-box” in Rk.A k-box
B = (R1,R2,...,Rk), where each Ri is a closed interval on the real line, is defined to be the Cartesian product R R R . If each R is a unit length interval, we 1 × 2 ×···× k i call B a k-cube. Thus, 1-boxes are just closed intervals on the real line whereas 2-boxes are axis-parallel rectangles in the plane. We study the intersection graphs of k-boxes and k-cubes. The parameter boxicity of a graph G, denoted as box(G), is the minimum integer k such that G is an intersection graph of k-boxes. Similarly, the cubicity of G, denoted as cub(G), is the minimum integer k such that G is an intersection graph of k-cubes. Thus, interval graphs are the graphs with boxicity at most 1 and unit interval graphs are the graphs with cubicity at most 1. These parameters were introduced by F. S. Roberts in 1969. In some sense, the boxicity of a graph is a measure of how different a graph is from an interval graph and in a similar way, the cubicity is a measure of how different the graph is from a unit interval graph. We prove several upper bounds on the boxicity and cubicity of general as well as special classes of graphs in terms of various graph parameters such as the maximum degree, the number of vertices and the bandwidth. The following are some of the main results presented.
1. We show that for any graph G with maximum degree ∆, box(G) 2∆2. This ≤ ii iii
result implies that bounded degree graphs have bounded boxicity no matter how large the graph might be.
2. It was shown in [18] that the boxicity of a graph on n vertices with maximum degree ∆ is O(∆ln n). But a similar bound does not hold for the average degree
dav of a graph. [18] gives graphs in which the boxicity is exponentially larger than
dav ln n. We show that even though an O(dav ln n) upper bound for boxicity does
not hold for all graphs, for almost all graphs, boxicity is O(dav ln n).
3. The ratio of the cubicity to boxicity of any graph shown in [15] when combined with the results on boxicity show that cub(G) is O(∆ln2 n) and O(∆2 ln n) for any graph G on n vertices and with maximum degree ∆. By using a randomized construction, we prove the better upper bound cub(G) 4(∆ + 1) ln n . ≤ ⌈ ⌉ 4. Two results relating the cubicity of a graph to its bandwidth b are presented. First, it is shown that cub(G) 12(∆ + 1) ln(2b) +1. Next, we derive the upper bound ≤ ⌈ ⌉ cub(G) b + 1. This bound is used to derive new upper bounds on the cubicity of ≤ special graph classes like circular arc graphs, cocomparability graphs and AT-free graphs in relation to the maximum degree.
5. The upper bound for cubicity in terms of the bandwidth gives an upper bound of ∆ + 1 for the cubicity of interval graphs. This bound is improved to show that for any interval graph G with maximum degree ∆, cub(G) log ∆ + 4. ≤ ⌈ 2 ⌉ 6. Scheinerman [54] proved that the boxicity of any outerplanar graph is at most 2. We present an independent proof for the same theorem.
7. Halin graphs are planar graphs formed by adding a cycle connecting the leaves of a tree none of whose vertices have degree 2. We prove that the boxicity of any Halin graph is equal to 2 unless it is a complete graph on 4 vertices, in which case its boxicity is 1. Publications based on this thesis
1. “Geometric representation of graphs in low dimension using axis-parallel boxes”, L. Sunil Chandran, Mathew C. Francis and Naveen Sivadasan, accepted for publi- cation in Algorithmica, doi:10.1007/s00453-008-9163-5, 2008.
2. “Boxicity and maximum degree”, L. Sunil Chandran, Mathew C. Francis and Naveen Sivadasan, Journal of Combinatorial Theory, Series B, 98(2):443–445, March 2008.
3. “Representing graphs as the intersection of axis-parallel cubes”, L. Sunil Chandran, Mathew C. Francis and Naveen Sivadasan, MCDES 2008, Bangalore, May 2008.
4. “On the cubicity of AT-free graphs and circular-arc graphs”, L. Sunil Chandran, Mathew C. Francis and Naveen Sivadasan, Graph Theory, Computational Intelli- gence and Thought, Israel, September 2008.
5. “On the cubicity of interval graphs”, Graphs and Combinatorics, 25(2):169–179, May 2009.
6. “Boxicity of Halin graphs”, Discrete Mathematics, 309(10):3233–3237, May 2009.
iv Contents
Acknowledgements i
Abstract ii
Publications based on this thesis iv
1 Introduction 1 1.1 Basicdefinitionsandnotations...... 1 1.2 Intervalgraphsandboxicity ...... 3 1.2.1 k-boxes: intervals in higher dimensions ...... 5 1.2.2 Boxicity ...... 7 1.2.3 Interval graph representation of a graph ...... 8 1.3 Unitintervalgraphsandcubicity ...... 10 1.3.1 Unit and equal interval representations as mappings to real numbers 11 1.3.2 k-cubes ...... 12 1.3.3 Cubicity...... 13 1.3.4 Indifference graph representation of a graph ...... 13 1.4 Anoteontheasymptoticnotation ...... 14 1.5 Ashortsurveyofpreviousliterature ...... 14 1.5.1 Resultsonboxicity ...... 15 1.5.2 Boxicity in other scientific disciplines ...... 16 1.5.3 Resultsoncubicity ...... 17 1.5.4 Other geometric intersection graph classes ...... 18 1.6 Outlineoftherestofthethesis ...... 18
2 Upper bounds for boxicity 21 2.1 Previousupperboundsonboxicity ...... 21 2.1.1 Boxicity is O(∆ln n)...... 21 2.1.2 Boxicity and average degree ...... 22 2.2 Boxicity of bounded degree graphs ...... 22 2.3 Concludingremarks...... 24
v CONTENTS vi
3 Boxicity of random graphs 27 3.1 Randomgraphpreliminaries ...... 27 3.2 Boxicity is O(dav ln n)foralmostallgraphs...... 28 3.3 Remarks...... 31
4 A randomized construction for cubicity 33 4.1 The algorithm RAND ...... 34 4.2 Derandomizing RAND ...... 39 4.3 Ausefulresult...... 47
5 Cubicity and bandwidth 49 5.1 Cube representation in O(∆ln b)dimensions ...... 50 5.2 Cube representation in b +1dimensions ...... 55 5.3 Cubicity of special graph classes ...... 59 5.3.1 Circular-arcgraphs ...... 59 5.3.2 Cocomparabilitygraphs ...... 61 5.3.3 AT-freegraphs ...... 62 5.4 Asummaryofresults...... 63
6 Cubicity of interval graphs 65 6.1 Afewresultsthatweneed...... 65 6.2 Theproof ...... 67 6.3 Remarks...... 74
7 Planar graphs 77 7.1 Preliminaries ...... 77 7.2 Outerplanargraphs...... 79 7.3 Discussion...... 80
8 Boxicity of Halin graphs 81 8.1 Ashortintroduction ...... 81 8.2 Theproof ...... 82 8.3 Results...... 90
9 Conclusion 91 9.1 Improvements...... 91 9.2 Openproblems ...... 92 9.3 Endnote ...... 93
Bibliography 96 List of Figures
1.1 Anexampleofanintervalgraph...... 3 1.2 Anasteroidaltriple...... 4 1.3 A 2-box in R2 and a 3-box in R3 ...... 6 1.4 A 2-box representation for C4 ...... 7 1.5 K1,n, the star graph with n arms ...... 10
2.1 Structure of Gi ...... 23 5.1 Acircular-arcgraph ...... 59 5.2 Anexampleofacaterpillar ...... 62
7.1 A book drawing of K5 using3pages ...... 78 8.1 AHalingraph...... 81
vii Chapter 1
Introduction
All graphs considered in this work will be simple, undirected and finite. Most of the graph theoretic notations used shall be defined in the following section. Much of it has been borrowed from the book “Graph Theory” by Reinhard Diestel [26]. The reader may please refer to Chapter 1 of [26] for any notations that are not defined here.
1.1 Basic definitions and notations
The notations G(V,E), G =(V,E) or simply G will be used to indicate a graph G which has a vertex set V (G) and an edge set E(G). An edge between a vertex u and a vertex v will be denoted by (u, v) (or (v, u)) even though the edge is undirected. Thus, we will always assume that if (u, v) E(G), then (v, u) E(G). If(u, v) E(G), then u and ∈ ∈ ∈ v are adjacent in G; otherwise they are nonadjacent. A pair of vertices (u, v) E(G) is 6∈ said to be a non-edge or a missing edge in G. NG(u) is the neighbourhood of a vertex u in G, i.e., N (u) = v (u, v) E(G) . The degree of a vertex u in G, denoted G { | ∈ } by dG(u) is the number of vertices in G that are adjacent to u; or in other words, d (u) = N (u) . When there is no ambiguity about the graph under consideration, G | G | NG(u) and dG(u) might be abbreviated to N(u) and d(u) respectively. ∆(G) (or just ∆ if G is understood) will stand for the maximum degree of a vertex in G. The complement of a graph G, denoted by G is the graph with vertex set V (G) = V (G) and edge set
1 Chapter 1. Introduction 2
E(G) = (u, v) u, v V (G) and (u, v) E(G) . A graph H with V (H) V (G) and { | ∈ 6∈ } ⊆ E(H) E(G) is said to be a subgraph of G. A graph H is said to be an induced subgraph ⊆ of G if V (H) V (G) and E(H) = (u, v) E(G) u, v V (H) . One might also say ⊆ { ∈ | ∈ } that “H is the subgraph induced by V (H) in G” to indicate the same fact. A graph G′ is a supergraph of G if V (G)= V (G′) and E(G) E(G′). ⊆
Definition 1.1. If G1 and G2 are two graphs on the same vertex set V , we denote by G = G G the graph with vertex set V (G)= V and edge set E(G)= E(G ) E(G ). 1 ∩ 2 1 ∩ 2
G contains only those edges that are present in both G1 and G2. In other words, G1 and G2 are both supergraphs of G and every non-edge in G is a non-edge in either G1 or G2 or both. A path on n vertices, denoted by P , is the graph with vertex set V (P )= v ,v ,..., n n { 1 2 v and edge set E(P ) = (v ,v ) 1 i n 1 . A cycle on n vertices, denoted n} n { i i+1 | ≤ ≤ − } by C , is the graph with vertex set V (C ) = v ,v ,...,v and edge set E(C ) = n n { 1 2 n} n (v ,v ) 1 i n 1 (v ,v ) . { i i+1 | ≤ ≤ − } ∪ { n 1 } Given a graph G(V,E), a set of vertices S V (G) is said to be an independent set ⊆ if no two vertices in S are adjacent in G. On the other hand, a set of vertices S V (G) ⊆ is said to be a clique if every pair of vertices in S is adjacent in G. A graph G(V,E) is a complete p-partite graph if V (G) = A A A such 1 ∪ 2 ∪···∪ p that A is an independent set for each i and E(G)= (u, v) u A , v A and i = j . i { | ∈ i ∈ j 6 } If we let n = A , then we denote such a graph by K . We call each set A a i | i| n1,n2,...,np i “part”.
Definition 1.2. A permutation π on a finite set S is a bijection π : S 1, 2,..., S . → { | |}
Another way to think of π is as an ordering of the elements of the set S. A closed interval on the real line, denoted as [i, j] where i, j R and i j, is the ∈ ≤ set x R i x j . Given an interval X = [i, j], define l(X) = i and r(X) = j. { ∈ | ≤ ≤ } We say that the interval X has left end-point l(X) and right end-point r(X). Since we deal with only closed intervals throughout, we shall often shorten “closed interval” to Chapter 1. Introduction 3
just “interval”.
Definition 1.3. Let be a collection of sets. A graph G(V,E) is said to be an S intersection graph of sets from , if there is a function f : V (G) such that for S → S any two vertices u, v V (G), (u, v) E(G) f(u) f(v) = . ∈ ∈ ⇔ ∩ 6 ∅ In other words, it is possible to assign sets from to each vertex in G such that if S two vertices are adjacent, then the sets assigned to them have a non-empty intersection and if they are nonadjacent, the sets assigned to them are disjoint. Depending on what the collection is, one can define a variety of intersection graph S classes. For example, if is the collection of all closed intervals on the real line, the X class of intersection graphs of sets from is exactly the class of interval graphs. X
1.2 Interval graphs and boxicity
Definition 1.4. A graph G is an interval graph if f : V (G) u, v ∃ → X | ∀ ∈ V (G), (u, v) E(G) f(u) f(v) = , where is the set of all closed intervals ∈ ⇔ ∩ 6 ∅ X on the real line. The mapping f is called an interval representation of the graph G.
The examples below illustrate this concept.
[2, 3]
[1, 2] [1, 2]
[0, 1]
Figure 1.1: An example of an interval graph
An example of a graph which is not an interval graph is a chordless cycle on n vertices where n 4, denoted as C . The reason is easily explained as follows. Assume for the ≥ n Chapter 1. Introduction 4
sake of contradiction that Cn is indeed an interval graph. Then, there should exist an interval representation, say f, for Cn. Let x be the vertex in Cn whose interval has the leftmost left end-point. Let the cycle be xv1v2 ...vn−1x. Since (x, v2) is not an edge, the intervals f(x) and f(v2) are disjoint and since f(x) is the interval with the leftmost left end-point, we have r(f(x)) < l(f(v2)). For the same reason, we also have r(f(x)) < l(f(vn−2)) (note that v2 and vn−2 could be the same vertex if n = 4). It is easy to see that the interval of any vertex that is adjacent to both x and v2 or to both x and vn−2 will contain the point r(f(x)). Thus both the intervals f(v1) and f(vn−1) contain the point r(f(x)) implying that f(v ) f(v ) = . But (v ,v ) is not an 1 ∩ n−1 6 ∅ 1 n−1 edge in Cn thus contradicting our assumption that Cn is an interval graph. A cycle C in a graph G is an induced cycle if the subgraph induced by the vertices of C in G is C. In other words, the induced cycles in a graph are exactly the chordless cycles in that graph. Since any induced subgraph of an interval graph is also an interval graph, interval graphs cannot contain induced cycles of length more than 3.
Definition 1.5. A graph G is a chordal graph if there are no induced cycles of length more than 3 in it.
Interval graphs are thus a subclass of chordal graphs. But not all chordal graphs are interval graphs. Shown in Figure 1.2 is a graph that has no cycles (and hence is chordal) but is still not an interval graph.
v2
v1
v0
v5 v3
v4 v6
Figure 1.2: v2, v4 and v6 form an asteroidal triple
An asteroidal triple (or AT in short) in a graph is an independent set of three vertices Chapter 1. Introduction 5
such that between any two of these vertices, there is a path in the graph that does not pass through any neighbour of the third vertex. It can be shown that an interval graph cannot contain an AT. Suppose G is an interval graph and the vertices x, y and z form an asteroidal triple in G. Let f be an interval representation of G. The intervals f(x), f(y) and f(z) are pairwise disjoint since x, y, z is an independent set. Assume without loss { } of generality that the interval f(y) is in between f(x) and f(z). Now, it is not difficult to convince oneself that any path in G between x and z will contain at least one vertex v such that f(v) overlaps f(y). This contradicts the fact that x, y, z is an asteroidal { } triple in G.
The graph in Figure 1.2 is not an interval graph because the vertices v2, v4 and v6 form an asteroidal triple.
Definition 1.6. A graph G is an AT-free graph if it contains no asteroidal triples.
It turns out that the two concepts of large induced cycles and asteroidal triples are enough to characterize interval graphs. If a graph does not have induced cycles of length more than 3 or asteroidal triples in it, then it is an interval graph.
Theorem 1.7 (Lekkerkerker and Boland [43]). A graph is an interval graph if and only if it is chordal and AT-free. The reader should note that Definition 1.4 can be changed to use open intervals instead of closed intervals. It is an easy exercise to prove that the class of intersection graphs of open intervals on the real line is the same as that of closed intervals and therefore, a separate treatment of the two is unnecessary.
1.2.1 k-boxes: intervals in higher dimensions
An interval is the collection of all points on the real line between an upper and a lower bound. How can we generalize this notion to higher dimensional spaces, say to R2, from the real line? We could look at an ordered pair of intervals of the form (Ix,Iy). Note that 2 an ordered pair of intervals (Ix,Iy) describes a rectangle in R (with its sides parallel to the axes) as shown in Figure 1.3. In other words, (I ,I ) denotes the set I I of x y x × y Chapter 1. Introduction 6
2 points in R . It is easy to see that given two rectangles A =(A1,A2) and B =(B1, B2),
Y Y