180 likes | 231 Views
Learn to use graphs as a tool for modeling real-life situations, Euler's Theorems for paths and circuits, and Fleury's Algorithm for finding Euler paths and circuits. Explore practical applications and examples.
E N D
Graph is the tool for describing real-life situation. • The process of using mathematical concept to solve real-life problems is called modeling
Example: Using graph to represent the picture of the seven bridges of Konigsberg Vertices represent the banks and lands Edges represent the bridges
Draw a graph to model this city More examples: (textbook, page 170: Bridges of Madison County)(www.coursecompass.com, #23, 25)
Euler’s Theorem 1a) If a graph has any odd vertices, then it cannot have an Euler Circuit b) If a graph is connected and every vertex is an even vertex, then it has at least one Euler circuit
Euler’s Theorem 2a) If a graph has more than two odd vertices then it cannot have an Euler path b) If a graph is connected and has exactly two odd vertices, then it has an Euler path, starting at one odd vertex and ending at the other.
Determine if the graph has an Euler circuit, an Euler path or neither of these No, neither Yes, an Euler path Yes, an Euler circuit
Euler’s Theorem 3a) The sum of the degrees of all the vertices of a graph equals twice the number of edges. b) A graph always has an even number of odd vertices
Look at page 177: Models for security guard and mail carrier
Algorithm on finding an Euler’s path or circuit • Use a vertex to start (make sure you choose the odd vertex if the graph has an Euler path) • Do not go through any bridge of the un-traveled part of the graph unless it is the only way you can go
A B C D F E 1 2 3 4 5 6 7 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 26