Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 4.1, Slide 1 4 Graph Theory (Networks) The Mathematics of Relationships 4.

Slides:



Advertisements
Similar presentations
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
Advertisements

Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
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.
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.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 4.3, Slide 1 4 Graph Theory (Networks) The Mathematics of Relationships 4.
Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20.
The Mathematics of Networks Chapter 7. Trees A tree is a graph that –Is connected –Has no circuits Tree.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Discrete Math Round, Round, Get Around… I Get Around Mathematics of Getting Around.
Can you find a way to cross every bridge only once?
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
Discrete Math Unit 6 Set Theory Number Theory Graph Theory.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 4.2, Slide 1 4 Graph Theory (Networks) The Mathematics of Relationships 4.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
5 The Mathematics of Getting Around
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
Lecture 14: Graph Theory I Discrete Mathematical Structures: Theory and Applications.
Introduction to Graph Theory
Chapter 14 Section 4 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
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.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
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.
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
© 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
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
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.
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 2.2, Slide 1 Set Theory 2 Using Mathematics to Classify Objects.
Copyright 2013, 2010, 2007, Pearson, Education, Inc. Section 14.1 Graphs, Paths, and Circuits.
Chapter 14 Section 3 - Slide 1 Copyright © 2009 Pearson Education, Inc. AND.
Fleury's Algorithm Euler Circuit Algorithm
Copyright © 2009 Pearson Education, Inc. Chapter 14 Section 1 – Slide Graph Theory Graphs, Paths & Circuits.
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
Çizge Algoritmaları.
Euler Paths and Circuits
Konigsberg’s Seven Bridges
Discrete Math: Hamilton Circuits
Can you draw this picture without lifting up your pen/pencil?
This unit is all about Puzzles Games Strategy.
Euler Paths & Euler Circuits
Graph Theory.
Genome Assembly.
Excursions in Modern Mathematics Sixth Edition
5 The Mathematics of Getting Around
Konigsberg- in days past.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Euler and Hamilton Paths
Euler Paths and Euler Circuits
A Survey of Mathematics with Applications
5 The Mathematics of Getting Around
5 The Mathematics of Getting Around
Presentation transcript:

Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 4.1, Slide 1 4 Graph Theory (Networks) The Mathematics of Relationships 4

Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 4.1, Slide 2 Graphs, Puzzles, and Map Coloring 4.1 Understand graph terminology Apply Euler’s theorem to graph tracing Understand when to use graphs as models (continued on next slide)

Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 4.1, Slide 3 Graphs, Puzzles, and Map Coloring 4.1 Use Fleury’s theorem to find Euler circuits Utilize graph coloring to simplify a problem

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 4 Graph Terminology

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 5 Examples of Graphs &spn= , &z=15

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 6 Graph Terminology

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 7 Graph Tracing The Koenigsberg bridge problem Starting at some point, can you visit all parts of the city, crossing each bridge once and only once, and return to the starting point?

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 8 Graph Tracing We can model the problem with a graph model.

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 9 Graph Tracing The Koenigsberg problem, phased in graph theory language, is “Can the graph be traced?” To trace a graph means to begin at some vertex and draw the entire graph without lifting the pencil and without going over any edge more than once.

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 10 Graph Tracing *Connected graphs are also called networks.

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 11 Graph Tracing Example: (solution on next slide)

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 12 Graph Tracing Example: Odd: B and C Even: A, D, E, and F (Zero edges is considered “even”)

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 13 Euler’s Theorem

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 14 Euler’s Theorem

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 15 Euler’s Theorem Example: Which of the graphs can be traced? (solution on next slide)

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 16 Euler’s Theorem Solution: Not trace-able Trace-able

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 17 Euler’s Theorem

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 18 Euler’s Theorem Example: Solution: Path ACEB has length 3. Path ACEBDA is an Euler path of length 5. It is also an Euler circuit.

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 19 Fleury’s Algorithm We use Fleury’s algorithm to find Euler circuits. (example on next slide)

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 20 Fleury’s Algorithm Example: (solution on next 3 slides)

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 21 Fleury’s Algorithm Solution: (answers may vary) (continued on next slide) erase

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 22 Fleury’s Algorithm Solution: (answers may vary) (continued on next slide) erase

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 23 Fleury’s Algorithm Solution: (answers may vary) erase

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 24 Eulerizing a Graph We can add edges to convert a non- Eulerian graph to an Eulerian graph. This technique is called Eulerizing a graph. (example on next slide)

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 25 Eulerizing a Graph Example: (solution on next slide)

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 26 Eulerizing a Graph Solution: (answers may vary) Eulerize

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 27 Map Coloring

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 28 Map Coloring Example: (continued on next slide)

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 29 Map Coloring Solution: (continued on next slide) We can rephrase the map-coloring question now as follows: Using four or fewer colors, can we color the vertices so that no two vertices of the same edge receive the same color?

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 30 Map Coloring Solution: There is no particular method for solving the problem. A trial-and-error is shown. Other solutions are possible.

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 31 Map Coloring

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 32 Map Coloring Example: Each member of a city council usually serves on several committees in city government. Assume council members serve on the following committees: police, parks, sanitation, finance, development, streets, fire department, and public relations. Use the table below to determine a conflict-free schedule for the meetings. We do not duplicate information - that is, because police conflicts with fire department, we do not also list that fire department conflicts with police. (solution on next slide)

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 33 Map Coloring Solution: Model the information with a graph. Join conflicting committees with an edge. (continued on next slide)

Copyright © 2014, 2010, 2007 Pearson Education, Inc.Section 4.1, Slide 34 Map Coloring Solution: Using trial and error and four colors or less, color committees that can meet at the same time with a common color. That is, similar-colored vertices should not share a common edge (same problem as the four-color problem).