DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

Similar documents
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

Math 485, Graph Theory: Homework #3

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

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

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.

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

Graph Theory Day Four

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

HW Graph Theory SOLUTIONS (hbovik) - Q

HW Graph Theory SOLUTIONS (hbovik)

Assignment 4 Solutions of graph problems

Ma/CS 6b Class 5: Graph Connectivity

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.

Matching Theory. Figure 1: Is this graph bipartite?

5 Graphs

Math 776 Graph Theory Lecture Note 1 Basic concepts

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

Number Theory and Graph Theory

Professor: Padraic Bartlett. Lecture 9: Trees and Art Galleries. Week 10 UCSB 2015

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:

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.

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

Discrete Wiskunde II. Lecture 6: Planar Graphs

Subdivisions of Graphs: A Generalization of Paths and Cycles

8.2 Paths and Cycles

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

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

Math 170- Graph Theory Notes

Problem Set 2 Solutions

Lecture 4: Trees and Art Galleries

Assignment # 4 Selected Solutions

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

Characterizations of Trees

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

Matching and Factor-Critical Property in 3-Dominating-Critical Graphs

Bipartite Roots of Graphs

Vertex-Colouring Edge-Weightings

Planar graphs. Chapter 8

Exercise set 2 Solutions

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.

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

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

Math 454 Final Exam, Fall 2005

Math236 Discrete Maths with Applications

Planar graphs. Math Prof. Kindred - Lecture 16 Page 1

These are not polished as solutions, but ought to give a correct idea of solutions that work. Note that most problems have multiple good solutions.

Math 777 Graph Theory, Spring, 2006 Lecture Note 1 Planar graphs Week 1 Weak 2

Graph Definitions. In a directed graph the edges have directions (ordered pairs). A weighted graph includes a weight function.

The Structure of Bull-Free Perfect Graphs

5 Matchings in Bipartite Graphs and Their Applications

Planarity: dual graphs

Ma/CS 6b Class 26: Art Galleries and Politicians

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

Module 11. Directed Graphs. Contents

Two Characterizations of Hypercubes

Edge colorings. Definition The minimum k such that G has a proper k-edge-coloring is called the edge chromatic number of G and is denoted

DOUBLE DOMINATION CRITICAL AND STABLE GRAPHS UPON VERTEX REMOVAL 1

Fundamental Properties of Graphs

Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1

Lecture 20 : Trees DRAFT

1 Some Solution of Homework

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

Paths, Flowers and Vertex Cover

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

Solution to Graded Problem Set 4

On vertex-coloring edge-weighting of graphs

ASSIGNMENT 4 SOLUTIONS

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

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

Edge Colorings of Complete Multipartite Graphs Forbidding Rainbow Cycles

On median graphs and median grid graphs

EDGE MAXIMAL GRAPHS CONTAINING NO SPECIFIC WHEELS. Jordan Journal of Mathematics and Statistics (JJMS) 8(2), 2015, pp I.

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

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

Vertex coloring, chromatic number

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

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

A taste of perfect graphs (continued)

MAT 145: PROBLEM SET 6

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

Combinatorics Summary Sheet for Exam 1 Material 2019

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

Complete Cototal Domination

WORM COLORINGS. Wayne Goddard. Dept of Mathematical Sciences, Clemson University Kirsti Wash

1. Chapter 1, # 1: Prove that for all sets A, B, C, the formula

Rigidity, connectivity and graph decompositions

Graph theory - solutions to problem set 1

Eulerian subgraphs containing given edges

Lecture 4: Walks, Trails, Paths and Connectivity

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

Sharp lower bound for the total number of matchings of graphs with given number of cut edges

THE INSULATION SEQUENCE OF A GRAPH

Vertex coloring, chromatic number

Let G = (V, E) be a graph. If u, v V, then u is adjacent to v if {u, v} E. We also use the notation u v to denote that u is adjacent to v.

Part II. Graph Theory. Year

Independence Number and Cut-Vertices

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

Recognizing Interval Bigraphs by Forbidden Patterns

Transcription:

Professor Kindred Math 104, Graph Theory Homework 2 Solutions February 7, 2013 Introduction to Graph Theory, West Section 1.2: 26, 38, 42 Section 1.3: 14, 18 Section 2.1: 26, 29, 30 DO NOT RE-DISTRIBUTE THIS SOLUTION FILE 1.2.26 Prove that a graph G is bipartite if and only if every subgraph H of G has an independent set consisting of at least half of V(H). ( ) Let G be a bipartite graph. By def n, G has a bipartition X, Y such that X and Y are independent sets (though not necessarily maximum independent sets). Without loss of generality, assume X Y. Then so X contains at least half of V(G). X = 1 2 ( X + X ) 1 2 ( X + Y ) = 1 2 V(G), Since every subgraph of a bipartite graph is bipartite, the above argument applies to all subgraphs of a bipartite graph. ( ) For the converse, we prove the contrapositive statement, so suppose that G is not bipartite. By the characterization of bipartite graphs, G contains an odd cycle H. This subgraph H has no independent set containing at least half its vertices, because every set consisting of at least half the vertices in an odd cycle must have two consecutive vertices on the cycle. 1.2.38 Prove that every n-vertex graph with at least n edges contains a cycle. Proof 1: Suppose, to the contrary, that G is an n-vertex graph with at least n edges that does not contain a cycle. By Theorem 1.2.14, every edge of G is a cut-edge, and this remains true as edges are deleted from G (since removing an edge of G cannot create cycles). Thus, deleting all edges produces at least n + 1 components, but G has only n vertices. Therefore, it must be that G contains a cycle. 1

Proof 2: We prove the statement by induction on n. Base case: The only simple graph on 3 vertices with 3 edges is K 3, which clearly contains a cycle (of length 3). Induction hypothesis: Suppose any graph on n vertices with at least n edges, where n 3, has a cycle. Let G be a graph on n + 1 vertices with at least n + 1 edges. We consider two cases. Case 1: G has a vertex v of degree at most 1. Then G v has n vertices and at least n edges, so by the induction hypothesis, G v must have a cycle, and this cycle also appears in G. Case 2: All vertices in G are of degree at least 2. Then, by Lemma 1.2.25, it follows that G must contain a cycle. In both cases, we conclude that G has a cycle, and so the result holds by induction. 1.2.42 Let G be a connected (simple) graph that does not have P 4 or C 4 as an induced subgraph. Prove that G has a vertex adjacent to all other vertices. 1 Assume G is a connected graph that does not have P 4 or C 4 as an induced subgraph. Let v be a vertex of maximum degree. Assume, for sake of contradiction, that there exists a vertex z not adjacent to v. Since G is connected, there exists a v, z-path, so consider a shortest one and call it P. x y z v w dashed line -- edge does not exist open circle -- vertex may or may not exist Suppose P is v, x, y,..., z, where y may be z. (See above figure.) Since d(v) d(x), there must be a neighbor w of v such that x w. If not, then d(x) d(v) + 1 = (G) + 1, which is impossible. Also, since P is a shortest v, z-path, we know that v y. Then G[{w, v, x, y}] is either a path of length 4 (if w y) or a cycle of length 4 (if w y). It must be that v is adjacent to all other vertices. 1 In the textbook, the problem statement has a hint look it up if you need it! 2

1.3.14 Prove that every simple graph with at least two vertices has two vertices of equal degree. Is the conclusion true for loopless graphs (i.e., graph may have multiple edges)? Let G be a graph on n 2 vertices. For any vertex v, d(v) is an integer with 0 d(v) n 1. Furthermore, if there exists a vertex of degree 0 (an isolated vertex), then there can be no vertex of degree n 1, since such a vertex would have to be adjacent to the isolated vertex. Thus, either the vertex degrees are in the set {0, 1,..., n 2} or {1, 2,..., n 1}, both of which are of size n 1. Since we have n vertices to which we need to assign n 1 different values for degrees, by the pigeonhole principle, there must be two vertices with the same degree. The conclusion is NOT TRUE for loopless graphs. To see this, consider the following graph in which no two vertices have equal degrees (degrees are 1, 2, 3). 1.3.18 For k 2, prove that a k-regular bipartite graph has no cut edge. Suppose G is a k-regular bipartite graph, where k 2. Assume BWOC that G has a cut edge uv. Let X, Y be a bipartition of G, and WLOG, assume that u X and v Y. Let H be the component of G uv containing u. All vertices in H have the same degree as they did in G (degree k) except for vertex u which has degree k 1. If S = X V(H) and T = Y V(H), then S, T is a bipartition of H, and we have k S 1 = (k 1) + k( S 1) = d H (w) = E(H) = d H (w) = k T. w S w T We know that s = S and t = T are integers, so ks 1 = kt = k (s t) = 1 }{{} Z since k 2 is an integer. Thus, it must be that G has no cut edge. 2.1.26 For n 3, let G be an n-vertex graph such that every graph obtained by deleting one vertex is a tree. Determine E(G), and use this to determine G itself. Suppose a graph G = (V, E) has n vertices, and assume G v is a tree for all v V. Then it follows that for any vertex v, E(G v) = V(G v) 1 = (n 1) 1 = n 2. 3

Furthermore, every edge uw of G appears in exactly n 2 of the subgraphs {G v : v V} (all except G u and G w). Thus, We conclude that E(G) = n. (n 2) E(G) = E(G v) = (n 2) = n(n 2). v V v V By problem 1.2.38, since G has n edges, we know G must contain a cycle. Because G v contains no cycles, any cycle in G must contain v, implying that every cycle in G contains every vertex. Thus, we know G has a spanning cycle and since a spanning cycle contains n edges, G has no edges beyond those in the spanning cycle. Thus, we conclude that G is C n. 2.1.29 Every tree is bipartite. Prove that every tree has a leaf in its larger partite set (in both if they have equal size). Let X and Y be the parts of a bipartition of V(T) for a tree T with X Y. Suppose there are k leaves in X. Note that because T is a tree, T is connected, so there are no isolated vertices in T, i.e., vertices that are not leaves have degree at least 2. Then 2 X k = k + 2( X k) d(v) v X = E(T) since every edge of T has exactly one endpoint in X = V(T) 1 because T is a tree = X + Y 1 X + X 1 since X Y = 2 X 1. Solving for k, we find that k 1. Thus, T has at least one leaf in its larger part. 2.1.30 Let T be a tree in which all vertices adjacent to leaves have degree at least 3. Prove that T has some pair of leaves with a common neighbor. We give four proofs below (though only one is required). Let T be a tree in which all vertices adjacent to leaves have degree at least 3. extremality Consider a longest path P in T. Let u be an endpoint of this path, and let v be u s neighbor in P. Since u is a leaf (P is a longest path, T is acyclic), by our previous assumption, d(v) 3. Since v has only two neighbors in P, there exists a vertex w not in P that is adjacent to v. If w has a neighbor x = v, then replacing (u, v) with (x, w, v) in P yields a longer path than P (x cannot be a vertex of P already since T is acyclic), so such a vertex x cannot exist. Thus, d(w) = 1, and u and w are a pair of leaves with a common neighbor. 4

contradiction Suppose, BWOC, that all leaves have different neighbors. Deleting all leaves reduces degree of each neighbor of a leaf by 1. All neighbors had degree at least 3 to begin with, so after deletion of leaves they have degree at least 2. The resulting graph is still a tree but has no leaves. counting Suppose T has k leaves, and let p be the number of vertices that are adjacent to leaves. (We claim that p < k.) Using the degree-sum formula, we have 2n 2 = 2 E(T) = Solving for p, we obtain d(v) k + 3p + 2(n k p) = k + 2n + p. v V(T) p k 2 < k. Thus, there are more leaves than neighbors of leaves, so by the pigeonhole principle, it must be that there exists a pair of leaves with a common neighbor. induction Proof omitted, but such a proof is possible. 5