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.

Similar documents
Combinatorics MAP363 Sheet 1. Mark: /10. Name. Number. Hand in by 19th February. date marked: / /2007

Assignment 4 Solutions of graph problems

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

ASSIGNMENT 4 SOLUTIONS

MAS 341: GRAPH THEORY 2016 EXAM SOLUTIONS

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

Number Theory and Graph Theory

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

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.

Ma/CS 6b Class 13: Counting Spanning Trees

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

Assignment # 4 Selected Solutions

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

HW Graph Theory SOLUTIONS (hbovik) - Q

AXIOMS FOR THE INTEGERS

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

1 Some Solution of Homework

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

Math 485, Graph Theory: Homework #3

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

Scheduling, Map Coloring, and Graph Coloring

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

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

Trees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph.

Fundamental Properties of Graphs

Topic 10 Part 2 [474 marks]

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

Matching Theory. Figure 1: Is this graph bipartite?

Jessica Su (some parts copied from CLRS / last quarter s notes)

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

Graph theory - solutions to problem set 1

Part II. Graph Theory. Year

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

Midterm 2 Solutions. CS70 Discrete Mathematics for Computer Science, Fall 2007

Ma/CS 6b Class 5: Graph Connectivity

Graph Theory Questions from Past Papers

5 Graphs

Extremal Graph Theory: Turán s Theorem

On the Minimum Number of Convex Quadrilaterals in Point Sets of Given Numbers of Points

Hamiltonian cycles in bipartite quadrangulations on the torus

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

Combinatorics Summary Sheet for Exam 1 Material 2019

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

HW Graph Theory SOLUTIONS (hbovik)

On the Relationships between Zero Forcing Numbers and Certain Graph Coverings

Chapter 3: Paths and Cycles

An Introduction to Graph Theory

Basics of Graph Theory

Pebble Sets in Convex Polygons

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

Greedy algorithms is another useful way for solving optimization problems.

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

Functions. How is this definition written in symbolic logic notation?

CSE 21 Mathematics for Algorithm and System Analysis

14 More Graphs: Euler Tours and Hamilton Cycles

Discrete Mathematics I So Practice Sheet Solutions 1

GRAPH DECOMPOSITION BASED ON DEGREE CONSTRAINTS. March 3, 2016

2010 SMT Power Round

Elements of Graph Theory

CPCS Discrete Structures 1

2. CONNECTIVITY Connectivity

Matching and Planarity

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.

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.

MT5821 Advanced Combinatorics

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

ON THE STRONGLY REGULAR GRAPH OF PARAMETERS

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

Finding Strongly Connected Components

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

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

Math.3336: Discrete Mathematics. Chapter 10 Graph Theory

5 Matchings in Bipartite Graphs and Their Applications

Exercise set 2 Solutions

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

Two Characterizations of Hypercubes

PAIRED-DOMINATION. S. Fitzpatrick. Dalhousie University, Halifax, Canada, B3H 3J5. and B. Hartnell. Saint Mary s University, Halifax, Canada, B3H 3C3

1 Matchings in Graphs

Lecture 20 : Trees DRAFT

MAS 341: GRAPH THEORY 2016 EXAM SOLUTIONS

1 Undirected Vertex Geography UVG

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

Graph Theory II. Po-Shen Loh. June edges each. Solution: Spread the n vertices around a circle. Take parallel classes.

Recognizing Interval Bigraphs by Forbidden Patterns

MAT 145: PROBLEM SET 6

Figure 4.1: The evolution of a rooted tree.

Problem Set 2 Solutions

8 Matroid Intersection

Solutions to Exercises 9

arxiv: v2 [math.co] 13 Aug 2013

r=1 The Binomial Theorem. 4 MA095/98G Revision

8 Colouring Planar Graphs

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

Zhibin Huang 07. Juni Zufällige Graphen

Paths, Flowers and Vertex Cover

Rigidity, connectivity and graph decompositions

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.

2. Lecture notes on non-bipartite matching

MAT 145: PROBLEM SET 4

INTRODUCTION TO GRAPH THEORY. 1. Definitions

Transcription:

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. Question 1. (a) The degree of a vertex x is the number of edges to which it belongs. If G has vertices of degree d 1, d,..., d n, where d 1 d,..., d n then the degree sequence of G is (d 1, d,...,d n ). We say that G is simple if there is at most one edge between any two of its vertices. (b) Theorem (Handshaking Theorem): If G is a graph with degree sequence (d 1,...,d n ) then G has exactly (d 1 +... + d n ) edges. Proof: let x 1,...,x n be the vertices of G, ordered so that deg x i = d i. In the sum d 1 +... + d n we count each edge twice: an edge {x i, x j } is counted once in d i as an edge leaving x i, and once in d j as an edge leaving x j. So the total number of edges of G is (d 1 +... + d n ). (c) (i) Yes. The complete bipartite graph K 3,3 has (3, 3, 3, 3, 3, 3) as its degree sequence. (ii) No. The sum of the degrees is 15. But the Handshaking Theorem implies that the sum of the degrees of a graph is even. (iii) Yes. The simple graph shown below has degree sequence (3, 1, 1, 1, 0, 0). 1

(iv) No. Suppose G is a simple graph with degree sequence (,, 1, 1, 0). Let x be the vertex of degree. As G is simple and has only 5 vertices, x must be adjacent to all the other four vertices of G. In particular x is adjacent to the vertex of degree 0, a contradiction. Question. Correction: in the graph in part (c), the edge running southwest from vertex y should be deleted. (a) A closed path is a sequence of vertices (x 0, x 1,..., x m, x 0 ) such that (i) x i x j if i j; (ii) x i 1 is adjacent to x i for 1 i m; (iii) x m is adjacent to x 0. A closed path is Hamiltonian if it visits every vertex of G. The graph G is bipartite if there is a partition of its vertices into subsets A and B such that if {x, y} is an edge of G then either x A and y B, or x B and y A. (b) Suppose that G has a closed Hamiltonian path. We may order the vertices in this path so that its initial vertex lies in A. Then, as G is bipartite, the next vertex must lie in B, the next in A, and so on. The path therefore has the form (a 1, b 1, a, b,...,a n, b n, a 1 ) where a i A, b i B for 1 i n. Every vertex in G appears in this list, so we must have In particular, n = A = B. A = {a 1,...,a n } and B = {b 1,...,b n }. (c) (i) A bipartition is indicated by the colouring below. w z 1 z x y z 3 z 5 z

(ii) Suppose that G has a closed Hamiltonian path. If this path doesn t use the edge {x, y} then it is a closed Hamiltonian path in the bipartite graph above. This contradicts (b) as the sets in the bipartition have different sizes. Hence the path must use the edge {x, y}. By ordering the vertices we may assume it starts at x and then goes to y. There are two such paths which visit vertices z and z 5, namely (x, y, z 1, z, z 3, z, z 5, x) and (x, y, z 3, z, z 5 ). Neither of these paths visit vertex w, so neither is Hamiltonian. Hence G does not have a closed Hamiltonian path. Question 3. (a) A subgraph T of G is a spanning tree if (i) it contains all the vertices of G, and (ii) it is a tree, i.e. it is a connected graph with no closed paths. (b) Suppose that b is the leaf of T with the smallest label, and that b is adjacent to vertex s. The first entry in the Prüfer code of T is s. To find the remaining entries, delete b and the edge {b, s} from T, and then repeat with the new tree. Stop when only vertices are left. In the given tree, the smallest numbered leaf is 1, which is attached to 5. So we start by writing down 5. We then delete 1 and the edge {1, 5}, leaving the tree below. 5 3 Now the smallest numbered leaf is 3 which is adjacent to. So we write down. We then delete 3 and the edge {, 3} leaving the tree below. 3

5 Now the smallest numbered leaf is, so we write down and delete {, }. The remaining tree has just two vertices so we stop. The Prüfer code is therefore (5,, ). [There are many ways to describe the algorithm; any reasonably clear explanation along with the right Prüfer code would get full marks.] (c) If a spanning tree has Prüfer code (a, a, a, a, b) then it must have 5 leaves (since a vertex is a leaf if and only if it doesn t appear in the code). At least four of these leaves are attached to a, and they are deleted in the first steps of the algorithm. This leaves a tree on 3 vertices. This tree must have the form below, since b is one of its vertices, and b is not a leaf. a b The original tree is therefore of the form shown below. a b We can choose any number in {1,,..., 7} for a, and any of the remaining numbers for b. Hence there are trees with Prüfer code of the form (a, a, a, a, b) where a b. Question. Let E be the edge set of N and let c(x, y) be the capacity of the edge (x, y). (a) A flow in N is an assignment of a real number f(x, y) to each edge (x, y) of N such that (i) f(x, y) < c(x, y) for all edges x, y;

(ii) if x is a vertex of N other than s and t then f(x, y) = f(z, x). y:(x,y) E z:(z,x) E The value of a flow f is the total flow in the edges leaving s, i.e. val f = f(s, y). y:(s,y) E A flow is maximal if its value is as large as possible. (b) (S, T) is a cut of N if {S, T } is a partition of the vertices of N such that s S and t T. The capacity of the cut (S, T) is cap(s, T) = c(x, y) where the sum is over all edges (x, y) of N such that x S and y T. (c) The value of any flow is bounded above by the total capacity of all the edges from S to T. Hence if there is a flow whose value is equal to this total capacity, it must be maximal. (d) Since only units can leave A and E, it seems reasonable to guess that the flow shown below will be close to maximal. (The numbers on the edges show the flow values.) A B S C 0 T E F In fact this flow is maximal. To prove this we use part (c). If S = {S, A, E} and T = {B, C, F, T } then f(x, y) = c(x, y) whenever x S and y T.) There are no edges from T to S. Hence the hypothesis in (c) is satisfied, and so the flow is maximal. 5

[It would also be fine to say that the total capacity of the pipes leaving A and E (the two neighbours of S) is 8, and so at most 8 units of flow can leave S.] Using the new pipe we can increase the flow value by 1. A B S 1 C 1 T E F To prove that this new flow is maximal we again use (c), this time with the sets S = {S, A, E, C} and T = {B, F, T }. Question 5 Rotating the hexagon permutes the set X of vertex colourings. For example, k sends to and so on. By identifying k with this permutation of X we may think of k as a subgroup of Sym(X). There are 6 colourings in all (choose one colour for each of the six vertices) and all of them are fixed by the identity e. If a colouring is fixed by k then all its vertices must have the same colour. So there are such colourings: and 6

There are colourings fixed by k (rotation by 10 ): the two above and the two below. and A similar argument shows that there are 3 = 8 vertex colourings fixed by k 3 (rotation by 180 ). Since k is the inverse of k, it fixes the same colourings as k. Hence k fixes colourings. Similarly we deduce that k 5 fixes just colourings. Using the given formula we find that K has 6 + + + 3 + + 6 = 8 6 = 1 orbits on Sym(X). Orbits correspond to distinct colourings, so there are 1 ways to colour the hexagon (when we regard two colourings as the same if one can be rotated into the other). There are 6 reflections to consider. Three of them, through the mid-points of opposite edges, fix 3 = 8 colourings, and the other three, through pairs of opposite vertices, fix = 16 colourings. The number of orbits is 6 + + + 3 + + + 3. 3 + 3. 1 = 8 1 + 3. 1 = 13. There are therefore 13 distinct colourings if we also allow reflections. Question 6 (a) The generating function of f is the power series f(0) + f(1)x + f()x +.... (b) Suppose that 15 = 3a + 5b. Subtracting off multiples of 3 from 15 gives 1, 9, 6, 3, none of which is divisible by 5. So if a 1 then a = 5 and b = 0. Similarly if b 1 then b = 3 and a = 0. So f(15) =. Suppose that 1 = 3a+5b. Subtracting off multiples of 3 leaves 11, 8, 5,, of which only 5 is divisible by 5. So a = 3 and b = 1 is the only possibility, and f(1) = 1. Similarly f(16) = 1. 7

Let n N. The coefficient of x n in (1 + x 3 + x 6 + x 9 +...)(1 + x 5 + x 10 + x 15 +...) is equal to the number of ways to choose a term x 3a on the left-hand-side and a term x 5b on the right-hand-side such that 3a + 5b = n. Hence (1 + x 3 + x 6 +...)(1 + x 5 + x 10 +...) = f(0) + f(1)x + f()x +... Now sum the geometric series to get as required. F(x) = = F(x). 1 (1 x 3 )(1 x 5 ) (c) Multiplying through by (1 x 3 )(1 x 5 ) gives F(x) x 3 F(x) x 5 F(x) + x 8 F(x) = 1. For n 8, the coefficient of x n on the left-hand-side is f(n) f(n 3) f(n 5) + f(n 8). The coefficient of x n on the right-hand-side is 0 for all n 1. Hence f(n) f(n 3) f(n 5) + f(n 8) = 0 for n 8. 8