Associated Matrices of Vertex Edge Graphs Euler Paths and Circuits Block Days April 30, May 1 and May 4 2015.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
22C:19 Discrete Math Graphs Fall 2014 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.
Lecture 21 Paths and Circuits CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
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
The Seven Bridges Of Konigsberg.
Pamela Leutwyler. A river flows through the town of Konigsburg. 7 bridges connect the 4 land masses. While taking their Sunday stroll, the people of Konigsburg.
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
A Presentation By: Jillian Minuto Troy Norman Alan Leggett Group Advisor: Prof. G. Warrington Graph Theory.
IEOR266 © Classification of MCNF problems.
A traveling salesman has customers in 5 cities which we will call A, B, C, D, and E. The salesman needs to travel to all 5 cities with his trip starting.
Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20.
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.
By Dr. C. B. Alphonce (Room305 Mathematics Building) MT 147: DISCRETE MATHEMATICS (3 Units) CORE for B. SC. In COMPUTER SCIENCE.
Graphs and Euler cycles Let Maths take you Further…
Eulerian Graphs CSE 331 Section 2 James Daly. Reminders Project 3 is out Covers graphs Due Friday.
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.
Can you find a way to cross every bridge only once?
GRAPH Learning Outcomes Students should be able to:
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.
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
CSE 326: Data Structures NP Completeness Ben Lerner Summer 2007.
CS 200 Algorithms and Data Structures
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.
Lecture 14: Graph Theory I Discrete Mathematical Structures: Theory and Applications.
Introduction to Graph Theory
Aim: What is an Euler Path and Circuit?
1.5 Graph Theory. Graph Theory The Branch of mathematics in which graphs and networks are used to solve problems.
Graph Theory. A branch of math in which graphs are used to solve a problem. It is unlike a Cartesian graph that we used throughout our younger years of.
Lecture 10: Graph-Path-Circuit
CIRCUITS, PATHS, AND SCHEDULES Euler and Königsberg.
Vertex-Edge Graphs Euler Paths Euler Circuits. The Seven Bridges of Konigsberg.
AND.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
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
The Seven Bridges of Konigsberg (circa 1735) In Konigsberg, Germany, a river ran through the city such that in its centre was an island, and after passing.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.
Lecture 52 Section 11.2 Wed, Apr 26, 2006
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.2 Euler Paths, and Euler Circuits.
Chapter 6: Graphs 6.1 Euler Circuits
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
1) Find and label the degree of each vertex in the graph.
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.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
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.
MAT 110 Workshop Created by Michael Brown, Haden McDonald & Myra Bentley for use by the Center for Academic Support.
Excursions in Modern Mathematics Sixth Edition
Euler and Hamiltonian Graphs
Eulerian tours Miles Jones MTThF 8:30-9:50am CSE 4140 August 15, 2016.
Konigsberg’s Seven Bridges
Can you draw this picture without lifting up your pen/pencil?
Euler Paths and Circuits
Euler Circuits and Paths
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Graph Theory.
Konigsberg- in days past.
Graph Theory What is a graph?.
Euler Circuits and Paths
Euler and Hamilton Paths
Presentation transcript:

Associated Matrices of Vertex Edge Graphs Euler Paths and Circuits Block Days April 30, May 1 and May

Agenda Collect Projects 1. Basic Definitions (30 minutes) 2. Unit 7 SAS #1: Euler Circuits and Graphs (40 minutes) 3. Unit SAS #2 Dominoes Task (30 minutes) 4. Unit 7 SAS #3 Weighted Graphs

Define Graph: Vertices: Edges: Loop: Path: Circuit:

Bridge

Challenge: Can you draw this picture without retracing lines lifting your pencil from the paper?

The original problem A resident of Konigsberg wrote to Leonard Euler saying that a popular pastime for couples was to try to cross each of the seven beautiful bridges in the city exactly once -- without crossing any bridge more than once.

It was believed that it was impossible to do – but why? Could Euler explain the reason?

The Seven Bridges of Konigsberg In Konigsberg, Germany, a river ran through the city such that in its center was an island, and after passing the island, the river broke into two parts. Seven bridges were built so that the people of the city could get from one part to another. In Konigsberg, Germany, a river ran through the city such that in its center was an island, and after passing the island, the river broke into two parts. Seven bridges were built so that the people of the city could get from one part to another.

Konigsberg- in days past.

Euler Invents Graph Theory Euler realized that all problems of this form could be represented by replacing areas of land by points (what we call nodes), and the bridges to and from them by arcs.

Usually the graph is drawn like this (an isomorphic graph.)

The problem now becomes one of drawing this picture without retracing any line and without picking your pencil up off the paper.

Euler saw that there were 5 vertices that each had an odd number of lines connected to it. He stated they would either be the beginning or end of his pencil-path.

Paths and Circuits Euler path- a continuous path that passes through every edge once and only once. Euler circuit- when a Euler path begins and ends at the same vertex

If a graph has any vertices of odd degree, then it can't have any Euler circuit. If a graph is connected and every vertex has an even degree, then it has at least one Euler circuit (usually more). Euler’s 1 st Theorem

Proof: S’pose we have an Euler circuit. If a node has an odd degree, and the circuit starts at this node, then it must end elsewhere. This is because after we leave the node the first time the node has even degree, and every time we return to the node we must leave it. (On the paired arc.)

If a node is odd, and the circuit begins else where, then it must end at the node. This is a contradiction, since a circuit must end where it began.

Euler Circuit?

If a graph has all even degree nodes, then an Euler Circuit exists. Algorithm: Step One: Randomly move from node to node, until stuck. Since all nodes had even degree, the circuit must have stopped at its starting point. (It is a circuit.) Step Two: If any of the arcs have not been included in our circuit, find an arc that touches our partial circuit, and add in a new circuit.

Each time we add a new circuit, we have included more nodes. Since there are only a finite number of nodes, eventually the whole graph is included.

Use the algorithm to find an Euler circuit.

Use algorithm – all even?

Euler’s 2 nd Theorem If a graph has more than two vertices of odd degree, then it cannot have an Euler path. If a graph is connected and has exactly two vertices of odd degree, then is has at least one Euler path. Any such path must start at one of the odd degree vertices and must end at the other odd degree vertex.

Find the Euler Path

A detail We said that if the number of odd degree vertices =0, then Euler circuit =2, then path What if =1????

A directed graph – Is there an Euler Circuit?

Euler for a connected directed graph If at each node the number in = number out, then there is an Euler circuit If at one node number in = number out +1 and at one other node number in = number out -1, and all other nodes have number in = number out, then there is an Euler path.

Path, circuit, or neither…?

Hamilton Circuit Given a graph, when is there a circuit passing through each node exactly one time? Hard to solve – only general algorithm known is to try each possible path, starting at each vertex in turn. For there are n! possible trials.

The Traveling Salesman Problem A salesman needs to visit n cities and return home. What is the cheapest way to do this? Cinn Atl Den Bos

TSP The traveling salesman problem is NP – complete. Practically, this means that there is no know polynomial-time algorithm to solve the problem – and there is unlikely to be one.