Discrete Math Round, Round, Get Around… I Get Around Mathematics of Getting Around.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

KNURE, Software department, Ph , N.V. Bilous Faculty of computer sciences Software department, KNURE An Euler.
Chapter 8 Topics in Graph Theory
Graph-02.
Graph Theory: Euler Circuits Christina Mende Math 480 April 15, 2013.
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.
Euler Circuits and Paths
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Section 2.1 Euler Cycles Vocabulary CYCLE – a sequence of consecutively linked edges (x 1,x2),(x2,x3),…,(x n-1,x n ) whose starting vertex is the ending.
Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20.
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
Euler Circuit Chapter 5. Fleury’s Algorithm Euler’s theorems are very useful to find if a graph has an Euler circuit or an Euler path when the graph is.
MTH118 Sanchita Mal-Sarkar. Routing Problems The fundamental questions: Is there any proper route for the particular problem? If there are many possible.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
Graphs and Euler cycles Let Maths take you Further…
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.
GRAPH Learning Outcomes Students should be able to:
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Slide 14-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
Spring 2015 Mathematics in Management Science Euler’s Theorems Euler Circuits & Paths ECT & EPT Burning Bridges Fleury’s Algorithm.
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
Euler Paths & Euler Circuits
5.7 Eulerizing Graphs. Euler circuit and Euler path do not always exist. There are many graphs (in real life) that have more than 2 odd vertices. Instead.
Spring 2015 Mathematics in Management Science Chinese Postman Problem What is CPP? CPP & ECs & EPs Fleury’s Algorithm Eulerization.
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
CSNB143 – Discrete Structure Topic 9 – Graph. Learning Outcomes Student should be able to identify graphs and its components. Students should know how.
Graphs, Puzzles, & Map Coloring
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.
Examples Euler Circuit Problems Unicursal Drawings 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.
Vertex-Edge Graphs Euler Paths Euler Circuits. The Seven Bridges of Konigsberg.
AND.
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.
1.Quiz 5 due tomorrow afternoon in E309 from 1pm to 4pm. 2.Homework grades will be based on ten graded homework assignments (dropping the lowest one).
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
SECTION 5.1: Euler Circuit Problems
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.2 Euler Paths, and Euler Circuits.
Chapter 6: Graphs 6.1 Euler Circuits
Chapter 5: The Mathematics of Getting Around
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
M Clements Formal Network Theory. Introduction Practical problem – The Seven Bridges of Königsberg Network graphs Nodes & edges Degrees Rules/ axioms.
Chapter 11 - Graph CSNB 143 Discrete Mathematical Structures.
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,
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
Excursions in Modern Mathematics Sixth Edition
CSNB 143 Discrete Mathematical Structures
Çizge Algoritmaları.
Eulerian tours Miles Jones MTThF 8:30-9:50am CSE 4140 August 15, 2016.
Konigsberg’s Seven Bridges
Discrete Structures – CNS2300
Discrete Math: Hamilton Circuits
Can you draw this picture without lifting up your pen/pencil?
Euler Paths & Euler Circuits
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Excursions in Modern Mathematics Sixth Edition
Graph Theory What is a graph?.
5 The Mathematics of Getting Around
Euler and Hamilton Paths
Euler Paths and Euler Circuits
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
A Survey of Mathematics with Applications
5 The Mathematics of Getting Around
Presentation transcript:

Discrete Math Round, Round, Get Around… I Get Around Mathematics of Getting Around

Routing Problems Finding routes to deliver goods Does a route exist? If one does exist, what is the fastest (best) route?

Seven Bridges of Konigsberg

Unicursal Tracings Pass through all paths without crossing one twice, and never lift your pencil Closed- starts and ends at the same point Open- starts and ends at different points

Graph Theory Vertices- the dots on the graph (stops or crossroads) Edges- lines on the graph (bridges or paths) Vertices- A,B,C,D,E,F Edges- AB,BC,CD,AD,DE,EB,CD,BB

Loop- when an edge starts and ends at the same vertex Double Edge (Multiple Edge)- edges that connect to same vertices. No direction- AB or BA

Friend Connection Mary is friends with Ken, Bob, Amy, Sally, and Juan Ken is friends with Mary, Bob, and Amy Bob is friends with Ken, Mary, and Amy Amy is friends with Bob, Ken, and Mary Sally is only friends with Mary Juan is friends with Mary and Jay Jay is friends with Juan, Sasha, and Max Max is friends with Jay, Sasha, Peter, and Ben Sasha is friends with Jay, Max, and Peter Peter is friends with Sasha and Max Ben is only friends with Max

Isolation Isolated Vertices- Vertex with no edges Pure Isolation- A with only isolated vertices

Adjacent Vertices When two vertices are connected by the same edge

Adjacent Edges When two edges share a common vertex

Degree of a Vertex

EVEN or ODD We will distinguish the vertices by the even and odd degrees A B C D E F G H

Path A trip that starts and ends at different vertices

Circuit A trip that starts and ends at the same vertex

Length- the number of edges in a path Connected Graph- a graph that any vertex can be reached by any path Disconnected Graph- a graph that any vertex cannot be reached by a path Components- A disconnected graph is made up of multiple components

Bridge- An edge that if it is removed turns a connected graph into a disconnected graph

Euler Path- A path that travels through every edge once and only once. Starts and ends in different places. Euler Circuit- A path that travels through every edge once and only once and ends in the place it starts.

Problems Page #2, 4, 6, 10, 12, 14, 16

Graph Models

Back to Konigsberg

Problems Page #18, 19, 20

Euler’s Theorems

Euler’s Circuit Theorem If a graph is connected and every vertex is even, then there is at least one Euler Circuit.

Euler’s Path Theorem If a graph is connected and has exactly two odd vertices, then it has at least one Euler Path. The path must start at an odd vertex, and end at the other odd vertex. If it has more than 2 odd vertices then it does not have an Euler Path.

Back to the 7 Bridges Is there an Euler Circuit? No Path? No What is the shortest Circuit? 9 Path? 8

Unicursal Tracings Euler Circuits or Paths?

Euler’s Sum of Degrees Theorem The sum of the degrees of all the vertices of a graph, equals twice the number of edges. (This will always be even) A graph will always have an even number of odd vertices. Number of Odd VerticesConclusion 0Euler Circuit 2Euler Path 4,6,8,…Neither 1,3,5,7,…Check again you messed up

Problems Pg. 194 #24-28

Fleury’s Algorithm Algorithm- A set of rules for solving a problem Create an algorithm:

Fleury’s Algorithm “Do Not Burn Your Bridges Behind You” The bridges are the last edges you are to cross As you move you create more bridges behind you.

Fleury’s Algorithm Make sure the graph is connected Is there a Euler Circuit (all even) or a Euler Path (2 odd) Choose your starting point, if Circuit start anywhere, if Path start at an odd vertex Choose paths that are not bridges.

F C D A C E A B D F

J K B C L K H J B A J I H G L E C D E G F E

Problems Pg. 195 #30-34

Eulerizing Graphs Exhaustive Route- Route that passes through every edge at least once Euler Circuit if all vertices are even Euler Path is two vertices are odd A path that will recross the least number of bridges

Eulerizing Graphs Deadheads- A recrossed edge Eulerizing- Adding edges to odd vertices to turn them even so that we can create an Euler Circuit Semi-Eulerizing- Leaving two vertices odd so that we can create an Euler Path

Eulerizing

Semi-Eulerizing

Problem Page 196 #38-42