Eulerian and Hamiltonian Graphs: Two Classical Traversal Problems
From the Bridges of Königsberg to Euler's theorem on Eulerian circuits, directed Eulerian graphs, Hamiltonian cycles, the theorems of Ore and Dirac, and the NP-completeness of the Hamiltonian cycle problem.
1. The Bridges of Königsberg
In 1736, Euler investigated whether it was possible to walk through the city of Kö
Modeling the problem as a multigraph, vertex has degree and each of has degree . Since every vertex has odd degree, the theorem below implies that no Eulerian circuit exists.
2. Eulerian Circuits and Trails
3. Directed Eulerian Graphs
4. Hamiltonian Cycles
The graph below has a Hamiltonian cycle (thick edges) but is not Eulerian (vertex has degree , which is odd):
5. NP-Completeness
Mathematics "between the lines" — exploring the intuition textbooks leave out, written in LaTeX on Folio.