SAMPLE. Networks. A view of Königsberg as it was in Euler s day.

Size: px
Start display at page:

Download "SAMPLE. Networks. A view of Königsberg as it was in Euler s day."

Transcription

1 ack to Menu >>> How are graphs used to represent networks? H P T R 10 Networks How do we analyse the information contained in graphs? How do we use graphs to represent everyday situations? 10.1 Graph theory basics The ridges of Königsberg problem The problem that began the scientific study of networks is known as the Königsberg ridges problem. The problem began as follows: The centre of the old city of Königsberg in Germany was on an island in the middle of the Pregel River. The island was connected to the banks of the river and to another island by five bridges. Two other bridges connected the second island to the banks of the river, as shown below. SMPL view of Königsberg as it was in uler s day. 40 ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

2 ack to Menu >>> 408 ssential Standard General Mathematics simplified view of the situation is shown in the diagram opposite. The question was: an a continuous walk be planned so that all bridges are crossed only once? Whenever someone tried it, they either ended up missing a bridge or crossing one of the bridges more than once, as in the two routes shown below. nter the mathematician The Königsberg ridges problem was a well-known problem in 18th century urope and attracted the attention of the Swiss mathematician uler (pronounced Oil-er ). He started analysing the problem by drawing a simplified diagram to represent the situation, as shown below on the right. SMPL uler's diagram ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

3 This diagram is now what we call a network or a graph. The dots are called vertices (plural of vertex). The lines are called edges. uler found that the answer to the question depended on the degree of each vertex. The degree of a vertex is given by the number of edges attached to the vertex. The number (degree) may be odd or even. or uler s graph: vertex is of degree 5: we write deg() = 5; vertices, and are all of degree : we write, for example, deg() =. ll four vertices are of an odd degree. 1 5 hapter 10 Networks dge deg() = 4 deg() = 5 Vertex uler was able to prove that a graph with all odd vertices cannot be traced or drawn without lifting the pencil or going over the same edge more than once. The problem was solved. The seven bridges of Königsberg could not be crossed in a single walk without either missing a bridge or crossing one bridge more than once. With this analysis, a new area of mathematics was developed, which has many practical applications in today s world. These include: analysing friendship networks, scheduling airline flights, designing electrical circuits, planning large-scale building projects, and many more. This relatively new area of mathematics is now called graph theory, some aspects of which we will explore in this chapter. xercise 10 1 a With a pencil, or the tip of your finger, see whether you can trace out a continuous walk that crosses each of the bridges only once. ack to Menu >>> SMPL ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

4 ack to Menu >>> 410 ssential Standard General Mathematics b n eighth bridge has been added to the diagram as shown. With a pencil, or the tip of your finger, see whether you can trace out a continuous walk that crosses each of the bridges only once. Such a walk exists. or each of the graphs shown, complete the associated statements by filling in the boxes. a i The graph has vertices. ii The graph has edges. iii deg() = iv deg( ) = v The graph has odd vertices. b i The graph has vertices. ii The graph has edges. iii deg() = iv deg( ) = v The graph has odd vertices. c i The graph has vertices. ii The graph has edges. iii deg() = iv deg( ) = v The graph has odd vertices. The game of Sprouts is played between two people and involves drawing a network. Rules for the game of Sprouts Twoormore points are drawn on a piece of paper. These are network vertices. Players then take turns adding edges according to the following rules: 1 ach edge must join two vertices or itself. very time a new edge is drawn, a new vertex must be added somewhere on the edge. dges cannot cross nor pass through a vertex. 4 No vertex may have a degree greater than. 5 The last player able to add a new edge wins. SMPL or more information see: sample game of Sprouts is played on the following page. ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

5 ack to Menu >>> hapter 10 Networks 411 Sample game of Sprouts The starting vertices The starting vertices Step 1: Player 1 Step : Player Step : Player 1 Step 4: Player Step 5: Player 1 wins Player 1 wins because Player cannot draw in a new edge without creating a vertex of degree greater than. Will a game starting with two points always end in five steps? an you find a way of ending the game more quickly? oes the first player always win? What happens if you start with three, four or more points? xplore. 10. Isomorphic and connected graphs Isomorphic graphs One of the things that you will find when working with networks is that quite different-looking graphs actually contain the same information. When this happens, we say that these graphs are equivalent or isomorphic. orexample, the three graphs below appear to be different, but, in graphical terms they are isomorphic. Graph 1 Graph Graph SMPL This is because they contain the same information. ach graph has the same number of edges (5) and vertices (4), corresponding vertices have the same degree and the edges join up the vertices in the same way ( to, to, to, to, and to ). ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

6 ack to Menu >>> 41 ssential Standard General Mathematics However, the three graphs below, although having the same numbers of edges and vertices, are not isomorphic. This is because corresponding vertices do not have the same degree and the edges do not connect the same vertices. Graph 1 Graph Graph Isomorphic graphs Twographs are said to be isomorphic (equivalent) if: they have the same numbers of edges and vertices corresponding vertices have the same degree and the edges connect the same vertices. onnected graphs So far, all the graphs we have met have been connected. That is, every vertex in the graph can be reached from every other vertex in the graph. orexample, the three graphs shown below are all connected. Graph 1 Graph Graph The graphs are connected because, starting at any vertex, say, you can always find a path along the edges of the graph to take you to every other vertex. or example: In Graph 1 you can get from vertex to vertex by travelling along edge. similar statement can be made about all the other vertices. In Graph you can get from vertex to vertex by travelling along edge to vertex, then edge to vertex and finally edge to vertex. ll other vertices are accessible from vertex in a similar manner. In Graph you can get from vertex to vertex by travelling along edge to vertex, then edge to vertex. ll other vertices are directly accessible from vertex. However, the three graphs below are not connected, because there is not a path along the edges that connects vertex (for example) to every other vertex in the graph. SMPL Graph 1 Graph Graph ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

7 onnected graphs have application in a range of problems such as planning airline routes, communication systems and computer networks, where a missing connection can lead to an inoperable system. hapter 10 Networks 41 onnected graphs graph is connected if every vertex in the graph is accessible from every other vertex in the graph along a path formed by the edges of the graph. xercise 10 1 In each of the following sets of three graphs, two of the graphs are isomorphic (equivalent). In each case, identify the isomorphic graphs. a b c Graph 1 Graph 1 Graph Graph Graph Graph ack to Menu >>> SMPL Graph 1 Graph Graph ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

8 ack to Menu >>> 414 ssential Standard General Mathematics d e Graph 1 Graph 1 Graph Graph Which of the following graphs are connected? raw a connected graph with: a three vertices and three edges c four vertices and six edges 4 raw a graph that is not connected with: a three vertices and two edges c four vertices and four edges Graph b three vertices and five edges d five vertices and five edges. b four vertices and three edges d five vertices and three edges. Graph SMPL 5 What is the smallest number of edges that can form a connected graph with four vertices? ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

9 10. Planar graphs and uler s formula Planar graphs planar graph can be drawn on a plane (page surface) so that no edges intersect (cross), except at the vertices. hapter 10 Networks 415 planar graph: no intersecting edges Some graphs do not initially appear to be planar; for example, Graph 1 shown below left. However, Graph (drawn below right) is equivalent (isomorphic) to Graph 1. Graph is clearly planar. Graph 1: non-planar graph as drawn Not all graphs are planar. or example, the graph opposite cannot be redrawn in an equivalent planar form, no matter how hard you try. xample 1 Redrawing a graph in planar form Graph : planar form of Graph 1 Non-planar graph Redraw the graph shown opposite in a planar form. ack to Menu >>> SMPL ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

10 ack to Menu >>> 41 ssential Standard General Mathematics Solution (there are others) 1 Redraw the graph with edge removed. Note: We have removed edge because it intersects edge. Replace edge as a loop that avoids intersecting with the other three edges. The graph is now in an equivalent planar form: no edges intersect, except at vertices. aces of a graph The graph opposite can be regarded as dividing the paper it is drawn on into two regions. In the language of graphs, these regions are called the faces of the graph. One face, f 1,isbounded by the graph. The other face, f,isthe region surrounding the graph. Note that this outside face is infinite in extent. The graph opposite divides the paper into four regions, so we say that it has four faces: f 1, f, f and f 4. Here f 4 is an infinite face. uler s formula f 4 f 1 f f 1 f f uler discovered that, for connected planar graphs, there is a relationship between the number of vertices, v, the number of edges, e, and the number of faces, f. This relationship can be expressed as v e + f = This is known as uler s formula. or the graph opposite: f 1 f f f 4 v =, e = 8 and f = 4. So v e + f = = confirming uler s formula. SMPL ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

11 ack to Menu >>> hapter 10 Networks 41 uler s formula oraconnected planar graph, v e + f = where v = number vertices, e = number of edges and f = number of faces. xample Verifying uler s formula onsider the connected planar graph shown opposite. a Write the number of vertices, v, the number of edges, e, and the number of faces, f. b Verify uler s formula. Solution a 1 There are four vertices:,,,,sov = 4. Number of vertices: v = 4 There are six edges:,,, ( ) and, Number of edges: e = so e =. There are four faces, so f = 4. Tip: Mark the faces in on the diagram. o not forget the f 1 infinite face f 4 that surrounds the graph. f f f 4 Number of faces: f = 4 b 1 Write down uler s formula. Substitute the values of v, e, and f.valuate. Write your conclusion. xample uler s formula: v e + f = v e + f = = uler s formula is verified. Using uler s formula to determine the number of faces of a graph SMPL connected planar graph has four vertices and five edges. etermine the number of faces. Solution 1 Write v and e. v = 4, e = 5 Write uler s formula. uler's formula: v e + f = Substitute the values of v and e f = 4 Solve for f. 1 + f = f = 5 Write your answer. Thegraph has three faces. ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

12 418 ssential Standard General Mathematics xercise 10 1 Which of the following graphs are drawn in planar form? Show that each of the following graphs is planar by redrawing it in an equivalent planar form. a b c d e f H G or each of the following graphs: i state the values of v, e and f ii verify uler s formula. a b ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard SMPL ack to Menu >>>

13 ack to Menu >>> hapter 10 Networks 419 c d 4 oraplanar connected graph, find: a f given v = 4 and e = 4 b v given e = and f = c e given v = and f = d v given e = and f = 4 e f given v = 4 and e = f v given e = and f = 4 g f given v = and e = 11 h e given v = 10 and f = Traversable networks The Königsberg ridges problem of planning a walk that crosses each of the seven bridges only once is an example of what is called traversing a network. Traversing a network means finding a route Start through the network, along the edges, that uses all the edges,butonce only. n example is shown opposite. Start at vertex and follow the arrows to vertex. This network is traversable. Not all networks can be traversed. or, example, no route can be found through the network opposite that uses all the edges only once. Try itand see. This network is not traversable. inish Network 1: traversable Network : non-traversable One way of finding out whether a network is traversable is to try a number of routes through the networks and see whether they work. This is known as trial and error. However, for all but the simplest networks, this can become very tedious after a while. ortunately, we do not have to use trial and error to see whether a network can be traversed. The solution has to do with the order of the vertices and whether they are of odd or even degree. SMPL Rules for determining whether a network is traversable oranetwork to be traversable, it must first be connected. connected network is traversable if: all vertices are of even degree; or exactly two vertices are of odd degree and the rest are of even degree. If a network has more than two vertices of odd degree, it is not traversable. ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

14 ack to Menu >>> 40 ssential Standard General Mathematics Using these rules, we can see why Network 1 on the previous page is traversable: it has two odd vertices ( and ) and the remaining vertex ()iseven. Likewise, Network is not traversable because it has more than two odd vertices (,, and ). xample 4 Traversing a network or each of the following networks: etermine whether the network can be traversed, and state why. If traversable, check by identifying a path that traverses the network. a b c Solution a Traversable: all even vertices Start/inish Note: In each case, more than one path is possible. xercise 10 b Traversable: two odd vertices, the rest even Start inish or each of the following networks: etermine whether the network can be traversed, and state why. If traversable, check by identifying a path that traverses the network. 1 c Not traversable: more than two odd vertices SMPL ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

15 4 5 ack to Menu >>> hapter 10 Networks uler paths and circuits Paths and circuits path is a sequence of edges, linking successive vertices, that connects two different vertices in a network. orexample, in the graph opposite: -- is a path. It starts at vertex, passes through vertex and ends at vertex. --- is another path. It starts at vertex, passes through vertices and, and ends at vertex. Paths in networks can take many forms. They can involve just one edge, or up to all the edges. SMPL circuit is like a path but starts and finishes at the same vertex. orexample, in the graph opposite: -- is a circuit. It starts at, passes through vertices and, and returns to vertex. circuit can involve just two edges, or up to all the edges in a network. ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

16 ack to Menu >>> 4 ssential Standard General Mathematics uler paths n uler path passes along every edge in a connected network, but uses each edge only once. Itmay pass through any vertex more than once. If a network is traversable, it has uler paths. real-life example of an uler path is the route used to collect the garbage in a housing estate. Ideally, it can be planned so that the garbage truck has to travel down each street only once. orexample, the graph above is traversable. It has several uler paths. Two of these paths, and , are shown below. They connect vertices and. (ollow the arrows.) Start inish uler circuits inish Start n uler circuit is an uler path that starts and finishes at the same vertex. real-life example of an uler circuit is the route followed by a country road inspector. Ideally, a route can be planned so that the inspector can start and finish in their hometown, but travel along each road only once. orexample, in the graph opposite, Start/inish ---- is an uler circuit. It starts and finishes at vertex (follow the arrows). n uler circuit has as many start/finish points as there are vertices in the network. SMPL onditions for uler paths and uler circuits To have an uler path or uler circuit, a network must first be connected. To have an uler path but not an uler circuit, the connected network must have exactly two vertices of odd degree, with the remaining vertices having even degree. n uler path will start at one of the odd vertices and finish at the other. To have an uler circuit, the connected network must have all vertices of even degree. n uler circuit starts and finishes at the same vertex. It can be any vertex in the network. If there are more than two vertices of odd degree, the network is not traversable, soitis not possible to have either an uler path or an uler circuit. ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

17 ack to Menu >>> hapter 10 Networks 4 xample 5 Identifying uler circuits and paths or each of the following networks: etermine whether the network has an uler path only, an uler circuit, or neither, and state why. If the network has an uler path only, or an uler circuit, show one example. a b c Solution a uler circuit: all even vertices Start/inish b uler path only: two odd vertices, the rest even Start Note: In each case, more than one path is possible. inish pplication of uler paths and circuits c Neither: more than two odd vertices uler paths and circuits have many practical applications. You have already met one application of an uler path: the Königsberg ridges problem. In everyday life, uler paths relate to situations such as delivering mail, inspecting roads, picking up garbage and cleaning streets in a city. In all these situations there is a need to travel along each road or street in an area, but to do so no more than once. uler circuits apply to the same situations, but with the added condition of wanting to return to the starting point. SMPL xercise 10 1 or each of the following networks: etermine whether the network has an uler path only, an uler circuit, or neither, and state why. ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

18 ack to Menu >>> 44 ssential Standard General Mathematics If the network has an uler path only, or an uler circuit, show one example. a b c d e f g h i road inspector lives in Town and is Town required to do an inspection of the roads connecting the neighbouring towns,, and. The network of roads is shown on the right. Town Town Town Town a an the inspector set out from Town, carry out his road inspection by travelling over every road linking the five towns only once, and return to Town? Why? b If he can, show a possible route. SMPL postman has to deliver letters to the houses located on the network of streets shown on the right. a Is it possible for the postman to H start and finish his deliveries at the same point in the network without retracing his steps at some stage? If not, why not? b It is possible for the postman to G start and finish his deliveries at different points in the network without retracing his steps at some stage. Why is this so? Identify one such route. ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

19 hapter 10 Networks 45 4 Two islands in a river are connected to the banks of the river and to each other by bridges as shown. There is also another bridge connecting the two banks of the river, as shown. a raw a graph to represent this situation. Label the vertices,, and to represent the banks of the river and the two islands. Use the edges of the graph to represent the bridges. b It is not possible to plan a walk that passes over each bridge only once. Why not? c Show where another bridge can be added to make such a walk possible. xplain why it can now be done by drawing a graph that represents the new situation. 10. Hamilton paths and circuits uler paths and circuits focus on edges. Hamilton paths and circuits focus on vertices. Hamilton path passes through every vertex in a connected network once and once only.it may or may not involve all the edges. Hamilton circuit is a Hamilton path that starts and finishes at the same vertex. Hamilton path involves all the vertices but not necessarily all the edges. orexample, in the graph opposite, --- is a Hamilton path. It starts at vertex and ends at vertex.(ollow the arrows.) Note that it does not involve all edges. Hamilton circuit is a Hamilton path that starts and finishes at the same vertex. orexample, in the graph opposite, is a Hamilton circuit. It starts and finishes at vertex.(ollow the arrows.) Note that it does not involve all edges. Unfortunately, unlike uler paths and circuits, there are no simple rules for determining whether a network contains a Hamilton path or circuit. It is just a matter of trial and error. Start Start/ inish ack to Menu >>> inish SMPL ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

20 a ct k o M e n> u > > 4 ssential Standard General Mathematics pplications of Hamilton paths and circuits Hamilton paths and circuits have many practical applications. In everyday life, Hamilton circuits relate to situations like the following: courier leaves her depot to make a succession of deliveries to a variety of locations before returning to her depot. She does not like to go past each location more than once. tourist plans to visit all the historic sites in a city without visiting each site more than once. You are planning a trip from Melbourne to visit Shepparton, Wodonga, endigo, Swan Hill, Natimuk, Warrnambool and Geelong before returning to Melbourne. Hamilton path would apply to situations like the following: You plan a trip from Melbourne to Mildura, with visits to endigo, Halls Gap, Horsham, Stawell and Ouyen on the way. In all these situations, there would be several suitable paths, and other factors, such as time taken or distance travelled, would need to be taken into account in order to determine the best route. This is an issue addressed in the next section: weighted graphs. xercise 10 1 List a Hamilton path for the network shown: a starting at and finishing at b starting at and finishing at G. SMPL Identify a Hamilton circuit in each of the following networks (if possible), starting at each time. a b c ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard G H G

21 ack to Menu >>> hapter 10 Networks 4 d e f G H I H G 10. Weighted graphs and the shortest path problem We plan a trip starting at Town and Town travelling through all the other towns Town Town shown on the network below, before Town returning to Town.Wedonot want to pass through any town more than Town Town once. There are many routes we could choose. ny Hamilton circuit is appropriate. Two possible routes, Route 1 and Route, are shown below. Town Town Town Town Town Route 1 Town Town Town Town Town Town Route Town ut which is the best route? There are several ways in which a route could be regarded as best. It could be the route with the shortest distance, the route that takes the shortest time, the route that costs the least amount of money, or even the most scenic route. In this instance, we will take the best route to mean the shortest distance route. To see which is the shortest distance Town route, we need to add the distances Town 5 Town between the towns to the graphs. We do 8 this by writing the distances (in km) Town 4 5 beside the relevant edges on the graph. When we do this we say we are adding weights to the graph, and we call the resulting graph a weighted graph. Town 9 Town SMPL ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

22 ack to Menu >>> 48 ssential Standard General Mathematics Now we add up the distances along Route 1 and Route. Town 8 Town Town Town Town Route 1 (------): Length = = 40 km Town Town 8 Town Town Town Town Route (------): Length = = km Town Thus Route is the shortest path through the network that will enable you to start and finish at Town, visit every other town on the way and not pass through any town more than once. Shortest path The shortest path that passes through each vertex once only is the shortest Hamilton circuit. While there are systematic ways of determining the shortest path in networks, they are complicated to apply and beyond the scope of this book. onsequently, finding shortest paths in networks is a matter of trial and error. xample inding the shortest path ind the shortest path through the network shown that: starts and finishes at the same point, passes through each vertex once only. State its length. Strategy: The path we want is the shortest Hamilton circuit in the network. SMPL Solution 1 Identify the Hamilton circuits in the network. etermine the length of each circuit. hoose the shortest path and write your answer and its length. 5 TheHamilton circuits are: and or Length = = 1 units or -----: Length = = 1 units Theshortest path is and its length is 1 units. 4 9 ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

23 ack to Menu >>> hapter 10 Networks 49 xercise 10G 1 The following graphs represent the roads between a number of towns labelled,,, and. The length of each road is given in kilometres. Identify the shortest route, starting and finishing at, that would enable each town to be visited once only, and determine its distance. The graphs are not drawn to scale. a The graph below shows a mountain bike rally course. ompetitors must pass through each of the checkpoints,,,,, and. The average times (in minutes) taken to ride between the checkpoints are shown on the edges of the graph. ompetitors must start and finish at 10 checkpoint. They can pass through the 1 other checkpoints in any order they wish What is the route that would have the 8 Start/inish shortest average completion time? ind the shortest path from vertex to vertex in this network. b SMPL 4 ind the shortest Hamilton path for the graph on the right, starting at vertex G ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

24 ack to Menu >>> 40 ssential Standard General Mathematics 10.8 Minimum spanning trees Trees tree is a connected graph that contains no circuits, multiple edges or loops. It may be part of a large graph. orexample, Graphs 1 and below are trees. Graph is not a tree. Graph 1: a tree Graph : a tree Loop Multiple edges Graph : not a tree ircuit tree with n vertices has (n 1) edges. Graph 1 above (a tree) has eight vertices and seven edges, but Graph (not a tree) has 10 vertices and 1 edges. very connected graph contains one or more trees. Two trees are shown on the graph opposite. Spanning trees Tree 1 Tree spanning tree connects all the vertices in a connected graph but has no circuits, multiple edges or loops. SMPL n example of a spanning tree is shown on the graph opposite. There are several other possibilities. Spanning tree oranetwork of n vertices, a spanning tree will have n vertices and (n 1) edges. orexample, the network above has eight vertices. spanning tree for this network will have eight vertices and seven edges. ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

25 ack to Menu >>> hapter 10 Networks 41 xample ind two spanning trees for the network shown opposite. inding a spanning tree in a network Solution 1 The network has five vertices and seven edges. spanning tree will have five (n)vertices and four (n 1) edges. To form a spanning tree, remove any three edges, making sure that: all the vertices remain connected. there are no multiple edges or loops. Spanning tree 1 is formed by removing edges, and. Spanning tree is formed by removing edges, and. Note: Several other possibilities exist. Minimum spanning trees and Prim s algorithm orweighted graphs, it is possible to determine the length of each spanning tree, by adding up the weights of the edges in the tree. or the spanning tree shown opposite: Required vertices = 5 Required edges = 4 Spanning tree 1 Spanning tree SMPL Length = = units Spanning tree ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

26 ack to Menu >>> 4 ssential Standard General Mathematics The minimum spanning tree is the spanning tree of minimum length (may be minimum distance, minimum time, minimum cost, etc.). There may be more than one minimum spanning tree in a graph. Minimum spanning trees have applications such as planning the layout of a computer network, or a water supply system to a new housing estate. In these situations, we might want to minimise the amount of cable or water pipe needed to do the job. lternatively, we might want to minimise the time needed to complete the job, or the cost. Prim s algorithm is a set of rules to determine a minimum spanning tree for a graph. Prim s algorithm for finding a minimum spanning tree 1 hoose a starting vertex (any will do). Inspect the edges starting from this vertex and choose the one with the lowest weight. (If two edges have the same weight, the choice can be arbitrary.) You now have two vertices and one edge. Next, inspect the edges starting from the two vertices. hoose the edge with the lowest weight, provided it does not form a cycle. (If two edges have the same weight, the choice can be arbitrary.) You now have three vertices and two edges. Repeat until all the vertices are connected, then stop. The result is a minimum spanning tree. xample 8 pplying Prim s algorithm pply Prim s algorithm to obtain a minimum spanning tree for the network shown, and calculate its length. Solution 1 Start at : is the lowest-weighted edge (). raw it in SMPL rom or : is the lowest-weighted edge (5). raw it in. 5 ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

27 rom, or : is the lowest-weighted edge (). raw it in. 4 rom,, or : is the lowest-weighted edge (5). raw it in. 5 rom,,, or : is the lowest-weighted edge (). raw it in. ll vertices have now been joined. The minimum spanning tree is determined. ind the length of the minimum spanning tree by adding the weights of the edges. xercise 10H hapter 10 Networks Minimum spanning tree Length = = 1 units 1 connected graph has eight vertices and ten edges. Its spanning tree has vertices and edges. Which of the following graphs are trees? ack to Menu >>> SMPL 5 ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

28 ack to Menu >>> 44 ssential Standard General Mathematics or each of the following graphs, draw three different spanning trees. a b c 4 or each of the following connected graphs, use Prim s algorithm to determine the minimum spanning tree and its length. a b c d e f G SMPL 5 Water is to be piped from a water tank to seven outlets on a property. The distances (in metres) of the outlets from the tank and from each other are shown in the network below. Starting at the tank, determine the minimum length of pipe needed. Outlet Outlet Outlet 1 Outlet G Tank Outlet 5 Outlet Outlet 11 ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

29 ack to Menu >>> hapter 10 Networks 45 Power is to be connected by cable from apower station to eight substations ( to H). The distances (in kilometres) of the substations from the power station and from each other are shown in the network opposite. etermine the minimum length of cable needed. 1 Power station G H SMPL 19 ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

30 ack to Menu >>> 4 ssential Standard General Mathematics Review Key ideas and chapter summary Graph or network Vertices and edges egree of a vertex Isomorphic graphs Multiple edges and loops graph or network consists of a set of points called vertices and a set of lines called edges. ach edge joins two vertices. In the graph above,,,,, and are the vertices and the lines,,,,,,, and are the edges. The degree of vertex, written deg(), is given by the number of edges attached to the vertex. orexample, in the graph above: deg() = and deg() =. Twographs are said to be isomorphic (equivalent) if: they have the same number of edges and vertices corresponding vertices have the same degree and the edges connect the same vertices orexample, the two graphs below are isomorphic or equivalent. SMPL multiple edges loop The graph above is said to have multiple edges, asthere are two edges joining and. has one edge, which links to itself. This edge is called a loop. ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

31 ack to Menu >>> hapter 10 Networks 4 Path onnected graph ircuit Planar graph path can be thought of as a sequence of edges. or example, in the graph below: --, G--- and -G--- are all examples of paths. G graph is connected if there is a path between each pair of vertices. This graph is connected. This graph is not connected. circuit is a sequence of edges linking successive vertices that starts and finishes at the same vertex. orexample, in the graph below: and --- are both circuits graph that can be drawn in such a way that no two edges intersect, except at the vertices, is called a planar graph. This graph is planar. SMPL This graph is not planar. Review ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

32 ack to Menu >>> 48 ssential Standard General Mathematics Review uler s formula uler path ondition for an uler path uler circuit ondition for an uler circuit Hamilton path or any connected planar graph, uler s formula states: v e + f = v = the number of vertices. e = the number of edges. f = the number of faces. orexample: f 1 f v =, e = 4, f = v e + f = 4 + = path that includes every edge just once (but does not start and finish at the same vertex) is called an uler path. To have an uler path (but not an uler circuit), a network must be connected and have exactly two vertices of odd degree, with the remaining vertices having even degree. The uler path will start at one of the odd vertices and finish at the other. Start orexample, the graph opposite is connected. It has two odd vertices and three even vertices. It has an uler path that starts at one of the odd vertices and finishes at the other odd vertex. inish n uler path that starts and finishes at the same vertex is called an uler circuit. To have an uler circuit, anetwork must be connected and all vertices must be even. Start orexample, in the network inish opposite, all vertices are even. It has an uler circuit. The circuit starts and finishes at the same vertex. SMPL Hamilton path is a path through agraph that passes through each vertex exactly once, but does not necessarily start and finish at the same vertex. f Start inish ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

33 ack to Menu >>> hapter 10 Networks 49 Hamilton circuit Weighted graphs Tree Spanning tree Minimum spanning tree Hamilton circuit is a Hamilton path that starts and finishes at the same vertex. Start inish weighted graph is one where a number is associated with each edge. These numbers are called weights. 5 4 tree is a connected graph that contains no circuits, multiple edges or loops. tree with n vertices has n 1 edges. The tree above has 8 vertices and edges. spanning tree is a graph that contains all the vertices of a connected graph, without multiple edges, circuits or loops. Spanning tree SMPL Prim s algorithm minimum spanning tree is a spanning tree for which the sum of the weights of the edges is as small as possible. Prim s algorithm is a systematic method for determining a minimal spanning tree in a connected graph. 9 Review ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

34 ack to Menu >>> 440 ssential Standard General Mathematics Review Skills check Having completed this chapter you should be able to: recognise and determine the number of vertices, edges and faces of a graph recognise isomorphic graphs, connected graphs, planar graphs, weighted graphs, trees and spanning trees use uler s formula for connected planar graphs know and apply the definitions of uler paths and circuits know the conditions for a graph to have an uler path or uler circuit locate an uler path or circuit in a graph know and apply the definitions of Hamilton paths and circuits locate a Hamilton path or circuit in a graph determine the shortest path in a weighted graph know and apply the definition of a spanning tree use Prim s algorithm to determine a minimum spanning tree and its length. Multiple-choice questions The following graph relates to Questions 1 to 1 The number of vertices in the graph above is: 5 9 The number of edges in the graph above is: 5 9 The number of faces in the graph above is: The degree of vertex in the graph above is: The number of even vertices in the graph above is: The graph above has: an uler path but not an uler circuit several uler paths but no uler circuits an uler circuit several uler circuits neither an uler path nor an uler circuit. SMPL ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

35 ack to Menu >>> hapter 10 Networks 441 orwhich one of the following graphs is the sum of the degrees of the vertices equal to 14? 8 or the graph on the right, the sum of the degrees of the vertices is: or the graph in Question 8: v = 9, e = 1, f = 5 v = 9, e = 1, f = v = 10, e = 1, f = 5 v = 9, e = 14, f = v = 10, e = 1, f = 5 10 uler s formula for a planar graph is: v e = f + v e + f = v + e + f = e v + f = v e = f 11 connected graph with 10 vertices divides the plane into five faces. The number of edges connecting the vertices in this graph will be: oraconnected graph to have an uler path but not an uler circuit: all vertices must be odd all vertices must be even there must be exactly two odd vertices and the rest even there must be exactly two even vertices and the rest odd an odd vertex must be followed by an even vertex 1 oraconnected graph to have an uler circuit: all vertices must be odd all vertices must be even there must be exactly two odd vertices and the rest even there must be exactly two even vertices and the rest odd an odd vertex must be followed by an even vertex SMPL Review ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

36 ack to Menu >>> 44 ssential Standard General Mathematics Review 14 Which one of the following graphs has an uler path but not an uler circuit? 15 Which one of the graphs in Question 14 has an uler circuit? 1 Which one of the following graphs has an uler circuit? 1 or the graph shown, which additional edge could be added to the network so that the graph formed would contain an uler path? 18 The length of the shortest path from to in the network shown is: SMPL ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

37 ack to Menu >>> hapter 10 Networks Which one of the following paths is a Hamilton circuit for the graph shown here? Of the following graphs, which one has both uler and Hamilton circuits? 1 Which one of the following graphs is a tree? SMPL Which one of the following graphs is a spanning tree for the network shown on the right? Review ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

38 ack to Menu >>> 444 ssential Standard General Mathematics Review park ranger wants to check all of the trails in a national park, starting at and returning to the Park Office. She would like to do it without having to travel over the same trail more than once. If possible, the route she should follow is: an uler path an uler circuit a Hamilton path a Hamilton circuit a minimum spanning tree 4 park ranger wants to check all of the camp sites in a national park, starting at and returning to the Park Office. The campsites are all interconnected with trails. She would like to check the campsites without having to visit each camp site more than once. If possible, the route she should follow is: an uler path an uler circuit a Hamilton path a Hamilton circuit a minimum spanning tree 5 The park authorities plan to pipe water to each of the camp sites from a spring located in the park. They want to use the least amount of water pipe possible. If possible, the water pipes should follow: an uler path an uler circuit a Hamilton path a Hamilton circuit a minimum spanning tree SMPL ach week, a garbage run starts at the Park Office and collects the rubbish left at each of the camp sites and dumps the rubbish at a tip outside the park. The plan is to visit each camp site only once. If possible, the garbage run should follow: an uler path an uler circuit a Hamilton path a Hamilton circuit a minimum spanning tree ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

39 ack to Menu >>> hapter 10 Networks 445 Short-answer questions 1 raw a connected graph with: a four vertices, four edges and two faces b four vertices, five edges and three faces c five vertices, eight edges and five faces. Redraw each of the following graphs in a planar form. a b or the network shown, write down: a the degree of vertex b the numbers of odd and even vertices c the route followed by an uler path starting at vertex. 4 or the network shown, write down: a the degree of vertex b the numbers of odd and even vertices c the route followed by an uler circuit starting at vertex. 5 or the network shown, determine: a the length of the shortest Hamilton path connecting vertex to vertex b the length of the minimum spanning tree. SMPL or the network shown, determine: a the length of the shortest Hamilton circuit starting and finishing at vertex b the length of the minimum spanning tree. 5 c Review ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

40 ack to Menu >>> 44 ssential Standard General Mathematics Review xtended-response question 1 The diagram opposite shows the network of walking tracks in a small national park. These tracks connect the camp sites to each other and to the Park Office. The lengths of the tracks (in metres) are also shown Park office a The network of tracks is planar. xplain what this means. b Verify uler s rule for this network. c ranger at camp site 8 plans to visit camp sites 1,,, 4 and 5 on her way back to the Park Office. What is the shortest distance she will have to walk? d How many even and how many odd vertices are there in the network? e ach day, the ranger on duty has to inspect each of the tracks to make sure that they are all passable. i Is it possible for her to do this starting and finishing at the Park Office? xplain why. ii Identify one route that she could take. f ollowing a track inspection after wet weather, the Head Ranger decides that it is necessary to put gravel on some walking tracks to make them weatherproof. i What is the minimum length of track that will need to be gravelled to ensure that all camp sites and the Park Office are accessible along a gravelled track? ii Show the tracks to be gravelled on a diagram. g ranger wants to inspect each of the camp sites but not pass through any camp site more than once on his inspection tour. He wants to start and finish his inspection tour at the Park Office. i What is the technical name for the route he wants to take? ii With the present layout of tracks, he cannot inspect all the tracks without passing through at least one camp site twice. Suggest where an additional track could be added to solve this problem. iii With this new track, write down a route he could follow. SMPL 80 ambridge University Press Uncorrected Sample Pages vans, Lipson, Jones, very, TI-Nspire & asio lasspad material prepared in collaboration with Jan Honnens & avid Hibbard

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

Undirected graphs and networks

Undirected graphs and networks Gen. Maths h. 1(1) Page 1 Thursday, ecember 0, 1999 1:10 PM Undirected graphs and networks 1 V co covverage rea of study Units 1 & Geometry In this chapter 1 Vertices and edges 1 Planar graphs 1 ulerian

More information

Euler and Hamilton circuits. Euler paths and circuits

Euler and Hamilton circuits. Euler paths and circuits 1 7 16 2013. uler and Hamilton circuits uler paths and circuits o The Seven ridges of Konigsberg In the early 1700 s, Konigsberg was the capital of ast Prussia. Konigsberg was later renamed Kaliningrad

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

11-5 Networks. Königsberg Bridge Problem

11-5 Networks. Königsberg Bridge Problem Section 11-5 Networks 1 11-5 Networks In the 1700s, the people of Königsberg, Germany (now Kaliningrad in Russia), used to enjoy walking over the bridges of the Pregel River. There were three landmasses

More information

A region is each individual area or separate piece of the plane that is divided up by the network.

A region is each individual area or separate piece of the plane that is divided up by the network. Math 135 Networks and graphs Key terms Vertex (Vertices) ach point of a graph dge n edge is a segment that connects two vertices. Region region is each individual area or separate piece of the plane that

More information

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

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

Further Mathematics 2016 Module 2: NETWORKS AND DECISION MATHEMATICS Chapter 9 Undirected Graphs and Networks 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,

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

Chapter 1. Urban Services. Chapter Outline. Chapter Summary

Chapter 1. Urban Services. Chapter Outline. Chapter Summary Chapter 1 Urban Services Chapter Outline Introduction Section 1.1 Euler Circuits Section 1.2 Finding Euler Circuits Section 1.3 Beyond Euler Circuits Section 1.4 Urban Graph Traversal Problems Chapter

More information

Graph Theory. 26 March Graph Theory 26 March /29

Graph Theory. 26 March Graph Theory 26 March /29 Graph Theory 26 March 2012 Graph Theory 26 March 2012 1/29 Graph theory was invented by a mathematician named Euler in the 18th century. We will see some of the problems which motivated its study. However,

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

Graphs. Reading Assignment. Mandatory: Chapter 3 Sections 3.1 & 3.2. Peeking into Computer Science. Jalal Kawash 2010

Graphs. Reading Assignment. Mandatory: Chapter 3 Sections 3.1 & 3.2. Peeking into Computer Science. Jalal Kawash 2010 Graphs Mandatory: hapter 3 Sections 3.1 & 3.2 Reading ssignment 2 Graphs bstraction of ata 3 t the end of this section, you will be able to: 1.efine directed and undirected graphs 2.Use graphs to model

More information

The Bridges of Konigsberg Problem Can you walk around the town crossing each bridge only once?

The Bridges of Konigsberg Problem Can you walk around the town crossing each bridge only once? The Bridges of Konigsberg Problem Can you walk around the town crossing each bridge only once? Many people had tried the walk and felt that it was impossible, but no one knew for sure. In 1736, Leonard

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

Graphs And Algorithms

Graphs And Algorithms Graphs nd lgorithms Mandatory: hapter 3 Sections 3.1 & 3.2 Reading ssignment 2 1 Graphs bstraction of ata 3 t the end of this section, you will be able to: 1. efine directed and undirected graphs 2. Use

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

AQR UNIT 7. Circuits, Paths, and Graph Structures. Packet #

AQR UNIT 7. Circuits, Paths, and Graph Structures. Packet # AQR UNIT 7 NETWORKS AND GRAPHS: Circuits, Paths, and Graph Structures Packet # BY: Introduction to Networks and Graphs: Try drawing a path for a person to walk through each door exactly once without going

More information

14.2 Euler Paths and Circuits filled in.notebook November 18, Euler Paths and Euler Circuits

14.2 Euler Paths and Circuits filled in.notebook November 18, Euler Paths and Euler Circuits 14.2 Euler Paths and Euler Circuits The study of graph theory can be traced back to the eighteenth century when the people of the town of Konigsberg sought a solution to a popular problem. They had sections

More information

GRAPH THEORY AND LOGISTICS

GRAPH THEORY AND LOGISTICS GRAPH THEORY AND LOGISTICS Maja Fošner and Tomaž Kramberger University of Maribor Faculty of Logistics Mariborska cesta 2 3000 Celje Slovenia maja.fosner@uni-mb.si tomaz.kramberger@uni-mb.si Abstract This

More information

Math 100 Homework 4 B A C E

Math 100 Homework 4 B A C E Math 100 Homework 4 Part 1 1. nswer the following questions for this graph. (a) Write the vertex set. (b) Write the edge set. (c) Is this graph connected? (d) List the degree of each vertex. (e) oes the

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

Sarah Will Math 490 December 2, 2009

Sarah Will Math 490 December 2, 2009 Sarah Will Math 490 December 2, 2009 Euler Circuits INTRODUCTION Euler wrote the first paper on graph theory. It was a study and proof that it was impossible to cross the seven bridges of Königsberg once

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

Grade 7/8 Math Circles Graph Theory - Solutions October 13/14, 2015

Grade 7/8 Math Circles Graph Theory - Solutions October 13/14, 2015 Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 7/8 Math Circles Graph Theory - Solutions October 13/14, 2015 The Seven Bridges of Königsberg In

More information

Discrete mathematics

Discrete mathematics Discrete mathematics Petr Kovář petr.kovar@vsb.cz VŠB Technical University of Ostrava DiM 470-2301/02, Winter term 2018/2019 About this file This file is meant to be a guideline for the lecturer. Many

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

Introduction to Networks

Introduction to Networks LESSON 1 Introduction to Networks Exploratory Challenge 1 One classic math puzzle is the Seven Bridges of Königsberg problem which laid the foundation for networks and graph theory. In the 18th century

More information

Chapter 5: The Mathematics of Getting Around

Chapter 5: The Mathematics of Getting Around Euler Paths and Circuits Chapter 5: The Mathematics of Getting Around 5.1 Street-Routing Problem Our story begins in the 1700s in the medieval town of Königsberg, in Eastern Europe. At the time, Königsberg

More information

Graph Theory Problems Instructor: Natalya St. Clair. 1 The Seven Bridges of Königsberg Problem

Graph Theory Problems Instructor: Natalya St. Clair. 1 The Seven Bridges of Königsberg Problem Graph Theory Problems erkeley Math ircles 2015 Lecture Notes Graph Theory Problems Instructor: Natalya St. lair 1 The Seven ridges of Königsberg Problem Königsberg is an ancient city of Prussia, now Kalingrad,

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

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 4 Review. 1. Write a summary of what you think are the important points of this chapter. 2. Draw a graph for the following task table.

Chapter 4 Review. 1. Write a summary of what you think are the important points of this chapter. 2. Draw a graph for the following task table. hapter Review 1. Write a summary of what you think are the important points of this chapter.. raw a graph for the following task table. Task Time Prerequisites Start 0 None 1 5,, I, inish. a. List the

More information

Section 3.4 Basic Results of Graph Theory

Section 3.4 Basic Results of Graph Theory 1 Basic Results of Graph Theory Section 3.4 Basic Results of Graph Theory Purpose of Section: To formally introduce the symmetric relation of a (undirected) graph. We introduce such topics as Euler Tours,

More information

Networks and Graphs: Circuits, Paths, and Graph Structures VII.A Student Activity Sheet 1: Euler Circuits and Paths

Networks and Graphs: Circuits, Paths, and Graph Structures VII.A Student Activity Sheet 1: Euler Circuits and Paths The Königsberg Bridge Problem The following figure shows the rivers and bridges of Königsberg. Residents of the city occupied themselves by trying to find a walking path through the city that began and

More information

Networks and Graphs: Circuits, Paths, and Graph Structures VII.A Student Activity Sheet 1: Euler Circuits and Paths

Networks and Graphs: Circuits, Paths, and Graph Structures VII.A Student Activity Sheet 1: Euler Circuits and Paths The Königsberg Bridge Problem The following figure shows the rivers and bridges of Königsberg. Residents of the city occupied themselves by trying to find a walking path through the city that began and

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

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

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

Wednesday 15 June 2016 Morning

Wednesday 15 June 2016 Morning Oxford Cambridge and RSA Wednesday 15 June 2016 Morning AS GCE MATHEMATICS 4736/01 Decision Mathematics 1 QUESTION PAPER *6392887505* Candidates answer on the Printed Answer Book. OCR supplied materials:

More information

Grade 7/8 Math Circles March 7, 2012 Introduction to Graph Theory

Grade 7/8 Math Circles March 7, 2012 Introduction to Graph Theory 1 University of Waterloo Faculty of Mathematics entre for Education in Mathematics and omputing Grade 7/8 Math ircles March 7, 2012 Introduction to Graph Theory What is graph theory? Graph theory is the

More information

Sec 7.1 EST Graphs Networks & Graphs

Sec 7.1 EST Graphs Networks & Graphs Sec 7.1 ST raphs Networks & raphs Name: These graphs are models to find the RLIST TIM any particular job can STRT. What do you think is meant in a team by the following statement? You are only as fast

More information

Sec 2. Euler Circuits, cont.

Sec 2. Euler Circuits, cont. Sec 2. uler ircuits, cont. uler ircuits traverse each edge of a connected graph exactly once. Recall that all vertices must have even degree in order for an uler ircuit to exist. leury s lgorithm is a

More information

3 Euler Tours, Hamilton Cycles, and Their Applications

3 Euler Tours, Hamilton Cycles, and Their Applications 3 Euler Tours, Hamilton Cycles, and Their Applications 3.1 Euler Tours and Applications 3.1.1 Euler tours Carefully review the definition of (closed) walks, trails, and paths from Section 1... Definition

More information

GRAPH THEORY AND COMBINATORICS ( Common to CSE and ISE ) UNIT 1

GRAPH THEORY AND COMBINATORICS ( Common to CSE and ISE ) UNIT 1 GRAPH THEORY AND COMBINATORICS ( Common to CSE and ISE ) Sub code : 06CS42 UNIT 1 Introduction to Graph Theory : Definition and Examples Subgraphs Complements, and Graph Isomorphism Vertex Degree, Euler

More information

the Further Mathematics network V SUMMARY SHEET DECISION MATHS Algorithms Input A and B (positive integers)

the Further Mathematics network  V SUMMARY SHEET DECISION MATHS Algorithms Input A and B (positive integers) the urther Mathematics network www.fmnetwork.org.uk V 07 SUMMRY SHT ISION MTHS lgorithms The main ideas are covered in Q dexcel MI OR The main ideas in this topic are Understanding and implementing a variety

More information

Simple Graph. General Graph

Simple Graph. General Graph Graph Theory A graph is a collection of points (also called vertices) and lines (also called edges), with each edge ending at a vertex In general, it is allowed for more than one edge to have the same

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

MATH 103: Contemporary Mathematics Study Guide for Chapter 6: Hamilton Circuits and the TSP

MATH 103: Contemporary Mathematics Study Guide for Chapter 6: Hamilton Circuits and the TSP MTH 3: ontemporary Mathematics Study Guide for hapter 6: Hamilton ircuits and the TSP. nswer the questions above each of the following graphs: (a) ind 3 different Hamilton circuits for the graph below.

More information

Math 110 Graph Theory II: Circuits and Paths

Math 110 Graph Theory II: Circuits and Paths Math 110 Graph Theory II: Circuits and Paths For Next Time. Read Section 6.1 Circuit Training (p. 386ff) for more background on this material. Review the definition of a graph. Make sure you understand

More information

Circuits and Paths. April 13, 2014

Circuits and Paths. April 13, 2014 Circuits and Paths April 13, 2014 Warm Up Problem Quandroland is an insect country that has four cities. Draw all possible ways tunnels can join the cities in Quadroland. (Remember that some cities might

More information

SUMMARY SHEET DECISION MATHS. Algorithms. Input A and B (positive integers) Let Q = int(b/a) Let R1 = B A Q

SUMMARY SHEET DECISION MATHS. Algorithms. Input A and B (positive integers) Let Q = int(b/a) Let R1 = B A Q the urther Mathematics network www.fmnetwork.org.uk V 07 SUMMRY SHT ISION MTHS lgorithms The main ideas are covered in Q dexcel MI OR The main ideas in this topic are Understanding and implementing a variety

More information

14 Graph Theory. Exercise Set 14-1

14 Graph Theory. Exercise Set 14-1 14 Graph Theory Exercise Set 14-1 1. A graph in this chapter consists of vertices and edges. In previous chapters the term was used as a visual picture of a set of ordered pairs defined by a relation or

More information

Math for Liberal Arts MAT 110: Chapter 13 Notes

Math for Liberal Arts MAT 110: Chapter 13 Notes Math for Liberal Arts MAT 110: Chapter 13 Notes Graph Theory David J. Gisch Networks and Euler Circuits Network Representation Network: A collection of points or objects that are interconnected in some

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

llj EXERCISES 938 CHAPTER 15 Graph Theory 11. For Exercises 1-6, determine how many vertices and how many edges each graph has. 13.

llj EXERCISES 938 CHAPTER 15 Graph Theory 11. For Exercises 1-6, determine how many vertices and how many edges each graph has. 13. 938 HAPTR 15 Graph Theory 15.1 XRISS or xercises 1-6, determine how many vertices and how many edges each graph has. 13. 1. 2. (a) (b) 3. 4. 14. (al (b) s. 15. (a) L. (b) 7.-10. or xercises 7-10, refer

More information

Friday 24 June 2016 Morning Time allowed: 1 hour 30 minutes

Friday 24 June 2016 Morning Time allowed: 1 hour 30 minutes Please write clearly in block capitals. Centre number Candidate number Surname Forename(s) Candidate signature AS MATHEMATICS Unit Decision 1 Friday 24 June 2016 Morning Time allowed: 1 hour 30 minutes

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

Launch problem: Lining streets

Launch problem: Lining streets Math 5340 June 15,2012 Dr. Cordero Launch problem: Lining streets Lining Street Problem A Problem on Eulerian Circuits http://www.edmath.org/mattours/discrete/ Your job for the day is to drive slowly around

More information

Section Graphs, Paths, and Circuits. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Section Graphs, Paths, and Circuits. Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.1 Graphs, Paths, and Circuits What You Will Learn Graphs Paths Circuits Bridges 14.1-2 Definitions A graph is a finite set of points called vertices (singular form is vertex) connected by line

More information

Graph theory was invented by a mathematician named Euler in the 18th century. We will see some of the problems which motivated its study.

Graph theory was invented by a mathematician named Euler in the 18th century. We will see some of the problems which motivated its study. Graph Theory Graph theory was invented by a mathematician named Euler in the 18th century. We will see some of the problems which motivated its study. However, it wasn t studied too systematically until

More information

EULERIAN GRAPHS AND ITS APPLICATIONS

EULERIAN GRAPHS AND ITS APPLICATIONS EULERIAN GRAPHS AND ITS APPLICATIONS Aruna R 1, Madhu N.R 2 & Shashidhar S.N 3 1.2&3 Assistant Professor, Department of Mathematics. R.L.Jalappa Institute of Technology, Doddaballapur, B lore Rural Dist

More information

An Early Problem in Graph Theory. Clicker Question 1. Konigsberg and the River Pregel

An Early Problem in Graph Theory. Clicker Question 1. Konigsberg and the River Pregel raphs Topic " Hopefully, you've played around a bit with The Oracle of acon at Virginia and discovered how few steps are necessary to link just about anybody who has ever been in a movie to Kevin acon,

More information

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras

Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Advanced Operations Research Prof. G. Srinivasan Department of Management Studies Indian Institute of Technology, Madras Lecture 28 Chinese Postman Problem In this lecture we study the Chinese postman

More information

Graph Theory

Graph Theory Graph Theory 2012.04.18 Our goal today is to learn some basic concepts in graph theory and explore fun problems using graph theory. A graph is a mathematical object that captures the notion of connection.

More information

Section Graphs, Paths, and Circuits. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Section Graphs, Paths, and Circuits. Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.1 Graphs, Paths, and Circuits INB Table of Contents Date Topic Page # January 27, 2014 Test #1 14 January 27, 2014 Test # 1 Corrections 15 January 27, 2014 Section 14.1 Examples 16 January 27,

More information

Lesson 5.5. Minimum Spanning Trees. Explore This

Lesson 5.5. Minimum Spanning Trees. Explore This Lesson. St harles ounty Minimum Spanning Trees s in many of the previous lessons, this lesson focuses on optimization. Problems and applications here center on two types of problems: finding ways of connecting

More information

Eulerian Cycle (2A) Young Won Lim 5/25/18

Eulerian Cycle (2A) Young Won Lim 5/25/18 ulerian ycle (2) opyright (c) 2015 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU ree ocumentation License, Version 1.2 or any later

More information

CHAPTER FOURTEEN GRAPH THEORY

CHAPTER FOURTEEN GRAPH THEORY HPTR OURTN RPH THORY xercise Set 14.1 1. graph is a finite set of points, called vertices, that are connected with line segments, called edges. 2. 3. 4. The degree of a vertex is the number of edges that

More information

6.2. Paths and Cycles

6.2. Paths and Cycles 6.2. PATHS AND CYCLES 85 6.2. Paths and Cycles 6.2.1. Paths. A path from v 0 to v n of length n is a sequence of n+1 vertices (v k ) and n edges (e k ) of the form v 0, e 1, v 1, e 2, v 2,..., e n, v n,

More information

2. Line up the digits from 1 to 9 so that any two digit number made of two adjacent digits is divisible by either 7 or 13.

2. Line up the digits from 1 to 9 so that any two digit number made of two adjacent digits is divisible by either 7 or 13. Graphs Graphs. Part 1 In some situations it is convenient to use graphs. Objects are represented by dots while connections between them are represented by lines or arrows. In the language of graphs, dots

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

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

Multi-edges, loops, and two or more pieces are all allowed. Example 4 (Not Graphs). None of the following are graphs.

Multi-edges, loops, and two or more pieces are all allowed. Example 4 (Not Graphs). None of the following are graphs. MA 111, Topic 4: Graph Theory Our last topic in this course is called Graph Theory. This is the mathematics of connections, associations, and relationships. Definition 1. A Graph is a set of points called

More information

Fundamental Properties of Graphs

Fundamental Properties of Graphs Chapter three In many real-life situations we need to know how robust a graph that represents a certain network is, how edges or vertices can be removed without completely destroying the overall connectivity,

More information

Graph Theory. Chapter 4.

Graph Theory. Chapter 4. Graph Theory. Chapter 4. Wandering. Here is an algorithm, due to Tarry, that constructs a walk in a connected graph, starting at any vertex v 0, traversing each edge exactly once in each direction, and

More information

Chapter 11: Graphs and Trees. March 23, 2008

Chapter 11: Graphs and Trees. March 23, 2008 Chapter 11: Graphs and Trees March 23, 2008 Outline 1 11.1 Graphs: An Introduction 2 11.2 Paths and Circuits 3 11.3 Matrix Representations of Graphs 4 11.5 Trees Graphs: Basic Definitions Informally, a

More information

Eulerian Cycle (2A) Young Won Lim 5/11/18

Eulerian Cycle (2A) Young Won Lim 5/11/18 ulerian ycle (2) opyright (c) 2015 2018 Young W. Lim. Permission is granted to copy, distribute and/or modify this document under the terms of the NU ree ocumentation License, Version 1.2 or any later

More information

Answers to Chapter 4. Exercise 4A. b vertex U V W X Y Z valency There are more than 2 nodes of odd degree so the. vertex A B C D E F

Answers to Chapter 4. Exercise 4A. b vertex U V W X Y Z valency There are more than 2 nodes of odd degree so the. vertex A B C D E F nswers to hapter xercise 1 a vertex valency 2 2 There are nodes with odd valency so the graph is neither ulerian nor Semi-ulerian. vertex J K valency 2 There are precisely 2 nodes of odd degree ( and )

More information

Week 7: Introduction to Graph Theory. 24 and 26 October, 2018

Week 7: Introduction to Graph Theory. 24 and 26 October, 2018 (1/32) MA284 : Discrete Mathematics Week 7: Introduction to Graph Theory. http://www.maths.nuigalway.ie/ niall/ma284/ 24 and 26 October, 2018 1 Graph theory A network of mathematicians Water-Electricity-Broadband

More information

Precept 4: Traveling Salesman Problem, Hierarchical Clustering. Qian Zhu 2/23/2011

Precept 4: Traveling Salesman Problem, Hierarchical Clustering. Qian Zhu 2/23/2011 Precept 4: Traveling Salesman Problem, Hierarchical Clustering Qian Zhu 2/23/2011 Agenda Assignment: Traveling salesman problem Hierarchical clustering Example Comparisons with K-means TSP TSP: Given the

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

Grades 7 & 8, Math Circles 31 October/1/2 November, Graph Theory

Grades 7 & 8, Math Circles 31 October/1/2 November, Graph Theory Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grades 7 & 8, Math Circles 31 October/1/2 November, 2017 Graph Theory Introduction Graph Theory is the

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

CHAPTER 10 GRAPHS AND TREES. Copyright Cengage Learning. All rights reserved.

CHAPTER 10 GRAPHS AND TREES. Copyright Cengage Learning. All rights reserved. CHAPTER 10 GRAPHS AND TREES Copyright Cengage Learning. All rights reserved. SECTION 10.1 Graphs: Definitions and Basic Properties Copyright Cengage Learning. All rights reserved. Graphs: Definitions and

More information

An Interactive Introduction to Graph Theory

An Interactive Introduction to Graph Theory An Interactive Introduction to Graph Theory An Interactive Introduction to Graph Theory Chris K. Caldwell 1995 This the first of a series of interactive tutorials introducing the basic concepts of graph

More information

V1.0: Seth Gilbert, V1.1: Steven Halim August 30, Abstract. d(e), and we assume that the distance function is non-negative (i.e., d(x, y) 0).

V1.0: Seth Gilbert, V1.1: Steven Halim August 30, Abstract. d(e), and we assume that the distance function is non-negative (i.e., d(x, y) 0). CS4234: Optimisation Algorithms Lecture 4 TRAVELLING-SALESMAN-PROBLEM (4 variants) V1.0: Seth Gilbert, V1.1: Steven Halim August 30, 2016 Abstract The goal of the TRAVELLING-SALESMAN-PROBLEM is to find

More information

Graph Theory. Defining a Graph

Graph Theory. Defining a Graph Graph Theory This topic is one of the most applicable to real-life applications because all networks (computer, transportation, communication, organizational, etc.) can be represented with a graph. For

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

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 7

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 7 CS 70 Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 7 An Introduction to Graphs A few centuries ago, residents of the city of Königsberg, Prussia were interested in a certain problem.

More information

1 Euler Circuits. Many of the things we do in daily life involve networks, like the one shown below [Houston Street Map]. Figure 1: Houston City Map

1 Euler Circuits. Many of the things we do in daily life involve networks, like the one shown below [Houston Street Map]. Figure 1: Houston City Map 1 Euler Circuits Many of the things we do in daily life involve networks, like the one shown below [Houston Street Map]. Figure 1: Houston City Map Suppose you needed to vist a number of locations in the

More information

Math Fall 2011 Exam 3 Solutions - December 8, 2011

Math Fall 2011 Exam 3 Solutions - December 8, 2011 Math 365 - all 2011 xam 3 Solutions - ecember 8, 2011 NM: STUNT I: This is a closed-book and closed-note examination. alculators are not allowed. Please show all your work. Use only the paper provided.

More information

MA 111 Review for Exam 3

MA 111 Review for Exam 3 MA 111 Review for Exam 3 Exam 3 (given in class on Tuesday, March 27, 2012) will cover Chapter 5. You should: know what a graph is and how to use graphs to model geographic relationships. know how to describe

More information

SEVENTH EDITION and EXPANDED SEVENTH EDITION

SEVENTH EDITION and EXPANDED SEVENTH EDITION SEVENTH EDITION and EXPANDED SEVENTH EDITION Slide 14-1 Chapter 14 Graph Theory 14.1 Graphs, Paths and Circuits Definitions A graph is a finite set of points called vertices (singular form is vertex) connected

More information

MATHEMATICS Unit Decision 1

MATHEMATICS Unit Decision 1 General Certificate of Education June 2008 Advanced Subsidiary Examination MATHEMATICS Unit Decision 1 MD01 Friday 6 June 2008 1.30 pm to 3.00 pm For this paper you must have: an 8-page answer book the

More information

1. The Highway Inspector s Problem

1. The Highway Inspector s Problem MATH 100 Survey of Mathematics Fall 2009 1. The Highway Inspector s Problem The Königsberg Bridges over the river Pregel C c d e A g D a B b Figure 1. Bridges f Is there a path that crosses every bridge

More information

a) Graph 2 and Graph 3 b) Graph 2 and Graph 4 c) Graph 1 and Graph 4 d) Graph 1 and Graph 3 e) Graph 3 and Graph 4 f) None of the above

a) Graph 2 and Graph 3 b) Graph 2 and Graph 4 c) Graph 1 and Graph 4 d) Graph 1 and Graph 3 e) Graph 3 and Graph 4 f) None of the above Mathematics 105: Math as a Liberal Art. Final Exam. Name Instructor: Ramin Naimi Spring 2008 Close book. Closed notes. No Calculators. NO CELL PHONES! Please turn off your cell phones and put them away.

More information

Chapter 14 Section 3 - Slide 1

Chapter 14 Section 3 - Slide 1 AND Chapter 14 Section 3 - Slide 1 Chapter 14 Graph Theory Chapter 14 Section 3 - Slide WHAT YOU WILL LEARN Graphs, paths and circuits The Königsberg bridge problem Euler paths and Euler circuits Hamilton

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

Warm -Up. 1. Draw a connected graph with 4 vertices and 7 edges. What is the sum of the degrees of all the vertices?

Warm -Up. 1. Draw a connected graph with 4 vertices and 7 edges. What is the sum of the degrees of all the vertices? Warm -Up 1. Draw a connected graph with 4 vertices and 7 edges. What is the sum of the degrees of all the vertices? 1. Is this graph a. traceable? b. Eulerian? 3. Eulerize this graph. Warm-Up Eulerize

More information