Selected Solutions to Graph Theory, 3 rd Edition

Similar documents
HW Graph Theory SOLUTIONS (hbovik)

Part II. Graph Theory. Year

Exercise set 2 Solutions

Assignment 1 Introduction to Graph Theory CO342

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

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

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

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.

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

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 Connectivity G G G

MATH 350 GRAPH THEORY & COMBINATORICS. Contents

Assignment 4 Solutions of graph problems

Matching Theory. Figure 1: Is this graph bipartite?

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.

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

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

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

Key Graph Theory Theorems

Math 170- Graph Theory Notes

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

9 Connectivity. Contents. 9.1 Vertex Connectivity

Lecture 6: Graph Properties

Chapter 3: Paths and Cycles

Math 776 Homework. Austin Mohr. June 15, Theorem 1.1. The following assertions are equivalent for a graph T : (i) T is a tree;

Number Theory and Graph Theory

Vertex coloring, chromatic number

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

Two Characterizations of Hypercubes

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

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

On vertex-coloring edge-weighting of graphs

Lecture Notes on Graph Theory

Combinatorics Summary Sheet for Exam 1 Material 2019

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

Module 11. Directed Graphs. Contents

Bipartite Roots of Graphs

Fundamental Properties of Graphs

Vertex coloring, chromatic number

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

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings

Triple Connected Domination Number of a Graph

Characterizations of graph classes by forbidden configurations

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.

Problem Set 2 Solutions

1 Matchings in Graphs

5.1 Min-Max Theorem for General Matching

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

Math 776 Graph Theory Lecture Note 1 Basic concepts

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

Subdivisions of Graphs: A Generalization of Paths and Cycles

Chapter 2 Graphs. 2.1 Definition of Graphs

HW Graph Theory SOLUTIONS (hbovik) - Q

Lecture 3: Recap. Administrivia. Graph theory: Historical Motivation. COMP9020 Lecture 4 Session 2, 2017 Graphs and Trees

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

Characterizations of Trees

Matchings in Graphs. Definition 1 Let G = (V, E) be a graph. M E is called as a matching of G if v V we have {e M : v is incident on e E} 1.

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

8 Colouring Planar Graphs

5 Matchings in Bipartite Graphs and Their Applications

CMSC Honors Discrete Mathematics

Weak Dynamic Coloring of Planar Graphs

1 Matchings with Tutte s Theorem

Bounds on distances for spanning trees of graphs. Mr Mthobisi Luca Ntuli

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

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

Chromatic Transversal Domatic Number of Graphs

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

6. Lecture notes on matroid intersection

Discrete Mathematics I So Practice Sheet Solutions 1

Graph Theory Day Four

Topics in Combinatorial Optimization February 5, Lecture 2

Discrete mathematics II. - Graphs

5 Graphs

2. Lecture notes on non-bipartite matching

Elements of Graph Theory

Pebble Sets in Convex Polygons

Small Survey on Perfect Graphs

Chapter 6 GRAPH COLORING

Graph Theory. Connectivity, Coloring, Matching. Arjun Suresh 1. 1 GATE Overflow

Modules. 6 Hamilton Graphs (4-8 lectures) Introduction Necessary conditions and sufficient conditions Exercises...

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.

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

Applied Mathematical Sciences, Vol. 5, 2011, no. 49, Július Czap

γ(ɛ) (a, b) (a, d) (d, a) (a, b) (c, d) (d, d) (e, e) (e, a) (e, e) (a) Draw a picture of G.

How many colors are needed to color a map?

The Restrained Edge Geodetic Number of a Graph

Graph Theory: Matchings and Factors

CLAW-FREE 3-CONNECTED P 11 -FREE GRAPHS ARE HAMILTONIAN

16 1. The Basics. x = t 1 >...>t k <...<t n = y

Week 9-10: Connectivity

Solution for Homework set 3

Restricted edge connectivity and restricted connectivity of graphs

Matching and Covering

Topics in Combinatorics. Dorottya Sziráki Gergő Nemes

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

Mathematical and Algorithmic Foundations Linear Programming and Matchings

MATH 682 Notes Combinatorics and Graph Theory II. One interesting class of graphs rather akin to trees and acyclic graphs is the bipartite graph:

Some Elementary Lower Bounds on the Matching Number of Bipartite Graphs

Planar graphs. Chapter 8

Transcription:

Selected Solutions to Graph Theory, 3 rd Edition Reinhard Diestel of Institute Technology Indian :: Jana Guwahati Research Scholar Mathematics Rakesh :: Rakesh Jana Department of Mathematics May 1, 2016

Acknowledgement These solutions are the result of taking CS-520(Advanced Graph Theory) course in the Jan-July semester of 2016 at Indian Institute of Technology Guwahati. This is not a complete set of solutions in that book. It may happen that solution of some problem may be wrong. I have not verified these problem from some expart. It is my kind request you that do not belive the answer blindly. If you found any mistake please inform me. I know these article must contain some typographical errors, in that case please inform me. If you have any better solution in any of these problem please let me know. I will upload that solution in this content with your name. If you want to discuss any of these solution with me please ping me in my given email address or meet me in research scholar office (RS-E1-010) Department of Mathematics,. You can find List of Solved Exercises at the end. Please e-mail jana.rakesh. math@gmail.com or j.rakesh@iitg.ernet.in for any corrections and suggestions. Copyright c 2015 2016, Rakesh Jana

Contents 1 The Basics 3 2 Matching, Covering and Packing 10 3 Connectivity 14 4 Planar Graphs 18 5 Colouring 19 9 Ramsey Theory for Graphs 21 10 Some Arbitary Problem 22 1 The Basics................................ 22 2 Matching................................. 22 3 Connectivity............................... 24 4 Planar graph............................... 24 5 Colouring................................. 24 11 Solved Exercise Reference 27

1 The Basics See some extra problem on basic in the end( problem-10.1.1 - problem-10.1.2). Exercise 1.1. What is the number of edges in K n? Proof. Notice that first vertex adjacent to other n 1 vertices. Now compute how many vertices are adjacent to second vertex except first vertex, obviously answer is n 2. Similarly compute how many vertices are adjacent to third vertex except first and second vertices, answer is n 3, and so on. Thus total number of edge is K n is (n 1) + (n 2) + + 1 + 0 = n(n 1). 2 Exercise 1.2. Determine the average degree, number of edges, diameter, girth, and circumference of the hypercube graph Q d. Proof. Since V is the set of all 0 1 sequences of length d. Thus total number of vertices is 2 d, since in each place we can assign two number 0, 1. Since two such sequence form an edge if and only if they differ in exactly one position. Thus each vertices has degree d. Now we know that 2 E = v V d(v) E = d 2d 2 Thus average degree of Q d = 2 E V = d. = d 2 d 1. Notice that the distance between any two vertices depends on the number of different bits, so diameter is d, i.e. diam G = d. Girth(Q 1 ) =, because there are no cycles on hypercube graph Q 1. Girth(Q d ) = 4, where d 2, this is because Q d = K 2 Q d 1. Circumference of Q d is 2 d. Exercise 1.3. Let G be a graph containing a cycle C, and assume that G contains a path of length at least k between two vertices of C. Show that G contains a cycle of length at least k. Is this best possible? 3

Proof. Let the path P start at x and end at y where x, y are lie on C. Suppose that P leaves C for the i th time at vertex x i, and arrives at C for the i th time at vertex y i (it is possible for x i+1 = y i ). Then the x i, y i -portion of P together with the x i, y i -portion of C forms a cycle of length at least 1 + l i, where l i = dist P (x i, y i ). Let among x i s and y i s there are t many distict vertices. Without loss of any generality Now if t k then we can take a path along C connecting these distinct vertices and then traverse C then we will get a cycle of length atleast k + 1. Let t < k. Let us consider subpath of path P, P i = x i P y i and P i = y i P x i+1. Then there are atmost t many internally disjoint subpath of P. Let P k be the subpath of P with maximum length, say l(p k ) = m. Then k l(p ) tm km Thus m > k. Hence we have a subpath of the path P of lenght atleast k whose end points are in C and also distinct. Hence We get a cycle of length atleast k. Notice in the solution that we can improve the size of cycle from k to k + 1. Exercise 1.4. We know that from proposition 1.3.2 that every graph containing a cycle satisfying g(g) 2 diam G + 1. Is the bound is best possible? Proof. Yes. It is the best possible bound because equality occur when G = K 3. Exercise 1.5. Show that rad G diam G 2 rad G. Proof. We know that diam G = max x,y v(g) d G (x, y). rad G = min x V (G) min x V (G) = diam G. max d G(x, y) y V (G) max diam G y V (G) To show diam G 2 rad G. Let a, b, v V (G) such that d G (a, b) = diam G and rad G = max y V (G) d G (v, y). diam G = d G (a, b) d G (a, v) + d G (v, b) rad G + rad G = 2 rad G. 4

Exercise 1.6. Prove the weakening of Theorem 1.3.4 obtained by replacing average with minimum degree. Deduce that G n 0 (d/2, g) for every graph G as given in the theorem. Proof. Case 1: Consider g = 2r + 1, r N. This proof is similar to proof of proposition 1.3.3. Let v V (G) be any vertex in G. Let us consider D i = {u V (G) : d G (u, v) = i}, for i N {0}. It is clear that D i D j =, i j and V (G) = i 0 D i. Since v can not contained in any cycle of length lesser then 2r + 1. Thus for any u, w D i, 0 i r 1, N(u) D i+1 is disjoint from N(w) D i+1, otherwise we can construct a cycle of length atmost r 1+1+1+r 1 = 2r < 2r +1, a contradiction. Hence each vertex in D i, 0 i r 1 is connected to exactly one vertex in D i 1 and atleast δ 1 vertices in D i+1. Hence D 0 = 1, D 1 δ and D i δ(δ 1) i 1, for 2 i r. Thus V (G) r 1 i=0 r 1 D i = 1 + δ (δ 1) i 1. Case-2: Consider g = 2r, r N. In this case proof is same as previous one instead of a vertex we have to start with two adjacent vertices. Let uv E(G). Similar way consider for i N {0}, i=0 D u i = {y : ˆd(u, y) = i} D v i = {y : ˆd(v, y) = i} where ˆd(x, y) := d G uv (x, y). Similar way as case-1, for any x {u, v}, Di x Dj x = for i j and for any a, b Di x, N(a) Di+1 x is disjoint from N(b) Di+1 x for 1 i < r 1. Also each vertex in Di x (0 i < r 1) is connected to exactly one vertex in Di 1 x and atleast δ 1 vertices in Di+1. x Now D0 x = 1, D1 x δ 1 and Di x (δ 1) i, for 1 i r 1. Let us define for x {u, v}, T x = Di x. 0 i r 1 Notice that T x = r 1 i=0 (δ 1)i for any x {u, v}. Claim. T u T v =. To prove this claim first notice that D u i D v j =, for all 0 i, j r 1. If not let x D u i D v j for some 0 i, j r 1. Then there exist a cycle in G of length atmost r 1 + r 1 + 1 = 2r 1 < 2r, a contradiction. Hence T u T v =. Hence V (G) T u + T v = 2 r 1 i=0 (δ 1)i. 5

Lemma 1.1. Let P be a path in a connected graph G. If there is u V (G) \ V (P ), then there exist v V (G) \ V (P ) adjacent to P. Proof. Let u V (G)\V (P ) and w V (P ). Since G is connected there exist a u w path in G, say Q. Now consider last common vertex p V (P ) V (Q) (traversing from w to u) then there exist a vertex in v V (Q) \ V (P ) such that vp E(G). Exercise 1.7. Show that every connected graph G contains a path of length at least min{2δg, G 1}. Proof. Let us consider P = x 0 x 1 x k be a longest path in G. We have to show k min{2δg, G 1}. If possible let k < min{2δg, G 1}. Now G is connected E(G) G 1. Since k < G 1 there exist u V (G) \ V (P ) and by lemma 1.1 there exist y V (G) \ V (P ) such that yx i E(G), for some 0 i k. Now if x 0 x k E(G) we can get a path P = yx i P x k x 0 P x i which is longer then P, a contradiction. Thus x 0 x k / E(G). Now N(x 0 ) V (P ) and N(x k ) V (P ), since P is the longest path. Let us consider S = {x j x j+1 N(x 0 ), 0 j k 2}. Clearly S δ(g). Since k < 2δ(G) gives V (P ) \ (S {x k }) δ(g). By pigeonhole principle there exist x j S such that x j x k E(G). Hence we get a cycle C = x 0 P x j x k P x j+1 x 0. Now consider the path P = yx i C x i which is longer then P, a contradiction. Hence k min{2δg, G 1}. Exercise 1.8. Find a good lower bound for the order of a connected graph in terms of its diameter and minimum degree. Proof. The following claim gives the lower bound for the order of connected graph. Claim. Let G be any connected graph with diam G = k and δ(g) = d then G kd/3. Let d G (x, y) = k, for some x, y V (G) and distance achieve by the path P = x 0 x 1 x k, where x 0 = x, x k = y. Let u be a vertex not on P that is adjacent to some vertex on P. Let i be the smallest integer such that x i is adjacent to v. Notice that if v is adjacent to x j for j > i + 2 then we can get a path x 0 P x i vx j P x k and which is shorter then P, a contradiction to d G (x, y) = k. Hence each v V (G) \ V (P ) can adjacent to at most 3 vertices on P. Exercise 1.10. Show that every 2-connected graph conatains a cycle. 6

Proof. Let G be a 2-connected graph. Then δ(g) 2, since if d(v) = 1 or 0, for some v V (G) then that vertex will be either a cut vertex or isolated, in both case it contradict that G is 2-connected. Hence by proposition-1.3.1, it has a cycle of length atleast δ(g) + 1. Exercise 1.11. Determine κ(g) and λ(g) for G = P m, C n, K n, K m,n, and Q d ; d, m, n 3. Proof. Recall. κ(g) denote for connectivity(vertex) of a graph G and λ(g) denote edge-connectivity of graph G. Also by proposition-1.4.2, κ(g) λ(g) δ(g). Given graphs are all connected. κ(p m ) = 1, for m 2 it is clear, for m > 2 if you remove an interior vertex of P m, it becomes a disconnect graph. λ(p m ) = 1, as if you delete any edge, the graph becomes disconnected. κ(c n ) = 2, because if you remove any vertex you will get P n 1, hence if you delete any two vertex from C n then it becomes a disconnect graph. λ(c n ) = 2, as if you delete any edge, the graph becomes P n and if you delete one more edge it become disconnected. Similarly, κ(k n ) = n 1 λ(k n ) = n 1 κ(k m,n ) = min{m, n} λ(k m,n ) = min{m, n} κ(q d ) = d λ(q d ) = d. Exercise 1.12. Is there any function f : N N such that, for all k N, every graph of minimum degree atleast f(k) is k connected? Proof. No. Suppose f(1) = t N. Then there exist graphs G and H with both have minimum degree t but one of them is connected and other is not. For instance take G = K t+1 and take H be two disjoint component of K t+1. Exercise 1.16. Show that every tree T has atleast (T ) leaves. Proof. Exercise 1.17. Show that a tree without a vertex of degree 2 has more leaves than other vertices. Can you find a very short proof that does not use induction? 7

Proof. Let T be a tree with no vertex of degree 2. Let V i = {v V (G) : d G (v) = i}. Notice that V 2 =. Now average degree of a tree is 2 E 2( V 1) = < 2. Now V V Hence we get, V 1 + V 1 i=3 2 > This complete the answer. v V d G(v) V = V 1 + 3 V 1 i=3 V i V = V + 2 V 1 i=3 V i V V 1 V i = V > 2 i=3 V 1 i=1 i V i V = V 1 + V 1 i=3 i V i V = 1 + 2 V 1 i=3 V i V V i = V 1 > V 1 Exercise 1.19. Let G be a connected graph, and let r G be a vertex. Starting from r, move along the edges of G, going whenever possible to a vertex not visited so far. If there is no such vertex, go back along the edge by which the current vertex was first reached (unless the current vertex is r; then stop).(this procedure has earned those trees the name of depth-first search trees.) Show that the edges traversed in depth-first search form a normal spanning tree in G with root r. Proof. First notice that in dfs we always get a tree, since we always add a vertex to the current subgraph if it is not end point of any edge of current subgraph, so cannot create a cycle. To show it is spanning. Suppose it not spanning tree of G then there is a vertex v which is not in the tree but adjacent to a vertex u in the tree. But then when we left u for the last time we would have visited v instead of returning to r. So we get a contradiction that depth-first search completed. Hence we get a spanning tree, say T. To show T is normal. Last part remaining Exercise 1.23. Show that a graph is bipartite if and only if every induced cycle has even length. Proof. Recall. An induced cycle in G is a cycle in G forming an induced subgraph without any chords. i=3 V i. 8

If a graph is bipartite then it does not have any odd cycle by proposition-1.6.1, hence does not have any induced cycle of odd length. To prove reverse part. Let us assume G is not bipartite. Since G is not bipartite so it has an odd cycle. Let C be a smallest odd cycle in G. Then C can not be induced cycle, since all induced cycle are even lengths. Then there exist x, y V (C) but xy / E(C). Thus we get two cycle C 1 = xcyx, C 2 = ycxy (traverse clockwise direction), among them one is odd and other is even. Hence we get a shorter odd cycle, a contradiction. This proves the result. Exercise 1.24. Find a function f : N N such that, for all k N, every graph of average degree at least f ( k) has a bipartite subgraph of minimum degree at least k. Proof. Define a map f : N N by f(k) = 4k, k N. The idea behind to consider this function is following: Every graph with an average degree of 4k have a subgraph H with minimum degree 2k, and we will lose another factor of 2 in moving H to its bipartite subgraph. Let H be the bipartite subgraph of H with the maximal number of edges. My claim is that H have minimum degree atleast k. If not, let v H such that d H (v) < k. This means v lost more then half of its neighbours in the process to form H to H. This means v is on the same partition with its looses neighbours. But in that case if we consider v in the other partition we can able to connect those previously looses vertices to v and form a new bipartite subgraph of H with more edges then H have, a contradiction. Hence it proves of my claim. Exercise 1.26. Prove or Disprove that every connected graph contains a walk that traverses each of its edges exactly once in each direction. Proof. Let W = v 0 v 1 v k be a longest walk in G that traverses every edge exactly once in each direction. If possible let there exist a vertex v not visited by W. Without loss of any generality let us assume v N(v i ) for some 0 i k. Now consider a walk v 0 W v i vv i W v k which is longer then W and also traverses each of its edges exactly once in each direction, a contradiction. So each vertex in G visited by W. Again suppose that W doesn t contain all the edges, since W visits every vertex in G so G has an edge e = v i v j (i < j) not traversed by W. Consider a new walk v 0 W v i v j v i W v k which is longer then W and also traverses each of its edges exactly once in each direction, a contradiction. So each edge in G visited by W. Hence every connected graph contains a walk that traverses each of its edges exactly once in each direction. 9

2 Matching, Covering and Packing See some extra problem on Matching, Covering and Packing in the end( problem- 10.2.3 - problem-10.2.7). Exercise 2.2. Describe an algorithm that finds, as efficiently as possible, a matching of maximum cardinality in any bipartite graph. Proof. We already know that A matching M is maximum in a graph G if and only if there are no augmenting paths with respect to M. Let A and B be the bipartition of G, and let M be the matching in G, initially M =. Following algorithm known as Hungarian Method. Algorithm 1 Maximum-Matching (G, A, B, M) 1: if M saturates every vertex in A then 2: stop; 3: Let u be an an M-unsaturated vertex in A. 4: Set S = {u}, T =. 5: if N(S) = T then N(S) < S, since T = S 1 then by Hall s theorem there is no matching that saturates every vertex in A then 6: stop; 7: Let v N(S) \ T. 8: if v is M-saturated, let vw M then 9: Set S = S {w}, T = T {v}; (Observe that T = S 1 is maintained). 10: goto step-5. 11: Otherwise we get an M-augmenting u v path. 12: M = M P = (M \ P ) (P \ M); (symmetric difference of the two sets of edges) 13: Maximum-Matching (G, A, B, M) Exercise 2.3. Show that if there exist injective function A B and B A between two infinite set A and B then there exist a bijection between A B. Proof. The above problem is known as Cantor-Schrouder-Bernstein theorem. Although the statement seemingly obvious statement is surprisingly difficult to prove. The the strategy of the proof is following: Let f : A B and g : B A be two injective map. First, we apply f(a) = B 1 B. Next, g(b 1 ) = A 2 A. Iterating this, we keep bouncing back and forth between 10

smaller and smaller subsets of A and B until the process stabilizes and we end up with some sets Ā A and B B for which f(ā) = B and g( B) = Ā. This implies that Ā B. The next task is to show that A \ Ā B \ B. Finally, we conclude that A B. You can get complete proof of this result in the book Introductory Real Analysis by A. N. Kolmogorov and S. V. Fomin, 1st edition, Dover Publications. Exercise 2.4. Find an infinite counterexample to the statement of the marriage theorem. Proof. Let A = Z + {a} and B = Z +, here a is an alphabet. Let us consider a graph G with vertex set V (G) = A B, (consider A and B are different set). Let xy E(G), x A and y B if and only if x = y or x = a. Then for any S A, N(S) S. But a matching saturating A must saturate Z + A, and since these vertices have degree 1 and they already matched with every vertex in B, it cannot saturate a. Hence there is no matching saturating A. Exercise 2.5. Let k be an integer. Show that any two partitions of a finite set into k-sets admit a common choice of representatives. Proof. Let k N. Let X be a set of n elements with k n and m = n, and let k A 1,, A m and B 1,, B m are partitions of V into k-sets. Let us define a bipartite graph G with the vertex set V (G) = A B where A = {A 1,, A m } and B = {B 1,, B m }, viewing each set A i as a vertex. Let A i B j E(G) if and only if A i B j. We want to apply Hall theorem. Let S A and we have to estimate N(S). Let S contain t many element of A. Then number of element of X contain in S is tk. Now number of element of B covering these tk element is atleast t, since each element B j contains k elements. It follows that N(S) S. Hence Hall condition holds. Now by Halls theorem, we have a matching saturaing A, that is, we have a perfect matching. Therefore, any two partitions of a finite set into k-sets admit a common choice of representatives. Exercise 2.6. Let A be a finite set with subsets A 1,, A n, and let d 1,, d n N. Show that there are disjoint subsets D k A k, with D k = d k for all k n, if and only if A i d i i I i I for all I {1,, n}. Proof. Suppose i I A i i I d i holds for all I {1,, n}. Let us denote the elements of A i as follows, A i = {a i1, a i2,, a iti }, for 1 i n. Clearly for each 11

i, d i t i. Let us construct a bipartite graph G with bipartition {X, A}, where X = n i=1 {a ij : 1 j d i } and join a ij X to a A if and only if a A i. Notice that in G for any S X, N(S) S. Thus by Hall s theorem G contains a matching saturaing X. That matching gives us disjoint subsets D k A k, with D k = d k for all k n. If there exist disjoint subsets D k A k, with D k = d k for all k n then this is equivalent to that there exist a matching in the bipartite graph G (which is constructed earlier). saturating X. Hence, by the Hall s theorem, for any S X, N(S) S. Now for any I {1,, n} consider S = i I D i gives, i I A i i I d i. Exercise 2.8. Find a bipartite graph and a set of preferences such that no matching of maximum size is stable and no stable matching has maximal size. Proof. Try C 6. Exercise 2.9. Find a non-bipartite graph and a set of preferences that has no stable matching. Proof. Try K 3. Exercise 2.10. Show that all stable matchings of a given bipartite graph cover the same vertices. (In particular, they have same size.) Proof. Suppose M 1 and M 2 are two stable matchings of G that don t cover the same vertices. Then there exist some vertex x which is matched under M 1 but unmatched under M 2. Let xy M 1. Notice that y must be matched in M 2, otherwise there exist a edge xy whose both end points are unmatched under M 2, a contradiction that M 2 is a stable matching. Since y is matched in M 2 thus there exist z V (G) such that yz M 2. Thus we have xyz path with edges alternately in M 1 and M 2. Continue this way we get a path P = v 0 v 1 v n for some n 2 where v 0 = x, v 1 = y, v 2 = z. Notice that v n 2 < vn 1 v n in M 2, but v n < vn 1 v n 2 in M 1, a contradiction. Thus M 1 and M 2 cover same vertices. Exercise 2.13. Show that a graph G contains k independent edges if and only if q(g S) S + G 2k for all sets S V (G). Exercise 2.14. Find a cubic graph without a 1-factor. Proof. From Theorem 2.2.1 we know that A graph G has a 1-factor if and only if g(g S) S for all S V (G). Consider the following graph G, 12

Figure 1: Cubic graph G Figure 2: Graph G S Let us consider S V (G) to be red colored vertices. Thus q(g S) = 6 > S = 4. Hence G can not have 1 factor. Exercise 2.15. Derive the merriage theorem from Tutte s theorem. Proof. 13

3 Connectivity See some extra problem on connectivity in the end( problem-10.3.8 - problem-10.3.10). Exercise 3.4. Let X and X be minimal separating vertex sets in G such that X meets at least two components of G X. Show that X meets all the components of G X, and that X meets all the components of G X. Proof. Suppose that X meets G X in only one component, say C. Then X X C. So the components of G X are components which come from C X and a component which contains the rest of G. So, X meets only one component of G X. This is a contradiction. Hence, X meets at least two components of G X. Then, it follows from symmetry that X meets every component of G X. Exercise 3.7. Show, without using Menger s theorem, that any two vertices of a 2-connected graph lie on a common cycle (that is there exist two internally vertex disjoint path between those two vertices). Proof. This problem is known as Whitney s theorem which is solved in 1932. You can find this theorem in many books such as Graph theory with application by Bondy & Murty. But third solution in this note which given by Kewen Zhao is simplier then any other solutions. First Solution 1 : I have to show between any two vertices in a biconnected graph there exist two internally vertex disjoint path. I will show it by inductively by using induction on their distance. Let us assume x, y be any two vertex set in G and d = dist G (x, y). If d = 1, that is xy E(G). since G is biconnected thus there exist another x y path in G, otherwise xy is a bridge in G, a contradiction. Let us assume the statement is hold for any vertex of degree less than d 2. Let S be the shortest path between x and y. Let v V (S) with lesser distance to y in S.Then dist G (x, v) = d 1 < d. Thus by induction hypothesis there exist two internally vertex disjoint x v path in G, say P 1, P 2. Now if y is a vertex of any one of these path, say P 1 then xp 1 y and P 2 y gives us two different paths, as in xp 1 y path v will not come as v is the end vertex and y comes before v. Let us assume y / V (P 1 ) V (P 2 ). Since G {v} is connected there exist a x y path in G {v}, say Q. Now consider the last vertex w V (Q)(according to the distance from x in Q) such that w V (P 1 ) V (P 2 ). Since w v thus either w V (P 1 ) or w V (P 2 ). Without loss of any generality assume w V (P 1 ). Now consider a new path P 3 := xp 1 wqy. Notice that V (P 3 ) V (P 2 ) = {x}. Thus consider another path P 4 := xp 2 vy. Hence P 3, P 4 are two internal vertex disjoint x y path. 1 Based on Theorem-3.2(pp. 44 45), Bondy & Murty Book. 14

Second solution: 2 Suppose that there are two vertices u, v such that they are not on a cycle. Then we want to show that there is a cut vertex separating u and v. To argue about the paths from u to v, we want to first order the vertices. One way to do this is to do a depth first search of G from u, label all the vertices in a pre-order traversal, and for each vertex w let a(w) be the smallest ancestor that can be reached from w through one of its descendants; note that there can only be back edges in this traversal, since G is undirected. We want to characterize when are two vertices u and v on a cycle in such a DFS. It is clear that if a(v) = u then they are on a cycle, however, this is not necessary. The only other possibility is the following: consider the path between v and a(v); if there is a vertex w on this path such that a(w) = u then u and v are also on a cycle. Thus two vertices are on a cycle iff in the path P from v to a(v) there is a vertex w such that a(w) = u. In our setting, however, u and v are not on a cycle. The cut vertex separating u and v is the ancestor a(w), where w P, closest to u. Third solution: 3 Let G be 2-connected graph and assume there exist two vertices u and v without two internally-disjoint u v paths. Let P and Q be two u v paths with the common vertex set S as small as possible. Let w S \ {u, v} and P 1 := up w, P 2 = wp v and Q 1 := uqw, Q 2 := wqv. Since G is 2-connected, let R denote a shortest path from some vertex x (V (P 1 ) V (Q 1 )) \ {w} to some vertex y (V (P 2 ) V (Q 2 )) \ {w} without passing through w. We may assume, without loss of generality, that x is in P 1 and y in Q 2. Let T denote the u v path composed of up 1 xryq 2 v. Clearly the common vertices of T and the u v path composed of Q 1 P 2 are all in S \ {w}. This contradicts the choice of both P and Q as having the smallest number of vertices common. Exercise 3.9. Let G be a 2-connected graph but not a triangle, and let e be an edge of G. Show that either G e or G/e is again 2-connected. Deduce a constructive characterization of a 2-connected graphs analogous to Theorem 3.2.2. Proof. Exercise 3.10. Let G be a 3-connected graph, and let xy be an edge of G. Show that G/xy is 3-connected if and only if G {x, y} is 2-connected. Proof. Given that G is 3-connected with an edge xy E(G). Let G/xy is 3 connected. To show G {x, y} is 2 connected. Suppose if possible G {x, y} is not 2 connected. Then there exist a vertex z in G {xy} which separate G {x, y}. Then {z, v xy } becomes a separating set of G/xy, a contradiction. Hence G {x, y} is 2-connected. 2 http://www.imsc.res.in/~vikram/discretemaths/2011/connectivity.pdf 3 A simple proof of Whitney s theorem on connectivity in a graph by Kewen Zhao. 15

Conversely, suppose G {x, y} is 2 connected. To show G/xy is 3 connected. If possible let G/xy is not 3-connected. Then there exist a separating set {u, v} in G/xy which separate G/xy. Now if u, v v xy then {u, v} becomes a separating set of G, a contradiction. Suppose u = v xy. Then v separates G {x, y}, a contradiction. Hence G/xy is 3 connected. Exercise 3.11. Show that every cubic 3-edge-connected graph is 3-connected. Proof. Lemma 3.1. Let G be a k 2 connected graph. Let S be the set of k vertices and u V \ S. Then there exist k many u S path contianing u as only common vertex. Proof of lemma: Let us consider a graph G such that V (G ) = V (G) {x} and E(G ) = E(G) {xy y S}. Then G is k-connected graph. By Menger s theorem there exist k (internal) vertex disjoint u x path in G. These path must passes through vertices of S. Since S = k, every path contain exactly one element from S. Consider corresponding path in G gives required k paths. Exercise 3.16. Let k 2. Show that every k-connected graph of order at least 2k contains a cycle of length at least 2k. Proof. Let C be the longest cycle in G. If v V (C), for all v V (G) then we are done. Let there exist v V (G) \ V (C). Then by lemma-3.1 there exist k vertex disjoint (only common vertex is v) v C paths. Now if C < 2k then by pigeonhole principle there exist two paths whose end points are adjacent on C. We can construct a longer cycle by detouring along these paths, a contradiction. Exercise 3.17. Let k 2. Show that in a k-connected graph any k vertices lie on a common cycle. Proof. I will prove this statement using induction on k. The base case of induction is k = 2. It is directly follows from Menger s theorem although I have given a alternating proof of this result in problem-3.7. For induction hypothesis let us assume for any k 1 connected graph the statment holds. Now let G be a k-connected graph and S = {v 1,, v k } are k many vertices in G. Now since G is k-connected, then G v 1 is k 1 connected. By induction hypothesis we get vertices v 2,, v k are lie on a common cycle in G v 1, say C. Now conside two vertex set {v 1 } and V (C). Case-1: Let l(c) = k 1. Consider v V \V (C) and C {v}. Then by lemma-3.1 there k 1 many internal vertex disjoint v 1 C path in G haveing v 1 is their only common vertex. Hence we can construct a new path containing all those k vertices. 16

Case-2: Let l(c) k. Then there k many internal vertex disjoint v 1 C path in G, say P i, 1 i k such that if x i be the end points of P i then V (P i ) C = {x i } and x i x j, for each i j. Such type of path exist by lemma-3.1. Without loss of generality assume that x i are present in C in anticlockwise order. Then these many paths devide C into k segment. Let C i = x i Cx i+1 for 1 i k (consider k + 1 = 1) are the segment of C. Since S {v 1 } = k 1 then by pigeonhole principle atleast one segment does not contain any vertices of S {v 1 }, say C i. Then we can get a new cycle C = v 1 P i+1 x i+1 Cx i P i v 1. Here x i+1 Cx i taken anticlockwise direction. Hence C contain all k vertices of S. Exercise 3.18. 17

4 Planar Graphs See some extra problem apart from Diestel books on planar graphs in the end( problem-10.4.11 - problem-10.4.15). Exercise 4.5. Show that every planar graph is unioin of three forests. Exercise 4.23. For every k N, construct a triangle free k-chromatic graph. Proof. The following construction is known as Tutte s construction of triangle-free k-chromatic graph. G H to be the graph obtained by joining every vertex in G with every vertex in H. For k 5 it is easy to construct. Now let k > 5. Clearly χ(g H) = χ(g)+χ(h). (Exercise-10.5.18). Notice that χ(c 5 C 5 ) = 6. Consider G 6 = C 5 C 5 and for k > 6, consider G k = G k 1 G k 1. Claim. G k is triangle free. Proof. We will prove it by induction on k. Notice that G 2 = K 2, triangle free. Let G k 1 triangle free. Claim. χ(g k ) = k. 18

5 Colouring See some extra problem on colouring in the end( problem-10.5.16 - problem-10.5.22). Exercise 4.5. Show that every graph G has a vertex ordering for which the greedy algorithm uses only χ(g) colours. Proof. Since G is χ(g) colourable there exist a colouring of G which takes χ(g) colours. According to this colouring partition the vertex set V (G) into χ(g) parts. Let these parts are V 1,, V χ(g). Notice that all vertices belongs to same partition are independent. Now apply Greddy algorithm as follows: first colour all vertices of V 1 by colour 1, after colour all vertices of V 2 by colour 1 or 2. This is because each such vertex may not have any neighbours among vertices from V 1. In general, color all vertices of V i with the colour from {1, 2,, i} because some vertices of V i may not adjacent to any already-colored vertices. Hence Greddy algorithm will use atmost χ(g) colour. Since G can not be colour by lower then χ(g) colour. Hence Greddy algorithm will use exactly χ(g) colour. Exercise 4.6. For evry n > 1, find a bipartite graph on 2n vertices, ordered in such a way that the greddy algorithm uses n rather than 2 colours. Proof. Consider complete K n,n graph with bipartition A, B. Let A = {a 1,, a n } and B = {b 1,, b n }. Suppose M = {a i b i : 1 i n} be the perfect matching of K n,n. Let us consider a new bipartite graph G = K n,n \ M (removing only edges). Now apply Greddy algorithm in G with the vertex order {a 1, b 1,, a n, b n }. Then a 1 and b 1 will be assigned color 1, since they are not adjacent to any already-colored vertices. Since a 2 and b 2 are each adjacent to a vertex already assigned color 1 they will be assigned color 2. Agian a 3 and b 3, each adjacent to vertices of colors 1 and 2, must be assigned color 3 and so on. Since a n and b n each adjacent to vertices of every color from 1 to n 1 it must be assigned color n. Exercise 4.9. Find a lower bound for the colouring number in terms of average degree. Proof. Recall proposition-1.2.2: Every graph G with atleast one degree has a subgraph H with δ(h ) > ɛ(h ) ɛ(g) = d(g). 2 It is clear that, Hence d(g) 2 + 1 χ(g). χ(g) = max H G δ(h) + 1 δ(h ) + 1 = d(g) 2 19 + 1.

Exercise 4.10. A k-chromatic graph is called critically k-chromatic, or just critical, if χ(g v) < k for every v V (G). Show that every k-chromatic graph has a critical k-chromatic induced subgraph, and that any such subgraph has minimum degree atleast k 1 Proof. For first part use induction. If the graph G itself is critically k-chromatic, then we are done, otherwise there exists a vertex v in G such that χ(g v) = k. Then apply induction hypothesis to the graph G v to find a critically k-chromatic subgraph of G. Let G be itself a critically k-chromatic graph. It is enough to show that, if there exist a vertex v G such that deg(v) < χ(g) 1 then χ(g) = χ(g v). Let there exist a vertex v G such that deg(v) = χ(g) 2. Since χ(g v) < k thus we can color G v using k 1 color. Since v is adjacent to k 2 edges so its neighbours will get atmost k 2 colors so we can color v with remaining one color. Thus G is k 1 colourable, a contradiction. Exercise 4.11. Determine the critical 3-chromatic graphs. Proof. We will prove that a graph is critical 3-chromatic graph if and only if it is an odd cycle. Since we know that every odd cycle is 3-chromatic and if we delete any one vertex of this cycle, we will get a path which is 2-colourable. Hence every odd cycle is critical 3-chromatic. Let G be a critical 3-chromatic graph. Then G can not be a bipartite graph. Thus G had an odd cycle,say C. Claim is G = C. If not then there exist a vertex v G C. Now notice that G v contain an odd cycle C so its chromatic number is 3, but since G is crticial 3-chromatic graph, χ(g v) < 3, a contradiction. Hence G = C. 20

9 Ramsey Theory for Graphs Exercise 9.6. Use Ramsey s theorem to show that for any k, l N there is an n N such that every sequence of n distinct integers contains an increasing subsequence of length k + 1 or a decreasing subsequence of length l + 1. Find an example showing that n > kl. Then prove the theorem of Erdos and Szekeres that n = kl + 1 will do. Proof. Exercise 9.7. Sketch a proof of the following theorem of Erdos and Szekeres: for every k N there is an n N such that among any n points in the plane, no three of them collinear, there are k points spanning a convex k-gon, i.e. such that none of them lies in the convex hull of the others. Proof. Exercise 9.8. Prove the following result of Schur: for every k N there is an n N such that, for every partition of {1,, n} into k sets, at least one of the subsets contains numbers x, y, z such that x + y = z. Proof. 21

10 Some Arbitary Problem 1 The Basics Exercise 10.1.1. Prove that the number of simple even graphs (degree of all vertices is even) with n vertices is 2 (n 1 2 ) Proof. There is a bijection between simple graphs with n 1 vertices and even simple graphs on n vertices. Given a simple graph G with V (G) = {v 1,, v n } we can construct a even simple graph of n vertices. We know that no of vertices of odd degree is even. Construct a new graph G with V (G ) = V (G) {v n } and E(G ) = E(G) {v i v n : v i V (G), deg G (v i ) is odd}. Then G is a even simple graph. Conversely given a even simple graph G we will get back G by G v n. Since in a simple graph of n 1 vertices can have atmost ( n 1 2 graph of n vertices is 2 (n 1 2 ). Exercise 10.1.2. 2 Matching ) edges thus no of even simple Exercise 10.2.3. Prove that a nonempty bipartite graph has a matching such that all vertices of maximal degree are saturated. Exercise 10.2.4. Show that the following obvious algorithm need not pro- duce a stable matching in a bipartite graph. Starting with any matching. If the current matching is not maximal, add an edge. If it is maximal but not stable, insert an edge that creates instability, deleting any current matching edges at its ends. Proof. Consider a bipartite graph G with bipartition {A, B} where A = {1, 2, 3, 4} and B = {a, b}. Consider preferences: 1 a 2 b 3 4 Let us consider the following matching: a : 3 > 2 > 1 > 4 b : 2 > 3 > 4 > 1 1 : b > a 2 : a > b 3 : b > a 4 : a > b 22

1 a 2 b 3 4 1 a 2 b 3 4 1 a 2 b 3 4 1 a 2 b 3 4 Notice that a prefers 2 over 1, and 2 prefers a, so this is not a stable matching. Delete the two edges consider 2a as new matching edge with another independent edge. Notice that a prefers 3 over 2, and 3 is unmatched, so this is not a stable matching. Again doing same operation. Notice that b prefers 3 over 4, and 3 also prefer b, so this is not a stable matching. Again doing same operation. Notice that b prefers 2 over 3, and 2 is unmatched, so this is not a stable matching. Again doing same operation. Hence we get looped back to where we started. 1 a 2 3 4 b Thus given algorithm need not produce a stable matching. 23

Exercise 10.2.5. A matching M in a graph is of maximal cardinality if and only if the graph has no augmenting path with respect to M. Exercise 10.2.6. Prove that every tree has atmost one perfect martching. Exercise 10.2.7. 3 Connectivity Exercise 10.3.8. Exercise 10.3.9. Let G be a biconnected graph with δ(g) 3. Prove that there exist a vertex v V (G) such that G v is also biconnected. Exercise 10.3.10. 4 Planar graph Exercise 10.4.11. Prove that every planar graph has a vertex of degree atmost 5. Exercise 10.4.12. Prove that there does not exist any 6-connected planar graph. Exercise 10.4.13. Prove that every planar 5-connected graph has atleast 12 vertices. Exercise 10.4.14. For which r there exist a planar r-regular graph. Exercise 10.4.15. Show that the petersen graph is not planar. 5 Colouring Exercise 10.5.16. Find chromatic number of graphs a) K n ; b) K n,m ; c) P n ; d) C n ; e) Petersen graph. Exercise 10.5.17. Prove that if every block of a graph is k-colorable then the graph is k-colorable. Exercise 10.5.18. Let G, H be any two graph. Show that χg H) = χ(g) + χ(h). Exercise 10.5.19. Prove that difference (G) χ(g) maybe arbitarily large. Exercise 10.5.20. Prove that the number of edges of a graph G is atleast χ(g)(χ(g) 1)/2. 24

Proof. Let 0 < i, j < χ(g) and i j. Then there exist an edge whose end vertices color with i and j, otherwise we can color G with lesser number of color then χ(g). Hence total no of edge is atleast ( ) χ(g) 2 = χ(g)(χ(g) 1). 2 Exercise 10.5.21. Find all counterexample to this statement: every connected graph G contains a vertex such that deg v χ(g) Exercise 10.5.22. 25

T 4 T 2 T 1 T 3 T 5 c a d a b d b 1 c Figure 3: Labeling of edges and identification of vertices in P. a b x 0 x 1 d c Figure 4: Sketch of A = π(bd P ). 26

11 Solved Exercise Reference List of Solved Exercises 1 The Basics 3 Exercise 1.1............ 3 Exercise 1.2............ 3 Exercise 1.3............ 3 Exercise 1.4............ 4 Exercise 1.5............ 4 Exercise 1.6............ 5 Exercise 1.7............ 6 Exercise 1.8............ 6 Exercise 1.10........... 6 Exercise 1.11........... 7 Exercise 1.12........... 7 Exercise 1.16........... 7 Exercise 1.17........... 7 Exercise 1.19........... 8 Exercise 1.23........... 8 Exercise 1.24........... 9 Exercise 1.26........... 9 2 Matching, Covering and Packing 10 Exercise 2.2............ 10 Exercise 2.3............ 10 Exercise 2.4............ 11 Exercise 2.5............ 11 Exercise 2.6............ 11 Exercise 2.8............ 12 Exercise 2.9............ 12 Exercise 2.10........... 12 Exercise 2.13........... 12 Exercise 2.14........... 12 Exercise 2.15........... 13 3 Connectivity 14 Exercise 3.4............ 14 Exercise 3.7............ 14 Exercise 3.9............ 15 Exercise 3.10........... 15 Exercise 3.11........... 16 Exercise 3.16........... 16 Exercise 3.17........... 16 Exercise 3.18........... 17 4 Planar Graphs 18 Exercise 4.5............ 18 Exercise 4.23........... 18 5 Colouring 19 Exercise 4.5............ 19 Exercise 4.6............ 19 Exercise 4.9............ 19 Exercise 4.10........... 20 Exercise 4.11........... 20 9 Ramsey Theory for Graphs 21 Exercise 9.6............ 21 Exercise 9.7............ 21 Exercise 9.8............ 21 10 Some Arbitary Problem 22 1 The Basics............. 22 2 Matching............. 22 3 Connectivity............ 24 4 Planar graph........... 24 5 Colouring............. 24 11 Solved Exercise Reference 27 27