Discrete Mathematics Course Review 3

Similar documents
Part II. Graph Theory. Year

WUCT121. Discrete Mathematics. Graphs

Elements of Graph Theory

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

Midterm 2. Friday, August 2, 5:10pm 7:10pm CS 70: Discrete Mathematics and Probability Theory, Summer 2013

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

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

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

Graph Theory Day Four

Chapter 3: Paths and Cycles

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

Introduction III. Graphs. Motivations I. Introduction IV

Assignment 1 Introduction to Graph Theory CO342

Mathematics and Statistics, Part A: Graph Theory Revision Exercises: Sheet 3

Discrete Wiskunde II. Lecture 6: Planar Graphs

Majority and Friendship Paradoxes

INTRODUCTION TO GRAPH THEORY. 1. Definitions

Exercise set 2 Solutions

ASSIGNMENT 4 SOLUTIONS

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

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

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

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

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.

Fundamental Properties of Graphs

Graph Theory. 1 Introduction to Graphs. Martin Stynes Department of Mathematics, UCC January 26, 2011

Graph Theory Questions from Past Papers

Lecture 5: Graphs. Graphs! Euler Definitions: model. Fact! Euler Again!! Planar graphs. Euler Again!!!!

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

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

HW Graph Theory SOLUTIONS (hbovik)

Discrete Math: Selected Homework Problems

Instructor: Paul Zeitz, University of San Francisco

Introduction to Graph Theory

Graph theory - solutions to problem set 1

GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS

Course Introduction / Review of Fundamentals of Graph Theory

An Introduction to Graph Theory

The Probabilistic Method

TWO CONTRIBUTIONS OF EULER

Computer Science 280 Fall 2002 Homework 10 Solutions

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

Assignment 4 Solutions of graph problems

Discrete Mathematics 2 Exam File Spring 2012

Lattice Polygon s and Pick s Theorem From Dana Paquin and Tom Davis 1 Warm-Up to Ponder

Math Summer 2012

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

Graph Theory Mini-course

Graphs (MTAT , 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402

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

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 7

1. a graph G = (V (G), E(G)) consists of a set V (G) of vertices, and a set E(G) of edges (edges are pairs of elements of V (G))

Assignments are handed in on Tuesdays in even weeks. Deadlines are:

Hamiltonian cycles in bipartite quadrangulations on the torus

MATH 350 GRAPH THEORY & COMBINATORICS. Contents

Module 11. Directed Graphs. Contents

Definition 1.1. A matching M in a graph G is called maximal if there is no matching M in G so that M M.

Combinatorics Qualifying Exam August, 2016

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

Discrete mathematics

Chapter 2 Graphs. 2.1 Definition of Graphs

Graph Contraction. Graph Contraction CSE341T/CSE549T 10/20/2014. Lecture 14

REGULAR GRAPHS OF GIVEN GIRTH. Contents

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

MATH 363 Final Wednesday, April 28. Final exam. You may use lemmas and theorems that were proven in class and on assignments unless stated otherwise.

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

4. (a) Draw the Petersen graph. (b) Use Kuratowski s teorem to prove that the Petersen graph is non-planar.

Lecture 20 : Trees DRAFT

Matching and Planarity

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

Planar graphs. Chapter 8

ACO Comprehensive Exam March 19 and 20, Computability, Complexity and Algorithms

Lecture 3: Recap. Administrivia. Graph theory: Historical Motivation. COMP9020 Lecture 4 Session 2, 2017 Graphs and Trees

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

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

HMMT February 2018 February 10, 2018

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.

Math 221 Final Exam Review

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

Varying Applications (examples)

Lecture 6: Graph Properties

BIL694-Lecture 1: Introduction to Graphs

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

Mock Exam. Juanjo Rué Discrete Mathematics II, Winter Deadline: 14th January 2014 (Tuesday) by 10:00, at the end of the lecture.

Number Theory and Graph Theory

CS 2336 Discrete Mathematics

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

Chapter 4. Relations & Graphs. 4.1 Relations. Exercises For each of the relations specified below:

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

Testing Continuous Distributions. Artur Czumaj. DIMAP (Centre for Discrete Maths and it Applications) & Department of Computer Science

Combinatorics Summary Sheet for Exam 1 Material 2019

Algorithms. Graphs. Algorithms

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

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

Notation Index. Probability notation. (there exists) (such that) Fn-4 B n (Bell numbers) CL-27 s t (equivalence relation) GT-5.

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

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

Key Graph Theory Theorems

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Midterm 1

Transcription:

21-228 Discrete Mathematics Course Review 3 This document contains a list of the important definitions and theorems that have been covered thus far in the course. It is not a complete listing of what has happened in lecture. The sections from the book that correspond with each topic are also given. Following the list of important definitions and theorems you will find a collection of review exercises. 7. Discrete Probability continued: Chapter 5, Section 2.5. Note that part of what we cover here is not in the book. Definition 1. Let a probability space of set Ω be given. A function f : Ω R is called a random variable. Definition 2. If Z is a random variable on a probability space defined on the set Ω E(Z) = ω ΩZ(ω)P(ω) is the expected value of Z. Claim 3. If X 1,...,X n are random variables defined on a common probability space E[X 1 +X 2 + +X n ] = E[X 1 ]+E[X 2 ]+ +E[X n ]. Claim 4. If X is a random variable P(X E[X]) > 0 and P(X E[X]) > 0 Theorem 5. For any positive integer n we have ( ) n R(k,k) > n 2 1 (k 2) k Corollary 6. R(k,k) > k 2 2 k/2. e Definition 7. Let n {1,2,...} and 0 p 1. A random variable X that takes values in {0,...,n} is distributed as a Binomial random variable with parameters n,p if ( ) n P(X = k) = p k (1 p) n k for k = 0,...n. k We write X Bi(n,p). Note 8. Let Ω = {H,T} n and consider the probability space on Ω in which P(ω) = p k (1 p) n k where k is the number of H s in ω (note that this probability space is given by a sequence of mutually independent flips of a coin that comes up H with probability p). The random variable X : Ω {0,1,...,n} where X(ω) is defined to be the number of H s in ω is distributed as binomial random variable with parameters n, p.

Claim 9. If X Bin(n,p) E[X] = np. Claim 10 (Markov s Inequality). If X is a random variable that takes only non-negative values for any positive t P(X t) E[X] t Definition 11. Let X be a random variable with µ = E[X]. The variance of X is defined to be Var[X] = E[(X µ) 2 ]. Note 12. If X Bi(n,p) Var(X) = np(1 p). Claim 13 (Chebyshev s inequality). Let Z be a random variable such that E[Z] = µ and Var[Z] = σ 2. For any t 1 we have P( Z µ tσ) 1 t 2. Definition 14. Let X and Y be random variables defined on a common probability space. Define A = {α R Pr(X = α) > 0} B = {β R Pr(Y = β) > 0} We say that X and Y are independent random variables if the events {ω Ω : X(ω) = α} and {ω Ω : Y(ω) = β} are independent events for all α A,β B. Definition 15. A collection X 1,X 2,...,X n of random variables defined on a common probability space is independent if every collection of events of the form {{X i α i } : i I}, where I {1,2,...,n} and α i R for all i I, is independent. Theorem 16 (Law of Large Numbers). Let X 1,X 2,... be a sequence of independent random variables that all have the same distribution (i.e. Pr(X i = α) = Pr(X j = α) for all i,j and all α). Suppose µ = E[X i ] and Var[X i ] are finite. For any ǫ > 0 we have ( ) lim Pr X 1 + +X n µ n n > ǫ = 0. 8. Graph Theory : Chapter 7, Section 8.1, Chapter 12. Definition 17. A graph is an ordered pair G = (V,E) where V is a finite set and E ( V 2). The set V is the vertex set of G, and E is the edge set of G. Definition 18. If G = (V,E) is a graph the degree of a vertex x is the number of edges of G that contain x. Written formally, d G (x) = d(x) = {e E : x E}. Theorem 19 (Handshaking Lemma). If G = (V,E) is a graph d(v) = 2 E. v V

Definition 20. Let G = (V,E) be a graph. A sequence of vertices x 0,x 1,x 2,...,x k is a walk in G if {x i,x i+1 } E for i = 0,...,k 1. A sequence of distinct vertices x 0,x 1,x 2,...,x k such that {x i,x i+1 } E for i = 0,...,k 1 is a path in G. A sequence of distinct vertices x 0,x 1,x 2,...,x k such that k 2 and {x i,x i+1 } E for i = 0,...,k 1 and {x 0,x k } E is a cycle in G. Definition 21. A graph G = (V,E) is connected if for every pair of vertices x,y V there is a path in G joining x and y. Definition 22. A walk in a graph G = (V,E) is an Eulerian walk if it traverses every edge in E exactly once. Theorem 23. Let G = (V,E) be a graph with no isolated vertices. There is an Eulerian walk in G if and only if G is connected and the number of vertices in G of odd degree is either 0 or 2. Definition 24. A Hamilton cycle in a graph G = (V,E) is a cycle that contains every vertex in V. The graph G is Hamiltonian if it has a Hamilton cycle. Definition 25. Let G = (V,E) be a graph and let e ( V 2) \ E. We define the graph G+e to be the graph with vertex set V and edge set E {e}. Lemma 26. Let G = (V,E) and V = n. If x,y V, {x,y} E and d G (x)+d G (y) n G+e is Hamiltonian G is Hamiltonian. Definition 27. Let G = (V,E) be a graph. The minimum degree of G is δ(g) = min{d(x) : x G}. Corollary 28. If G = (V,E) is a graph with V = n and δ(g) n/2 G is Hamiltonian. Definition 29. A graph G = (V,E) is a tree if it is connected and contains no cycles. Theorem 30. (i) A graph G is a tree if it is connected but the deletion of any edge of G results in a disconnected graph (ii) A graph G is a tree if it contains no cycles but the addition of any edge to G results in a graph that contains a cycle. Theorem 31. If G = (V,E) is a tree E = V 1. Corollary 32. If G = (V,E) is a tree G has at least 2 vertices of degree 1. Definition 33. For x,y R 2 let l(x,y) be the line segment in R 2 joining x and y. Definition 34. A graph G = (V,E) is planar if there is an injective map ϕ : V R 2 with the property that {v 1,v 2 },{u 1,u 2 } E l(ϕ(v 1 ),ϕ(v 2 )) and l(ϕ(u 1 ),ϕ(u 2 )) do not have interior intersection. A planar graph G embedded in this way is called a plane graph. When we discuss plane graphs we identify v and ϕ(v).

Definition 35. If G = (V,E) is a plane graph the faces of G are the connected components of R 2 \ l(x,y). {x,y} E Theorem 36 (Euler s formula). If G = (V,E) is a connected plane graph with f faces V E +f = 2. Review Exercises: Working the following problems should help in preparation for the test. Some (but not all) of these are more difficult than questions that might appear on the quiz. 1. Suppose two dice are loaded with the same probabilities (i.e. for k = 1,...,6 the probability that the first die equals k is equal to the probability that the second die equals k). (a) Set up a probability space that describes the experiment given by rolling the two loaded dice. (b) Show that the probability of doubles is always at least 1/6. 2. We toss a sequence of n fair, independent coins. (I.e. we consider Ω = {H,T} n with the uniform distribution.) Let the random variable X be the number of runs, where a run is a maximal sequence of consecutive tosses that all have the same result. (E.g. X(HHHTHTTTHH)= 5.) What is E[X]? 3. Let X and Y be arbitrary random variables defined on a common probability space. Which of the following statements are true? (a) E[X 2 ] = E[X] 2. (b) E[1/Y] = 1/E[Y]. (c) E[3X +5Y] = 3E[X]+5E[Y]. 4. Let 0 < p < 1. A n n, 0-1 matrix is chosen at random by independently flipping a biased coin (a coin that comes up heads with probability p and tails with probability 1 p) for each position. If the coin for a given position comes up heads that position gets a 1 (if the coin comes up tails the position gets a 0). Let X be the number of 2 2 submatrices of the random matrix that are all 1 s. (a) Determine E[X]. (b) Let p = 1/n. Use Boole s inequality to show that P(X = 0) 3/4. (c) Let p = 1/n. Use (a) to show that P(X = 0) 3/4. (d) Let p = 2/n and A be the event that the first row of the matrix is all 0 s. Show that lim n P(A) = e 2. 5. Let X be a random variable defined a probability space on the set Ω. Prove P(X E[X]) > 0.

6. Consider the probability space given by Ω = {0,1} n with the uniform distribution. Let X is the random variable that counts the number of entries i in ω = (x 1,...,x n ) such that x i = x i+1 = 0. Determine E(X). 7. A bag contains r red and b black balls. A ball is drawn uniformly at random from the bag and returned to the bag. This is repeated until a black ball is drawn. What is the expected number of drawings in this process? 8. A group of n students are taking an exam and they are not allowed to take their phones into the test. Every student has exactly one phone and each student gives the TA her or his phone as they enter the exam. After the exam the professor randomly returns the phones to students so that each student gets exactly one phone. (a) Set up a probability space that describes this experiment. (b) Let the random variable X be the number of students who get their own phone back. Determine E[X] and E[X 2 ]. (c) Use Markov s inequality to bound Pr(X 10). (d) Use Chebyshev s inequality to bound Pr(X 10). 9. The k-cube is the graph with vertex set {(x 1,...,x k ) : x 1,...,x k {0,1}} and an edge between two vertices if and only if they differ in exactly 1 coordinate. Show that the k-cube has a Hamilton cycle for every k 2. Hint: go by induction on k. 10. The complete bipartite graph K m,n has vertex set V with bipartition A,B where A = n and B = m and edge set {{x,y} : x A and y B}. Which complete bipartite graphs have Hamilton cycles? 11. A connected graph G = (V,E) has V = 2k +1 vertices and exactly k +1 vertices of degree 2, no two of which are adjacent. Show that G is not Hamiltonian. 12. LetGbeaconnectedgraphinwhich anytwodistinct vertices haveeither 0or7common neighbors. Prove that G is a regular graph. 13. Prove that a planar bipartite graph with n nodes that contains a cycle has at most 2n 4 edges. 14. Let G = (V,E) be a connected graph. Prove that there is a graph H = (V,F) such that F E and H is a tree. 15. For n,m 1 let G n,m be the graph with vertex set {(x,y) : 1 x n and 1 y m} and an edge connecting vertices (x,y) and (u,v) if ( x u = 1 and y v = 2) or ( x u = 2 and y v = 1). In words, the vertices in G n,m are the squares on an n m chessboard and we connect two squares with an edge if there is a knight s move that takes one to the other.

(a) Exhibit a Hamiltonian path in G 3,4. (b) Show that G 4,4 does not have a Hamiltonian cycle. Hint: Which squares come before and after the corner squares in a Hamiltonian cycle? 16. For a graph G = (V,E), Let L(G) denote the line graph of G, which we define as ( { ( ) }) E L(G) = E, {e,f} : e f. 2 In words, the vertices of the line graph are the edge of G and we connect two vertices in the line graph if the corresponding edges intersect. Are the following statements true or false? (a) G is connected if and only if L(G) is connected. (b) G is Eulerian if and only if L(G) Hamiltonian. 17. Is the Claim below true or false? If it is false find a counterexample. Is the proof correct? If not, why not? Claim. The number of trees on vertex set {v 1,v 2,...,v n } is (n 1)!. Proof. We go by induction on n. Base case: n = 2. A connected graph on a vertex set of cardinality 2 must contain the edge connecting the two vertices. Therefore, there is only one such connected graph and only one such tree. Inductiveassumption: Thereare(n 2)!treesonvertexset{v 1,v 2,...,v n 1 }. Letn 3. LetAbethecollectionofalltreesonvertexset{v 1,...,v n 1 }. Let B be the collection of trees on vertex set {v 1,...,v n }. Since (i) we get a tree on n vertices by attaching a leaf to a tree on n 1 vertices and (ii) there are n 1 vertices in a tree in A to which we can attach the vertex v n to get a tree in B, each tree in A corresponds to n 1 trees in B. Therefore, B = (n 1) A. Applying the inductive assumption we have B = (n 1) A = (n 1) (n 2)! = (n 1)! 18. We form a graph G n on vertex set {1,2,...,n} by including each edge independently with probability p = logn. Let the random variable Y be the number of isolated vertices 2n (i.e. the number of vertices of degree 0). (a) Determine E[Y].

(b) Use Chebyshev s inequality to conclude that lim P(Y = 0) = 0. n Hint: Note that one only needs an upper bound on Var(Y). You may also use the estimate lim n x 2 n = 0 implies (1 x) n e xn. From the text: 7.3.2, 7.3.10, 7.3.11, 7.3.12, 7.3.13, 8.1.3, 8.5.3, 8.5.4, 8.5.8, 12.2.1, 12.2.2, 12.3.1, 12.3.4, 12.3.6 (For question 12.3.6: You may assume that the graph is 3 regular. Follow-up question: why can we assume this?), 12.3.7.