Matching and Planarity

Similar documents
Graph Theory II. Po-Shen Loh. June edges each. Solution: Spread the n vertices around a circle. Take parallel classes.

Graph theory. Po-Shen Loh. June We begin by collecting some basic facts which can be proved via bare-hands techniques.

Exercise set 2 Solutions

Adjacent: Two distinct vertices u, v are adjacent if there is an edge with ends u, v. In this case we let uv denote such an edge.

IMO Training 2008: Graph Theory

Lecture 6: Graph Properties

AMS /672: Graph Theory Homework Problems - Week V. Problems to be handed in on Wednesday, March 2: 6, 8, 9, 11, 12.

Combinatorial Gems. Po-Shen Loh. June 2009

Pebble Sets in Convex Polygons

Discharging and reducible configurations

5 Graphs

Part II. Graph Theory. Year

by conservation of flow, hence the cancelation. Similarly, we have

Treewidth and graph minors

The Probabilistic Method

Basics of Graph Theory

Chapter 12 and 11.1 Planar graphs, regular polyhedra, and graph colorings

Three applications of Euler s formula. Chapter 10

Discrete Mathematics I So Practice Sheet Solutions 1

CS 177 Homework 1. Julian Panetta. October 22, We want to show for any polygonal disk consisting of vertex set V, edge set E, and face set F:

EULER S FORMULA AND THE FIVE COLOR THEOREM

Theorem 3.1 (Berge) A matching M in G is maximum if and only if there is no M- augmenting path.

Planar Graphs. 1 Graphs and maps. 1.1 Planarity and duality

Assignment 1 Introduction to Graph Theory CO342

Math 776 Graph Theory Lecture Note 1 Basic concepts

Lecture 20 : Trees DRAFT

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions

Ma/CS 6b Class 26: Art Galleries and Politicians

WUCT121. Discrete Mathematics. Graphs

Combinatorics Summary Sheet for Exam 1 Material 2019

Assignment 4 Solutions of graph problems

Discrete mathematics , Fall Instructor: prof. János Pach

Hamiltonian cycles in bipartite quadrangulations on the torus

MAT 145: PROBLEM SET 4

A Reduction of Conway s Thrackle Conjecture

Face Width and Graph Embeddings of face-width 2 and 3

MATH 350 GRAPH THEORY & COMBINATORICS. Contents

Planar graphs. Chapter 8

TWO CONTRIBUTIONS OF EULER

Matching Algorithms. Proof. If a bipartite graph has a perfect matching, then it is easy to see that the right hand side is a necessary condition.

Proposition 1. The edges of an even graph can be split (partitioned) into cycles, no two of which have an edge in common.

On the Balanced Case of the Brualdi-Shen Conjecture on 4-Cycle Decompositions of Eulerian Bipartite Tournaments

Problem Set 3. MATH 776, Fall 2009, Mohr. November 30, 2009

MAT 145: PROBLEM SET 6

Module 7. Independent sets, coverings. and matchings. Contents

Planarity. 1 Introduction. 2 Topological Results

CHAPTER 2. Graphs. 1. Introduction to Graphs and Graph Isomorphism

Jordan Curves. A curve is a subset of IR 2 of the form

Ma/CS 6b Class 4: Matchings in General Graphs

Rubber bands. Chapter Rubber band representation

Math Summer 2012

HW Graph Theory Name (andrewid) - X. 1: Draw K 7 on a torus with no edge crossings.

[8] that this cannot happen on the projective plane (cf. also [2]) and the results of Robertson, Seymour, and Thomas [5] on linkless embeddings of gra

Graph Connectivity G G G

Section 3.1: Nonseparable Graphs Cut vertex of a connected graph G: A vertex x G such that G x is not connected. Theorem 3.1, p. 57: Every connected

GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS

Lattice Polygon s and Pick s Theorem From Dana Paquin and Tom Davis 1 Warm-Up to Ponder

A graph is finite if its vertex set and edge set are finite. We call a graph with just one vertex trivial and all other graphs nontrivial.

5 Matchings in Bipartite Graphs and Their Applications

Induction Review. Graphs. EECS 310: Discrete Math Lecture 5 Graph Theory, Matching. Common Graphs. a set of edges or collection of two-elt subsets

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

6th Bay Area Mathematical Olympiad

Paths. Path is a sequence of edges that begins at a vertex of a graph and travels from vertex to vertex along edges of the graph.

2. Lecture notes on non-bipartite matching

Graph and Digraph Glossary

INTRODUCTION TO GRAPH THEORY. 1. Definitions

Elements of Graph Theory

How many colors are needed to color a map?

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) We will be interested in s.t. ( )~1. To gain some intuition note ( )

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

The Geodesic Integral on Medial Graphs

List of Theorems. Mat 416, Introduction to Graph Theory. Theorem 1 The numbers R(p, q) exist and for p, q 2,

The clique number of a random graph in (,1 2) Let ( ) # -subgraphs in = 2 =: ( ) 2 ( ) ( )

ECS 20 Lecture 17b = Discussion D8 Fall Nov 2013 Phil Rogaway

Introduction III. Graphs. Motivations I. Introduction IV

arxiv: v1 [cs.cc] 30 Jun 2017

Characterizing Graphs (3) Characterizing Graphs (1) Characterizing Graphs (2) Characterizing Graphs (4)

Lecture Notes on Graph Theory

Elementary Planar Geometry

Definition For vertices u, v V (G), the distance from u to v, denoted d(u, v), in G is the length of a shortest u, v-path. 1

Small Survey on Perfect Graphs

Some Upper Bounds for Signed Star Domination Number of Graphs. S. Akbari, A. Norouzi-Fard, A. Rezaei, R. Rotabi, S. Sabour.

Matching Theory. Figure 1: Is this graph bipartite?

2017 SOLUTIONS (PRELIMINARY VERSION)

Two Characterizations of Hypercubes

14 More Graphs: Euler Tours and Hamilton Cycles

Potential Bisections of Large Degree

EXTREME POINTS AND AFFINE EQUIVALENCE

Advanced Algorithms Class Notes for Monday, October 23, 2012 Min Ye, Mingfu Shao, and Bernard Moret

Week 7 Convex Hulls in 3D

Section 8.2 Graph Terminology. Undirected Graphs. Definition: Two vertices u, v in V are adjacent or neighbors if there is an edge e between u and v.

Algorithms. Cody Johnson

Graph Theory. Part of Texas Counties.

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department

Pick s Theorem and Lattice Point Geometry

The Graphs of Triangulations of Polygons

Problem Set 2 Solutions

Drawing Planar Graphs

Math 778S Spectral Graph Theory Handout #2: Basic graph theory

Computer Science 280 Fall 2002 Homework 10 Solutions

Transcription:

Matching and Planarity Po-Shen Loh June 010 1 Warm-up 1. (Bondy 1.5.9.) There are n points in the plane such that every pair of points has distance 1. Show that there are at most n (unordered) pairs of points that span distance exactly 1 each. Solution: The unit-distance graph is planar. If there are crossing unit-distance edges, then the triangle inequality implies that some pair of points is at distance strictly less than 1. Matching Consider a bipartite graph G = (V, E) with partition V = A B. A matching is a collection of edges which have no endpoints in common. We say that A has a perfect matching to B if there is a matching which hits every vertex in A. Theorem. (Hall s Marriage Theorem) For any set S A, let N(S) denote the set of vertices (necessarily in B) which are adjacent to at least one vertex in S. Then, A has a perfect matching to B if and only if N(S) S for every S A. This has traditionally been called the marriage theorem because of the possible interpretation of edges as acceptable pairings, with the objective of maximizing the number of pairings. In real life, however, perhaps there may be varying degrees of acceptability. This may be formalized by giving each vertex (in both parts) an ordering of its incident edges. Then, a matching M is called unstable if there is an edge e = ab M for which both a and b both prefer the edge e to their current partner (according to M). Theorem. (Stable Marriage Theorem) A stable matching always exists, for every bipartite graph and every collection of preference orderings..1 Problems 1. (Classical.) Show that every k-regular bipartite graph can have its edges partitioned into k edge-disjoint perfect matchings. Solution: Suffices to find one perfect matching. Every set S expands because it has k edges out, and each vertex on the other side can only absorb up to k of them in.. (Petersen, 1891.) A -factor of a graph is a -regular spanning subgraph (i.e., containing all vertices, and having all degrees equal to ). For every positive integer k, show that every k-regular graph can be partitioned into k edge-disjoint -factors. Solution: Suffices to find one -factor. Take an Eulerian orientation. Split each vertex v into v +, v. This gives a bipartite graph with twice as many vertices. If there was an edge vw, now put it from v to w +. It is a k-regular bipartite graph, so it has a perfect matching by above. Collapsing back the v +, v, we get a -factor. 1

. (Canada 006/.) In a rectangular array of nonnegative reals with m rows and n columns, each row and each column contains at least one positive element. Moreover, if a row and a column intersect in a positive element, then the sums of their elements are the same. Prove that m = n. Solution: Create bipartite graph, LHS is rows, RHS is columns. Edge if row and column intersect at positive entry. Suppose some set S of rows only has a total set T < S of columns in which positive entries appear. Let the sums of the S rows be s 1,..., s k. By the property, each of the T columns has sum equal to one of the s i. So the total sum of the elements in the S rows, when calculated from the column point of view (since entries outside are all nonnegative) is at most a sum of a subset of the s i. Yet from the row point of view, it is the full sum. As all s i > 0, this is a contradiction. Hall s theorem therefore says that there is a matching from the rows to the columns, implying that the number of columns is at least the number of rows. By symmetry, the reverse inequality is true, and we have equality. 4. (Iran 1998/.) Suppose an n n table is filled with the numbers 0, 1, 1 in such a way that every row and column contains exactly one 1 and one 1. Prove that the rows and columns can be reordered so that in the resulting table each number has been replaced by its negative. Solution: This is the adjacency matrix of a directed bipartite graph. Two sides of the graph, A and B, each have n vertices. We write +1 in position (i, j) if there is an edge a i b j, and 1 if there is an edge a i b j. Since every row has exactly one of each ±1, every a i has out-degree and in-degree exactly 1. Similarly, the column condition implies that every b j has this property. Therefore, the directed graph decomposes into disjoint directed cycles, which we may consider independently since they use disjoint sets of rows/columns. Consider just one directed cycle, WLOG (a 1 b 1 a b... a k b k ). Note that permuting the rows/columns is equivalent to relabeling the vertices, and redrawing the incidence matrix. Getting the negative matrix means that all edges now need to be in opposite direction. But this is easy on a cycle; go backwards: a 1 = a 1, b 1 = b k, a = a k, b = b k 1,.... Now the unsigned incidence matrix is still the same because we have edges between consecutive a s and b s, but all directions are reversed, as desired. 5. (IMO Shortlist 006/C6.) A holey triangle is an upward equilateral triangle of side length n with n upward unit triangular holes cut (in the standard lattice positions). A diamond is a 60 10 unit rhombus. Prove that a holey triangle T can be tiled with diamonds if and only if the following condition holds: Every upward equilateral triangle of side length k in T contains at most k holes, for 1 k n. Solution: First show that if it can be tiled by diamonds, then there are at most k holes in every k- triangle. Each downward triangle requires exactly one upward triangle, and there is a bijection upward and downward triangles by taking an upward triangle and looking at the downward triangle sharing its bottom edge. (This gives a bijection except for the k upward triangles across the bottom.) So there are exactly k more upward than downward triangles, implying that we cannot have more than k holes. The converse uses Hall s theorem to match downward triangles with adjacent upward triangles. Suppose for contradiction that the Hall condition is false, i.e., there is a set S of downward triangles such that there are strictly fewer non-hole neighbors N(S). Highlight those S downward triangles, along with all upward triangles directly adjacent to them. We will make the highlighted region into a disjoint union of large upward triangles. Indeed, note that if we have a large upward triangle of side length, and exactly of the downward triangles are in S, then we can add the third downward triangle to S (increasing S by 1), and only increase N(S) by at most 1, thus maintaining N(S) < S. Repeating this procedure eventually grows the set S such that N(S) is a disjoint union of large upward triangles. So, one of these large upward triangles, say of side length k, has its set S of all downward triangles satisfying N(S ) < S. Yet N(S ) is the whole set of upward triangles in that part, so this means that there are more than k holes, contradiction.

Planarity When we represent graphs by drawing them in the plane, we draw edges as curves, permitting intersections. If a graph has the property that it can be drawn in the plane without any intersecting edges, then it is called planar. Here is the tip of the iceberg. One of the most famous results on planar graphs is the Four-Color Theorem, which says that every planar graph can be properly colored using only four colors. But perhaps the most useful planarity theorem in Olympiad problems is the Euler Formula: Theorem. Every connected planar graph satisfies V E + F =, where V is the number of vertices, E is the number of edges, and F is the number of faces. Solution: Actually prove that V E + F = 1 + C, where C is the number of connected components. Each connecting curve is piecewise-linear, and if we add vertices at the corners, this will keep V E invariant. Now we have a planar graph where all connecting curves are straight line segments. Then induction on E + V. True when E = 0, because F = 1 and V = C. If there is a leaf (vertex of degree 1), delete both the vertex and its single incident edge, and V E remains invariant. If there are no leaves, then every edge is part of a cycle. Delete an arbitrary edge, and that will drop E by 1, but also drop F by 1 because the edge was part of a cycle boundary, and now that has merged two previously distinct faces..1 Problems 1. Every planar graph satisfies E V. Solution: Break into connected components. Special case is the components with only 1 or vertices, but still true in those cases. Otherwise, for each face, calculate its perimeter, and add all of these up. This double-counts each edge. Each face has perimeter, so we get E F. Plugging in, we have. Prove that every planar graph is 6-colorable. = V E + F V E + E = V 1 E. Solution: Every planar graph contains a vertex of degree at most 5. To see this, use the bound E V 6 for V, and if V it is trivial. Keep pulling out the vertex of this degree, and then greedily color the graph in the reverse order.. Prove that every planar graph is 5-colorable. 4. Open: Prove that every planar graph is 4-colorable, without using a computer. 5. Show that K 5 is not planar. Solution: V = 5, E = 10, so we must have F = V + E = 7. But as in the previous solution, we need to have E F, which is not the case. 6. Show that K, is not planar. Solution: V = 6, E = 9, so we must have F = V + E = 5. But as in the previous solution, we need to have E F. Actually, we need E 4F, because K, has no triangles. But this stronger inequality is false. 7. Show that K 4,4 is not planar. Solution: K 4,4 contains K,.

8. (AoPS.) Prove that every convex polyhedron which has no quadrilateral or pentagonal faces must have at least 4 triangular faces. Solution: First note that at every vertex, at least faces meet, so the degree of each vertex (in the edge graph) is at least. Therefore, V d v = E, i.e., V E. Also, by summing over faces, if f k is the number of faces with k sides, then From Euler s formula, giving the result. E = f + 6f 6 + 7f 7 + E = 1 f + f 6 + 7 6 f 7 +. = V E + F F E = 1 f 1 6 f 7 6 f 8 1 f, 9. (IMO Shortlist 006/C7.) Consider a convex polyhedron without parallel edges and without an edge parallel to any face other than the two faces adjacent to it. Call a pair of points of the polyhedron antipodal if there exist two parallel planes passing through these points and such that the polyhedron is contained between these planes. Let A be the number of antipodal pairs of vertices, and let B be the number of antipodal pairs of midpoints of edges. Determine the difference A B in terms of the numbers of vertices, edges, and faces. Solution: Use the following map to S, together with Euler s V E + F =. Send each face of the polyhedron to its normal vector. Send each edge of the polyhedron to the set of normal vectors of its supporting planes, which is a (shorter) great circle arc between the images of the faces under this map. Send each vertex of the polyhedron to the set of normal vectors of supporting planes, which is a region between the great circle arcs drawn in the previous step. This produces a spherical polyhedron, to which we translate the conditions of the problem and apply Euler s Formula. 10. (St. Petersburg 1997/1.) The sides of a convex polyhedron are all triangles. At least 5 edges meet at each vertex, and no two vertices of degree 5 are connected by an edge. Prove that this polyhedron has a face whose vertices have degree 5, 6, 6, respectively. Solution: By Euler, E V 6, so in particular the sum of degrees is less than 6V. We will use this for a contradiction. Suppose there are no 5,6,6 faces. We will count the number of edges which connect vertices of degree 5 to vertices of degree 7. Let x i be the number of vertices of degree i for each i. No 5,6,6 implies that each 5-vertex has at most neighbors of degree 6, thus it contributes edges which cross from degree 5 to degree 7. On the other hand, any vertex of degree d has at most d/ neighbors of degree 5 because no two degree-5 guys are adjacent. Thus, double-counting gives: x 5 d x d d=7 x 5 d=7 x d 1 Note that for d 7, the cumbersome expression satisfies d/ / d 6. Adding to the LHS so that it becomes 6 times the number of vertices: 6x 5 + 6x 6 + d=7 d. x 5 d=7 x d (d 6) 6x d 5x 5 + 6x 6 + d=7 x d d. 4

Recognize the LHS as 6V and the RHS as sum of degrees, and this contradicts our opening observation. 11. (Conway.) A thrackle is a drawing of a graph in the plane, in such a way that every pair of edges crosses exactly once. Open: Prove that every thrackle has E V. Note: It has been shown that every minimal counterexample is a pair of even cycles intersecting at a single vertex. Hence it suffices to prove that such graphs cannot be drawn as thrackles. 5