Lecture 1: Examples, connectedness, paths and cycles

Size: px
Start display at page:

Download "Lecture 1: Examples, connectedness, paths and cycles"

Transcription

1 Lecture 1: Examples, connectedness, paths and cycles Anders Johansson lör

2 Outline The course plan Examples and applications of graphs Relations The definition of graphs as relations Connectedness, paths and cycles

3 Topic The course plan Examples and applications of graphs Relations The definition of graphs as relations Connectedness, paths and cycles

4 Literature, teaching format and examination Literature Grimaldi, Ralph P.; Discrete and combinatorial mathematics, 5th edition, Pearson Addison Wesley, Chapters Extra material handed out. (Not too demanding) Teaching format: We have twenty combined lectures and tutorials. Weight will be put on problem solving. Examination We will have four problem sessions, where you can present your own solutions to problems. Problem sheets will be handed out and posted at least a week in advance. Details about dates etc., will be posted on the course page later. Participation in the problem sessions (at least 2/4) will give bonus at the written exam in December; the first exam-question will automatically be graded with full points.

5 Lesson and exercise planning No Section Content Proposed exercises Definitions and examples, paths and cycles 2,4,6,7,8,10,13,14,15, Subgraphs and graph-homomorphisms 1,2,4,5,7,8,10,11, Degrees, parity and euler tours 1,2,3,5,8,11,13,16,26,27,30,32,33, (+) Planar graphs, cycles and cuts 1,2,11,13,17,19,21,22,23,27, Hamiltonian graphs 1,2,4,10,12,18,20,21,25, Chromatic properties 1,2,4,7,8,9,14,16,17,18, (+) More about colourings S11 17,18,21,22, (+) Acyclic graphs and trees 2,4,5,7,9,10,11,18,19,21,22,23, Rooted trees and search 1,2,5,7,9,10,12,14,15,16,19, Trees and sorting 1,3, Trees and codes 1,3,6, Decomposition into blocks 1,4,5,6,7,8,12,13 S12 5,6,7,8,11, Shortest path problems 1,2,4,5,6,7, Greedy algorithms and minimum spanning 1,2,4,5,6,7,9 tree Transport networks 1,3,6 (+) (+) Transport problems Matchings in bipartite graphs 1,2,4,5,7,13 S13 5,6,8, (+) Duality principles in linear programming 19 (+) Random graphs and random graph statistics 20 Tutorial (buffer)

6 Topic The course plan Examples and applications of graphs Relations The definition of graphs as relations Connectedness, paths and cycles

7 A simple symmetric relation (undirected graphs) (a) A symmetric graph on 30 vertices (b) Another 3-regular graph Figure: Undirected simple graphs: Main object

8 Automata and state transition graphs Directed graphs, where arrows stand for a transition in time between states are also very common: Markov chains, automata, game theory, C 0 B 0 start 1 A F E D G 1

9 Dependency graphs, factor graphs, etc. Many application of graphs starts from graphs where nodes representing variables are connected if they are dependent in some way. Examples are Bayesian networks, graphical models, factor graphs,... Figure: A Baeysian network

10 Relationship diagrams, data base models,... In Computer Science the use of graphs has a long tradition. Here is an example of a entity relation diagram used in database constructions. name name n C-I 1 institute 1 code course n S-C m S-I n student name number grade

11 Topic The course plan Examples and applications of graphs Relations The definition of graphs as relations Connectedness, paths and cycles

12 Naive set theory Examples of sets are {1, 2}, {1, 1, 2} = {1, 2}, {3n Z : n is prime }, {{1, 3}, {2}}, etc. The statement that x is an element of A, is written x A. Two sets A and B are equal when they have precisely the same elements, that is, x A x B. A set encode as a geometric object a unary relation on objects or a proposition about outcomes. Logic is obtained by set operations. x A B A B A \ B

13 Sets of sets and the power set 2 X Given a set X, we obtain the power set 2 X consisting of all subsets of X. The set ( X k ) is the set of all k-subsets of X. If X = {1, 2, 3} then 2 X = {, {1}, {2}, {3}, {1, 2}, {2, 3}, {3, 1}, {1, 2, 3}}. and ( ) X = {{1, 2}, {2, 3}, {3, 1}} and 2 ( ) X = {{1, 2, 3}}. 3 Note the cardinalities (=number of elements) ( ) ( ) 2 X = 2 X, X X =. k k

14 The Cartesian product of sets Given two sets A and B, the Cartesian product, A B is the set of pairs (two-tuples) (a, b) such that a A and b B. For example, given the set of playing card ranks and suits and R = {A, K, Q, J, 10, 9,..., 3, 2} S = {,,, } we obtain the 52-element set R S = {(A, ), (K, ),..., (2, ), (A, ),..., (3, ), (2, )}. A poker-hand is thus a 5-subset of R S, i.e. an element in ( ) R S J Q K A A K Q J

15 The Cartesian product of sets Given two sets A and B, the Cartesian product, A B is the set of pairs (two-tuples) (a, b) such that a A and b B. For example, given the set of playing card ranks and suits and R = {A, K, Q, J, 10, 9,..., 3, 2} S = {,,, } we obtain the 52-element set R S = {(A, ), (K, ),..., (2, ), (A, ),..., (3, ), (2, )}. A poker-hand is thus a 5-subset of R S, i.e. an element in ( ) R S J Q K A A K Q J Full house

16 Relations: Subsets of a cartesian product A B A (binary) relation R between elements of A and elements of B is (can be interpreted as) a subset R A B, where arb precisely if (a, b) R. d c b a If A = B = X, we say a relation Q X X is a relation on X. c b d X a e d

17 Functions A relation f A B is a function from A to B if for every a A there is exactly one element in B related to a. This element is written f (a). d c A f B A function is surjective if every element in B is related to at least one element in A. b a A function is injective if no element in B is related to more than one element in A. d A g f (a) B 6 A bijective function f : A B is one which is both surjective and injective. In this case we have B = f (A) = A. c b a

18 Symmetric, transitive and reflexive relations A relation Q on X is symmetric if, for all x, y X, xqy implies yqx. It is reflexive if xqx for all x X. d c b a A relation Q on X is transitive if, for all x, y, z X, e f xqy yqz = xqz. A symmetric, reflexive and transitive relation is an equivalence relation.

19 Symmetric, transitive and reflexive relations A relation Q on X is symmetric if, for all x, y X, xqy implies yqx. It is reflexive if xqx for all x X. d c b a A relation Q on X is transitive if, for all x, y, z X, e f xqy yqz = xqz. A symmetric, reflexive and transitive relation is an equivalence relation.

20 Symmetric, transitive and reflexive relations A relation Q on X is symmetric if, for all x, y X, xqy implies yqx. It is reflexive if xqx for all x X. d c b a A relation Q on X is transitive if, for all x, y, z X, e f xqy yqz = xqz. c b A symmetric, reflexive and transitive relation is an equivalence relation. d a e f

21 Symmetric, transitive and reflexive relations A relation Q on X is symmetric if, for all x, y X, xqy implies yqx. It is reflexive if xqx for all x X. d c b a A relation Q on X is transitive if, for all x, y, z X, e f xqy yqz = xqz. c b A symmetric, reflexive and transitive relation is an equivalence relation. d a e f

22 Topic The course plan Examples and applications of graphs Relations The definition of graphs as relations Connectedness, paths and cycles

23 Definition of simple directed graphs Def: Let V be a set and E V V a binary relation on V. A simple digraph G is the pair G = (V, E), where V is called the set of vertices and E the set of directed edges or arcs. We say i V is adjacent to j V if ij = (i, j) E and adjacent from k V if (k, i) E. The edge (i, j) E is an out-edge at i and an in-edge at j; j is an out-neighbour of i and i is an in-neighbour of j If E does not include edges of the form (i, i), the graph is without loops.

24 Definition of simple directed graphs Def: Let V be a set and E V V a binary relation on V. A simple digraph G is the pair G = (V, E), where V is called the set of vertices and E the set of directed edges or arcs. We say i V is adjacent to j V if ij = (i, j) E and adjacent from k V if (k, i) E. The edge (i, j) E is an out-edge at i and an in-edge at j; j is an out-neighbour of i and i is an in-neighbour of j If E does not include edges of the form (i, i), the graph is without loops.

25 Undirected simple graph Def: An undirected simple graph is a pair G = (V, E), where direction E ( V 2). We often write elements {i, j} of E as ij direction is disregarded. An undirected graph corresponds to a symmetric adjacency relation; i adjacent to j and vice versa precisely if {i, j} E. This correspond to an underlying symmetric reflexive or anti-reflexive relation We say that a vertex v is incident with an edge e E if v e.

26 General multigraphs; head and tail functions; incidence relation Let V and E be two finite sets. A general (multi-) digraph G = (V, E, head tail) is given by two functions head : E V and tail : E V. The multiplicity of an edge (u, v) V V is the number edges e such that head e = u and tail e = v. The incidence relation, Inc, from E to V, is defined as follows: e is incident with v if v = head e or v = tail e. An undirected multi-graph G = (V, E) is an equivalence class with a fixed incidence relation. Multiplicity of edge {u, v} is the number of edges such that Inc({e}) = {u, v}. Every digraph G with the same incidence relation is called an orientation of G. E head tail e 1 A B e 2 A B e 3 B C e 4 C D e 5 B E e 6 E F e 7 B E e 8 A F e 9 E D F E e 8 e e e e A e 7 1 D e 2 e 4 e 3 B C

27 General multigraphs; head and tail functions; incidence relation Let V and E be two finite sets. A general (multi-) digraph G = (V, E, head tail) is given by two functions head : E V and tail : E V. The multiplicity of an edge (u, v) V V is the number edges e such that head e = u and tail e = v. The incidence relation, Inc, from E to V, is defined as follows: e is incident with v if v = head e or v = tail e. An undirected multi-graph G = (V, E) is an equivalence class with a fixed incidence relation. Multiplicity of edge {u, v} is the number of edges such that Inc({e}) = {u, v}. Every digraph G with the same incidence relation is called an orientation of G. E head tail e 1 A B e 2 A B e 3 B C e 4 C D e 5 B E e 6 E F e 7 B E e 8 A F e 9 E D F E e 8 e e e e A e 7 1 D e 2 e 4 e 3 B C

28 General multigraphs; head and tail functions; incidence relation Let V and E be two finite sets. A general (multi-) digraph G = (V, E, head tail) is given by two functions head : E V and tail : E V. The multiplicity of an edge (u, v) V V is the number edges e such that head e = u and tail e = v. The incidence relation, Inc, from E to V, is defined as follows: e is incident with v if v = head e or v = tail e. An undirected multi-graph G = (V, E) is an equivalence class with a fixed incidence relation. Multiplicity of edge {u, v} is the number of edges such that Inc({e}) = {u, v}. Every digraph G with the same incidence relation is called an orientation of G. E head tail e 1 A B e 2 A B e 3 B C e 4 C D e 5 B E e 6 E F e 7 B E e 8 A F e 9 E D F E e 8 e e e e A e 7 1 D e 2 e 4 e 3 B C

29 The Cashier/Guard problem Consider the following (simple, undirected) graph. (The normal case!) a b c d e f g h i j k Figure: A graph of cashiers connected by aisles Place a minimum set of guards so that each cashier has at least one guard in some neighbouring aisle. Find a minimum set S such that every vertex is either in S or adjacent to some vertex in S. What is the minimum size of a set S V, such that every edge is incident with at least one vertex in S?

30 Topic The course plan Examples and applications of graphs Relations The definition of graphs as relations Connectedness, paths and cycles

31 Walks and reachability The problem of Reachability Can we reach vertex v from vertex u by walking around in the graph? If so, in how many ways can we do this? Def: An uv-walk W of length n in the (multi-di-) graph G = (V, E) is an alternating sequence of vertices x i V, i = 0, 1,..., n, and edges e j E, j = 1,..., n, W : u = x 0, e 1, x 1, e 2, x 2,..., e n 1, x n 1, e n, x n = v, such that, for all i = 1,..., n, both x i 1 and x i are incident with e i. If for all i, x i 1 = head e i and x i = tail e i it is a directed walk otherwise it is an oriented walk. If G is simple then a walk W is specified by the sequence W := (x 0, x 1,..., x n ) V := V V 2 V n....

32 Closed walks, trails, circuits, paths and cycles An uv-walk is u = x 0, x 1,..., x n = v, closed if a = b a trail if all edges are distinct a circuit if it is a closed trail a path a cycle if all vertices are distinct if it is a closed path c 4 b 5 b 4 a 5 c 3 a 4 c 5 a 6 b6 c 6 a 7 b 7 c 7 a 3 b 3 a 8 c 2 a 2 b 2 a 1 b 1 a 9 b 8 c 8 c 1 a 0 b 0 c 0 b 9 c 9

33 Closed walks, trails, circuits, paths and cycles An uv-walk is u = x 0, x 1,..., x n = v, closed if a = b a trail if all edges are distinct a circuit if it is a closed trail a path a cycle if all vertices are distinct if it is a closed path c 4 b 5 b 4 a 5 c 3 a 4 c 5 a 6 b6 c 6 a 7 b 7 c 7 a 3 b 3 a 8 c 2 a 2 b 2 a 1 b 1 a 9 b 8 c 8 c 1 a 0 b 0 c 0 b 9 c 9 A a 0 a 2 -walk

34 Closed walks, trails, circuits, paths and cycles An uv-walk is u = x 0, x 1,..., x n = v, closed if a = b a trail if all edges are distinct a circuit if it is a closed trail a path a cycle if all vertices are distinct if it is a closed path c 4 b 5 b 4 a 5 c 3 a 4 c 5 a 6 b6 c 6 a 7 b 7 c 7 a 3 b 3 a 8 c 2 a 2 b 2 a 1 b 1 a 9 b 8 c 8 c 1 a 0 b 0 c 0 b 9 c 9 A a 0 a 2 -trail

35 Closed walks, trails, circuits, paths and cycles An uv-walk is u = x 0, x 1,..., x n = v, closed if a = b a trail if all edges are distinct a circuit if it is a closed trail a path a cycle if all vertices are distinct if it is a closed path A a 0 a 2 -path c 4 b 5 b 4 a 5 c 3 a 4 c 5 a 6 b6 c 6 a 7 b 7 c 7 a 3 b 3 a 8 c 2 a 2 b 2 a 1 b 1 a 9 b 8 c 8 c 1 a 0 b 0 c 0 b 9 c 9

36 Closed walks, trails, circuits, paths and cycles An uv-walk is u = x 0, x 1,..., x n = v, closed if a = b a trail if all edges are distinct a circuit if it is a closed trail a path a cycle if all vertices are distinct if it is a closed path A a 0 a 0 -circuit c 4 b 5 b 4 a 5 c 3 a 4 c 5 a 6 b6 c 6 a 7 b 7 c 7 a 3 b 3 a 8 c 2 a 2 b 2 a 1 b 1 a 9 b 8 c 8 c 1 a 0 b 0 c 0 b 9 c 9

37 Closed walks, trails, circuits, paths and cycles An uv-walk is u = x 0, x 1,..., x n = v, closed if a = b a trail if all edges are distinct a circuit if it is a closed trail a path a cycle if all vertices are distinct if it is a closed path A a 0 a 0 -cycle c 4 b 5 b 4 a 5 c 3 a 4 c 5 a 6 b6 c 6 a 7 b 7 c 7 a 3 b 3 a 8 c 2 a 2 b 2 a 1 b 1 a 9 b 8 c 8 c 1 a 0 b 0 c 0 b 9 c 9

38 Compute the number of closed walks in a lollipop graph Consider the following graph with a loop. v w Figure: The lollipop graph Determine a recursion formula for a n the number of closed vv-walks in this graph.

39 Paths determine the connectivity structure We can describe a path/cycle in any type of graph as a subset of edges and (possibly) the starting point. Paths and cycles are also subgraphs. (More next time) Theorem (Paths are enough) There exists an (directed/oriented) uv-walk if and only if there exists a (directed/oriented) uv-path. Task: Prove this!

40 Components, connectedness A vertex u V is reachable from v V if there exists an oriented/directed uv-walk or a path. For oriented walks/paths for undirected graphs this is an equivalence relation on V. The equivalence classes are called connected components. The number of components of a graph G is denoted by c(g). (κ(g) in the book) A graph is connected if c(g) = 1. For digraphs we can say that two vertices u an v are strongly connected if there are both a directed uv-walk and a directed vu-walk. This is again an equivalence relation; partitioning V into strong components c(g) = 3. 1

41 Components, connectedness A vertex u V is reachable from v V if there exists an oriented/directed uv-walk or a path. For oriented walks/paths for undirected graphs this is an equivalence relation on V. The equivalence classes are called connected components. The number of components of a graph G is denoted by c(g). (κ(g) in the book) A graph is connected if c(g) = 1. For digraphs we can say that two vertices u an v are strongly connected if there are both a directed uv-walk and a directed vu-walk. This is again an equivalence relation; partitioning V into strong components Strong components 1

42 Distance, diameter and girth Given a graph G = (V, E) the length (or + ) of a shortest path between u and v, u, v V, is called the distance between u and v. It is denoted dist G (u, v). The diameter, diam(g), of a graph is the maximum distance between two vertices. 1. What is the diameter and girth of the Petersen graph? 2. Prove that for every non-acyclic graph g(g) 2 diam(g) + 1. Figure: The Petersen graph The girth, g(g), of a graph is the length of the smallest cycle. (If the graph contains no cycles it is called acyclic.)

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

4. (a) Draw the Petersen graph. (b) Use Kuratowski s teorem to prove that the Petersen graph is non-planar. UPPSALA UNIVERSITET Matematiska institutionen Anders Johansson Graph Theory Frist, KandMa, IT 010 10 1 Problem sheet 4 Exam questions Solve a subset of, say, four questions to the problem session on friday.

More information

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

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2 Graph Theory S I I S S I I S Graphs Definition A graph G is a pair consisting of a vertex set V (G), and an edge set E(G) ( ) V (G). x and y are the endpoints of edge e = {x, y}. They are called adjacent

More information

Graph and Digraph Glossary

Graph and Digraph Glossary 1 of 15 31.1.2004 14:45 Graph and Digraph Glossary A B C D E F G H I-J K L M N O P-Q R S T U V W-Z Acyclic Graph A graph is acyclic if it contains no cycles. Adjacency Matrix A 0-1 square matrix whose

More information

Chapter 2 Graphs. 2.1 Definition of Graphs

Chapter 2 Graphs. 2.1 Definition of Graphs Chapter 2 Graphs Abstract Graphs are discrete structures that consist of vertices and edges connecting some of these vertices. Graphs have many applications in Mathematics, Computer Science, Engineering,

More information

Elements of Graph Theory

Elements of Graph Theory Elements of Graph Theory Quick review of Chapters 9.1 9.5, 9.7 (studied in Mt1348/2008) = all basic concepts must be known New topics we will mostly skip shortest paths (Chapter 9.6), as that was covered

More information

Math 776 Graph Theory Lecture Note 1 Basic concepts

Math 776 Graph Theory Lecture Note 1 Basic concepts Math 776 Graph Theory Lecture Note 1 Basic concepts Lectured by Lincoln Lu Transcribed by Lincoln Lu Graph theory was founded by the great Swiss mathematician Leonhard Euler (1707-178) after he solved

More information

Varying Applications (examples)

Varying Applications (examples) Graph Theory Varying Applications (examples) Computer networks Distinguish between two chemical compounds with the same molecular formula but different structures Solve shortest path problems between cities

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Graph theory G. Guérard Department of Nouvelles Energies Ecole Supérieur d Ingénieurs Léonard de Vinci Lecture 1 GG A.I. 1/37 Outline 1 Graph theory Undirected and directed graphs

More information

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

r=1 The Binomial Theorem. 4 MA095/98G Revision Revision Read through the whole course once Make summary sheets of important definitions and results, you can use the following pages as a start and fill in more yourself Do all assignments again Do the

More information

Graph Theory. ICT Theory Excerpt from various sources by Robert Pergl

Graph Theory. ICT Theory Excerpt from various sources by Robert Pergl Graph Theory ICT Theory Excerpt from various sources by Robert Pergl What can graphs model? Cost of wiring electronic components together. Shortest route between two cities. Finding the shortest distance

More information

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.

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. Final exam This is a closed book exam. No calculators are allowed. Unless stated otherwise, justify all your steps. You may use lemmas and theorems that were proven in class and on assignments unless stated

More information

Discrete Mathematics

Discrete Mathematics Discrete Mathematics Lecturer: Mgr. Tereza Kovářová, Ph.D. tereza.kovarova@vsb.cz Guarantor: doc. Mgr. Petr Kovář, Ph.D. Department of Applied Mathematics, VŠB Technical University of Ostrava About this

More information

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

Characterizing Graphs (3) Characterizing Graphs (1) Characterizing Graphs (2) Characterizing Graphs (4) S-72.2420/T-79.5203 Basic Concepts 1 S-72.2420/T-79.5203 Basic Concepts 3 Characterizing Graphs (1) Characterizing Graphs (3) Characterizing a class G by a condition P means proving the equivalence G G

More information

CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK

CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1 UNIT I INTRODUCTION CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK 1. Define Graph. 2. Define Simple graph. 3. Write few problems

More information

Introduction to Graph Theory

Introduction to Graph Theory Introduction to Graph Theory Tandy Warnow January 20, 2017 Graphs Tandy Warnow Graphs A graph G = (V, E) is an object that contains a vertex set V and an edge set E. We also write V (G) to denote the vertex

More information

2 hours THE UNIVERSITY OF MANCHESTER. 23 May :45 11:45

2 hours THE UNIVERSITY OF MANCHESTER. 23 May :45 11:45 2 hours MAT20902 TE UNIVERSITY OF MANCESTER DISCRETE MATEMATICS 23 May 2018 9:45 11:45 Answer ALL TREE questions in Section A (30 marks in total). Answer TWO of the TREE questions in Section B (50 marks

More information

Assignment 4 Solutions of graph problems

Assignment 4 Solutions of graph problems Assignment 4 Solutions of graph problems 1. Let us assume that G is not a cycle. Consider the maximal path in the graph. Let the end points of the path be denoted as v 1, v k respectively. If either of

More information

Introduction III. Graphs. Motivations I. Introduction IV

Introduction III. Graphs. Motivations I. Introduction IV Introduction I Graphs Computer Science & Engineering 235: Discrete Mathematics Christopher M. Bourke cbourke@cse.unl.edu Graph theory was introduced in the 18th century by Leonhard Euler via the Königsberg

More information

DS UNIT 4. Matoshri College of Engineering and Research Center Nasik Department of Computer Engineering Discrete Structutre UNIT - IV

DS UNIT 4. Matoshri College of Engineering and Research Center Nasik Department of Computer Engineering Discrete Structutre UNIT - IV Sr.No. Question Option A Option B Option C Option D 1 2 3 4 5 6 Class : S.E.Comp Which one of the following is the example of non linear data structure Let A be an adjacency matrix of a graph G. The ij

More information

1 Digraphs. Definition 1

1 Digraphs. Definition 1 1 Digraphs Definition 1 Adigraphordirected graphgisatriplecomprisedofavertex set V(G), edge set E(G), and a function assigning each edge an ordered pair of vertices (tail, head); these vertices together

More information

Graphs and trees come up everywhere. We can view the internet as a graph (in many ways) Web search views web pages as a graph

Graphs and trees come up everywhere. We can view the internet as a graph (in many ways) Web search views web pages as a graph Graphs and Trees Graphs and trees come up everywhere. We can view the internet as a graph (in many ways) who is connected to whom Web search views web pages as a graph Who points to whom Niche graphs (Ecology):

More information

Graph Theory: Introduction

Graph Theory: Introduction Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT Kharagpur pallab@cse.iitkgp.ernet.in Resources Copies of slides available at: http://www.facweb.iitkgp.ernet.in/~pallab

More information

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

Graphs (MTAT , 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402 Graphs (MTAT.05.080, 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402 homepage: http://courses.cs.ut.ee/2012/graafid (contains slides) For grade: Homework + three tests (during or after

More information

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur Lecture : Graphs Rajat Mittal IIT Kanpur Combinatorial graphs provide a natural way to model connections between different objects. They are very useful in depicting communication networks, social networks

More information

Discrete mathematics II. - Graphs

Discrete mathematics II. - Graphs Emil Vatai April 25, 2018 Basic definitions Definition of an undirected graph Definition (Undirected graph) An undirected graph or (just) a graph is a triplet G = (ϕ, E, V ), where V is the set of vertices,

More information

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

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department CS473-Algorithms I Lecture 3-A Graphs Graphs A directed graph (or digraph) G is a pair (V, E), where V is a finite set, and E is a binary relation on V The set V: Vertex set of G The set E: Edge set of

More information

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))

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)) 10 Graphs 10.1 Graphs and Graph Models 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)) 2. an edge is present, say e = {u,

More information

2 hours THE UNIVERSITY OF MANCHESTER. 22 May :00 16:00

2 hours THE UNIVERSITY OF MANCHESTER. 22 May :00 16:00 2 hours THE UNIVERSITY OF MANCHESTER DISCRETE MATHEMATICS 22 May 2015 14:00 16:00 Answer ALL THREE questions in Section A (30 marks in total) and TWO of the THREE questions in Section B (50 marks in total).

More information

Discrete Mathematics (2009 Spring) Graphs (Chapter 9, 5 hours)

Discrete Mathematics (2009 Spring) Graphs (Chapter 9, 5 hours) Discrete Mathematics (2009 Spring) Graphs (Chapter 9, 5 hours) Chih-Wei Yi Dept. of Computer Science National Chiao Tung University June 1, 2009 9.1 Graphs and Graph Models What are Graphs? General meaning

More information

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

Week 8: The fundamentals of graph theory; Planar Graphs 25 and 27 October, 2017 (1/25) MA284 : Discrete Mathematics Week 8: The fundamentals of graph theory; Planar Graphs 25 and 27 October, 2017 1 Definitions 1. A graph 2. Paths and connected graphs 3. Complete graphs 4. Vertex degree

More information

CMSC 380. Graph Terminology and Representation

CMSC 380. Graph Terminology and Representation CMSC 380 Graph Terminology and Representation GRAPH BASICS 2 Basic Graph Definitions n A graph G = (V,E) consists of a finite set of vertices, V, and a finite set of edges, E. n Each edge is a pair (v,w)

More information

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

GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS DR. ANDREW SCHWARTZ, PH.D. 10.1 Graphs and Graph Models (1) A graph G = (V, E) consists of V, a nonempty set of vertices (or nodes)

More information

An Introduction to Graph Theory

An Introduction to Graph Theory An Introduction to Graph Theory CIS008-2 Logic and Foundations of Mathematics David Goodwin david.goodwin@perisic.com 12:00, Friday 17 th February 2012 Outline 1 Graphs 2 Paths and cycles 3 Graphs and

More information

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

Discrete Mathematics for CS Spring 2008 David Wagner Note 13. An Introduction to Graphs CS 70 Discrete Mathematics for CS Spring 2008 David Wagner Note 13 An Introduction to Graphs Formulating a simple, precise specification of a computational problem is often a prerequisite to writing a

More information

Solutions to Quiz 1. (a) (3 points) Vertices x and y are in the same connected component. Solution. P (x, y)

Solutions to Quiz 1. (a) (3 points) Vertices x and y are in the same connected component. Solution. P (x, y) Massachusetts Institute of Technology 6.042J/18.062J, Fall 05: Mathematics for Computer Science October 17 Prof. Albert R. Meyer and Prof. Ronitt Rubinfeld revised October 18, 2005, 125 minutes Solutions

More information

Combinatorics Summary Sheet for Exam 1 Material 2019

Combinatorics Summary Sheet for Exam 1 Material 2019 Combinatorics Summary Sheet for Exam 1 Material 2019 1 Graphs Graph An ordered three-tuple (V, E, F ) where V is a set representing the vertices, E is a set representing the edges, and F is a function

More information

Graph Theory. Probabilistic Graphical Models. L. Enrique Sucar, INAOE. Definitions. Types of Graphs. Trajectories and Circuits.

Graph Theory. Probabilistic Graphical Models. L. Enrique Sucar, INAOE. Definitions. Types of Graphs. Trajectories and Circuits. Theory Probabilistic ical Models L. Enrique Sucar, INAOE and (INAOE) 1 / 32 Outline and 1 2 3 4 5 6 7 8 and 9 (INAOE) 2 / 32 A graph provides a compact way to represent binary relations between a set of

More information

Lecture 4: Bipartite graphs and planarity

Lecture 4: Bipartite graphs and planarity Lecture 4: Bipartite graphs and planarity Anders Johansson 2011-10-22 lör Outline Bipartite graphs A graph G is bipartite with bipartition V1, V2 if V = V1 V2 and all edges ij E has one end in V1 and V2.

More information

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

CS 311 Discrete Math for Computer Science Dr. William C. Bulko. Graphs CS 311 Discrete Math for Computer Science Dr. William C. Bulko Graphs 2014 Definitions Definition: A graph G = (V,E) consists of a nonempty set V of vertices (or nodes) and a set E of edges. Each edge

More information

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

Chapter 4. Relations & Graphs. 4.1 Relations. Exercises For each of the relations specified below: Chapter 4 Relations & Graphs 4.1 Relations Definition: Let A and B be sets. A relation from A to B is a subset of A B. When we have a relation from A to A we often call it a relation on A. When we have

More information

Slides for Faculty Oxford University Press All rights reserved.

Slides for Faculty Oxford University Press All rights reserved. Oxford University Press 2013 Slides for Faculty Assistance Preliminaries Author: Vivek Kulkarni vivek_kulkarni@yahoo.com Outline Following topics are covered in the slides: Basic concepts, namely, symbols,

More information

2. CONNECTIVITY Connectivity

2. CONNECTIVITY Connectivity 2. CONNECTIVITY 70 2. Connectivity 2.1. Connectivity. Definition 2.1.1. (1) A path in a graph G = (V, E) is a sequence of vertices v 0, v 1, v 2,..., v n such that {v i 1, v i } is an edge of G for i =

More information

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. An Introduction to Graph Theory

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. An Introduction to Graph Theory SCHOOL OF ENGINEERING & BUILT ENVIRONMENT Mathematics An Introduction to Graph Theory. Introduction. Definitions.. Vertices and Edges... The Handshaking Lemma.. Connected Graphs... Cut-Points and Bridges.

More information

6. Lecture notes on matroid intersection

6. Lecture notes on matroid intersection Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans May 2, 2017 6. Lecture notes on matroid intersection One nice feature about matroids is that a simple greedy algorithm

More information

MATH 139 W12 Review 1 Checklist 1. Exam Checklist. 1. Introduction to Predicates and Quantified Statements (chapters ).

MATH 139 W12 Review 1 Checklist 1. Exam Checklist. 1. Introduction to Predicates and Quantified Statements (chapters ). MATH 139 W12 Review 1 Checklist 1 Exam Checklist 1. Introduction to Predicates and Quantified Statements (chapters 3.1-3.4). universal and existential statements truth set negations of universal and existential

More information

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.

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. 1 Matchings Before, we defined a matching as a set of edges no two of which share an end in common. Suppose that we have a set of jobs and people and we want to match as many jobs to people as we can.

More information

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1 UNIT I INTRODUCTION CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS 1. Define Graph. A graph G = (V, E) consists

More information

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

K 4 C 5. Figure 4.5: Some well known family of graphs 08 CHAPTER. TOPICS IN CLASSICAL GRAPH THEORY K, K K K, K K, K K, K C C C C 6 6 P P P P P. Graph Operations Figure.: Some well known family of graphs A graph Y = (V,E ) is said to be a subgraph of a graph

More information

Graphs. Introduction To Graphs: Exercises. Definitions:

Graphs. Introduction To Graphs: Exercises. Definitions: Graphs Eng.Jehad Aldahdooh Introduction To Graphs: Definitions: A graph G = (V, E) consists of V, a nonempty set of vertices (or nodes) and E, a set of edges. Each edge has either one or two vertices associated

More information

GRAPHS: THEORY AND ALGORITHMS

GRAPHS: THEORY AND ALGORITHMS GRAPHS: THEORY AND ALGORITHMS K. THULASIRAMAN M. N. S. SWAMY Concordia University Montreal, Canada A Wiley-Interscience Publication JOHN WILEY & SONS, INC. New York / Chichester / Brisbane / Toronto /

More information

Preface MOTIVATION ORGANIZATION OF THE BOOK. Section 1: Basic Concepts of Graph Theory

Preface MOTIVATION ORGANIZATION OF THE BOOK. Section 1: Basic Concepts of Graph Theory xv Preface MOTIVATION Graph Theory as a well-known topic in discrete mathematics, has become increasingly under interest within recent decades. This is principally due to its applicability in a wide range

More information

Introductory Combinatorics

Introductory Combinatorics Introductory Combinatorics Third Edition KENNETH P. BOGART Dartmouth College,. " A Harcourt Science and Technology Company San Diego San Francisco New York Boston London Toronto Sydney Tokyo xm CONTENTS

More information

CMSC Honors Discrete Mathematics

CMSC Honors Discrete Mathematics CMSC 27130 Honors Discrete Mathematics Lectures by Alexander Razborov Notes by Justin Lubin The University of Chicago, Autumn 2017 1 Contents I Number Theory 4 1 The Euclidean Algorithm 4 2 Mathematical

More information

Jörgen Bang-Jensen and Gregory Gutin. Digraphs. Theory, Algorithms and Applications. Springer

Jörgen Bang-Jensen and Gregory Gutin. Digraphs. Theory, Algorithms and Applications. Springer Jörgen Bang-Jensen and Gregory Gutin Digraphs Theory, Algorithms and Applications Springer Contents 1. Basic Terminology, Notation and Results 1 1.1 Sets, Subsets, Matrices and Vectors 1 1.2 Digraphs,

More information

Introduction to Mathematical Programming IE406. Lecture 16. Dr. Ted Ralphs

Introduction to Mathematical Programming IE406. Lecture 16. Dr. Ted Ralphs Introduction to Mathematical Programming IE406 Lecture 16 Dr. Ted Ralphs IE406 Lecture 16 1 Reading for This Lecture Bertsimas 7.1-7.3 IE406 Lecture 16 2 Network Flow Problems Networks are used to model

More information

Graphs Definitions. Gunnar Gotshalks. GraphDefinitions 1

Graphs Definitions. Gunnar Gotshalks. GraphDefinitions 1 Graphs Definitions GraphDefinitions 1 Examples of Graphs Street maps» Vertices are the intersections» Edges are the streets Power line network» Vertices are the houses & power stations» Edges are the power

More information

Chapter 4 Graphs and Matrices. PAD637 Week 3 Presentation Prepared by Weijia Ran & Alessandro Del Ponte

Chapter 4 Graphs and Matrices. PAD637 Week 3 Presentation Prepared by Weijia Ran & Alessandro Del Ponte Chapter 4 Graphs and Matrices PAD637 Week 3 Presentation Prepared by Weijia Ran & Alessandro Del Ponte 1 Outline Graphs: Basic Graph Theory Concepts Directed Graphs Signed Graphs & Signed Directed Graphs

More information

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.

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. 1 Graph Basics What is a graph? Graph: a graph G consists of a set of vertices, denoted V (G), a set of edges, denoted E(G), and a relation called incidence so that each edge is incident with either one

More information

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

List of Theorems. Mat 416, Introduction to Graph Theory. Theorem 1 The numbers R(p, q) exist and for p, q 2, List of Theorems Mat 416, Introduction to Graph Theory 1. Ramsey s Theorem for graphs 8.3.11. Theorem 1 The numbers R(p, q) exist and for p, q 2, R(p, q) R(p 1, q) + R(p, q 1). If both summands on the

More information

CS 4407 Algorithms Lecture 5: Graphs an Introduction

CS 4407 Algorithms Lecture 5: Graphs an Introduction CS 4407 Algorithms Lecture 5: Graphs an Introduction Prof. Gregory Provan Department of Computer Science University College Cork 1 Outline Motivation Importance of graphs for algorithm design applications

More information

Konigsberg Bridge Problem

Konigsberg Bridge Problem Graphs Konigsberg Bridge Problem c C d g A Kneiphof e D a B b f c A C d e g D a b f B Euler s Graph Degree of a vertex: the number of edges incident to it Euler showed that there is a walk starting at

More information

Network Basics. CMSC 498J: Social Media Computing. Department of Computer Science University of Maryland Spring Hadi Amiri

Network Basics. CMSC 498J: Social Media Computing. Department of Computer Science University of Maryland Spring Hadi Amiri Network Basics CMSC 498J: Social Media Computing Department of Computer Science University of Maryland Spring 2016 Hadi Amiri hadi@umd.edu Lecture Topics Graphs as Models of Networks Graph Theory Nodes,

More information

Graph theory: basic concepts

Graph theory: basic concepts Graph theory: basic concepts Graphs and networks allow modelling many different decision problems Graphs permit to represent relationships among different kinds of entities: Cities connected by roads Computers

More information

Archive of past papers, solutions and homeworks for MATH 110, Discrete Mathematics, Fall 2012, Laurence Barker

Archive of past papers, solutions and homeworks for MATH 110, Discrete Mathematics, Fall 2012, Laurence Barker Archive of past papers, solutions and homeworks for MATH 110, Discrete Mathematics, Fall 2012, Laurence Barker version: 15 January 2013 Source file: arch110fall12.tex page 2: Handout 1, Course specification.

More information

Graphs, graph algorithms (for image segmentation),... in progress

Graphs, graph algorithms (for image segmentation),... in progress Graphs, graph algorithms (for image segmentation),... in progress Václav Hlaváč Czech Technical University in Prague Czech Institute of Informatics, Robotics and Cybernetics 66 36 Prague 6, Jugoslávských

More information

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

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 8 CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 8 An Introduction to Graphs Formulating a simple, precise specification of a computational problem is often a prerequisite

More information

Lecture 22 Tuesday, April 10

Lecture 22 Tuesday, April 10 CIS 160 - Spring 2018 (instructor Val Tannen) Lecture 22 Tuesday, April 10 GRAPH THEORY Directed Graphs Directed graphs (a.k.a. digraphs) are an important mathematical modeling tool in Computer Science,

More information

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

Math 778S Spectral Graph Theory Handout #2: Basic graph theory Math 778S Spectral Graph Theory Handout #: Basic graph theory Graph theory was founded by the great Swiss mathematician Leonhard Euler (1707-178) after he solved the Königsberg Bridge problem: Is it possible

More information

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

Lecture 3: Recap. Administrivia. Graph theory: Historical Motivation. COMP9020 Lecture 4 Session 2, 2017 Graphs and Trees Administrivia Lecture 3: Recap Assignment 1 due 23:59 tomorrow. Quiz 4 up tonight, due 15:00 Thursday 31 August. Equivalence relations: (S), (R), (T) Total orders: (AS), (R), (T), (L) Partial orders: (AS),

More information

context. (Similarly, we write ν for ν(g), etc. if there is no risk of confusion.) For a subset A V we write N G (A) = {v V ( w A)(v w)} (the set of

context. (Similarly, we write ν for ν(g), etc. if there is no risk of confusion.) For a subset A V we write N G (A) = {v V ( w A)(v w)} (the set of Graph Theory CMSC-27500 Spring 2015 http://people.cs.uchicago.edu/ laci/15graphs Homework set #4. First batch posted 4-9, 8am, updated 10:20am. Problems 4.16 4.31 added at 11:30pm. Due Tuesday, April 14

More information

Lecture 5: Dual graphs and algebraic duality

Lecture 5: Dual graphs and algebraic duality Lecture 5: Dual graphs and algebraic duality Anders Johansson 2011-10-22 lör Outline Eulers formula Dual graphs Algebraic duality Eulers formula Thm: For every plane map (V, E, F ) we have V E + F = 2

More information

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

Graphs and Network Flows IE411. Lecture 21. Dr. Ted Ralphs Graphs and Network Flows IE411 Lecture 21 Dr. Ted Ralphs IE411 Lecture 21 1 Combinatorial Optimization and Network Flows In general, most combinatorial optimization and integer programming problems are

More information

Simple graph Complete graph K 7. Non- connected graph

Simple graph Complete graph K 7. Non- connected graph A graph G consists of a pair (V; E), where V is the set of vertices and E the set of edges. We write V (G) for the vertices of G and E(G) for the edges of G. If no two edges have the same endpoints we

More information

Lecture 6: Graph Properties

Lecture 6: Graph Properties Lecture 6: Graph Properties Rajat Mittal IIT Kanpur In this section, we will look at some of the combinatorial properties of graphs. Initially we will discuss independent sets. The bulk of the content

More information

WUCT121. Discrete Mathematics. Graphs

WUCT121. Discrete Mathematics. Graphs WUCT121 Discrete Mathematics Graphs WUCT121 Graphs 1 Section 1. Graphs 1.1. Introduction Graphs are used in many fields that require analysis of routes between locations. These areas include communications,

More information

Math.3336: Discrete Mathematics. Chapter 10 Graph Theory

Math.3336: Discrete Mathematics. Chapter 10 Graph Theory Math.3336: Discrete Mathematics Chapter 10 Graph Theory Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu Fall

More information

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE Professor Kindred Math 104, Graph Theory Homework 3 Solutions February 14, 2013 Introduction to Graph Theory, West Section 2.1: 37, 62 Section 2.2: 6, 7, 15 Section 2.3: 7, 10, 14 DO NOT RE-DISTRIBUTE

More information

11/22/2016. Chapter 9 Graph Algorithms. Introduction. Definitions. Definitions. Definitions. Definitions

11/22/2016. Chapter 9 Graph Algorithms. Introduction. Definitions. Definitions. Definitions. Definitions Introduction Chapter 9 Graph Algorithms graph theory useful in practice represent many real-life problems can be slow if not careful with data structures 2 Definitions an undirected graph G = (V, E) is

More information

Chapter 9 Graph Algorithms

Chapter 9 Graph Algorithms Chapter 9 Graph Algorithms 2 Introduction graph theory useful in practice represent many real-life problems can be slow if not careful with data structures 3 Definitions an undirected graph G = (V, E)

More information

Graph Theory CS/Math231 Discrete Mathematics Spring2015

Graph Theory CS/Math231 Discrete Mathematics Spring2015 1 Graphs Definition 1 A directed graph (or digraph) G is a pair (V, E), where V is a finite set and E is a binary relation on V. The set V is called the vertex set of G, and its elements are called vertices

More information

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.

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. 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. Formal Definition of a Path (Undirected) Let n be a nonnegative integer

More information

Graphs. Pseudograph: multiple edges and loops allowed

Graphs. Pseudograph: multiple edges and loops allowed Graphs G = (V, E) V - set of vertices, E - set of edges Undirected graphs Simple graph: V - nonempty set of vertices, E - set of unordered pairs of distinct vertices (no multiple edges or loops) Multigraph:

More information

Logic: The Big Picture. Axiomatizing Arithmetic. Tautologies and Valid Arguments. Graphs and Trees

Logic: The Big Picture. Axiomatizing Arithmetic. Tautologies and Valid Arguments. Graphs and Trees Axiomatizing Arithmetic Logic: The Big Picture Suppose we restrict the domain to the natural numbers, and allow only the standard symbols of arithmetic (+,, =, >, 0, 1). Typical true formulas include:

More information

University of Toronto Department of Mathematics

University of Toronto Department of Mathematics University of Toronto Department of Mathematics MAT332H1F, Graph Theory Midterm, October 21, 2014 Instructor: Kasra Rafi First Last Student Number Instructions: No aids allowed. Write solutions on the

More information

Introduction to Sets and Logic (MATH 1190)

Introduction to Sets and Logic (MATH 1190) Introduction to Sets and Logic () Instructor: Email: shenlili@yorku.ca Department of Mathematics and Statistics York University Dec 4, 2014 Outline 1 2 3 4 Definition A relation R from a set A to a set

More information

Outline. Introduction. Representations of Graphs Graph Traversals. Applications. Definitions and Basic Terminologies

Outline. Introduction. Representations of Graphs Graph Traversals. Applications. Definitions and Basic Terminologies Graph Chapter 9 Outline Introduction Definitions and Basic Terminologies Representations of Graphs Graph Traversals Breadth first traversal Depth first traversal Applications Single source shortest path

More information

Foundations of Discrete Mathematics

Foundations of Discrete Mathematics Foundations of Discrete Mathematics Chapter 12 By Dr. Dalia M. Gil, Ph.D. Trees Tree are useful in computer science, where they are employed in a wide range of algorithms. They are used to construct efficient

More information

Assignment 1 Introduction to Graph Theory CO342

Assignment 1 Introduction to Graph Theory CO342 Assignment 1 Introduction to Graph Theory CO342 This assignment will be marked out of a total of thirty points, and is due on Thursday 18th May at 10am in class. Throughout the assignment, the graphs are

More information

Graphs and Isomorphisms

Graphs and Isomorphisms Graphs and Isomorphisms Discrete Structures (CS 173) Backyards of Old Houses in Antwerp in the Snow Van Gogh Madhusudan Parthasarathy, University of Illinois Proof techniques: Direct Contrapositive Disproving

More information

Course Introduction / Review of Fundamentals of Graph Theory

Course Introduction / Review of Fundamentals of Graph Theory Course Introduction / Review of Fundamentals of Graph Theory Hiroki Sayama sayama@binghamton.edu Rise of Network Science (From Barabasi 2010) 2 Network models Many discrete parts involved Classic mean-field

More information

Part II. Graph Theory. Year

Part II. Graph Theory. Year Part II Year 2017 2016 2015 2014 2013 2012 2011 2010 2009 2008 2007 2006 2005 2017 53 Paper 3, Section II 15H Define the Ramsey numbers R(s, t) for integers s, t 2. Show that R(s, t) exists for all s,

More information

Key Graph Theory Theorems

Key Graph Theory Theorems Key Graph Theory Theorems Rajesh Kumar MATH 239 Intro to Combinatorics August 19, 2008 3.3 Binary Trees 3.3.1 Problem (p.82) Determine the number, t n, of binary trees with n edges. The number of binary

More information

CSE 20 DISCRETE MATH. Fall

CSE 20 DISCRETE MATH. Fall CSE 20 DISCRETE MATH Fall 2017 http://cseweb.ucsd.edu/classes/fa17/cse20-ab/ Final exam The final exam is Saturday December 16 11:30am-2:30pm. Lecture A will take the exam in Lecture B will take the exam

More information

Chapter 9 Graph Algorithms

Chapter 9 Graph Algorithms Introduction graph theory useful in practice represent many real-life problems can be if not careful with data structures Chapter 9 Graph s 2 Definitions Definitions an undirected graph is a finite set

More information

Graph Theory. Part of Texas Counties.

Graph Theory. Part of Texas Counties. Graph Theory Part of Texas Counties. We would like to visit each of the above counties, crossing each county only once, starting from Harris county. Is this possible? This problem can be modeled as a graph.

More information

Math Summer 2012

Math Summer 2012 Math 481 - Summer 2012 Final Exam You have one hour and fifty minutes to complete this exam. You are not allowed to use any electronic device. Be sure to give reasonable justification to all your answers.

More information

BIL694-Lecture 1: Introduction to Graphs

BIL694-Lecture 1: Introduction to Graphs BIL694-Lecture 1: Introduction to Graphs Lecturer: Lale Özkahya Resources for the presentation: http://www.math.ucsd.edu/ gptesler/184a/calendar.html http://www.inf.ed.ac.uk/teaching/courses/dmmr/ Outline

More information

Number Theory and Graph Theory

Number Theory and Graph Theory 1 Number Theory and Graph Theory Chapter 6 Basic concepts and definitions of graph theory By A. Satyanarayana Reddy Department of Mathematics Shiv Nadar University Uttar Pradesh, India E-mail: satya8118@gmail.com

More information

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

Discrete mathematics , Fall Instructor: prof. János Pach Discrete mathematics 2016-2017, Fall Instructor: prof. János Pach - covered material - Lecture 1. Counting problems To read: [Lov]: 1.2. Sets, 1.3. Number of subsets, 1.5. Sequences, 1.6. Permutations,

More information

Math 443/543 Graph Theory Notes

Math 443/543 Graph Theory Notes Math 443/543 Graph Theory Notes David Glickenstein September 3, 2008 1 Introduction We will begin by considering several problems which may be solved using graphs, directed graphs (digraphs), and networks.

More information