Math 485, Graph Theory: Homework #3

Similar documents
DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

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

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

Definition: A graph G = (V, E) is called a tree if G is connected and acyclic. The following theorem captures many important facts about trees.

implementing the breadth-first search algorithm implementing the depth-first search algorithm

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.

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

Math 15 - Spring Homework 2.6 Solutions 1. (2.6 # 20) The following graph has 45 vertices. In Sagemath, we can define it like so:

Exercise set 2 Solutions

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.

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

Lecture 10 Graph algorithms: testing graph properties

Lecture 22 Tuesday, April 10

The Matrix-Tree Theorem and Its Applications to Complete and Complete Bipartite Graphs

Graphs and networks Mixed exercise

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

Math 776 Graph Theory Lecture Note 1 Basic concepts

Math236 Discrete Maths with Applications

In this lecture, we ll look at applications of duality to three problems:

Number Theory and Graph Theory

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

Solution to Graded Problem Set 4

Chapter 3 Trees. Theorem A graph T is a tree if, and only if, every two distinct vertices of T are joined by a unique path.

STUDENT NUMBER: MATH Final Exam. Lakehead University. April 13, Dr. Adam Van Tuyl

5 Matchings in Bipartite Graphs and Their Applications

v V Question: How many edges are there in a graph with 10 vertices each of degree 6?

MAT 145: PROBLEM SET 6

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 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.

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

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

Characterizations of Trees

Ma/CS 6b Class 5: Graph Connectivity

Discrete Mathematics, Spring 2004 Homework 8 Sample Solutions

Treewidth and graph minors

managing an evolving set of connected components implementing a Union-Find data structure implementing Kruskal s algorithm

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

INTRODUCTION TO GRAPH THEORY. 1. Definitions

CS525 Winter 2012 \ Class Assignment #2 Preparation

14 More Graphs: Euler Tours and Hamilton Cycles

Fundamental Properties of Graphs

Part II. Graph Theory. Year

Generalized Pebbling Number

CME 305: Discrete Mathematics and Algorithms Instructor: Reza Zadeh HW#3 Due at the beginning of class Thursday 02/26/15

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

Notes 4 : Approximating Maximum Parsimony

Math Summer 2012

Week 11: Minimum Spanning trees

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

Assignment 4 Solutions of graph problems

v 1 v 2 r 3 r 4 v 3 v 4 Figure A plane embedding of K 4.

CSE 21 Mathematics for Algorithm and System Analysis

Mathematics and Statistics, Part A: Graph Theory Problem Sheet 1, lectures 1-4

MATH20902: Discrete Maths, Solutions to Problem Set 1. These solutions, as well as the corresponding problems, are available at

Ma/CS 6b Class 13: Counting Spanning Trees

University of Toronto Department of Mathematics

Final Exam Math 38 Graph Theory Spring 2017 Due on Friday, June 2, at 12:50 pm. Good Luck!!

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

Solutions to In-Class Problems Week 4, Fri

Planarity: dual graphs

Theory of Computing. Lecture 10 MAS 714 Hartmut Klauck

Discrete mathematics

1 Matching in Non-Bipartite Graphs

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

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

Characterizations of graph classes by forbidden configurations

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

7.3 Spanning trees Spanning trees [ ] 61

REGULAR GRAPHS OF GIVEN GIRTH. Contents

Recursion and Structural Induction

arxiv: v4 [math.co] 4 Apr 2011

2. CONNECTIVITY Connectivity

On median graphs and median grid graphs

Paths, Flowers and Vertex Cover

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings

To illustrate what is intended the following are three write ups by students. Diagonalization

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

Assignment # 4 Selected Solutions

11.4 Bipartite Multigraphs

Student Name and ID Number. MATH 3012 Final Exam, December 11, 2014, WTT

5 Graphs

Minimum Spanning Trees

Lecture 1. 1 Notation

Bounds on the signed domination number of a graph.

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.

K 4,4 e Has No Finite Planar Cover

2. Lecture notes on non-bipartite matching

11.9 Connectivity Connected Components. mcs 2015/5/18 1:43 page 419 #427

Planar graphs. Chapter 8

Dist(Vertex u, Vertex v, Graph preprocessed) return u.dist v.dist

Math.3336: Discrete Mathematics. Chapter 10 Graph Theory

arxiv: v2 [math.co] 13 Aug 2013

Computer Science 280 Fall 2002 Homework 10 Solutions

Artificial Intelligence

2 Eulerian digraphs and oriented trees.

Lecture 20 : Trees DRAFT

Hamiltonian cycles in bipartite quadrangulations on the torus

MATH 139 W12 Review 1 Checklist 1. Exam Checklist. 1. Introduction to Predicates and Quantified Statements (chapters ).

Transcription:

Math 485, Graph Theory: Homework #3 Stephen G Simpson Due Monday, October 26, 2009 The assignment consists of Exercises 2129, 2135, 2137, 2218, 238, 2310, 2313, 2314, 2315 in the West textbook, plus the following, where L n is the n-ladder 1 Find a recursion formula for τ(l n ) 2 Use your recursion to calculate τ(l n ) for n = 1, 2,, 10 3 Solve your recursion to get an explicit formula for τ(l n ) τ(l n+1 ) 4 Find lim n τ(l n ) Each exercise counts for 10 points Here are some (rather sketchy) solutions 2129 Let T be a tree T is bipartite, so let X and Y be the partite sets Assume that X contains at least half of the vertices of T We are to show that X contains at least one leaf of T (A leaf is a vertex of degree 1) Let X denote the number of vertices in X, and similarly for Y On the one hand, T is a tree, so the number of edges in T is equal to the number of vertices minus one, ie, X + Y 1 On the other hand, since X is one of the partite sets, the number of edges in T is equal to the sum of the degrees of the vertices in X Thus we have X + Y 1 = x X deg(x) If X contains no leaves, then for each x X we have deg(x) 2, hence X + Y 1 2 X, hence X Y 1, ie, X contains less than half of the vertices, QED Here is an alternative proof which does not use the degree sum formula Let X and Y be as above and assume that X contains no leaves Let r be one of the leaves, and designate r as the root of the tree For all vertices v other than r, define p(v) = the predecessor of v, ie, the unique vertex 1

which is adjacent to v and lies on the unique path from v to the root Because X contains no leaves, it is easy to see that the function p maps Y r onto X Hence Y 1 X, ie, X contains less than half of the vertices, QED 2135 Let T be a tree We are to prove: All vertices of T are of odd degree if and only if, for each edge e T, each component of T e has an odd number of vertices : Assume that all vertices of T are of odd degree Let T 1 be one of the components of T e Then T 1 has exactly one vertex of even degree But, by the degree sum formula, T 1 has an even number of vertices of odd degree Therefore, the total number of vertices of T 1 is odd : Assume that for each edge e of T, each component of T e has an odd number of vertices Let n be the total number of vertices in T Since T e has exactly two components, n is even Let v be any vertex of T Let T 1,, T k be the components of T v, and let n 1,, n k be the number of vertices in T 1,, T k respectively Note that k is the degree of v Our assumption implies that each n i is odd On the other hand, n is even, and n = 1 + k i=1 n i It follows that k is odd, QED 2137 Assume that T and T are two spanning trees of a graph G Let e be any edge of T which is not an edge of T Let u and v be the end vertices of e, let T u and T v be the components of T e containing u and v respectively, and let P be the unique uv-path in T Clearly P contains at least one edge e with one end vertex in T u and the other in T v It follows that T e + e = T u + T v + e is a spanning tree of G Let u and v be the end vertices of e lying in T u and T v respectively Let T u and T v be the components of T e containing u and v respectively Since u lies in T u while v lies in T v, it follows that T e + e = T u + T v + e is a spanning tree of G 2218 The Matrix Tree Theorem tells us that τ(k r,s ) is the determinant r 0 1 1 0 r 1 1 1 1 s 0 1 1 0 s where there are s occurrences of r and r 1 occurrences of s Adding all 2

of the other rows to the first row, we obtain 1 1 0 0 0 r 1 1 1 1 s 0 1 1 0 s where now there are only s 1 occurrences of r Adding the first row to each of the last r 1 rows, we obtain 1 1 0 0 0 r 1 1 0 0 s 0 0 0 0 s and this is upper triangular, so the determinant is the product of the diagonal entries Thus τ(k r,s ) = r s 1 s r 1 238 We are to prove that, in a weighted graph, any two minimum-weight spanning trees have the same list of edge weights This follows from Exercise 2313 below, where T and T are spanning trees but only T is assumed to be a minimum-weight spanning tree Now we are considering the special case where both T and T are minimum-weight spanning trees In this case, the solution of 2313 shows that the edges e and e have the same weight Thus, replacing T by T e + e does not change the list of edge weights 2310 The justification of Prim s Algorithm is similar to the justification of Kruskal s Algorithm 2313 In a weighted graph, let T be a minimum-weight spanning tree and let T be a spanning tree other than T Since T and T have the same number of edges, let e be an edge in T which is not in T By Exercise 2137 above, let e be an edge of T which is not in T and such that T e + e and T e +e are spanning trees Since T is a minimum-weight spanning tree, the weight of T is the weight of T e + e, hence the weight of e is the weight of e, hence the weight of T e +e is the weight of T Replacing T by T e +e we move T closer to T (in the sense that T and T now have one more edge in common) and this move does not increase the weight of T A finite sequence of moves of this kind transforms T into T without increasing the weight 3

2314 Let G be a weighted graph, let C be a cycle, and let e be an edge of maximum weight in C The claim is that there exists a minimum-weight spanning tree of G which does not contain e Let T be a minimum-weight spanning tree of G If T does not contain e, we are done If T contains e, let u and v be the end-vertices of e, and let T u and T v be the components of T which contain u and v respectively Since C e is a uv-path, let e be an edge of C e which has one of its end-vertices in T u and the other in T v Then T e + e is a spanning tree of G Since e is of maximum weight in C, the weight of e is the weight of e Hence, the weight of T e + e is the weight of T Since T is a minimum weight spanning tree of G, it follows that T is also a minimum weight spanning tree of G This proves the claim The above claim justifies the following reverse Kruskal algorithm Let G be a connected weighted graph Begin with G 0 = G Given G i, if G i is a tree let k = i and stop Otherwise, let G i+1 = G i e i where e i is a non-cut-edge of G i of maximum weight Since e i belongs to a cycle of G i, the above claim tells us that G i+1 contains a minimum-weight spanning tree of G i Hence by induction G i contains a minimum-weight spanning tree of G The algorithm stops after a finite number of steps, and then G k is a minimum-weight spanning tree of G 2315 In a weighted graph, let T be a minimum-weight spanning tree, and let C be a cycle The claim is that T omits at least one of the maximum-weight edges of C Suppose otherwise, ie, T includes all of the maximum-weight edges of C Let e be one of these maximum-weight edges, let u and v be the end-vertices of e, and let T u and T v be the components of T e which contain u and v respectively Since C e is a uv-path, let e be an edge in C e with one end-vertex in T u and the other in T v Then T e + e is a spanning tree Since e does not belong to T, it is not among the maximum-weight edges of C Therefore, the weight of e is < the weight of e It follows that the weight of T e + e is < the weight of T Thus T is not a minimum-weight spanning tree, a contradiction For the last part of the assignment, let L n be the n-ladder Using the method of deleting and contracting edges, we obtain the recursion formula τ(l n ) = 4τ(L n 1 ) τ(l n 2 ) for all n 3 Since τ(l 1 ) = 1 and τ(l 2 ) = 4, it follows that τ(l 3 ) = 15, τ(l 4 ) = 56, τ(l 5 ) = 209, τ(l 6 ) = 780, τ(l 7 ) = 2911, τ(l 8 ) = 10864, τ(l 1 ) = 40545, τ(l 10 ) = 151316 Note also that our recursion formula holds for n = 2 if we define τ(l 0 ) = 0 Using this, we can solve the recursion to get τ(l n ) = 1 ( 2 2 + ) n 1 ( 3 3 2 2 n 3) 3 4

Since 0 < 2 3 < 1 < 2 + 3, it is clear that τ(l n+1 ) lim = 2 + 3 n τ(l n ) since ( 2 3 ) n is negligible for large n 5