Graphs and Euler cycles Let Maths take you Further…

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

The Chinese Postman Problem Route Planning Map Colouring
CS1022 Computer Programming & Principles Lecture 7.1 Graphs (1)
Discrete Maths Chapter 5: Route Inspection Lesson 1: Chinese Postman.
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
The 7 Bridges of Konigsberg A puzzle in need of solving.
Chapter 7 Graph Theory 7.1 Modeling with graphs and finding Euler circuits. Learning Objectives: Know how to use graphs as models and how to determine.
Section 14.1 Intro to Graph Theory. Beginnings of Graph Theory Euler’s Konigsberg Bridge Problem (18 th c.)  Can one walk through town and cross all.
AMDM UNIT 7: Networks and Graphs
BY: MIKE BASHAM, Math in Scheduling. The Bridges of Konigsberg.
Euler Circuits and Paths
Konigsberg Bridge Problem
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
Representing Graphs Wade Trappe. Lecture Overview Introduction Some Terminology –Paths Adjacency Matrix.
Introduction to Networks HON207. Graph Theory In mathematics and computer science, graph theory is the study of graphs, mathematical structures used to.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 5,Wednesday, September 10.
Graphs. Graph A “graph” is a collection of “nodes” that are connected to each other Graph Theory: This novel way of solving problems was invented by a.
Euler and Hamilton Paths
By Dr. C. B. Alphonce (Room305 Mathematics Building) MT 147: DISCRETE MATHEMATICS (3 Units) CORE for B. SC. In COMPUTER SCIENCE.
Euler Paths and Circuits. The original problem A resident of Konigsberg wrote to Leonard Euler saying that a popular pastime for couples was to try.
Discrete Math Round, Round, Get Around… I Get Around Mathematics of Getting Around.
The Bridge Obsession Problem By Vamshi Krishna Vedam.
GRAPH Learning Outcomes Students should be able to:
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
1 Starter of the day 23 x 27 = x 47 = x 87 = x 55 = x 58 = ???? 54 x 56 = ???? Can you spot the trick for this group of.
© Nuffield Foundation 2011 Nuffield Free-Standing Mathematics Activity Chinese postman problems What route can I take to avoid going along the same street.
Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we can find a path that goes over all.
Euler and Hamilton Paths
There is a Postman who delivers mail to a certain neighborhood of streets. The postman is unwilling to walk far so he wants to find the shortest route.
Chinese postman problem
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
It's a world-wide webby wonderland.. Graphs are often used to represent real-world information and real-world structures. Graph Theory was even invented.
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
5.4 Graph Models (part I – simple graphs). Graph is the tool for describing real-life situation. The process of using mathematical concept to solve real-life.
Introduction to Graph Theory
Aim: What is an Euler Path and Circuit?
Lecture 10: Graph-Path-Circuit
Vertex-Edge Graphs Euler Paths Euler Circuits. The Seven Bridges of Konigsberg.
Associated Matrices of Vertex Edge Graphs Euler Paths and Circuits Block Days April 30, May 1 and May
Euler Paths and Circuits. The original problem A resident of Konigsberg wrote to Leonard Euler saying that a popular pastime for couples was to try.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Lecture 52 Section 11.2 Wed, Apr 26, 2006
Lecture 11: 9.4 Connectivity Paths in Undirected & Directed Graphs Graph Isomorphisms Counting Paths between Vertices 9.5 Euler and Hamilton Paths Euler.
Chapter 6: Graphs 6.1 Euler Circuits
Chapter 5: The Mathematics of Getting Around
Aim: Graph Theory – Paths & Circuits Course: Math Literacy Do Now: Aim: What are Circuits and Paths? Can you draw this figure without retracing any of.
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
M Clements Formal Network Theory. Introduction Practical problem – The Seven Bridges of Königsberg Network graphs Nodes & edges Degrees Rules/ axioms.
Introduction to Graph Theory
Konisberg Bridges (One-way street) SOL: DM.2 Classwork Quiz/worksheet Homework (day 62) worksheet.
Graph Theory Euler Paths and Euler Circuits. Euler Paths & Circuits Euler Paths and Euler Circuits (Euler is pronounced the same as Oiler) An Euler path.
Grade 11 AP Mathematics Graph Theory Definition: A graph, G, is a set of vertices v(G) = {v 1, v 2, v 3, …, v n } and edges e(G) = {v i v j where 1 ≤ i,
Teacher Notes: There is a famous problem in Discrete Mathematics called ‘The Bridges of Konigsberg’ in which it is said to be impossible to cross each.
STARTER: CAN YOU FIND A WAY OF CROSSING ALL THE BRIDGES EXACTLY ONCE? Here’s what this question would look like drawn as a graph.
Konisberg Bridges (One-way street) SOL: DM.2
Chinese Postman Problem
Konigsberg’s Seven Bridges
Euler Paths and Circuits
Euler Circuits and Paths
Nuffield Free-Standing Mathematics Activity
Konigsberg- in days past.
Decision Maths Graphs.
Route Inspection Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we introduce a vertex.
Euler Circuits and Paths
Euler and Hamilton Paths
Graph Theory Relations, graphs
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Presentation transcript:

Graphs and Euler cycles Let Maths take you Further…

What is a graph? A graph is a set of points called vertices (or nodes) connected by lines called edges (or arcs) In a graph a line from point A to point B is considered to be the same thing as a line from point B to point A vertices edges

Graphs Traversable graphs Which of these graphs can be drawn without taking your pen off the paper or repeating any edges?

Graphs Yes - start and finish in different places What is significant about the results? Can you explain why? Yes - start and finish in the same place No Semi-EulerianEulerian

Graphs Some important ideas The degree of a vertex is the number of edges that meet at that vertex Can you draw a graph with 3 odd vertices? What about 5 odd vertices? Why are there are always an even number of odd vertices?

What is the sum of the degrees of the vertices for each graph? 12 What do you notice if you compare these totals to the number of edges in the graph? 20

Graphs The sum of the degrees of all the vertices in a graph is twice the number of edges. This is more formally called the Handshaking Theorem and is written Σ deg v = 2e

Konigsberg bridges Is it possible to find a route that Starts and finishes at the same place? Crosses each bridge exactly once?

Konigsberg bridges The Königsberg bridges is a famous mathematics problem inspired by an actual place and situation. The city of Königsberg on the River Pregel in Prussia (now Kaliningrad, Russia) includes two large islands which were connected to each other and the mainland by seven bridges. The citizens of Königsberg allegedly walked about on Sundays trying to find a route that crosses each bridge exactly once, and return to the starting point.

Simplify the problem Konigsberg bridges

Model it as a graph where the edges represent the bridges and the vertices represent the islands. Konigsberg bridges

In 1736 Leonard Euler proved that it was not possible because all the vertices of the graph are odd.

A problem A postman starts his rounds at the depot. He needs to deliver letters along the all the streets and return to the depot. What is the shortest route he can take? Depot

Identify the odd nodes D G F E C B A

Investigate possible pairings D G F E C B A BC, DE, FG has length 9+8+2=19

Investigate possible pairings D G F E C B A BC, EF, DG has length 9+4+5=18

Investigate possible pairings D G F E C B A BF, CE, DG has length 3+5+5=13

Investigate possible pairings D G F E C B A No other pairings are sensible (Why?). BF, CE, DG is the shortest pairing found. BC, DE, FG has length 9+8+2=19 BC, EF, DG has length 9+4+5=18 BF, CE, DG has length 3+5+5=13

Solution D G F E C B A Total length of all the edges plus the lengths of BF, CE and DG = = 77 A possible route is: DGFAGDABFBCECFED

Algorithms An algorithm is a set of instructions for solving a type of problem Finding cycles that go along every edge at least once is called a Route Inspection problem The algorithm for finding the shortest such cycle was published in 1962 by the Chinese mathematician Mei Ko Kwan (so it is sometimes called the Chinese postman problem) Can you think of some more situations where this algorithm would be useful?