The origin story for this section is the Konigsberg Bridge Problem, which involves seven bridges, as pictured in Figure 10.2.1. The story is that the challenge of Konigsberg was to try to traverse all the bridges, without repeating one, and return to where you started. Euler found a way to represent the problem as a graph, also pictured. The vertices are the land masses and the edges are the bridges. This representation makes it easier to try to answer the question. Before moving on, try to solve the bridge problem by finding a route through the graph that starts and ends at some vertex and traverses each edge exactly once.
For each of the following terms we have a list of vertices and edges, , that represent a way to traverse through the graph. So, for example, must be an endpoint of , must be an endpoint of and , etc. For each of the following terms we indicate whether we can repeat vertices and/or edges in the list.
Basically, a graph is connected if it is in one piece. Figure 10.2.4 is an example of a connected graph. The example in Figure 10.1.3 with the isolated vertex, is an example of a graph that is not connected.
We state several propositions in this section without proof. You are encouraged to sketch examples of graphs to try to verify the propositions for yourself.
Draw several examples of connected graphs. Verify for yourself that if is connected then any two distinct vertices of can be connected by a simple path.
Draw several examples of graphs with a circuit. Verify for yourself that if and are part of a circuit and one edge is removed then there still exists a path from to in .
Draw several examples of connected graphs containing a nontrivial circuit. Verify for yourself that if is connected and contains a nontrivial circuit then an edge of the circuit can be removed without disconnecting .
An Euler circuit must start and end at the same vertex and include every vertex and every edge. It can repeat vertices, but it cannot repeat edges. If you look back at the Konigsberg bridge problem, you can see that to solve the bridge problem is to find an Euler circuit for the associated graph. Were you able to find such a circuit?
Although we will not prove this formally, the basic idea is that to create an Euler circuit for each vertex you need to be able to arrive at the vertex along an edge and then leave the vertex along a different edge. In the case of the inital vertex, you need to be able to leave the vertex and then return.
Theorem 10.2.15 tells us that the graph in Figure 10.2.12 has an Euler circuit since all vertices have even degree, and the graph is connected. The graph in Figure 10.1.3 does not have an Euler circuit since it is not connected (although every vertex has even degree).
An Euler path from to is a sequence of adjacent edges and vertices that starts at and ends at passing through every vertex of at least once and traversing every edge exactly once.
A Hamiltonian circuit starts and ends at the same vertex, passes through all other vertices without repeating, does not repeat edges, but does not need to use all the edges. For example, in the Konigsberg bridge graph Figure 10.2.13, we have Hamiltonian circuit .