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

Similar documents
DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

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

Math 170- Graph Theory Notes

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

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.

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

Fundamental Properties of Graphs

Number Theory and Graph Theory

Network flows and Menger s theorem

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

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

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

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.

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

Matching Theory. Figure 1: Is this graph bipartite?

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

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

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

Lecture 20 : Trees DRAFT

Exercise set 2 Solutions

A taste of perfect graphs (continued)

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

Math 776 Graph Theory Lecture Note 1 Basic concepts

γ(ɛ) (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 485, Graph Theory: Homework #3

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.

V10 Metabolic networks - Graph connectivity

Lecture 8: PATHS, CYCLES AND CONNECTEDNESS

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

Subdivisions of Graphs: A Generalization of Paths and Cycles

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

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

Graph Connectivity G G G

Lecture 22 Tuesday, April 10

1 Matchings in Graphs

Lecture 3: Graphs and flows

Chapter 3: Paths and Cycles

Planarity: dual graphs

Matchings. Examples. K n,m, K n, Petersen graph, Q k ; graphs without perfect matching. A maximal matching cannot be enlarged by adding another edge.

8.2 Paths and Cycles

2. CONNECTIVITY Connectivity

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

1 Some Solution of Homework

6. Lecture notes on matroid intersection

Math 443/543 Graph Theory Notes 5: Planar graphs and coloring

Assignment # 4 Selected Solutions

14 More Graphs: Euler Tours and Hamilton Cycles

Paths, Flowers and Vertex Cover

MATH 350 GRAPH THEORY & COMBINATORICS. Contents

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

8 Colouring Planar Graphs

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

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings

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

Lecture 2 - Graph Theory Fundamentals - Reachability and Exploration 1

1 Digraphs. Definition 1

HW Graph Theory SOLUTIONS (hbovik)

5 Graphs

1 Matching in Non-Bipartite Graphs

Basics of Graph Theory

Introduction to Graph Theory

The University of Sydney MATH2969/2069. Graph Theory Tutorial 2 (Week 9) 2008

Assignment 4 Solutions of graph problems

Topics in Combinatorial Optimization February 5, Lecture 2

Week 9-10: 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.

Ma/CS 6b Class 5: Graph Connectivity

Math.3336: Discrete Mathematics. Chapter 10 Graph Theory

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

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

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

2. Lecture notes on non-bipartite matching

Problem Set 2 Solutions

Planar graphs. Chapter 8

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

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

Math 443/543 Graph Theory Notes

MAT 145: PROBLEM SET 6

Kruskal s MST Algorithm

Part II. Graph Theory. Year

Discrete Wiskunde II. Lecture 6: Planar Graphs

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

Discrete mathematics

Notes for Recitation 8

On median graphs and median grid graphs

Rigidity, connectivity and graph decompositions

Characterizations of Trees

Lecture 4: Trees and Art Galleries

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs

Two remarks on retracts of graph products

Collapsible biclaw-free graphs

Chapter 2 Graphs. 2.1 Definition of Graphs

Pebble Sets in Convex Polygons

Trail Making Game. Hyun Sung Jun Jaehoon Kim Sang-il Oum Department of Mathematical Sciences KAIST, Daejeon, , Republic of Korea.

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

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

REGULAR GRAPHS OF GIVEN GIRTH. Contents

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

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

5.1 Min-Max Theorem for General Matching

Transcription:

Graph fundamentals Bipartite graph characterization Lemma. If a graph contains an odd closed walk, then it contains an odd cycle. Proof strategy: Consider a shortest closed odd walk W. If W is not a cycle, then it has a repeated vertex x that is not the first/last one, i.e., W is u,..., x,..., x,..., u. Notice there are two closed walks shorter than W (namely, x,..., x on inside and u,..., x,..., u using outside portions). Can you say something analogous to the above lemma for a closed even walk? How about a closed even trail? 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 Theorem (König). A graph is bipartite if and only if it has no odd cycle. Proof. ( ) If G is bipartite with bipartition X, Y of the vertices, then any cycle C has vertices that must alternately be in X and Y. Thus, since a cycle is closed, C must have an even number of vertices and hence is an even cycle. ( ) First, we prove the result in the case where G is connected. Assume G has no odd cycle. Let u V (G) be an arbitrary vertex. Partition all other vertices based on the parity of distance (even or 1 Note: If no u, v-path exists, we say that d(u, v) = (or sometimes it is said to be undefined). Math 104 - Prof. Kindred - Lecture 3 Page 1

odd) from u. That is, let X = {v V (G) : d(u, v) is even}, Y = {v V (G) : d(u, v) is odd}. Clearly, X Y = and X Y = V (G) since G is connected. We claim that X, Y is a bipartition of G. Suppose not then there exists an edge incident to two vertices of X or an edge incident to two vertices of Y. Without loss of generality, assume the former. Let x 1, x 2 X and x 1 x 2. It follows that x 1 X = u, x 1 -path P 1 of even length, x 2 X = u, x 2 -path P 2 of even length. Concatenate u, x 1 -path P 1, the edge x 1 x 2, and the x 2, u-path P 2 1 to obtain a closed odd walk. By the previous lemma, the graph must contain an odd cycle. Hence, it must be the case the X, Y is a valid bipartition, so G is bipartite. Exercise: Finish proof in the case where G is a disconnected graph. Corollary. A graph G is bipartite if and only if the adjacency matrix A of G satisfies trace A k = 0 for k = 3, 5, 7,..., 2 n 2 1. We can make the corollary stronger by simply requiring trace A r = 0 where r = 2 n 2 1 (the largest odd integer less than or equal to n). Math 104 - Prof. Kindred - Lecture 3 Page 2

Induction trap The following result follows immediately from the degree-sum formula. Lemma. Every graph has an even number of vertices of odd degree. We will use the above lemma on our way to proving a property of 3- regular connected graphs. Consider the following 3-regular graphs (cubic graphs): Note that none of them have any cut edges. (Also, all have an even # of vtcs.) Claim: No 3-regular connected graph has a cut edge. Proof. We give a proof by induction on k, where 2k is the # of vtcs in the graph. Base case: The smallest 3-regular graph is K 4, which is connected. Since every edge of K 4 appears in a cycle, by the previous thm, K 4 has no cut edges, and so the base case holds. Induction hypothesis: Assume that a 3-regular, connected graph G with 2k vertices, for k 2, has no cut edges. Math 104 - Prof. Kindred - Lecture 3 Page 3

We obtain a 3-regular, connected graph G with 2(k + 1) vertices by an expansion operation: subdivide two edges of G (i.e., replace the edges by paths of length 2 through new vtcs.), and add an edge joining the two new vertices. = Since G was connected, the expanded graph G is also connected. Any u, v-path that existed in G that traversed a subdivided edge simply became longer in G, and a path to a new vertex x in G can be built from a path in G to a neighbor of x. Furthermore, since G was assumed to have no cut edges, we know every edge of G lies on a cycle. These cycles are still present in G (some may be longer). The new edge xy also belongs to a cycle in G that uses a path in G between edges that were subdivided. It follows from our previous thm that G has no cut edges. Thus, by induction, every 3-regular connected graph has no cut edges. However, the claim is false!! Where is the flaw in the proof by induction? The previous proof fails because not every 3-regular connected graph can be constructed from K 4 via expansions. Math 104 - Prof. Kindred - Lecture 3 Page 4

Counterexample to claim: e Induction trap: if the inductive step builds an instance with the new value of parameter from a smaller instance, then we must prove that all instances with the new value have been considered. Math 104 - Prof. Kindred - Lecture 3 Page 5

New topic (moving on from graph fundamentals) to... trees! Trees Definitions A tree is a connected, acyclic graph. A forest is an acyclic graph, i.e., a disjoint union of trees. A leaf is a vertex of degree one. A spanning tree of a graph G is a spanning subgraph of G that is a tree. Example All trees on 5 vertices Example Spanning trees of wheel graph on 6 vertices Properties of trees Have students brainstorm and generate properties of trees. Do all trees have leaves? (Only exception is K 1.) Proposition. Let T be a tree with at least two vtcs. Then T has a leaf. Proof. Let P = (u, v 1, v 2,..., v k 1, v) be a longest path in T. We claim that u and v are leaves. Suppose, BWOC, that u is not a leaf. Math 104 - Prof. Kindred - Lecture 3 Page 6

Then u has a neighbor in T other than v 1, say w. Since T is acyclic, w V (P ). So (w, u, v 1,..., v k 1, v) is a longer path than P. Thus, u and, by the same argument, v are leaves of T. Proposition. Let T be a tree with leaf v. Then T v is a tree. Proof sketch. Acyclic: T acyclic T v acyclic Connected: For u, w V (T ) v, if a u, w-path in T contains v, then v has degree 2. These two propositions are the foundation for the standard proof by induction for trees. This proof technique is used for the next result. Proposition. If T is a tree with n vertices, then T has n 1 edges. Proof. Proof is by induction on n. Base case (n = 1): 0 edges. The only tree with one vertex is K 1, which has IH: Suppose any tree with n = k vtcs has k 1 edges, where k 1. Consider a tree with n = k + 1 vtcs. Let v be a leaf of T, and let T = T v. Note that T is a tree on k vtcs so, by IH, T has k 1 edges. Since d T (v) = 1, T has (k 1) + 1 = k edges. Math 104 - Prof. Kindred - Lecture 3 Page 7