3.3 Matchings and Factors: Matchings in General Graphs This copyrighted material is taken from Introduction to Graph Theory, 2 nd Ed., by Doug West; and.

Slides:



Advertisements
Similar presentations
6.896: Topics in Algorithmic Game Theory Lecture 21 Yang Cai.
Advertisements

Great Theoretical Ideas in Computer Science
Chapter 8 Topics in Graph Theory
Bipartite Matching, Extremal Problems, Matrix Tree Theorem.
Great Theoretical Ideas in Computer Science for Some.
Combinatorial Algorithms
Great Theoretical Ideas in Computer Science.
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
Yangjun Chen 1 Bipartite Graphs What is a bipartite graph? Properties of bipartite graphs Matching and maximum matching - alternative paths - augmenting.
1 Discrete Structures & Algorithms Graphs and Trees: II EECE 320.
Graph Theory Ming-Jer Tsai. Outline Text Book Graph Graph Theory - Course Description The Topics in the Class Evaluation.
k-Factor Factor: a spanning subgraph of graph G
Mycielski’s Construction Mycielski’s Construction: From a simple graph G, Mycielski’s Construction produces a simple graph G’ containing G. Beginning with.
Internally Disjoint Paths Internally Disjoint Paths : Two paths u to v are internally disjoint if they have no common internal vertex.
Matchings Matching: A matching in a graph G is a set of non-loop edges with no shared endpoints.
Graph Theory Ming-Jer Tsai. Outline Graph Graph Theory Grades Q & A.
Definition Hamiltonian graph: A graph with a spanning cycle (also called a Hamiltonian cycle). Hamiltonian graph Hamiltonian cycle.
Great Theoretical Ideas in Computer Science.
Yangjun Chen 1 Bipartite Graph 1.A graph G is bipartite if the node set V can be partitioned into two sets V 1 and V 2 in such a way that no nodes from.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that S has more than one component. Connectivity of G ((G)): The.
Counting Proper Colors Given k  N and a graph G, the value  (G;k) is the number of proper colorings f: V(G)  [k]. The set of available colors is [k]={1,…,k};
Internally Disjoint Paths
Factor Factor: a spanning subgraph of graph G
1 Separator Theorems for Planar Graphs Presented by Shira Zucker.
Rectangular Drawing Imo Lieberwerth. Content Introduction Rectangular Drawing and Matching Thomassen’s Theorem Rectangular drawing algorithm Advanced.
Factor Factor: a spanning subgraph of graph G k-Factor: a spanning k-regular subgraph Odd component: a component of odd order o(H): the number of odd components.
Lecture 11. Matching A set of edges which do not share a vertex is a matching. Application: Wireless Networks may consist of nodes with single radios,
Internally Disjoint Paths Internally Disjoint Paths : Two paths u to v are internally disjoint if they have no common internal vertex. u u v v Common internal.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that G-S has more than one component. d f b e a g c i h.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Graph Theory Chapter 6 Planar Graphs Ch. 6. Planar Graphs.
CSE, IIT KGP Matchings and Factors. CSE, IIT KGP Matchings A matching of size k in a graph G is a set of k pairwise disjoint edges.A matching of size.
Graph Theoretic Concepts. What is a graph? A set of vertices (or nodes) linked by edges Mathematically, we often write G = (V,E)  V: set of vertices,
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
4.1 Connectivity and Paths: Cuts and Connectivity
4.2 k-connected graphs This copyrighted material is taken from Introduction to Graph Theory, 2 nd Ed., by Doug West; and is not for further distribution.
Section 2.1 “Matching in bipartite graphs” in Graph Theory Handout for reading seminar.
The Tutte Polynomial Graph Polynomials winter 05/06.
Mycielski’s Construction Mycielski’s Construction: From a simple graph G, Mycielski’s Construction produces a simple graph G’ containing G. Beginning with.
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
3.2 Matchings and Factors: Algorithms and Applications This copyrighted material is taken from Introduction to Graph Theory, 2 nd Ed., by Doug West; and.
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
Chapter 5 Graphs  the puzzle of the seven bridge in the Königsberg,  on the Pregel.
Introduction to Graphs. This Lecture In this part we will study some basic graph theory. Graph is a useful concept to model many problems in computer.
Decomposition Theory in Matching Covered Graphs Qinglin Yu Nankai U., China & U. C. Cariboo, Canada.
4.2 k-connected graphs This copyrighted material is taken from Introduction to Graph Theory, 2 nd Ed., by Doug West; and is not for further distribution.
Introduction to Graph Theory
4.2 k-connected graphs This copyrighted material is taken from Introduction to Graph Theory, 2 nd Ed., by Doug West; and is not for further distribution.
Introduction to Graph Theory
Graph Theory Ming-Jer Tsai. Outline Graph Graph Theory Grades Q & A.
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
Introduction to Graph Theory
Matching and Factors Matchings and Covers. Definitions: A matching M in a graph G is a set of non loop edges with no shared endpoints. G M.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Matchings and Factors Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
Lecture 12 Algorithm Analysis Arne Kutzner Hanyang University / Seoul Korea.
Trees.
An Introduction to Graph Theory
Graph theory Definitions Trees, cycles, directed graphs.
Bipartite Graphs What is a bipartite graph?
Lecture 12 Algorithm Analysis
Advanced Algorithms Analysis and Design
CSE 421: Introduction to Algorithms
Discrete Math II Howon Kim
Systems of distinct representations
Bipartite Graph 1. A graph G is bipartite if the node set V can be partitioned into two sets V1 and V2 in such a way that no nodes from the same set are.
Hamiltonian Cycles.
N(S) ={vV|uS,{u,v}E(G)}
Lecture 12 Algorithm Analysis
Graph Theory: Cuts and Connectivity
Presentation transcript:

3.3 Matchings and Factors: Matchings in General Graphs This copyrighted material is taken from Introduction to Graph Theory, 2 nd Ed., by Doug West; and is not for further distribution beyond this course. These slides will be stored in a limited-access location on an IIT server and are not for distribution or use beyond Math 454/553. 1

Overview of Matchings in General Graphs  Section 3.1 used Hall’s Condition to characterize which X,Y- bigraphs have an X-saturating matching. We also saw the maximum size matching equals the minimum size vertex cover for bipartite graphs.  Section 3.2 extended this to bipartite matchings and vertex covers for weighted edges, via the Hungarian Algorithm which finds a maximum weight matching with weight equal to a minimum weight cover.  Now in Section 3.3 Tutte’s Condition characterizes all graphs having a perfect matching, and more generally the size of a maximum matching in any graph. 2 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553.

Factors Definition A factor of a graph G is a spanning subgraph of G. A k-factor is a spanning k-regular subgraph. An odd component of a graph is a component of odd order; the number of odd components of H is o(H). Perfect matchings precisely correspond to 1-factors by including the vertices of the graph with the edges of the matching. 3 M y w z x Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553. Perfect matching M {wx, yz} 1-factor y w z x

William Tutte ( ) (see Wikipedia) proved in 1947 that any graph satisfying the following condition has a 1-factor:Wikipedia For all S  V(G), o(G–S)  |S|.(Tutte’s Condition) Example Tutte’s Condition 4 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553. w yz x Is there a 1-factor?

William Tutte ( ) (see Wikipedia) proved in 1947 that any graph satisfying the following condition has a 1-factor:Wikipedia For all S  V(G), o(G–S)  |S|.(Tutte’s Condition) Example Tutte’s Condition 5 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553. w y z x S o(G–S)=6 G–SG–S No 1-factor: o(G–S)=6 ≥ |S| = 4

3.3.3 Theorem. (Tutte [1947]) A graph G has a 1-factor if and only if o(G–S)  |S| for every S  V(G). Proof (=>) If G has a 1-factor, the odd components of G–S must have at least one vertex each matched to vertices of S. (<= by contradiction) Assume Tutte’s condition holds and assume to the contrary G has no 1-factor. Without loss of generality we may assume: 1.G is simple and has no 1-factor. 2.G+e has a 1-factor for every e  E(G). 3.G satisfies Tutte’s condition. Next we justify these 3 assumptions. Tutte’s 1-Factor Theorem 6 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553.

Assume Tutte’s condition holds and assume to the contrary G has no 1-factor. Without loss of generality we may assume: 1.G is simple and has no 1-factor: Justification If G has no 1-factor, neither does any simple subgraph of G. Replace G with a simple graph by removing all loops and all but one edge incident to any given pair of vertices. Note that for every S  V(G) o(G–S) does not change under this transformation! Tutte’s 1-Factor Theorem 7 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553.

Assume Tutte’s condition holds and assume to the contrary G has no 1-factor. Without loss of generality we may assume: 1.G is simple and has no 1-factor. 2.G+e has a 1-factor for every e  E(G): Justification We have a simple graph G with no 1-factor. There must exist a supergraph of G on vertices V(G) that is edge-maximal with respect to having no 1-factor. For some e  E(G), if G+e has no 1-factor, we simply replace G by G+e and repeat. Now we have a simple G with no 1-factor, but G+e has a 1-factor for every e  E(G). Tutte’s 1-Factor Theorem 8 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553.

Assume Tutte’s condition holds and assume to the contrary G has no 1-factor. Without loss of generality we may assume: 1.G is simple and has no 1-factor. 2.G+e has a 1-factor for every e  E(G). 3.G satisfies Tutte’s condition: Justification We have a simple graph G with no 1-factor but G+e has a 1-factor for every e  E(G). Now let S  V(G) be arbitrary. Step 1 did not change o(G–S). Adding edges to G to get to Step 2 did not increase o(G–S): G–S contains such an added edge only when both endpoints are within G–S, and its number of odd components can only stay the same or decrease. (joining components: odd-even -> odd, odd-odd -> even, even-even -> even) Tutte’s 1-Factor Theorem 9 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553.

3.3.3 Theorem. (Tutte [1947]) A graph G has a 1-factor if and only if o(G–S)  |S| for every S  V(G). Proof (=>) If G has a 1-factor, the odd components of G–S must have at least one vertex each matched to vertices of S. (<= by contradiction) Assume Tutte’s condition holds and assume to the contrary G has no 1-factor. Without loss of generality we may assume: 1.G is simple and has no 1-factor. 2.G+e has a 1-factor for every e  E(G). 3.G satisfies Tutte’s condition. We continue proof of (<=) with G satisfying Properties 1-3. Tutte’s 1-Factor Theorem 10 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553.

Proof of (<=) Define U = {v  V(G) : d(v) = n(G)–1}. Case 1 The components of G–U are complete graphs. If n(i) is even, then K n(i) has a perfect matching. Define t = |{i : n(i) is odd}|. For odd n(i), K n(i) has a matching saturating all but 1 vertex. So far we can match all but t vertices in G–U. By Tutte’s Condition, t  |U|. These t vertices are all adjacent to all vertices of U, and can be matched to t vertices of U. Tutte’s 1-Factor Theorem 11 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553. K n(1) K n(2) Kn(c)Kn(c) U

Proof of (<=) Define U = {v  V(G) : d(v) = n(G)–1}. Case 1 The components of G–U are complete graphs. The t last vertices of the odd complete components of G–U are matched to t vertices of U. Claim |U| is even, and so G has a 1-factor after all. It is easy to see that |U|–t and n(G) have the same parity. Also, n(G) must be even. Otherwise |  | = 0 < 1  o(G–  ) = o(G). Complete the 1-factor by pairing the remaining |U|–t vertices of U. Tutte’s 1-Factor Theorem 12 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553. G–UG–U U t

Proof of (<=) Define U = {v  V(G) : d(v) = n(G)–1}. Case 2 Some component of G–U is not complete. Therefore G–U has vertices x,y,z  V(G)–U with: (1) d G–U (x,z) = 2 and xz  E(G); (2) xy, yz  E(G–U); and (3) d(y) < n(G) – 1. The existence of y follows from the distance-2 condition on x,y. This distance is with respect to G–U, so y  U. By definition of U, y is adjacent to all vertices of U but not all vertices of G. Therefore G–U has a vertex w with: (4) yw  E(G). Tutte’s 1-Factor Theorem 13 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553. y xz non-edge

Proof of (<=) Define U = {v  V(G) : d(v) = n(G)–1}. Case 2 Some component of G–U is not complete. Therefore G–U has vertices w,x,y,z  V(G)–U with: (1) d G–U (x,z) = 2 and xz  E(G); (2) xy, yz  E(G–U); and (3) d(y) < n(G) – 1; (4) yw  E(G). By assumption that adding any edge to G yields a 1-factor: (5) G+xz has a 1-factor – call it M 1 ; (6) G+yw has a 1-factor – call it M 2. Tutte’s 1-Factor Theorem 14 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553. wy xz non-edge

Proof of (<=) We show it M 1  M 2  {xy,yz} contains a 1-factor avoiding {xz,yw}. Define F =M 1  M 2, which contains both xz and yw. Fact The components of F are even cycles and isolated vertices, because the degree of a vertex in M 1  M 2 is 0 or 2. Define C to be the cycle of F containing xz. Case A C does not contain yw. Define a 1-factor on all of G by selecting:  The edges of M 2 on C  The edges of M 1 everywhere not on C. Tutte’s 1-Factor Theorem 15 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553. wy xz M1M2M1M2 C

Proof of (<=) We show it M 1  M 2  {xy,yz} contains a 1-factor avoiding {xz,yw}. Define F =M 1  M 2, which contains both xz and yw. Define C to be the cycle of F containing xz. Case B C contains yw. When traveling around C in the direction from v to w, if z is reached first, define a 1-factor of G by:  Selecting M 1 between v and z on this side;  Selecting the edge yz;  Selecting M 2 on the other side of C; and  Selecting exactly one of M 1, M 2 off of C. If x is encountered first instead of z, replace yz with xz above. Tutte’s 1-Factor Theorem 16 Contains copyrighted material from Introduction to Graph Theory by Doug West, 2 nd Ed. Not for distribution beyond IIT’s Math 454/553. wy xz M1M2M1M2 C wy zx C