Graph theory - solutions to problem set 1

Similar documents
Number Theory and Graph Theory

Discrete Wiskunde II. Lecture 6: Planar Graphs

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

HW Graph Theory SOLUTIONS (hbovik)

HW Graph Theory SOLUTIONS (hbovik) - Q

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.

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.

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

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.

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

1 Matchings in Graphs

Part II. Graph Theory. Year

5 Graphs

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

Assignment 4 Solutions of graph problems

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

Discrete Mathematics I So Practice Sheet Solutions 1

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

Math 776 Graph Theory Lecture Note 1 Basic concepts

Paths, Circuits, and Connected Graphs

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

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

Lecture 19 Thursday, March 29. Examples of isomorphic, and non-isomorphic graphs will be given in class.

Graph Theory Day Four

Introduction to Graph Theory

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

Two Characterizations of Hypercubes

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

Combinatorics Summary Sheet for Exam 1 Material 2019

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

WUCT121. Discrete Mathematics. Graphs

MAT 145: PROBLEM SET 6

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

Ma/CS 6b Class 5: Graph Connectivity

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

2. Lecture notes on non-bipartite matching

Problem Set 2 Solutions

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

Module 11. Directed Graphs. Contents

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

Extremal Graph Theory: Turán s Theorem

Assignment 1 Introduction to Graph Theory CO342

2. CONNECTIVITY Connectivity

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

Chromatic Transversal Domatic Number of Graphs

Math 170- Graph Theory Notes

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

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.

Solutions to Exercises 9

CMSC 380. Graph Terminology and Representation

Exercise set 2 Solutions

Answers to specimen paper questions. Most of the answers below go into rather more detail than is really needed. Please let me know of any mistakes.

On vertex-coloring edge-weighting of graphs

Lecture 20 : Trees DRAFT

GRAPH THEORY: AN INTRODUCTION

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.

Small Survey on Perfect Graphs

Roman Domination in Complementary Prism Graphs

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

Vertex-Colouring Edge-Weightings

11.1. Definitions. 11. Domination in Graphs

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

1 Matchings with Tutte s Theorem

Kuratowski Notes , Fall 2005, Prof. Peter Shor Revised Fall 2007

Finding Strongly Connected Components

6. Lecture notes on matroid intersection

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

Math.3336: Discrete Mathematics. Chapter 10 Graph Theory

INTRODUCTION TO GRAPH THEORY. 1. Definitions

Superconcentrators of depth 2 and 3; odd levels help (rarely)

Some Elementary Lower Bounds on the Matching Number of Bipartite Graphs

THE INSULATION SEQUENCE OF A GRAPH

MC302 GRAPH THEORY SOLUTIONS TO HOMEWORK #1 9/19/13 68 points + 6 extra credit points

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

PROBLEM SET 1 SOLUTIONS MAS341: GRAPH THEORY 1. QUESTION 1

CONNECTIVITY AND NETWORKS

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

Characterizations of Trees

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

Fundamental Properties of Graphs

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

Math 443/543 Graph Theory Notes 11: Graph minors and Kuratowski s Theorem

A note on isolate domination

Discrete Mathematics Course Review 3

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

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

Weak Dynamic Coloring of Planar Graphs

Potential Bisections of Large Degree

GEODETIC DOMINATION IN GRAPHS

5 Matchings in Bipartite Graphs and Their Applications

Matching Theory. Figure 1: Is this graph bipartite?

Subdivisions of Graphs: A Generalization of Paths and Cycles

Matching and Planarity

HOMEWORK 4 SOLUTIONS. Solution: The Petersen graph contains a cycle of odd length as a subgraph. Hence,

Planar graphs. Chapter 8

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 ( )

V10 Metabolic networks - Graph connectivity

ON THE STRUCTURE OF SELF-COMPLEMENTARY GRAPHS ROBERT MOLINA DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE ALMA COLLEGE ABSTRACT

Cycles of given size in a dense graph

Transcription:

Graph theory - solutions to problem set 1 1. (a) Is C n a subgraph of K n? Exercises (b) For what values of n and m is K n,n a subgraph of K m? (c) For what n is C n a subgraph of K n,n? (a) Yes! (you can check it by the definition of the subgraph given in the lecture, or just simply by the fact that K n has all the possible edges a graph on n vertices can have.) (b) We must have m = V (K m ) V (K n,n ) = n. On the other hand, by a similar reasoning as part (a), we get that the statement holds for all m, n with m n. (c) First, note that a bipartite graph cannot have any cycle of odd length, so n cannot be odd. For even n, one can check that K n,n has a cycle of length n.. Given a graph G with vertex set V = {v 1,..., v n } we define the degree sequence of G to be the list d(v 1 ),..., d(v n ) of degrees in decreasing order. For each of the following lists, give an example of a graph with such a degree sequence or prove that no such graph exists: (a) 3, 3,,,, 1 (b) 6, 6, 6,,, 3, 3 (a) There is no such graph; since by problem 5, the number of odd-degree vertices in a graph is always even. (b) Consider the following graph: 3. Construct two graphs that have the same degree sequence but are not isomorphic. Let G 1 be of a cycle on 6 vertices, and let G be the union of two disjoint cycles on 3 vertices each. In both graphs each vertex has degree, but the graphs are not isomorphic, since one is connected and the other is not.. A graph is k-regular if every vertex has degree k. Describe all 1-regular graphs and all -regular graphs. A 1-regular graph is just a disjoint union of edges (soon to be called a matching). -regular graph is a disjoint union of cycles. A

5. Prove that the number of odd-degree vertices in a graph is always even. Let G = (V, E) be an arbitrary graph. In the lecture we have proved that v V d(v) = E. Let V 1 V be the set of vertices of G which have odd degree and V = V \V 1 be the set of vertices of G which have even degree. We have that d(v) = d(v) + d(v) = E. v V 1 v V v V Since all the vertices in V have even degree, and E is even, we obtain that v V 1 d(v) is even. But since V 1 is the set of vertices of odd degree, we obtain that the cardinality of V 1 is even (that is, there are an even number of vertices of odd degree), which completes the proof. 6. How many (labelled) graphs exist on a given set of n vertices? How many of them contain exactly m edges? Since there are ( n ) possible edges on n vertices, and a graph may or may not have each of these edges, we get that there are (n ) possible graphs on n vertices. For the second problem, out of the ( ) ( n possible edges, we want to choose m ones. So there are ( n ) ) m possible graphs on n vertices and with m edges. Problems 7. Do graphs with the following degree sequences exist: (a) 6, 6, 6,,,, (b) 6, 6, 6, 6, 5,,, 1? (a) No, since otherwise we have 3 vertices of degree 6 which are adjacent to all other vertices of the graph; so each vertex in the graph must be of degree at least 3. (b) No! Note that each vertex of the degree 6 is adjacent to all but one other vertices. In particular, each such vertex is adjacent to at least one of v 1 and v (where d(v 1 ) = 1 and d(v ) = ). But that would mean at least four edges touching v 1 or v, contradicting d(v 1 ) + d(v ) = 3 <. 8. Let G be a graph with minimum degree δ > 1. Prove that G contains a cycle of length at least δ + 1. First, let s recall how we proceeded in the lecture to find a path of length at least δ: Let v 1 v k be a maximal path in G, i.e., a path that cannot be extended. Then any neighbor of v 1 must be on the path, since otherwise we could extend it. Since v 1 has at least δ(g) neighbors, the set {v,..., v k } must contain at least δ(g) elements. Hence k δ(g) + 1, so the path has length at least δ(g). Now in order to find a cycle of length at least δ + 1, we continue the proof above. The neighbor of v 1 that is furthest along the path must be v i with i δ(g) + 1. Then v 1 v i v 1 is a cycle of length at least δ(g) + 1. 9. How many (labelled) graphs on the vertex set {1,..., n} are isomorphic to P n? How many are isomorphic to C n? Consider the problem for P n. Note that each such a graph is of the form σ(1)σ()... σ(n) for some permutation σ of {1,,..., n}. On the other hand, the graphs formed by σ(1)σ()... σ(n) and σ(n)σ(n 1)... σ(1) are just the same. (Check the figure for n = 5) Since there are n! permutations in total, we get n!/ distinct labeled graphs which are isomorphic to P n.

Figure 1: these two graphs are the same Figure : these 8 graphs are all the same For C n, the following forms all give the same graph for a fixed permutation σ: (Check the figure for n = ) σ(1)σ()... σ(n)σ(1), σ()σ(3)... σ(1)σ(),..., σ(n)σ(1)... σ(n 1)σ(n), σ(n)σ(n 1)... σ(1)σ(n), σ(1)σ(n)... σ()σ(1),..., σ(n 1)σ(n )... σ(n)σ(n 1), So we get n! n = (n 1)! distinct labeled graphs which are isomorphic to C n. 10. Show that every graph on at least two vertices contains two vertices of equal degree. Suppose that the n vertices all have different degrees, and look at the set of degrees. Since the degree of a vertex is at most n 1, the set of degrees must be {0, 1,,..., n, n 1}. But that s not possible, because the vertex with degree n 1 would have to be adjacent to all other vertices, whereas the one with degree 0 is not adjacent to any vertex. 11. For every n 6, find a graph on n vertices, and n + edges that contains exactly 6 cycles. Solution 1. What is the maximum number of edges in a bipartite graph on n vertices? (Prove your answer.) Let G = (A B, E) be a bipartite graph, with A, B disjoint and A + B = n. Since all the edges of G have one endpoint in A and the other in B, the number of edges E of G cannot 3

exceed the number of pairs (a, b) A B, so E A B = A (n A ). Intuitively, such a product is maximized when the two factors are equal, so when A = n/. More formally, we can use the inequality xy (x + y) to get E A (n A ) ( A + n A ) = n. Therefore, the number of edges of a bipartite graph on n edges is at most n /. Note that n / is exactly the maximum when n is even, because then it is attained by the complete bipartite graph K n/,n/. When n is odd, the maximum is actually n n = n 1, which is attained by K n/, n/. 13. (a) 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. (b) Prove the same statement with k instead of k. (a) The condition is a bit cryptic; another way of putting it is that there are two vertices v 1, v m, with two disjoint paths between them, and a third path of length k. If the third path was disjoint from the other two, we would obviously have a cycle of length k, but when the paths intersect there is trouble. We can picture the resulting subgraph like this (leaving out degree- vertices along the paths, so edges here are actually longer paths): v v m 1 v 1 v m v n v m+1 Note that one possibility not reflected in this picture is that the middle path might have edges in common with one of the other paths. Let C = v 1 v v n v 1 be the original cycle, so its length is n. We can partition the middle path into chords H 1,..., H p, where H i is a path v i v j that only intersects C in v i and v j. Let l i be the length of H i. If the middle path has an edge in common with one of the other paths, we simply take that edge as an H i (technically not a chord, but it has the same properties that we need in the rest of the proof). Observe that each chord H i, combined with part of C, gives a cycle of length l i. Also, we have p n, since each chord has a unique first point on C (in an arbitrary direction along the path from v 1 to v m ). We can assume that n < k, since otherwise we d be done. Then suppose that l i < k for all i. That would mean that k = l i p k n k < k k = k, which is a contradiction. Therefore some l i k, so that H i together with part of C gives a cycle of length k. (b) First of all, each chord H i cuts C in two, and the larger part has n/ n/ edges, so in fact we get a cycle with l i + n/ edges. The average length of a chord H i is k p > k n. Since they can t all be smaller than the average, some H i must have length l i k n. Then the cycle we get from it has length k n + n. Let s optimize the function f(x) = k x + x using calculus: f (x) = k x + 1, so the only positive extremum is x = k,

which is a minimum. So of all the n, we get the smallest cycle for n = k, and then the length of that cycle is still k k + k = k. Hence we are guaranteed to have a cycle of length k. 5