Further Mathematics 2016 Module 2: NETWORKS AND DECISION MATHEMATICS Chapter 9 Undirected Graphs and Networks

Size: px
Start display at page:

Download "Further Mathematics 2016 Module 2: NETWORKS AND DECISION MATHEMATICS Chapter 9 Undirected Graphs and Networks"

Transcription

1 Further Mathematics 2016 Module 2: NETWORKS AND DECISION MATHEMATICS Chapter 9 Undirected Graphs and Networks Key knowledge the conventions, terminology, properties and types of graphs; edge, face, loop, vertex, the degree of a vertex, isomorphic and connected graphs, and the adjacency matrix, and Euler s formula for planar graphs and its application the exploring and travelling problem, walks, trails, paths, Eulerian trails and circuits, and Hamiltonian cycles the minimum connector problem, trees, spanning trees and minimum spanning trees the shortest path problem and Dijkstra s algorithm Key skills construct graphs, digraphs and networks and their matrix equivalents to model and analyse practical situations recognise that a problem is an example of the exploring and travelling problem and to solve it by utilising the concepts of walks, trails, paths, Eulerian trails and circuits, and Hamiltonian paths and cycles recognise that a problem is an example of the minimum connector problem and solve it by utilising the properties of trees, spanning trees and by determining a minimum spanning tree by inspection or using Prim s algorithm for larger scale problems recognise that a problem is an example of the shortest path problem and solve it by inspection or using Dijkstra s algorithm for larger scale problems Chapter Sections Questions to be completed 9.2 Basic concepts 2, 4, 6, 8, 10, 12, 14, 15ab, 16a, 17, 20, 21, Planar graphs and Euler s formula 1, 2, 4, 5, 6, 9ac, 10, 12, 14, 15, 17, Walks, trails, paths, cycles and circuits 1, 2, 3, 4, 5, 6, 8, 9, 13, 17, 18, 19, 20, Trees and their application 1, 2, 7, 8, 10, 13, 15, 16, 17, 18, 21ac, 22a, 23, 24 More resources available at

2 Networks 1 PCS 2016 Table of Contents Chapter 9 Undirected Graphs and Networks. 1 Key knowledge... 1 Key skills Basic concepts of a network... 3 Definition of a network... 3 Worked Example The degree of a vertex... 3 Worked Example Representation of networks... 4 Worked Example Worked Example Matrix representation of networks... 5 Worked Example Planar, graphs and Euler s formula... 6 Degenerate graph... 6 Complete graph... 6 Planar graphs... 6 The regions of a planar graph... 7 Converting a non- planar graph... 7 Worked Example Worked Example Converting three- dimensional solids to planar graphs... 8 Worked Example Euler s formula... 8 Worked Example Walks, trails, paths, cycles and circuits... 9 Walks... 9 Connected graphs... 9 Euler trails... 9 Worked Example Euler circuits Worked Example An Euler circuit algorithm Worked Example Path and cycles Worked Example Hamiltonian cycles Worked Example Trees and their application Graphs and subgraphs Trees Worked Example Shortest paths Worked Example A shortest path algorithm Worked Example Spanning trees Minimum spanning tree and Prim s algorithm Prim s algorithm Worked Example Maximum spanning tree Worked Example Dijkstra s algorithm Dijkstra s algorithm Example Dijkstra s algorithm Example Worked Example 20 (STUDENT PRACTICE) Additional Dijkstra s Algorithm Questions Page 2 of 20

3 9.2 Basic concepts of a network Matrices Notes PCS 2016 Definition of a network The telephone system, your family tree and the internet are all considered to be networks (graphs). The simplest definition of a network is: Consider the following diagram. It is perhaps the simplest network. It consists of two vertices (singular vertex) (circles labelled 1 and 2) and one connection between them. This connection is called an edge. Worked Example 1 Count the number of vertices and edges in the network shown. There are two things worth noting about this classification of a network: 1. the vertices and edges can be labelled in any order, using any suitable labelling system. 2. vertices may have different number of edges connected to them. The degree of a vertex Each vertex may have a number of edges connecting it with the rest of the network. This number is called the degree. A vertex with degree 0 is not connected to any other vertex, and is called an isolated vertex. If two (or more) edges connect the same pair of vertices they are called parallel edges (or multiple edges) and all count towards the degree. If there is only one connection between two vertices, the connection is called a simple, or single, connection. Page 3 of 20

4 Worked Example 2 Determine the degree of each vertex in the figure shown. Networks 1 PCS 2016 Representation of networks So far we have seen graphical representation of networks. Two other ways of representing networks are: 1. labelling the vertices and labelling the edges according to their vertices 2. matrix representation Worked Example 3 Label the vertices and edges for the figure shown, as in Worked example 2 Page 4 of 20

5 Worked Example 4 Construct a graph from the following list of vertices and edges. V = {A, B, C, D, E} E = {(A, B), (A, C), (A, D), (B, C), (B, D), (B, D), (C, E), (D, E), (E, E)} Matrices Notes PCS 2016 There may be other geometric configurations which can be drawn from the same vertex and edge list, but they isomorphic (or equivalent) to this one. Matrix representation of networks A method of representing a network is through the use of a matrix. Worked Example 5 Represent the network shown as a matrix In a matrix representation 1. the sum of a row (or column) gives a degree of that vertex, except where a loop is present (shown as a 1 in the leading diagonal), add 1 to the sum of the row or column. 2. if an entire row or its corresponding column has only s then that vertex is isolated 3. the matrix is diagonally symmetric. Page 5 of 20

6 9.3 Planar, graphs and Euler s formula Networks 1 PCS 2016 A planar graph is a special kind of network or graph. The additional properties of planar graphs will allow us to map two- dimensional and even three- dimensional objects into graphs. Degenerate graph A graph with no edges is called a degenerate graph (or null graph). Complete graph A graph were all vertices are directly connected to all other vertices without parallel edges or loops is called a complete graph. The figure on the left is a degenerate; the one on the right is complete. How many edges would there be in a complete graph of 6 vertices? Planar graphs Consider the following graphs. Figure a is a planar graph because none of the paths {A, B, C, D, E, F} cross each other. Figure b is apparently not a planar graph because the path (A, D) crosses the path (B, C). Is figure c a planar graph? Page 6 of 20

7 The regions of a planar graph Matrices Notes PCS 2016 The above graph can be divided into three regions (faces): region I, region II and region III. Region III is infinite as it continues beyond the bounds of the diagram. Region I and region II have a finite area. Converting a non- planar graph Although it may appear that a graph is not planar, by modifying the graph it may become clearly planar. Two method that you could use are: 1. Move the edges 2. Move the vertices Worked Example 6 Convert the graph below to a planar graph. Indicate the faces of the planar graph. The degree of each face is the number of edges defining that region. Worked Example 7 Find the degree of each face of the graph shown in the figure. Page 7 of 20

8 Converting three- dimensional solids to planar graphs Worked Example 8 The figure shows a cube with vertices, V = {A, B, C, D, E, F, G, H}. Convert this to a planar graph. Networks 1 PCS 2016 Euler s formula The relationship that links vertices, edges and faces of a planar graph is know as Euler s formula. Worked Example 9 Verify Euler s formula for the cube of the last figure in Worked example 8. Note that the cube is a form of prism and all prisms can be converted to planar graphs using the technique of one face collapsing into another. Page 8 of 20

9 Matrices Notes PCS Walks, trails, paths, cycles and circuits Walks A walk is a sequence of edges that takes you along some or all of the edges or through some or all of the vertices. There are different ways of naming a walk. For example, consider the figure shown on the right, travelling from node 1 to node 3. A walk could be specified via node 2, namely A- B or by specifying the vertices Alternatively, you could the walk C- E- D, or C- F. Each of these routes is a walk. Connected graphs The figure on the left, there is no walk between vertices 1 and 2, nor between vertices 3 and 4, so it is not a connected graph. However, if we add a single edge, as in the figure on the right, between vertices 1 and 2, the entire graph becomes connected. Euler trails A trail is a walk in which no edges are repeated. 1. For an Euler trail to exist, all vertices must be of an even degree or there must be exactly two vertices of odd degree. 2. If the degrees of all the vertices are even numbers, start with any vertex. In this case the starting vertex and ending vertex are the same. 3. If there are two vertices whose degree is an odd number used either as a starting point. The other vertex of odd degree must be the ending point. Worked Example 10 Using the figure, identify an Euler trail. Page 9 of 20

10 Euler circuits Networks 1 PCS 2016 In an Euler circuit all the vertices must be of an even degree. If there is an odd degree vertex, an Euler circuit is not possible. Worked Example 11 Find an Euler circuit for the planar graph shown. An Euler circuit algorithm For some networks it may be difficult to determine an Euler circuit. Here is an algorithm (a process) that guarantees an Euler circuit. Consider a network where all vertices ar3e of even degree. Let V = {1, 2, 3, } be the list of vertices. Step 1. Choose a starting vertex from the list V. Call this vertex A. Step 2. Step 3. From vertex A, find the smallest possible path which returns to vertex A. This is a sub- circuit of the original network. Let S be the list of vertices in this sub- circuit. For each vertex in S, choose a single vertex in turn as the starting vertex of a different sub- circuit. It should be as small as possible, and not use any previously used edge. Step 4. For each of these new sub- circuits (if there are any), add any new vertices to the list in S. Step 5. Repeat steps 3 and 4 until there are no more new vertices, edges or sub- circuits left; that is, the list S and V are the same. Step 6. Join the sub- circuits at their intersection points. Page 10 of 20

11 Worked Example 12 Find one possible Euler circuit for the network shown using the Euler circuit algorithm. Matrices Notes PCS 2016 Step Instruction Example 1 Choose a starting vertex, and find its smallest sub- circuit. 2 Create the list S from the first sub- circuit. Find new sub- circuit, not using any edges already used. (step 3) 3 Add to the list S. (step 4) 4 Find the new sub- circuit. (step 3) 5 Add to list S. Check that all vertices are in the list. (step 4) 6 Form the Euler trail, starting with the first sub- circuit, and proceeding through all the other sub- circuit at their intersection. (step 6) 7 List the Euler circuit. Path and cycles In Euler trails and circuits each edge was used exactly once, while vertices could be re- used. Now, consider the case where it is desirable to use each vertex exactly once. Please note: Not all edges need to be used. There can only be up to 2 vertices with degree 1 (dead ends). These would be the start and/or the finishing vertices. Page 11 of 20

12 Worked Example 13 Determine a Hamiltonian path in the planar graph shown. Networks 1 PCS 2016 Hamiltonian cycles When determining a Hamiltonian path, sometimes it is desirable to start and finish with the same vertex. For example, a travelling salesperson may live in one of the towns (vertices) she visits and would like to start and finish at her home town after visiting all the other towns once. This is similar to the concept of an Euler circuit. Worked Example 14 Determine a Hamiltonian cycle in the planar graph shown. 9.5 Trees and their application Graphs and subgraphs A network can also be called a graph. In practice, a graph should have at least 2 vertices and 1 edge. All or part of this graph can be considered as a subgraph. For example, in the figure, the entire network can be considered as a graph, while the path in pink can be considered a subgraph. Another subgraph could be defined by the path A minimum subgraph could be defined by the path 1 2. Often the edges can be assigned some quantity such as distance or cost. If a graph contains quantities, it is then called a weighted graph. Page 12 of 20

13 Trees Matrices Notes PCS 2016 Worked Example 15 Determine whether each of the figures is a tree, and if not, explain why not. a. b. c. d. The advantage of trees within a network is that the tree could determine an efficient connection between vertices in the sense that there is a minimum distance, cost or time. Shortest paths Sometimes it may be useful to determine the shortest path between 2 selected vertices of a graph. Worked Example 16 Determine the shortest path between nodes A and F in the figure shown. Possible trees between A- F Distance travelled A shortest path algorithm Sometimes it can be difficult to list all the paths between the starting and ending vertex. Here is an algorithm that guarantees the shortest path. Step 1. From the starting vertex, find the shortest path to all other directly connected vertices. Include all such vertices, including the starting one in the list S = {A, B, } Step 2. Choose a vertex directly connected to those in S and find the shortest path to the staring vertex. Step 3. Add the new vertex, V, to the list S. Step 4. Repeat steps 2 and 3 until all vertices are in S. Find the shortest path to the vertex you want. Page 13 of 20

14 Worked Example 17 Find the shortest path from vertex 1 to vertex 9. Networks 1 PCS From 1 find shortest path to each vertices directly connected to it From To Via Distance Shortest path to 2. Determine set of vertices in S 3. Choose a vertex directly connected to one in S Select vertex 5 4. Add new vertex to the S list 5. Choose a vertex directly connected to one in S Select vertex 6 6. Add new vertex to the S list 7. Choose a vertex directly connected to one in S Select vertex 7 8. Add new vertex to the S list 9. Choose a vertex directly connected to one in S Select vertex Add new vertex to the S list 11. Choose last vertex 9 Select vertex Add new vertex to the S list 13. Stop once all vertices are listed Spanning trees Spanning trees include all vertices. Consider the following network. If the vertices are a location/town /house etc. and the distances are shown on the edges. Then the figures below show the possible trees. Page 14 of 20

15 Matrices Notes PCS 2016 Note that each of these trees included all the vertices of the original network. These trees are called spanning trees because of this property. Minimum spanning tree and Prim s algorithm Minimum spanning trees connect all vertices with the smallest distance. Prim s algorithm Step 1. Step 2. Step 3. Step 4. Worked Example 18 Choose the edge with the minimum value. If 2 or more edges are the smallest, choose any of these. Inspect the next edges connected to the two vertices on the ends of your original edge. Choose the smallest edge. Inspect all included vertices so far and choose the smallest edge leading from any vertex. Repeat until all vertices are included. Determine the minimum spanning tree for the network representing footpaths in a school campus. Maximum spanning tree Worked Example 19 Maximum spanning trees connect all vertices with the largest distance. The figure shown represents a telephone network connecting 6 towns, A, B,, F. The numbered edges represent the capacity of the telephone connection between the towns connected, that is, the maximum number of calls that can be made at the same time along that edge. A telephone engineer wishes to determine the maximum capacity of the system in terms of a tree connecting all the towns so that calls can be routed along that tree. Page 15 of 20

16 Networks 1 PCS 2016 Dijkstra s algorithm Another method for determining the shortest path between a given vertex and each of the other vertices is Dijkstra s algorithm. Dijkstra s algorithm Example 1 The weights in the graph opposite show the distances, in kilometres, by road between the towns. The algorithm will be used to find the shortest path between St Andrews (S ) and Toolangi (T ). Step 1: Create a table 1. Write the starting vertex as the first row vertex. 2. Write the other vertices in the network as column vertices (the order is unimportant). S K Y T H Step 2: Complete the first row Look at the graph to find the distance from the starting vertex (the row vertex in this example S) to the vertices that are directly connected to it (a column vertex). 1. Write down the distance from the row vertex to a column vertex, directly underneath the column vertex as shown. 2. If a vertex is not directly connected to the starting vertex, mark a cross (x). 3. Look for the smallest number in the first row and draw a box around it. If there are two or more the same, any one can be chosen. 4. The column vertex for this boxed number becomes the next row vertex. K Y T H S X X K Y T H S X X K Step 3: Complete the further rows 1. Copy all boxed numbers into the next row. K Y T H S X X K 13 Page 16 of 20

17 2. For the remaining columns, add the boxed numbers for the row vertex to the distance from the row vertex to the column vertex. a) If the value is greater than the value above it, ignore the new value and copy the existing one. b) If the value is less than or equal to the value above it in the column, write down new value. c) If the row vertex is not directly connected to the column vertex, mark with a cross (x). 3. Look for the smallest unboxed number in the row and draw a box around it. 4. The column vertex for this new boxed number becomes the next row vertex. 5. Repeat step 3 until the destination vertex value has a boxed around it. Matrices Notes PCS 2016 K Y T H S X X K X K Y T H S X X K X Y K Y T H S X X K X Y Step 4: Backtrack to identify the shortest path and its length 1. Start at the box value for the destination vertex. This is the length of the shortest path from the starting vertex to the destination vertex. 2. Draw a line up the column to the last number that is the same as the box number (it does not have to have a box around it). 3. Look at the row vertex for this number and draw a horizontal line to the column for this vertex. 4. Repeat until the starting vertex is reached. 5. The horizontal lines in the table indicate the shortest path. K Y T H S X X K X Y Page 17 of 20

18 Dijkstra s algorithm Example 2 Find the shortest path from A to F in the weighted graph shown using Dijkstra s algorithm Networks 1 PCS 2016 Step 1: Create a table 1. Write the starting vertex as the first row vertex. 2. Write the other vertices in the network as column vertices (the order is unimportant). Step 2: Complete the first row Look at the graph to find the distance from the starting vertex (the row vertex in this example S) to the vertices that are directly connected to it (a column vertex). 1. Write down the distance from the row vertex to a column vertex, directly underneath the column vertex as shown. 2. If a vertex is not directly connected to the starting vertex, mark a cross (x). 3. Look for the smallest number in the first row and draw a box around it. If there are two or more the same, any one can be chosen. 4. The column vertex for this boxed number becomes the next row vertex. Step 3: Complete the further rows 1. Copy all boxed numbers into the next row. 2. For the remaining columns, add the boxed numbers for the row vertex to the distance from the row vertex to the column vertex. a) If the value is greater than the value above it, ignore the new value and copy the existing one. b) If the value is less than or equal to the value above it in the column, write down new value. c) If the row vertex is not directly connected to the column vertex, mark with a cross (x). 3. Look for the smallest unboxed number in the row and draw a box around it. 4. The column vertex for this new boxed number becomes the next row vertex. 5. Repeat step 3 until the destination vertex value has a boxed around it. A A A A A A B C D E B C D E B C D E B C D E B C D E B C D E Page 18 of 20

19 Step 4: Backtrack to identify the shortest path and its length 1. Start at the box value for the destination vertex. This is the length of the shortest path from the starting vertex to the destination vertex. 2. Draw a line up the column to the last number that is the same as the box number (it does not have to have a box around it). 3. Look at the row vertex for this number and draw a horizontal line to the column for this vertex. 4. Repeat until the starting vertex is reached. 5. The horizontal lines in the table indicate the shortest path. A Matrices Notes PCS 2016 B C D E Worked Example 20 (STUDENT PRACTICE) Determine the shortest path from A to E, where the distance are in kilometres, by using Dijkstra s algorithm in tabular form. Page 19 of 20

20 Additional Dijkstra s Algorithm Questions Networks 1 PCS 2016 Page 20 of 20

Module 2: NETWORKS AND DECISION MATHEMATICS

Module 2: NETWORKS AND DECISION MATHEMATICS Further Mathematics 2017 Module 2: NETWORKS AND DECISION MATHEMATICS Chapter 9 Undirected Graphs and Networks Key knowledge the conventions, terminology, properties and types of graphs; edge, face, loop,

More information

Undirected Network Summary

Undirected Network Summary Undirected Network Summary Notice that the network above has multiple edges joining nodes a to d and the network has a loop at node d. Also c is called an isolated node as it is not connected to any other

More information

Topic 10 Part 2 [474 marks]

Topic 10 Part 2 [474 marks] Topic Part 2 [474 marks] The complete graph H has the following cost adjacency matrix Consider the travelling salesman problem for H a By first finding a minimum spanning tree on the subgraph of H formed

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

Worksheet for the Final Exam - Part I. Graphs

Worksheet for the Final Exam - Part I. Graphs Worksheet for the Final Exam - Part I. Graphs Date and Time: May 10 2012 Thursday 11:50AM~1:50PM Location: Eng 120 Start with the Self-Test Exercises (pp.816) in Prichard. 1. Give the adjacency matrix

More information

MEI Further Mathematics Support Programme

MEI Further Mathematics Support Programme Further Mathematics Support Programme the Further Mathematics Support Programme www.furthermaths.org.uk Modelling and problem solving with Networks Sharon Tripconey Let Maths take you Further Nov 2009

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

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

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

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

Chapter 14. Graphs Pearson Addison-Wesley. All rights reserved 14 A-1

Chapter 14. Graphs Pearson Addison-Wesley. All rights reserved 14 A-1 Chapter 14 Graphs 2011 Pearson Addison-Wesley. All rights reserved 14 A-1 Terminology G = {V, E} A graph G consists of two sets A set V of vertices, or nodes A set E of edges A subgraph Consists of a subset

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

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

MEI Conference 2009: D2

MEI Conference 2009: D2 D Networks MEI Conference 009: D Travelling Salesperson Problem 7 A B Route Inspection Problems (Chinese Postman) () A 7 B () 4 () C Identify the odd vertices in the network Consider all the routes joining

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

Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around

Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around 1 Finite Math A Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around Academic Standards Covered in this Chapter: *************************************************************************************

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

SAMPLE. MODULE 5 Undirected graphs

SAMPLE. MODULE 5 Undirected graphs H P T R MOUL Undirected graphs How do we represent a graph by a diagram and by a matrix representation? How do we define each of the following: graph subgraph vertex edge (node) loop isolated vertex bipartite

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

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

Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around

Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around 1 Finite Math A Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around Academic Standards Covered in this Chapter: *************************************************************************************

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

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

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

0.0.1 Network Analysis

0.0.1 Network Analysis Graph Theory 0.0.1 Network Analysis Prototype Example: In Algonquian Park the rangers have set up snowmobile trails with various stops along the way. The system of trails is our Network. The main entrance

More information

INTRODUCTION TO GRAPH THEORY. 1. Definitions

INTRODUCTION TO GRAPH THEORY. 1. Definitions INTRODUCTION TO GRAPH THEORY D. JAKOBSON 1. Definitions A graph G consists of vertices {v 1, v 2,..., v n } and edges {e 1, e 2,..., e m } connecting pairs of vertices. An edge e = (uv) is incident with

More information

Chapter 1 Graph Theory

Chapter 1 Graph Theory Chapter Graph Theory - Representations of Graphs Graph, G=(V,E): It consists of the set V of vertices and the set E of edges. If each edge has its direction, the graph is called the directed graph (digraph).

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

Graph (1A) Young Won Lim 4/19/18

Graph (1A) Young Won Lim 4/19/18 Graph (1A) Copyright (c) 2015 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version

More information

Algorithms. Graphs. Algorithms

Algorithms. Graphs. Algorithms Algorithms Graphs Algorithms Graphs Definition: A graph is a collection of edges and vertices. Each edge connects two vertices. Algorithms 1 Graphs Vertices: Nodes, points, computers, users, items,...

More information

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

Mathematics and Statistics, Part A: Graph Theory Problem Sheet 1, lectures 1-4 1. Draw Mathematics and Statistics, Part A: Graph Theory Problem Sheet 1, lectures 1-4 (i) a simple graph. A simple graph has a non-empty vertex set and no duplicated edges. For example sketch G with V

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

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

Algorithms: Graphs. Amotz Bar-Noy. Spring 2012 CUNY. Amotz Bar-Noy (CUNY) Graphs Spring / 95

Algorithms: Graphs. Amotz Bar-Noy. Spring 2012 CUNY. Amotz Bar-Noy (CUNY) Graphs Spring / 95 Algorithms: Graphs Amotz Bar-Noy CUNY Spring 2012 Amotz Bar-Noy (CUNY) Graphs Spring 2012 1 / 95 Graphs Definition: A graph is a collection of edges and vertices. Each edge connects two vertices. Amotz

More information

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

v V Question: How many edges are there in a graph with 10 vertices each of degree 6? ECS20 Handout Graphs and Trees March 4, 2015 (updated 3/9) Notion of a graph 1. A graph G = (V,E) consists of V, a nonempty set of vertices (or nodes) and E, a set of pairs of elements of V called edges.

More information

Examples of Tasks from Course 1, Unit 4

Examples of Tasks from Course 1, Unit 4 Examples of Tasks from Course 1, Unit 4 What Solutions are Available? Lesson 1: page 258, Modeling Task 1; page 260, Modeling Task 4; page 261, Organizing Task 1; page 271, Modeling Task 2; page 272, Modeling

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

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

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

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

Question. Why is the third shape not convex?

Question. Why is the third shape not convex? 1. CONVEX POLYGONS Definition. A shape D in the plane is convex if every line drawn between two points in D is entirely inside D. Convex 6 gon Another convex 6 gon Not convex Question. Why is the third

More information

Network Topology and Graph

Network Topology and Graph Network Topology Network Topology and Graph EEE442 Computer Method in Power System Analysis Any lumped network obeys 3 basic laws KVL KCL linear algebraic constraints Ohm s law Anawach Sangswang Dept.

More information

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

Assignments are handed in on Tuesdays in even weeks. Deadlines are: Tutorials at 2 3, 3 4 and 4 5 in M413b, on Tuesdays, in odd weeks. i.e. on the following dates. Tuesday the 28th January, 11th February, 25th February, 11th March, 25th March, 6th May. Assignments are

More information

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

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

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 if not careful with data structures 3 Definitions an undirected graph G = (V, E) is a

More information

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

Graph Theory. 1 Introduction to Graphs. Martin Stynes Department of Mathematics, UCC   January 26, 2011 Graph Theory Martin Stynes Department of Mathematics, UCC email: m.stynes@ucc.ie January 26, 2011 1 Introduction to Graphs 1 A graph G = (V, E) is a non-empty set of nodes or vertices V and a (possibly

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 II. Po-Shen Loh. June edges each. Solution: Spread the n vertices around a circle. Take parallel classes.

Graph Theory II. Po-Shen Loh. June edges each. Solution: Spread the n vertices around a circle. Take parallel classes. Graph Theory II Po-Shen Loh June 009 1 Warm-up 1. Let n be odd. Partition the edge set of K n into n matchings with n 1 edges each. Solution: Spread the n vertices around a circle. Take parallel classes..

More information

1. CONVEX POLYGONS. Definition. A shape D in the plane is convex if every line drawn between two points in D is entirely inside D.

1. CONVEX POLYGONS. Definition. A shape D in the plane is convex if every line drawn between two points in D is entirely inside D. 1. CONVEX POLYGONS Definition. A shape D in the plane is convex if every line drawn between two points in D is entirely inside D. Convex 6 gon Another convex 6 gon Not convex Question. Why is the third

More information

Ordinary Differential Equation (ODE)

Ordinary Differential Equation (ODE) Ordinary Differential Equation (ODE) INTRODUCTION: Ordinary Differential Equations play an important role in different branches of science and technology In the practical field of application problems

More information

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

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions Basic Combinatorics Math 40210, Section 01 Fall 2012 Homework 4 Solutions 1.4.2 2: One possible implementation: Start with abcgfjiea From edge cd build, using previously unmarked edges: cdhlponminjkghc

More information

Instant Insanity Instructor s Guide Make-it and Take-it Kit for AMTNYS 2006

Instant Insanity Instructor s Guide Make-it and Take-it Kit for AMTNYS 2006 Instant Insanity Instructor s Guide Make-it and Take-it Kit for AMTNYS 2006 THE KIT: This kit contains materials for two Instant Insanity games, a student activity sheet with answer key and this instructor

More information

Notebook Assignments

Notebook Assignments Notebook Assignments These six assignments are a notebook using techniques from class in the single concrete context of graph theory. This is supplemental to your usual assignments, and is designed for

More information

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

The University of Sydney MATH2969/2069. Graph Theory Tutorial 2 (Week 9) 2008 The University of Sydney MATH99/09 Graph Theory Tutorial (Week 9) 00. Show that the graph on the left is Hamiltonian, but that the other two are not. To show that the graph is Hamiltonian, simply find

More information

TWO CONTRIBUTIONS OF EULER

TWO CONTRIBUTIONS OF EULER TWO CONTRIBUTIONS OF EULER SIEMION FAJTLOWICZ. MATH 4315 Eulerian Tours. Although some mathematical problems which now can be thought of as graph-theoretical, go back to the times of Euclid, the invention

More information

Honors ICM- Graph Theory Unit 7 Homework Packet Homework Day 1

Honors ICM- Graph Theory Unit 7 Homework Packet Homework Day 1 Honors ICM- Graph Theory Unit 7 Homework Packet Homework Day 1 Name Period: 6. Construct a graph with three critical paths. 7. Determine the minimum project time and the critical path for the following

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

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

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

CHAPTER 2. Graphs. 1. Introduction to Graphs and Graph Isomorphism CHAPTER 2 Graphs 1. Introduction to Graphs and Graph Isomorphism 1.1. The Graph Menagerie. Definition 1.1.1. A simple graph G = (V, E) consists of a set V of vertices and a set E of edges, represented

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

EECS 203 Lecture 20. More Graphs

EECS 203 Lecture 20. More Graphs EECS 203 Lecture 20 More Graphs Admin stuffs Last homework due today Office hour changes starting Friday (also in Piazza) Friday 6/17: 2-5 Mark in his office. Sunday 6/19: 2-5 Jasmine in the UGLI. Monday

More information

MT365 Examination 2017 Part 1 Solutions Part 1

MT365 Examination 2017 Part 1 Solutions Part 1 MT xamination 0 Part Solutions Part Q. G (a) Number of vertices in G =. Number of edges in G = (i) The graph G is simple no loops or multiple edges (ii) The graph G is not regular it has vertices of deg.,

More information

MAS 341: GRAPH THEORY 2016 EXAM SOLUTIONS

MAS 341: GRAPH THEORY 2016 EXAM SOLUTIONS MS 41: PH THEOY 2016 EXM SOLUTIONS 1. Question 1 1.1. Explain why any alkane C n H 2n+2 is a tree. How many isomers does C 6 H 14 have? Draw the structure of the carbon atoms in each isomer. marks; marks

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

Graphs. The ultimate data structure. graphs 1

Graphs. The ultimate data structure. graphs 1 Graphs The ultimate data structure graphs 1 Definition of graph Non-linear data structure consisting of nodes & links between them (like trees in this sense) Unlike trees, graph nodes may be completely

More information

Majority and Friendship Paradoxes

Majority and Friendship Paradoxes Majority and Friendship Paradoxes Majority Paradox Example: Small town is considering a bond initiative in an upcoming election. Some residents are in favor, some are against. Consider a poll asking the

More information

Graph Overview (1A) Young Won Lim 5/9/18

Graph Overview (1A) Young Won Lim 5/9/18 Copyright (c) 2015 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published

More information

Chapter 3: Paths and Cycles

Chapter 3: Paths and Cycles Chapter 3: Paths and Cycles 5 Connectivity 1. Definitions: Walk: finite sequence of edges in which any two consecutive edges are adjacent or identical. (Initial vertex, Final vertex, length) Trail: walk

More information

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

MC 302 GRAPH THEORY 10/1/13 Solutions to HW #2 50 points + 6 XC points MC 0 GRAPH THEORY 0// Solutions to HW # 0 points + XC points ) [CH] p.,..7. This problem introduces an important class of graphs called the hypercubes or k-cubes, Q, Q, Q, etc. I suggest that before you

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

08. First and second degree equations

08. First and second degree equations 08. First and second degree equations GRAPH THEORY Based on Chris K. Caldwell work: http://primes.utm.edu/cgi-bin/caldwell/tutor/graph/index.html INTRODUCTION Consider the next problem: Old Königsberg

More information

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. Graph Theory

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. Graph Theory About the Tutorial This tutorial offers a brief introduction to the fundamentals of graph theory. Written in a reader-friendly style, it covers the types of graphs, their properties, trees, graph traversability,

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

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

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

1. Sorting (assuming sorting into ascending order) a) BUBBLE SORT

1. Sorting (assuming sorting into ascending order) a) BUBBLE SORT DECISION 1 Revision Notes 1. Sorting (assuming sorting into ascending order) a) BUBBLE SORT Make sure you show comparisons clearly and label each pass First Pass 8 4 3 6 1 4 8 3 6 1 4 3 8 6 1 4 3 6 8 1

More information

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

Student Name and ID Number. MATH 3012 Final Exam, December 11, 2014, WTT MATH 3012 Final Exam, December 11, 2014, WTT Student Name and ID Number 1. Consider the 11-element set X consisting of the three capital letters {A, B, C} and the eight digits {0, 1, 2,..., 7}. a. How

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

Planar Graph (7A) Young Won Lim 5/21/18

Planar Graph (7A) Young Won Lim 5/21/18 Planar Graph (7A) Copyright (c) 2015 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later

More information

PATH FINDING AND GRAPH TRAVERSAL

PATH FINDING AND GRAPH TRAVERSAL GRAPH TRAVERSAL PATH FINDING AND GRAPH TRAVERSAL Path finding refers to determining the shortest path between two vertices in a graph. We discussed the Floyd Warshall algorithm previously, but you may

More information

Chapter 2: Graph Theory

Chapter 2: Graph Theory Chapter 2: Graph Theory Graph Theory Introduction Applications of Graphs: Convenient representation/visualisation to many Mathematical, Engineering and Science Problems. Fundamental Data Structure in Computer

More information

How can we lay cable at minimum cost to make every telephone reachable from every other? What is the fastest route between two given cities?

How can we lay cable at minimum cost to make every telephone reachable from every other? What is the fastest route between two given cities? 1 Introduction Graph theory is one of the most in-demand (i.e. profitable) and heavily-studied areas of applied mathematics and theoretical computer science. May graph theory questions are applied in this

More information

PSD1A. DESIGN AND ANALYSIS OF ALGORITHMS Unit : I-V

PSD1A. DESIGN AND ANALYSIS OF ALGORITHMS Unit : I-V PSD1A DESIGN AND ANALYSIS OF ALGORITHMS Unit : I-V UNIT I -- Introduction -- Definition of Algorithm -- Pseudocode conventions -- Recursive algorithms -- Time and space complexity -- Big- o notation --

More information

Lecture 10. Elementary Graph Algorithm Minimum Spanning Trees

Lecture 10. Elementary Graph Algorithm Minimum Spanning Trees Lecture 10. Elementary Graph Algorithm Minimum Spanning Trees T. H. Cormen, C. E. Leiserson and R. L. Rivest Introduction to Algorithms, 3rd Edition, MIT Press, 2009 Sungkyunkwan University Hyunseung Choo

More information

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

Graph Theory. Connectivity, Coloring, Matching. Arjun Suresh 1. 1 GATE Overflow Graph Theory Connectivity, Coloring, Matching Arjun Suresh 1 1 GATE Overflow GO Classroom, August 2018 Thanks to Subarna/Sukanya Das for wonderful figures Arjun, Suresh (GO) Graph Theory GATE 2019 1 /

More information

Degree of nonsimple graphs. Chemistry questions. Degree Sequences. Pigeon party.

Degree of nonsimple graphs. Chemistry questions. Degree Sequences. Pigeon party. 1. WEEK 1 PROBLEMS 1.1. Degree of nonsimple graphs. In the lecture notes we defined the degree d(v) of a vertex v to be the number of vertices adjacent to v. To see why Euler s theorem doesn t hold for

More information

Planar Graph (7A) Young Won Lim 6/20/18

Planar Graph (7A) Young Won Lim 6/20/18 Planar Graph (7A) Copyright (c) 2015 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later

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

Further Mathematics Units 3 and 4

Further Mathematics Units 3 and 4 Further Mathematics Units 3 and 4 VCE Mathematics 2016 2018 54 Further Mathematics Units 3 and 4 Further Mathematics consists of two areas of study, a compulsory Core area of study to be completed in Unit

More information

Basics of Graph Theory

Basics of Graph Theory Basics of Graph Theory 1 Basic notions A simple graph G = (V, E) consists of V, a nonempty set of vertices, and E, a set of unordered pairs of distinct elements of V called edges. Simple graphs have their

More information

Instructor: Paul Zeitz, University of San Francisco

Instructor: Paul Zeitz, University of San Francisco Berkeley Math Circle Graph Theory and Ramsey Theory Instructor: Paul Zeitz, University of San Francisco (zeitz@usfca.edu) Definitions 1 A graph is a pair (V,E), where V is a finite set and E is a set of

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

Algorithm Analysis Graph algorithm. Chung-Ang University, Jaesung Lee

Algorithm Analysis Graph algorithm. Chung-Ang University, Jaesung Lee Algorithm Analysis Graph algorithm Chung-Ang University, Jaesung Lee Basic definitions Graph = (, ) where is a set of vertices and is a set of edges Directed graph = where consists of ordered pairs

More information

Sections 5.2, 5.3. & 5.4

Sections 5.2, 5.3. & 5.4 MATH 11008: Graph Theory Terminology Sections 5.2, 5.3. & 5.4 Routing problem: A routing problem is concerned with finding ways to route the delivery of good and/or services to an assortment of destinations.

More information

Problem 1. Which of the following is true of functions =100 +log and = + log? Problem 2. Which of the following is true of functions = 2 and =3?

Problem 1. Which of the following is true of functions =100 +log and = + log? Problem 2. Which of the following is true of functions = 2 and =3? Multiple-choice Problems: Problem 1. Which of the following is true of functions =100+log and =+log? a) = b) =Ω c) =Θ d) All of the above e) None of the above Problem 2. Which of the following is true

More information

CHAPTER 10 GRAPHS AND TREES. Alessandro Artale UniBZ - artale/z

CHAPTER 10 GRAPHS AND TREES. Alessandro Artale UniBZ -  artale/z CHAPTER 10 GRAPHS AND TREES Alessandro Artale UniBZ - http://www.inf.unibz.it/ artale/z SECTION 10.1 Graphs: Definitions and Basic Properties Copyright Cengage Learning. All rights reserved. Graphs: Definitions

More information

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

Brief History. Graph Theory. What is a graph? Types of graphs Directed graph: a graph that has edges with specific directions Brief History Graph Theory What is a graph? It all began in 1736 when Leonhard Euler gave a proof that not all seven bridges over the Pregolya River could all be walked over once and end up where you started.

More information

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MH 1301 DISCRETE MATHEMATICS TIME ALLOWED: 2 HOURS

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MH 1301 DISCRETE MATHEMATICS TIME ALLOWED: 2 HOURS NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION 2015-2016 MH 1301 DISCRETE MATHEMATICS May 2016 TIME ALLOWED: 2 HOURS INSTRUCTIONS TO CANDIDATES 1. This examination paper contains FIVE (5) questions

More information

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI Department of Computer Science and Engineering CS6702 - GRAPH THEORY AND APPLICATIONS Anna University 2 & 16 Mark Questions & Answers Year / Semester: IV /

More information