Revision Notes - Eulerian and Semi-Eulerian Graphs
Revision Notes - Eulerian and Semi-Eulerian Graphs
1. Eulerian Graphs
● Definition: An Eulerian graph is a connected graph where every vertex has an even
degree (number of edges incident to it).
● Eulerian Circuit: An Eulerian circuit is a circuit that visits every edge exactly once and
returns to the starting vertex.
● Eulerian Path: An Eulerian path is a path that visits every edge exactly once but may
not necessarily return to the starting vertex.
● Degree Condition: In an Eulerian graph, every vertex must have an even degree. If
there are exactly two vertices with odd degrees, the graph contains an Eulerian path
starting at one of these vertices.
● Connectedness: An Eulerian graph must be connected. Disconnected graphs or graphs
with more than two vertices with odd degrees cannot be Eulerian.
● Euler's Theorem: A connected graph is Eulerian if and only if all vertices have even
degree.
4. Examples
5. Semi-Eulerian Graphs
● Definition: A semi-Eulerian graph has exactly two vertices of odd degree, allowing for
an Eulerian path but not an Eulerian circuit.
● Applications: Semi-Eulerian graphs are useful in planning routes or circuits where only
one path needs to visit each edge exactly once.
● Hierholzer's Algorithm: Algorithm used to find Eulerian circuits and paths in graphs.
● Steps:
○ Ensure all vertices are of even degree or exactly two vertices have odd degree.
○ Start from a vertex with odd degree for an Eulerian path, or any vertex for an
Eulerian circuit.
○ Trace edges while removing them until returning to the starting vertex.
8. Real-World Applications
9. Computational Complexity
10. Summary
● Eulerian Graphs: All vertices have even degrees, allowing for Eulerian circuits or paths.
● Semi-Eulerian Graphs: Exactly two vertices have odd degrees, permitting Eulerian
paths but not circuits.
Understanding Eulerian and semi-Eulerian properties helps in graph theory applications, from
optimizing transportation routes to designing efficient circuits and networks.