1 / 24

Vertex-Edge Graphs

Vertex-Edge Graphs. Euler Paths Euler Circuits. Leonard Euler. This problem is an 18 th century problem that intrigued Swiss mathematician Leonard Euler (1707-1783). This problem was posed by the residents of K önigsberg, a city in what was then Prussia but is now Kaliningrad.

bozica
Download Presentation

Vertex-Edge Graphs

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Vertex-Edge Graphs Euler Paths Euler Circuits

  2. Leonard Euler • This problem is an 18th century problem that intrigued Swiss mathematician Leonard Euler (1707-1783). • This problem was posed by the residents of Königsberg, a city in what was then Prussia but is now Kaliningrad.

  3. The Seven Bridges of Konigsberg

  4. Euler (pronounced “oiler”) Paths • Vocabulary • Theory • Problem and Story • Examples and Non-Examples • Try Some Puzzles

  5. Vocabulary • Vertex: point (plural-vertices) • Edge: segment or curve connecting the vertices • Odd vertex: a vertex with an odd number of edges leading to it • Even vertex: a vertex with an even number of edges leading to it • Euler path: a continuous path connecting all vertices that passes through every edge exactly once • Euler circuit: an Euler path that starts and ends at the same vertex

  6. Vertex • Point • Name the points (vertices) on this vertex-edge graph

  7. Edges • segment or curve connecting the vertices • What are the edges on this vertex-edge graph?

  8. Odd Vertex • a vertex with an odd number of edges leading to it • What are the odd vertices on this vertex-edge graph?

  9. Even Vertex • a vertex with an even number of vertices leading to it • What are the even vertices on this vertex-edge graph?

  10. Königsberg Bridges • In the 1700s, seven bridges connected two islands on the Pregel River to the rest of the city. • The people wondered whether it would be possible to walk through the city by crossing each bridge exactly once and return to the original starting point.

  11. Euler’s Solution • Using a graph like the picture where the vertices represent the landmasses of the city and the edges represent the bridges, Euler was able to find that the desired walk throughout the city was not possible. • In doing so, he also discovered a solution to problems of this general type.

  12. Euler’s Solution (cont’d) • Euler found that the key to the solution was related to the degrees of the vertices. • Recall that the degree of a vertex is the number of the edges that have the vertex as an endpoint. • Find the degree of each vertex of the graphs on the previous slide. Do you see what Euler noticed?

  13. Euler’s Solution • Euler found that in order to be able to transverse each edge of a connected graph exactly once and to end at the starting vertex, the degree of each vertex of the graph must be even. (As only in the second graph)

  14. Euler Circuits and Paths • In his honor, a path that uses each edge of a graph exactly once and ends at the starting vertex is called an Euler circuit. • Euler also noticed that if a connected graph had exactly two odd vertices, it was possible to use each edge of the graph exactly once but to end at a vertex different from the starting vertex. Such a path is called an Euler path.

  15. Euler Path • a continuous path connecting all vertices that passes through every edge exactly once • Is this vertex-edge graph an Euler path? • Why, or why not?

  16. Euler Circuit • an Euler path that starts and ends at the same vertex • Is this vertex-edge graph an Euler circuit? • Why, or why not?

  17. Another Example • Is this vertex-edge graph an Euler path? • Why or why not? • Is this vertex-edge graph an Euler circuit? • Why, or why not?

  18. Euler’s Theorem, or Rules •If a graph hasmore than twoodd vertices, then it does not have an Euler path. • If a graph hastwo or fewerodd vertices, then it has at least one Euler path. • If a graph hasanyodd vertices, then it cannot have an Euler circuit. • Ifevery vertexin a graph iseven, then it has at least one Euler circuit.

  19. Let’s Take Another Look • How many odd vertices in this vertex-edge graph? • According to Euler’s Theorem, can this be an Euler path? • Can it be an Euler circuit?

  20. Let’s Look at the Other One • How many odd vertices in this vertex-edge graph? • According to Euler’s Theorem, can this be an Euler path? • Can it be an Euler circuit?

  21. Pencil Drawing Problem-Euler Paths Which of the following pictures can be drawn on paper without ever lifting the pencil and without retracing over any segment?

  22. Pencil Drawing Problem-Euler Paths Graph Theoretically: Which of the following graphs has an Euler path? First, identify the points.

  23. Pencil Drawing Problem-Euler Paths Answer: the left but not the right. 1 2 3 start finish 4 6 5

  24. Assignment Worksheet Euler Circuits and eulerization

More Related