A circuit in a graph visiting every edge exactly once and every vertex is called an Eulerian circuit and a graph that has an Eulerian circuit is called an Eulerian graph.
Show that a finite graph is Eulerian iff is connected and is a edge-disjoint union of cycles i.e., where ’s are cycles and have no common edges.
A finite connected graph is Eulerian iff every vertex has even degree.
Since the graph is Eulerian, let be the partition into edge-disjoint cycles. Viewing ’s as graphs by themselves, observe that i.e., vertices in have degree and otherwise. Further, we have by edge-disjointness of ’s that
and thus proving that every vertex has even degree.
To show the converse, assume that the vertex degrees are all even. Let be a simple path of maximal length i.e., there is no simple path of length . Since , there exists a . Then is a simple path of length and this yields a contradiction unless for some . Let . Then is a cycle, say . Remove from and consider . All vertex degrees in are even. So, we can repeat the procedure for a component of with at least two vertices and obtain a cycle . Continuing this way, we obtain cycles such that is a disjoint union of and hence is Eulerian by the claim above. ∎
The starting point for the proof is that every maximal trail in an even graph is closed (see Lemma below).
Assume G has an Eulerian Tour, let it be C=
Consider ,
Let u be visited m times in C. Note that in each visit two edges incident on u are being used. Hence, edges incident on . Since, C is eulerian, there are no more edges on u. This shows that degree of u is even.
On the other hand, assume v occurs times in C,
Hence, G is an even graph.
Conversely, Let G be an even connected graph with T= being the maximal trail.
By lemma given below,
T is closed,i.e., .
Assume, T is not Eulerian,
then and for some with T.
Define, T’=. This makes T’ longer than T leading to contradiction as T is maximal.
Hence, T is Eulerian.
∎
Every maximal trail in an even graph (i.e., graph with even vertices) is closed.
Let T be a maximal trail. Assume T is not closed.
Let, T=
Now, the last entry is to and hence there is no exit. Also, . Hence, has odd number of edges in T.
deg() is even and since edges are not repeated,
such that is not visited by T. This shows that T+ is a trail which is larger than T.
Hence, contradiction shows that our assumption was wrong, i.e., T is closed
∎
Prove Euler’s theorem for multi-graphs and hence show that Konigsberg problem has no solution.
Sometimes usage of multi-graphs can simplify proofs of theorems for graphs.
Let be a connected graph. has an Eulerian trail iff there are or exactly vertices of odd degree.
We have already proved that a finite connected graph has an eulerian circuit( which is just a closed eulerian trail) if and only if it has zero vertices of even degree.
Now we prove that a finite connected graph has an open eulerian trail if and only if it has exactly two vertices of odd degree.
Assume has an open Euler trail, . Suppose the trail begins at and ends at . Except for the first listing of and the last listing of every time a vertex is listed, that accounts for two edges adjacent to that vertex, the one before it in the list and the one after it in the list. This circuit uses every edge exactly once. So every edge is accounted for and there are no repeats. Thus every degree must be even, except for and which must be odd.
Now suppose and are the vertices of odd degree. Consider where is a new edge between and . This graph has all even degrees. Thus it has an eulerian circuit. This circuit travels through edge too. On removing edge we get an euler trail in .
∎
Can you prove the above corollary without appealing to multi-graphs ?
Every closed odd length walk contains an odd length cycle.
A graph is bi-partite iff it has no odd cycles.
The König here is the hungarian mathematician Dénes König whose father Gyola König was also a well-known mathematician. Dénes wrote the first book on graph theory.
The only if part : Suppose is bi-partite with partition . Let be a cycle. WLOG11 1 Without loss of generality, suppose . By bi-partiteness, for and odd and for and even. Since , and hence is odd. Thus, the length of the cycle is even.
The if part : Let . Set if is even and else . WLOG, suppose for . Then Let be respectively the shortest paths from to respectively. Let be the inversed path from to . Since , have even lengths and so is a closed walk starting at and has odd length. By Lemma(3.7), it has an odd length cycle, a contradiction. Thus there are no edges between vertices in or respectively i.e., is bi-partite with partition . ∎