Euler Paths and Euler Circuits 1
Euler Paths and Euler Circuits 1
An Euler Path is a path that goes through every edge of a graph exactly once
An Euler Circuit is an Euler Path that begins and ends at the same vertex.
Euler’s Theorem:
1. If a graph has more than 2 vertices of odd degree then it has no Euler paths.
2. If a graph is connected and has 0 or exactly 2 vertices of odd degree, then it has at least
one Euler path
3. If a graph is connected and has 0 vertices of odd degree, then it has at least one Euler
circuit.
Finding an Euler Circuit: There are two different ways to find an Euler circuit.
1. Fleury’s Algorithm: Erasing edges in a graph with no odd vertices and keeping track
of your progress to find an Euler Circuit.
a. Begin at any vertex, since they are all even. A graph may have more than 1
circuit).
b. After you have traveled over an edge, erase it. If all edges at a particular
vertex have been erased, erase the vertex as well.
c. Only travel over an edge that is a bridge if there is no other option.
2. Eulerizing a Graph: Repeating edges on a graph with odd vertices so that the graph
has no odd vertices. (Remember, there will always be an even number of odd
vertices!)
3 \4
2 2 4\
3 3 4\ \4
2 2
3 \4
*For this example, you can add edges AB and AD, but you CANNOT add BD because there
isn’t already an edge between vertices B and D.