Euler’s Theorems and Fleury’s Algorithm -...

81
Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb T. Koether Hampden-Sydney College Fri, Oct 27, 2017 Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 1 / 19

Transcript of Euler’s Theorems and Fleury’s Algorithm -...

Page 1: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Euler’s Theorems and Fleury’s AlgorithmLecture 27Section 5.3

Robb T. Koether

Hampden-Sydney College

Fri, Oct 27, 2017

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 1 / 19

Page 2: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

1 Definitions

2 Euler’s Theorems

3 Fleury’s Algorithm

4 The Splicing Algorithm

5 The Mail Carrier Problem Solved

6 Assignment

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 2 / 19

Page 3: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Outline

1 Definitions

2 Euler’s Theorems

3 Fleury’s Algorithm

4 The Splicing Algorithm

5 The Mail Carrier Problem Solved

6 Assignment

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 3 / 19

Page 4: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Euler Paths and Circuits

Definition (Euler Path)An Euler path (pronounced "oiler") is a path that traverses each edgeexactly once.

Definition (Euler Circuit)An Euler circuit is an Euler path that is a circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 4 / 19

Page 5: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Euler Paths and Circuits

In the Bridges of Königsberg Problem, we seek an Euler path andan Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 5 / 19

Page 6: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Definitions

Definition (Connected)A graph is connected if, for any two vertices, there is a path from oneto the other.

Definition (Even and Odd Vertices)A vertex is even if an even number of edges emanate from it.Otherwise, it is odd.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 6 / 19

Page 7: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Outline

1 Definitions

2 Euler’s Theorems

3 Fleury’s Algorithm

4 The Splicing Algorithm

5 The Mail Carrier Problem Solved

6 Assignment

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 7 / 19

Page 8: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Euler’s Theorems

Theorem (Euler Circuits)If a graph is connected and every vertex is even, then it has an Eulercircuit. Otherwise, it does not have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 8 / 19

Page 9: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Euler’s Theorems

Theorem (Euler Paths)If a graph is connected and it has exactly 2 odd vertices, then it has anEuler path and any Euler path must begin at one of the odd verticesand end that the other one.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 9 / 19

Page 10: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Euler’s Theorems

Theorem (Euler Paths)If a graph is not connected or if it has more than 2 odd vertices, then itdoes not have an Euler path.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 10 / 19

Page 11: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Outline

1 Definitions

2 Euler’s Theorems

3 Fleury’s Algorithm

4 The Splicing Algorithm

5 The Mail Carrier Problem Solved

6 Assignment

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 11 / 19

Page 12: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s AlgorithmBegin at any vertex and follow an edge.Whenever there is a choice of edges, choose an edge that doesnot separate you from any remaining (unvisited) edges.

(Thisrequires thought.)Continue to follow edges in this manner.When you reach the starting point, you have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 12 / 19

Page 13: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s AlgorithmBegin at any vertex and follow an edge.Whenever there is a choice of edges, choose an edge that doesnot separate you from any remaining (unvisited) edges. (Thisrequires thought.)

Continue to follow edges in this manner.When you reach the starting point, you have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 12 / 19

Page 14: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s AlgorithmBegin at any vertex and follow an edge.Whenever there is a choice of edges, choose an edge that doesnot separate you from any remaining (unvisited) edges. (Thisrequires thought.)Continue to follow edges in this manner.When you reach the starting point, you have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 12 / 19

Page 15: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 16: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 17: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 18: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 19: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 20: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 21: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 22: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 23: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 24: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 25: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 26: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 27: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 28: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 29: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 30: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 31: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 32: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 33: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 34: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 35: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 36: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 37: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 38: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Fleury’s Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 13 / 19

Page 39: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Outline

1 Definitions

2 Euler’s Theorems

3 Fleury’s Algorithm

4 The Splicing Algorithm

5 The Mail Carrier Problem Solved

6 Assignment

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 14 / 19

Page 40: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing AlgorithmBegin at any vertex and follow an edge.

Continue to follow edges in any way whatsoever until you reachthe starting point, at which point you have a circuit.

(This does notrequire thought.)

If there are untraveled edges, then retrace the circuit until youreach the first untraveled edge.Follow untraveled edges, as before, until you return to that vertex.“Splice” that circuit into the original circuit.Repeat the last three steps until there are no more untravelededges. You now have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 15 / 19

Page 41: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing AlgorithmBegin at any vertex and follow an edge.Continue to follow edges in any way whatsoever until you reachthe starting point, at which point you have a circuit.

(This does notrequire thought.)If there are untraveled edges, then retrace the circuit until youreach the first untraveled edge.Follow untraveled edges, as before, until you return to that vertex.“Splice” that circuit into the original circuit.Repeat the last three steps until there are no more untravelededges. You now have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 15 / 19

Page 42: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing AlgorithmBegin at any vertex and follow an edge.Continue to follow edges in any way whatsoever until you reachthe starting point, at which point you have a circuit. (This does notrequire thought.)

If there are untraveled edges, then retrace the circuit until youreach the first untraveled edge.Follow untraveled edges, as before, until you return to that vertex.“Splice” that circuit into the original circuit.Repeat the last three steps until there are no more untravelededges. You now have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 15 / 19

Page 43: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing AlgorithmBegin at any vertex and follow an edge.Continue to follow edges in any way whatsoever until you reachthe starting point, at which point you have a circuit. (This does notrequire thought.)If there are untraveled edges, then retrace the circuit until youreach the first untraveled edge.

Follow untraveled edges, as before, until you return to that vertex.“Splice” that circuit into the original circuit.Repeat the last three steps until there are no more untravelededges. You now have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 15 / 19

Page 44: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing AlgorithmBegin at any vertex and follow an edge.Continue to follow edges in any way whatsoever until you reachthe starting point, at which point you have a circuit. (This does notrequire thought.)If there are untraveled edges, then retrace the circuit until youreach the first untraveled edge.Follow untraveled edges, as before, until you return to that vertex.

“Splice” that circuit into the original circuit.Repeat the last three steps until there are no more untravelededges. You now have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 15 / 19

Page 45: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing AlgorithmBegin at any vertex and follow an edge.Continue to follow edges in any way whatsoever until you reachthe starting point, at which point you have a circuit. (This does notrequire thought.)If there are untraveled edges, then retrace the circuit until youreach the first untraveled edge.Follow untraveled edges, as before, until you return to that vertex.“Splice” that circuit into the original circuit.

Repeat the last three steps until there are no more untravelededges. You now have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 15 / 19

Page 46: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing AlgorithmBegin at any vertex and follow an edge.Continue to follow edges in any way whatsoever until you reachthe starting point, at which point you have a circuit. (This does notrequire thought.)If there are untraveled edges, then retrace the circuit until youreach the first untraveled edge.Follow untraveled edges, as before, until you return to that vertex.“Splice” that circuit into the original circuit.Repeat the last three steps until there are no more untravelededges. You now have an Euler circuit.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 15 / 19

Page 47: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 48: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 49: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 50: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 51: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

4

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 52: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 53: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 54: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 55: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 56: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 57: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 58: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 59: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 60: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 61: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 62: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 63: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 64: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 65: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 66: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 67: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

1B

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 68: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

1B

2B

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 69: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

1B

2B

3B

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 70: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

1B

2B

3B4B

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 71: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

1B

2B

3B4B

5B

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 72: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

1B

2B

3B4B

5B

6B

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 73: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

1B

2B

3B4B

5B

6B

7B

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 74: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

1B

2B

3B4B

5B

6B

7B 8B

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 75: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Splicing Algorithm

1

2

3

45

6

7 1A

2A

3A

4A

5A

6A

7A

1B

2B

3B4B

5B

6B

7B 8B

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 16 / 19

Page 76: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Outline

1 Definitions

2 Euler’s Theorems

3 Fleury’s Algorithm

4 The Splicing Algorithm

5 The Mail Carrier Problem Solved

6 Assignment

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 17 / 19

Page 77: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Mail Carrier Problem Solved

The mail carrier’s graph never contains any odd vertices.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 18 / 19

Page 78: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Mail Carrier Problem Solved

The mail carrier’s graph never contains any odd vertices.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 18 / 19

Page 79: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

The Mail Carrier Problem Solved

4 4 4 4 4 22

2

2 4

2 4 4 2

4

4

4

46

68

8

8

8

8 8

6 6

4 4

The mail carrier’s graph never contains any odd vertices.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 18 / 19

Page 80: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Outline

1 Definitions

2 Euler’s Theorems

3 Fleury’s Algorithm

4 The Splicing Algorithm

5 The Mail Carrier Problem Solved

6 Assignment

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 19 / 19

Page 81: Euler’s Theorems and Fleury’s Algorithm - …people.hsc.edu/faculty-staff/robbk/Math111/Lectures/Fall...Euler’s Theorems and Fleury’s Algorithm Lecture 27 Section 5.3 Robb

Assignment

AssignmentChapter 5: Exercises 29, 30, 31, 35, 36, 37, 38, 39.

Robb T. Koether (Hampden-Sydney College) Euler’s Theorems and Fleury’s Algorithm Fri, Oct 27, 2017 20 / 19