Eulerian path
s of both Königsberg Bridges and Five room puzzles have more than two odd vertices (in orange), thus are not Eulerian and hence the puzzles have no solutions.[src] In graph theory, an Eulerian trail (or Eulerian path) is a trail in a finite graph that visits every edge exactly once (allowing for revisiting vertices).[src] Similarly, an Eulerian circuit or Eulerian cycle is an Eulerian trail that starts and ends on the same vertex.[src] They were first discussed by Leonhard Euler while solving the famous Seven Bridges of Königsberg problem in 1736.[src] The problem can be stated mathematically like this: :Given the graph in the image, is it possible to construct a path (or a cycle; i.e., a path starting and ending on the same vertex) that visits each edge exactly once?[src] Euler proved that a necessary condition for the existence of Eulerian circuits is that all vertices in the graph have an even degree, and stated without proof that connected graphs with all vertices of even degree have an Eulerian circuit.[src] The first complete proof of this latter claim was published posthumously in 1873 by Carl Hierholzer.[src] This is known as Euler's Theorem: :A connected graph has an Euler cycle if and only if every vertex has an even number of incident edges.[src] The term Eulerian graph has two common meanings in graph theory.…[src]
s of both Königsberg Bridges and Five room puzzles have more than two odd vertices (in orange), thus are not Eulerian and hence the puzzles have no solutions.[src] In graph theory, an Eulerian trail (or Eulerian path) is a trail in a finite graph that visits every edge exactly once (allowing for revisiting vertices).[src] Similarly, an Eulerian circuit or Eulerian cycle is an Eulerian trail that starts and ends on the same vertex.[src] They were first discussed by Leonhard Euler while solving the famous Seven Bridges of Königsberg problem in 1736.[src] The problem can be stated mathematically like this: Given the graph in the image, is it possible to construct a path (or a cycle; i.e., a path starting and ending on the same vertex) that visits each edge exactly once?[src] Euler proved that a necessary condition for the existence of Eulerian circuits is that all vertices in the graph have an even degree, and stated without proof that connected graphs with all vertices of even degree have an Eulerian circuit.[src] The first complete proof of this latter claim was published posthumously in 1873 by Carl Hierholzer.[src] This is known as Euler's Theorem: A connected graph has an Euler cycle if and only if every vertex has an even number of incident edges.[src] The term Eulerian graph has two common meanings in graph theory.[src] One meaning is a graph with an Eulerian circuit, and the other is a graph with every vertex of even degree.[src] These definitions coincide for connected graphs.[src] For the existence of Eulerian trails it is necessary that zero or two vertices have an odd degree; this means the Königsberg graph is not Eulerian.[src] If there are no vertices of odd degree, all Eulerian trails are circuits.[src] If there are exactly two vertices of odd degree, all Eulerian trails start at one of them and end at the other.[src] A graph that has an Eulerian trail but not an Eulerian circuit is called semi-Eulerian.[src] ==Definition== An Eulerian trail, or Euler walk, in an undirected graph is a walk that uses each edge exactly once.[src] If such a walk exists, the graph is called traversable or semi-eulerian.[src] An Eulerian cycle, also called an Eulerian circuit or Euler tour, in an undirected graph is a circuit that uses each edge exactly once.[src] If such a cycle exists, the graph is called Eulerian or unicursal.[src] The term "Eulerian graph" is also sometimes used in a weaker sense to denote a graph where every vertex has even degree.[src] For finite connected graphs the two definitions are equivalent, while a possibly unconnected graph is Eulerian in the weaker sense if and only if each connected component has an Eulerian cycle.[src] For directed graphs, "path" has to be replaced with directed path and "cycle" with directed cycle.[src] The definition and properties of Eulerian trails, cycles and graphs are valid for multigraphs as well.[src] An Eulerian orientation of an undirected graph G is an assignment of a direction to each edge of G such that, at each vertex v, the indegree of v equals the outdegree of v.[src] Such an orientation exists for any undirected graph in which every vertex has even degree, and may be found by constructing an Euler tour in each connected component of G and then orienting the edges according to the tour.[src] Every Eulerian orientation of a connected graph is a strong orientation, an orientation that makes the resulting directed graph strongly connected.[src] ==Counting Eulerian circuits== \operatorname{ec}(K_n) = 2^{\frac{(n+1)}{2}}\pi^{\frac{1}{2}} e^{\frac{-n^2}{2}+\frac{11}{12}} n^{\frac{(n-2)(n+1)}{2}} \bigl(1+O(n^{-\frac{1}{2}+\epsilon})\bigr).[src] A similar formula was later obtained by M.I.[src] Isaev (2009) for complete bipartite graphs: \operatorname{ec}(K_{n,n}) = \left(\frac{n}{2}-1\right)!^{2n} 2^{n^2-n+\frac{1}{2}}\pi^{-n+\frac{1}{2}} n^{n-1} \bigl(1+O(n^{-\frac{1}{2}+\epsilon})\bigr).[src] ==In infinite graphs== In an infinite graph, the corresponding concept to an Eulerian trail or Eulerian cycle is an Eulerian line, a doubly-infinite trail that covers all of the edges of the graph.[src] It is not sufficient for the existence of such a trail that the graph be connected and that all vertex degrees be even; for instance, the infinite Cayley graph shown, with all vertex degrees equal to four, has no Eulerian line.[src] The infinite graphs that contain Eulerian lines were characterized by .[src] For an infinite graph or multigraph to have an Eulerian line, it is necessary and sufficient that all of the following conditions be met: is connected.[src] has countable sets of vertices and edges.[src] has no vertices of (finite) odd degree.[src] Removing any finite subgraph from leaves at most two infinite connected components in the remaining graph, and if has even degree at each of its vertices then removing leaves exactly one infinite connected component.[src] Discussion of early mentions of Fleury's algorithm.[src] Euler tour at Encyclopedia of Mathematics.[src]
47 sentences · 47 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Eulerian path." encyclopegia.org, 2026, https://encyclopegia.org/wiki/eulerian-path. Accessed 27 November 2026.
Chicago
"Eulerian path." encyclopegia.org. Accessed November 27, 2026. https://encyclopegia.org/wiki/eulerian-path.
APA
encyclopegia.org. (2026). Eulerian path. Retrieved November 27, 2026, from https://encyclopegia.org/wiki/eulerian-path
Accessed November 27, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| publication date | 1873 | Wikipedia |