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

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

WUCT121. Discrete Mathematics. Graphs

Simple Graph. General Graph

11.4 Bipartite Multigraphs

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

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

2. CONNECTIVITY Connectivity

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

Brief History. Graph Theory. What is a graph? Types of graphs Directed graph: a graph that has edges with specific directions

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.

Chapter 12 and 11.1 Planar graphs, regular polyhedra, and graph colorings

1. The following graph is not Eulerian. Make it into an Eulerian graph by adding as few edges as possible.

Varying Applications (examples)

Math236 Discrete Maths with Applications

Part II. Graph Theory. Year

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

MAT 145: PROBLEM SET 6

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

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

Assignment 1 Introduction to Graph Theory CO342

1. A busy airport has 1500 takeo s perday. Provetherearetwoplanesthatmusttake o within one minute of each other. This is from Bona Chapter 1 (1).

Mathematics Masters Examination

Assignment 4 Solutions of graph problems

8.2 Paths and Cycles

U.C. Berkeley CS170 : Algorithms, Fall 2013 Midterm 1 Professor: Satish Rao October 10, Midterm 1 Solutions

5 Graphs

Week 8: The fundamentals of graph theory; Planar Graphs 25 and 27 October, 2017

Module 1. Preliminaries. Contents

Math 170- Graph Theory Notes

Discrete Mathematics

Solutions to In-Class Problems Week 4, Fri

Elements of Graph Theory

Graphs II: Trailblazing

HW Graph Theory SOLUTIONS (hbovik) - Q

Graph theory - solutions to problem set 1

Scheduling, Map Coloring, and Graph Coloring

Math 776 Graph Theory Lecture Note 1 Basic concepts

Math.3336: Discrete Mathematics. Chapter 10 Graph Theory

Computer Science 280 Fall 2002 Homework 10 Solutions

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

Graph Theory Day Four

Graph Theory Questions from Past Papers

GRAPH THEORY: AN INTRODUCTION

Graphs. Introduction To Graphs: Exercises. Definitions:

Combinatorics Summary Sheet for Exam 1 Material 2019

Combinatorics: The Fine Art of Counting

Chomp the Graph. Research. treet. road. Sam Magura, Vitchyr Pong, Elliot Cartee, Kevin Valakuzhy. Scientific

CS 311 Discrete Math for Computer Science Dr. William C. Bulko. Graphs

Notebook Assignments

Introduction to Graph Theory

Math 575 Exam 3. (t). What is the chromatic number of G?

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

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

Introduction III. Graphs. Motivations I. Introduction IV

Math Summer 2012

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

Discrete Wiskunde II. Lecture 6: Planar Graphs

Extremal Graph Theory. Ajit A. Diwan Department of Computer Science and Engineering, I. I. T. Bombay.

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

Characterizations of graph classes by forbidden configurations

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

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.

IMO Training 2008: Graph Theory

Solutions to Problem 1 of Homework 3 (10 (+6) Points)

Number Theory and Graph Theory

CONNECTIVITY AND NETWORKS

Ma/CS 6b Class 5: Graph Connectivity

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

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

INTRODUCTION TO GRAPH THEORY. 1. Definitions

Questions Total Points Score

Today. Types of graphs. Complete Graphs. Trees. Hypercubes.

Ma/CS 6b Class 10: Ramsey Theory

Lecture 4: Petersen Graph 2/2; also, Friendship is Magic!

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 8

Majority and Friendship Paradoxes

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 7

Description of grading scheme and advice for final exam (and HW, quizzes, etc).

CMSC 380. Graph Terminology and Representation

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

The Structure of Bull-Free Perfect Graphs

Discrete Mathematics for CS Spring 2008 David Wagner Note 13. An Introduction to Graphs

Graph Theory Mini-course

Ma/CS 6b Class 12: Ramsey Theory

Paths, Circuits, and Connected Graphs

ASSIGNMENT 4 SOLUTIONS

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

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

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

Graphs. Pseudograph: multiple edges and loops allowed

Basics of Graph Theory

CS 217 Algorithms and Complexity Homework Assignment 2

Two Characterizations of Hypercubes

Matching and Planarity

1 Matchings in Graphs

Star Decompositions of the Complete Split Graph

Homework #5 Algorithms I Spring 2017

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.

Transcription:

MC02 GRAPH THEORY SOLUTIONS TO HOMEWORK #1 9/19/1 68 points + 6 extra credit points 1. [CH] p. 1, #1... a. In each case, for the two graphs you say are isomorphic, justify it by labeling their vertices so that they become identical; in other words, label the vertices in the two graphs with numbers 1, 2,, n, so that corresponding vertices get the same number. b. In addition, provide justification why the third graph is not isomorphic to the other two, i.e., give some isomorphic property that one graph has but not the other (recall that an isomorphic property is one that two isomorphic graphs must either both have or both not have) Solution to #1 (15 pts): 1.. (a) The first two are isomorphic; the third is not because it has a triangle but the others do not. 1.. (b) The second two are isomorphic; the first is not because its degree- vertices do not form a cycle. 1.. (c) The second and third are isomorphic; the first is not because it has degree-2 vertices while the others each have only 2 degree-2 vertices. 2. [CH] p. 1, #1..4. In addition to listing all the graphs, give a brief explanation why (a) there are no others, and (b) why no two graphs on the list are isomorphic. Solution to #2 (5 pts): If the sizes of the two bipartite sets are and, then both and must be positive, and 2 +. The graph, has vertices of degree and vertices of degree. Since,,, listing all, with 1 and 2 + will list all possible graphs up to isomorphism. There are twelve such graphs:,,,,,,,,,,,,,,,,,,,,,,,. No two of these three graphs are isomorphic because their degree sequences are all different.. Show that, in any group of two or more people, there are always two with exactly the same number of friends inside the group. Do this as follows: a. First, restate this as an if-then statement about graphs and graph properties, i.e., If G is any simple graph, then, b. Now prove the claim about graphs in order to answer the original question. Hint: Show that if G is a simple graph with n vertices, then there are fewer possible values for the degree of a vertex than there are vertices, so some value must be repeated.

Solution to # (10 pts: a-4, b-6): a. We let the people be represented as vertices of a graph G, with an edge indicating that the two people corresponding to its endpoints are friends. Then this sentence translates as follows: If G is any simple graph with two or more vertices, then G must have two vertices with the same degree. b. Suppose G has n vertices, where 2. The smallest possible degree is 0 (a person with no friends), and the largest is 1 (a person who is friends with everyone else). Thus there are n possible values (0,1,..., 1) for the degrees of vertices in G. But notice that 0 and 1 cannot both be degrees, because if one vertex has no neighbors, then no vertex is adjacent to every other one, and vice-versa. Thus the possible values are either 0,1,..., 2 or 1,2,..., 1. In either case there are only 1 values that must be assigned to n vertices, so some value must be used twice. 4. In each part use the Havel-Hakimi Theorem (even if there is some other, shorter way) to determine whether the sequence is graphic. If the answer is yes, use the reverse process described on Slide 8 of the slides from 9/5/1 to generate a graph for the original sequence from a graph for the shorter sequence. Label each vertex in the final graph with its degree, and if you'd like, redraw the graph in a more aesthetically pleasing way (without changing the graph, of course). a. (5, 5, 4, 2, 1, 1, 1, 1) b. (6, 6, 5, 5,,, 2, 1, 1) Solution to #4 (10 pts: a-4, b-6): a. (5,5,4,2,1,1,1,1) (4,,1,0,0,1,1)= (4,,1,1,1,0,0) ( 2,0,0,0,0,0). This last sequence is not graphic, because if some vertex has degree 2, then each of its neighbors has degree 1 or more, but all the other numbers are 0. b. (6,6,5,5,,,2,1,1) (5,4,4,2,2,1,1,1) (,,1,1,0,1,1)=(,,1,1,1,1,0) (2,0,0,1,1,0). The last sequence is easily seen to be graphic. So we use the reverse procedure to construct a graph with the original degree sequence. (2,0,0,1,1,0). (,,1,1,1,1,0) 1 2 4 5 6 1 2 4 5 6 1 2 4 5 6 =(,,1,1,0,1,1) (,4,4,2,2,1,1,1) 8 4 (6,6,5,5,,,2,1,1) 9 1 2 5 6 8

5. [CH] p. 2, 1.5.2 and 1.5.. For 1.5.2, justify briefly in each case why the graph is or is not selfcomplementary. The book gives a hint for 1.5. (b); here is a slightly expanded version of that hint. First, let e be the number of edges in the self-complementary graph G. Use the book's hint to find a formula for e in terms of n. Then use this formula to show that either n is a multiple of 4 (i.e., e = 4t for some t), or n is a multiple of 4 plus 1, (i.e., e = 4t+1 for some t). Solution to #5 (28 pts: 1.5.2--6 pts, 1.5.(a)--6 pts, 1.5.(b)--6 pts, 1.5.(c)--10 pts): 1.5.2: The edges of the original graph are shown as gray dotted lines; the edges of the complement (i.e., all the edges not in the original graph are solid red lines). 1.5.(a) First graph: no (different degree sequences); second yes (both 5-cycles); third no (different degree sequences). 1.5.(b) If G is self-complementary, then G and have the same number of edges, which together comprise all the edges of. Thus, if G has edges, then + =2 = ( 1)/2. It follows that = ( 1)/4. Since is an integer, this implies that ( 1) is divisible by 4. But and 1 differ by 1, so one of them is odd and the other is even. Therefore the even value must be divisible by 4. If is even, then it is divisible by 4, so =4, for some integer. If 1 is even, then it is divisible by 4, so 1=4, i.e., =4 +1, for some integer. 1.5.(c). From the previous problem we know that a self-complementary graph has ( 1)/4 edges. It is also useful to notice that cannot have a vertex of degree 1, because in the complement that vertex would have degree 0. But since and are isomorphic, that would mean they both have vertices of degree 1 and 0, which we know from an earlier problem is impossible. By the same reasoning cannot have a vertex of degree 0. With these facts to cut down on the possibilities, let s now look at =4 and =5. =4: By what we just said, a self-complementary graph must have edges and no vertices of degree or 0. By trial and error, we see that the only way we can place edges on 4 vertices with no vertices of degree or 0 is to have the path of length 4, and that graph is self-complementary:

=5: A self-complementary graph on 5 vertices must have 5 edges and no vertices of degree 4 or 0. There are several ways to place the edges, so we first assume that some vertex has degree, as indicated in the first picture below, with the degree- vertex labeled. There is one vertex that so far has no incident edges, but it cannot have degree 0, so there must be an edge between it and one of the other vertices, as in picture 2. There is one more edge to place, and 5 ways to place it (but only ways up to isomorphism). By trying out each way and looking at the complement, we find one self-complementary graph (up to isomorphism). That graph and its complement are shown in the rd and 4 th pictures. This takes care of the case when there is a degree- vertex, so now suppose there isn t a degree vertex. Then there can t be a degree-1 vertex either, because that vertex would have degree- in the complement. So all the vertices must have degree 2, and the only way to do that is with a 5-cycle, shown below, which is self-complementary. Thus, up to isomorphism, there are two self-complementary graphs on 5 vertices. Extra credit: We saw in class that the Degree-Sum Theorem is true for both simple graphs and multigraphs, provided that a loop edge counts 2 toward the degree of the vertex it has at both ends. However, the same is not the case for the Havel-Hakimi Theorem: there are some sequences that are not graphic, but which are the degree sequences of multigraphs. Prove the following result: A finite sequence of nonnegative integers is the degree sequence of some multigraph if and only if its sum is even. Note that you must prove necessity and sufficiency: a. For necessity: Assume that a finite sequence S is the degree sequence of some multigraph, and prove that the sum of the numbers in S must be even. b. For sufficiency: Assume that a finite sequence S of nonnegative numbers has an even sum. Prove that there is some multigraph whose degree sequence is S.

Solution to extra credit problem (6 pts: a-2, b-4): a. We observed in class that the Degree-Sum Theorem holds for multigraphs, so the sum of the degrees must be even. b. If the sum is even, then there is an even number of odd values. We create a multigraph G with this degree sequence as follows: For each even value k, G has a distinct vertex with k/2 incident loops; then this vertex has degree k. Divide the odd values into sets of two. For each such pair (k, m), add two adjacent vertices. Give one of the vertices (k-1)/2 loops and the other (m-1)/2 loops. Then the first vertex has degree k and the second has degree m. This process is illustrated below for the sequence (, 5, 4,, 2, 1), in which I paired with 5 and with 1. The vertices are labeled with their degrees: