Presentation is loading. Please wait.

Presentation is loading. Please wait.

Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20.

Similar presentations


Presentation on theme: "Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20."— Presentation transcript:

1 Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20

2 Euler paths (page 169). An Euler path is a path that travels through (exactly once) every edge of a graph. Euler circuits (page 169). An Euler circuit is a circuit that travels through (exactly once) every edge of a graph.

3 1.Try to trace the following without lifting up your pencil or retracing any lines, so that: You start and finish at different places

4 1.Try to trace the following without lifting up your pencil or retracing any lines, so that: You finish at the starting place

5 Euler paths (page 169). An Euler path is a path that travels through (exactly once) every edge of a graph. Euler circuits (page 169). An Euler circuit is a circuit that travels through (exactly once) every edge of a graph.

6 AD R L(a) AD R L(b) Euler paths (page 169). An Euler path is a path that travels through (exactly once) every edge of a graph. Euler circuits (page 169). An Euler circuit is a circuit that travels through (exactly once) every edge of a graph. Has no Euler pathsHas several Euler paths Neither has an Euler circuit

7 AB CD E F G (a) AB CD E F G (b) AB CD E F G (c) Connected graphs. A graph is connected if any two of its vertices can be joined by a path.

8 Euler’s Theorem 1 (page 172) (a) If a graph has any vertices of odd degree, then it cannot have an Euler circuit. (b) If a graph is connected and every vertex has an even degree, then it has at least one Euler circuit (and usually more).

9 Objective 5: Proving Theorems

10 Euler’s Theorem 2 (Page 172) (a) If a graph has more than two vertices of odd degree, then it cannot have an Euler path. (b) If a graph is connected and has just two vertices of odd degree, then it has at least one Euler path (and usually more). Any such path must start at one of the odd degree vertices and end at the other.

11 Euler’s Theorem 3 (page 174) (a) The sum of the degrees of all vertices of a graph equals twice the number of edges (and therefore must be an even number) (b) The number of vertices of odd degree must be even.

12 # of odd vertices Conclusion (for connected graph) 0 Euler circuit exists (therefore Euler path also exists) 2 Euler path exists but no Euler circuit More than 2 No Euler path or circuit

13 Do the following have Euler Paths, Euler Circuits, or neither?

14 Is it possible to take a walk through town crossing each of the bridges once and only once?

15

16 A B C D E F G H I J K Does the following have an Euler path, Euler circuit, both, or neither? L

17 A B C D E F G H I J K 1 2 3 4 Bridges. If a graph becomes disconnected by the removal of an edge, then that edge is called a bridge. L

18 Fluery’s algorithm for finding an Euler Circuit (page 176) 1. First make sure that the graph is connected and all the vertices have an even degree. 2. Start at any vertex. 3. Travel through an edge if (a) it is not a bridge for the untraveled part, or (b) there is no other alternative. 4. Label the edges in the order in which you travel them. 5. When you can’t travel any more, stop. (You are done!)

19 Do the following have Euler Paths, Euler Circuits, or neither?

20 A garbage man intends to collect garbage from both sides of the street as he drives through city blocks. What is the minimum number of blocks that he will have to drive? (assume he can start and finish at different points)

21 S

22 A B C D JIHG E F K L FIGURE 5-22 Page 180

23 A B C D JIHG E F K L A B C D JIHG E F K L A B C D JIHG E F K L 5 48 1 3 7 9 11 12 141516 181920 22 2325 26 28 2,10 13,21 6,24 17,27 A B C D JIHG E F K L 10 21 24 2748 1 2 3 6 7 9 11 12 13 141516 17 181920 22 2325 26 28 5 FIGURE 5-22 Page 180

24 The process of turning odd vertices into even vertices by adding “duplicate” edges in strategic areas is called eulerization (page 179)

25 A B C D E M LKJ I N O PF G H A B C D E M LKJ I N O PF G H A B C D E M LKJ I N O PF G H (b) (c) (d) A B C D E M LKJ I N O PF G H (a) FIGURE 5-22 Page 180

26 A B C D E M LKJ I N O PF G H A B C D E M LKJ I N O PF G H A B C D E M LKJ I N O PF G H (b) (c) (d) A B C D E M LKJ I N O PF G H (a) FIGURE 5-22 Page 180 Not an Eulerization Not an optimal Eulerization

27 AB C D E M LKJ I N O P F G H 1, 2 12,13 5 6 7 17 10 11 141615 18,21 19, 20 12,13 3,4 8, 9 35 252423 2237 33 3436 27323844,45 28 2930 484746 43 42 3139 40, 41 26

28 FIGURE 5-24 page 181 - SEMIEULERIZATION AB C D E M LKJ I N O PF G H (a)

29 AB C D E M LKJ I N O PF G H FIGURE 5-24 page 181 - SEMIEULERIZATION

30 A garbage man intends to collect garbage from both sides of the street as he drives through city blocks. What is the minimum number of blocks that he will have to drive? (assume he can start and finish at different points) S

31 Draw a route for the garbage man so that he travels the minimum number of blocks S

32 EXAMPLE 13: (page 189)

33

34 S

35 S

36 S

37 Homework Read Pages 175 – 184 Page 188: 21 – 26, 29 – 36, 41 – 44, 47 – 49, 51, 52, 59, 62, 63


Download ppt "Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20."

Similar presentations


Ads by Google