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

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

Graph Theory: Matchings and Factors

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

Matching and Covering

1 Matchings in Graphs

Matching Theory. Figure 1: Is this graph bipartite?

5 Matchings in Bipartite Graphs and Their Applications

Mathematical and Algorithmic Foundations Linear Programming and Matchings

Matchings. Examples. K n,m, K n, Petersen graph, Q k ; graphs without perfect matching. A maximal matching cannot be enlarged by adding another edge.

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

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.

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2

Advanced Combinatorial Optimization September 17, Lecture 3. Sketch some results regarding ear-decompositions and factor-critical graphs.

2. Lecture notes on non-bipartite matching

Math 776 Graph Theory Lecture Note 1 Basic concepts

MATH 682 Notes Combinatorics and Graph Theory II

Matching and Planarity

Assignment 1 Introduction to Graph Theory CO342

Lecture 4: Primal Dual Matching Algorithm and Non-Bipartite Matching. 1 Primal/Dual Algorithm for weighted matchings in Bipartite Graphs

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

Combinatorics Summary Sheet for Exam 1 Material 2019

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

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

11.1. Definitions. 11. Domination in Graphs

1. Lecture notes on bipartite matching

Some Elementary Lower Bounds on the Matching Number of Bipartite Graphs

1 Matching in Non-Bipartite Graphs

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.

Math 170- Graph Theory Notes

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

Abstract. A graph G is perfect if for every induced subgraph H of G, the chromatic number of H is equal to the size of the largest clique of H.

6. Lecture notes on matroid intersection

Week 9-10: Connectivity

1. Lecture notes on bipartite matching February 4th,

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

Graph theory - solutions to problem set 1

Exercise set 2 Solutions

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

K 4 C 5. Figure 4.5: Some well known family of graphs

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

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

MATH 363 Final Wednesday, April 28. Final exam. You may use lemmas and theorems that were proven in class and on assignments unless stated otherwise.

Matching 4/21/2016. Bipartite Matching. 3330: Algorithms. First Try. Maximum Matching. Key Questions. Existence of Perfect Matching

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.

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

Matchings and Covers in bipartite graphs

MATH 350 GRAPH THEORY & COMBINATORICS. Contents

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

Lecture 6: Graph Properties

Figure 2.1: A bipartite graph.

HW Graph Theory SOLUTIONS (hbovik)

MC302 GRAPH THEORY Thursday, 10/24/13

1 Digraphs. Definition 1

Key Graph Theory Theorems

SANDRA SPIROFF AND CAMERON WICKHAM

Ma/CS 6b Class 5: Graph Connectivity

Number Theory and Graph Theory

Assignment 4 Solutions of graph problems

Small Survey on Perfect Graphs

Introduction to Graph Theory

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

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

{ 1} Definitions. 10. Extremal graph theory. Problem definition Paths and cycles Complete subgraphs

5 Graphs

CPS 102: Discrete Mathematics. Quiz 3 Date: Wednesday November 30, Instructor: Bruce Maggs NAME: Prob # Score. Total 60

Introduction to Graph Theory

MTL 776: Graph Algorithms Lecture : Matching in Graphs

DEFINITION OF GRAPH GRAPH THEORY GRAPHS ACCORDING TO THEIR VERTICES AND EDGES EXAMPLE GRAPHS ACCORDING TO THEIR VERTICES AND EDGES

An Introduction to Graph Theory

Constraint Programming. Global Constraints. Amira Zaki Prof. Dr. Thom Frühwirth. University of Ulm WS 2012/2013

Graphs and Algorithms 2015

Ma/CS 6b Class 2: Matchings

Graphs. Introduction To Graphs: Exercises. Definitions:

COMP260 Spring 2014 Notes: February 4th

Problem set 2. Problem 1. Problem 2. Problem 3. CS261, Winter Instructor: Ashish Goel.

Graph Connectivity G G G

9 Connectivity. Contents. 9.1 Vertex Connectivity

Topics in Combinatorial Optimization February 5, Lecture 2

9.5 Equivalence Relations

Introduction to Graphs

Graph Algorithms (part 3 of CSC 282),

Introduction III. Graphs. Motivations I. Introduction IV

Bipartite Roots of Graphs

GEODETIC DOMINATION IN GRAPHS

context. (Similarly, we write ν for ν(g), etc. if there is no risk of confusion.) For a subset A V we write N G (A) = {v V ( w A)(v w)} (the set of

1 Undirected Vertex Geography UVG

Part II. Graph Theory. Year

Chain Packings and Odd Subtree Packings. Garth Isaak Department of Mathematics and Computer Science Dartmouth College, Hanover, NH

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

MC 302 GRAPH THEORY 10/1/13 Solutions to HW #2 50 points + 6 XC points

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings

4. (a) Draw the Petersen graph. (b) Use Kuratowski s teorem to prove that the Petersen graph is non-planar.

5. Lecture notes on matroid intersection

B r u n o S i m e o n e. La Sapienza University, ROME, Italy

Graph Algorithms (part 3 of CSC 282),

CS388C: Combinatorics and Graph Theory

1 Some Solution of Homework

Sources for this lecture. 3. Matching in bipartite and general graphs. Symmetric difference

Cyclic base orders of matroids

(5.2) 151 Math Exercises. Graph Terminology and Special Types of Graphs. Malek Zein AL-Abidin

Transcription:

AMS 550.47/67: Graph Theory Homework Problems - Week V Problems to be handed in on Wednesday, March : 6, 8, 9,,.. Assignment Problem. Suppose we have a set {J, J,..., J r } of r jobs to be filled by a pool of s applicants {A, A,..., A s }. Each job can be filed by at most one applicant and each applicant be assigned to at most one job. Also each job can be filled by only a subset of applicants qualified for the jobs. It is known in advance if a job J i can be filled by applicant A j. The goal is to find the maximum number of jobs that can be filled. Formulate this as a maximum matching problem. Solution: Create a bipartite graph with r vertices on one side, corresponding to the jobs, and s vertices on the other side, corresponding to applicants. For each job vertex, put an edge from it to all applicant vertices that are qualified to do that job. Now, any matching corresponds to a valid assignment of applicants to jobs, and maximum matching corresponds to the maximum number of jobs getting filled.. Show that in a graph G whose minimum degree is δ, there is a matching of size at least δ. Solution: By Problem 8 on HW II, we know there is a path of length δ. Choosing every other edge on this path, we obtain a matching of size δ. 3. Use the matrix-tree theorem to show that the number of spanning trees in a complete graph is n n. A perfect matching in a graph G is a matching that covers all vertices (and thus, the graph has an even number of vertices). 4. Structure of difference of matchings. (i) Let M, N be two maximum matchings in G. Describe the structure of G := (V (G), M N). Solution: G is a disjoint union of even sized cycles, even sized paths and some isolated vertices. We know the cycles are even sized from the result in class. The paths have to be even sized otherwise we have an augmenting path for one of the matchings, contradicting its maximumness. (ii) Let M, N be two perfect matchings in G. Describe the structure of G := (V (G), M N). Solution: G is a collection of even sized cycles and isolated vertices. We cannot have a path in G because then each of the end points of the path would not be matched in one of the matchings, contradicting the fact that we have a perfect matching. (iii) Show that a tree can have at most one perfect matching. Solution: Suppose to the contrary that we have two distinct perfect matchings M, N. By part (ii), the set difference graph is a collection of cycles and isolated verities. Since M and N are distinct, we cannot be left with only isolated vertices. Therefore, we have at least one cycle contradicting the fact that it is a tree. 5. Let G be a graph with no isolated vertices. Suppose further that G has a unique maximum matching M. Show that there are no M-alternating paths. Deduce that M is a perfect matching. Solution: If there exist M-alternating paths, let P be a maximal M-alternating path. Thus, P ends at a vertex such that the edges incident on it that are not in the path are not matching edges. Then M P is a matching that is at least as large as M. Since there is a unique maximum matching, this cannot happen. If we have any unmatched vertex and there are no isolated vertices, one can always have an M-alternating path starting at that vertex. Thus, no vertex is left unmatched.

6. Let M be a matching in a graph G. Show there exists a maximum matching that covers every vertex covered by M. Deduce that in a graph with no isolated vertices, every vertex is covered by some maximum matching. Solution: Let N be the set of all matchings that cover all the vertices covered by M (and maybe more vertices). Let N be a matching in N that is of largest size. If N is not a maximum matching in G, there exists an N-augmenting path P. Then N P is a matching with one more edge and also covers all the vertices covered by N. In particular, it covers all the vertices covered by M and therefore N P is in N. This contradicts the choice of N. 7. A matching M is maximal if for every edge e E(G) \ M, M {e} is not a matching. In other words, there is no edge in the graph that can be added to M and form a matching. (i) Give examples to show that a maximal matching need not be a maximum matching. Solution: Consider the following graph: 4 3 The edge 4 is maximal matching but not a maximum matching which is of size. (ii) Suppose M is a maximal matching. Show that M min vertex cover(g). Solution: Consider a maximum matching N. If there exists an edge e in N such that both end points are left unmatched by M, then M {e} is a matching, contradicting the maximality of M. Thus, the set S of endpoints of the edges in M form a vertex cover. Therefore, M = S min vertex cover(g). The result follows by divine through by. 8. A line in a matrix is a row or column of the matrix. Show that the minimum number of lines to cover all nonzero entries of a matrix is equal to the maximum number of nonzero entries, no two oh which lie in a common line. Solution: Consider a bipartite graph G = (A B, E(G)) where A corresponds to the rows of the matrix, and B corresponds to the columns and there is an edge between two vertices if the corresponding entry in the matrix is nonzero. The minimum number of lines to cover all nonzero entries is thus a minimum vertex cover. The maximum number of non zero entries no two of which are in a common line forms a set of matching edges. The result now follows from König s theorem for bipartite graphs. 9. Let (A,..., A p ) and (B,..., B q ) be two partitions of the finite set X. Show that the minimum cardinality of a subset of X intersecting each set among A,..., A p, B,..., B q is equal to the maximum number of pairwise disjoint sets in A,..., A p, B,..., B q. More precisely, show that min S X { S : S A i, i =,..., p, and S B j, j =,..., q} = max I {,...,p},j {,...,q} { I + J : A i B j =, i I, j J}

Solution: Construct a bipartite graph G = (A B, E(G)) where A = {,..., p} and B = {,..., q}. For every element x X, there is a unique i and j such that x A i and x B j (since we have a partition). Corresponding to this element, we put an edge between i and j in G. Now the minimum cardinality of a subset of X intersecting each set among A,..., A p, B,..., B q corresponds to a minimum edge cover, and the maximum number of pairwise disjoint sets in A,..., A p, B,..., B q is a maximum independent set. So the result follows from the consequence of Gallai s theorem and König s theorem that in a bipartite graph, minimum edge cover equals maximum independent set. 0. System of distinct representatives. Let A, A,..., A n be subsets of a set X. We say that Y is a system of distinct representatives (SDR) for A, A,..., A n if there is a bijection f : {,,..., n} Y such that f(i) A i for every i =,,..., n. (i) Show that a family of subsets A,..., A n of X has an SDR if and only if i I A i I for every subset I {,,..., n}. Solution: Construct a bipartite graph G = (A B, E(G) where A = {,..., n} and B = X. We put edges between i A and j x iff x A i. An SDR is then the same thing as a matching that saturates A. The condition stated above is now simply a statement of Hall s matching condition. (ii) Let A, A,..., A n and B, B,..., B n be two partitions of the same set X. Show that there exists a common SDR for both A, A,..., A n and B, B,..., B n (i.e., there exists Y X such that Y is an SDR for both A, A,..., A n and B, B,..., B n ) if and only if for every subset I {,,..., n}, i I A i intersects at least I sets among B, B,..., B n. Solution: We use the same bipartite graph as constructed in Problem 9 above. A common SDR is simply a perfect matching in this graph, and the condition stated above is equivalent to Hall s matching condition.. Let G = (A B, E(G)) be a simple, bipartite graph. Prove the following generalization of Hall s matching condition: Show that ν(g) = A max { S N(S) } S A where N(S) denotes the set of neighbors of S. [Hint: Add some vertices and edges to the graph] Solution: Let k = max S A { S N(S) }. Add k vertices in B and connect these new vertices to every vertex in A. Call the new graph G. Let the new set of k vertices be called K. Now, Hall s condition is satisfied: For any S A, the neighborhood N G (S) of S in G is simply N G (S) K where N G (S) is the neighborhood of S in G. So N G (S) = N G (S) + k N G (S) +( S N G (S) ) = S. So there is a matching in G that saturates A. Now removing the matching edges that are incident on K, we obtain a matching in G. But we remove at most k matching edges when we remove K, so we obtain a matching of size at least A k. Notice that any maximum matching has size at most A k. So this is a maximum matching.. We say two matchings M and N in a graph G are disjoint if they have no common edges, i.e., M N =. Let G be a simple, k-regular (i.e., every vertex has degree k), bipartite graph. 3

Show that G has k perfect matchings which are pairwise disjoint (see definition of perfect matching above Problem 4). [Hint: Use Hall s condition and induction] Solution: We first prove that in a k-regular bipartite graph, there always exists a perfect matching. We check Hall s condition: Consider any S V. The number of edges incident on S equals k S since each vertex has degree k. All these edges are incident on the neighborhood N(S). Also, N(S) may have edges coming into it from vertices outside S. Therefore, it has at least k S edges incident on it. But the number of edges incident on N(S) is k N(S). Therefore, k S k N(S) implying that S N(S). We prove it by induction on k. If k =, then every vertex has degree one, and we have a perfect matching, so we are done. For the induction step, from a corollary of Hall s theorem, every regular bipartite graph has a perfect matching. Removing these matching edges leaves a k -regular graph, which by induction has k disjoint perfect matchings. Together with the first matching edges, we obtain k disjoint perfect matchings. 3. Let G = (A B, E(G)) be a simple, bipartite graph such that for every edge xy with x A and y B, deg(x) deg(y). Show that there exists a matching that saturates A. Solution: We verify Hall s condition. Let S be any subset of A. Observe that S = x S y B,xy E(G) deg(x) = x S y N(S),xy E(G) deg(x) x S y N(S),xy E(G) deg(y) = y N(S) x S,xy E(G) deg(y) y N(S) x A,xy E(G) deg(y) = N(S) 4. Let n be a fixed natural number. An n n matrix is called a permutation matrix if all its entries are 0 or and every row contains exactly one and every column contains exactly one. How many n n permutation matrices are there? Show that a given n n matrix with nonnegative integer entries is the sum of k permutation matrices if and only if the sum in every row and every column is k. Solution: There are n! permutation matrices, corresponding to every permutation. We model an n n matrix M with nonnegative integer entries as a bipartite graph (not necessarily simple) with the rows as one side of the vertices, and the columns as the other side. For any two vertices i, j, we put M ij edges between i and j. Each vertex now has degree k because of the condition that the row sums and the columns sums are all equal to k. Using Problem 5 above, we have k disjoint perfect matchings in this bipartite graph. Finally observe that each such perfect matching corresponds to a permutation matrix and the sum of these permutation matrices will give the original matrix M. 5. Show that the n-cube graph from HW I has n disjoint perfect matchings (see Problem 4). (There are at least different ways to see this) Solution: We know from HW II, Problem 7, the n-cube graph is bipartite. Moreover, every vertex has degree n. Thus, by Problem above, we have the result. [One can also explicitly construct the n disjoint perfect matchings: Fix a coordinate and match every vertex to its partner on this coordinate. Another way to do this by induction on n and using the fact that the n cube graph can be obtained by taking two copies of the n -cube and connecting corresponding vertices in the two copies with an edge.] 4

6. Let k, r be natural numbers. Let G be a k regular, simple, bipartite graph. Show G contains spanning subgraphs G, G,... G l such that each G i is r-regular, and E(G) = E(G ) E(G )... E(G l ) (so the edges are partitioned with no overlaps) if and only if r divides k. Solution: ( ) In this case, we have k = l r and so we are done. ( ) By Problem 5 above, we have k disjoint perfect matchings. Putting r of these together yields a r-regular bipartite subgraph. Since r divides k, we can group r of these matchings together and have k/r such r-regular subgraphs. 7. Do Problems 3... Solution for 3..: Let e = xy be any edge with x X, y Y. Consider the bipartite graph G = G\{x, y}. Let X = X\{x}, Y = Y \{y}. For any subset S X, N G (S) = N G (S)\{y}. Thus, N G (S) N G (S) (equality holds iff y N G (S). Since N G (S) > S, we have N G (S) S and thus, we have a matching that saturates X. Adding the edge e to this matching, we have a matching that saturates X that contains e. 5