Skip to main content
Logo image

In-Class Notes to Accompany Applied Combinatorics

Handout 5.2 Eulerian and Hamiltonian Graphs

Let \(\bfG\) be a graph without isolated vertices. We say that \(\bfG\) is eulerian provided that there is a sequence \((x_0,x_1,x_2,\dots,x_t)\) of vertices from \(\bfG\text{,}\) with repetition allowed, so that
  1. \(x_0=x_t\text{;}\)
  2. for every \(i=0,1,\dots, t-1\text{,}\) \(x_ix_{i+1}\) is an edge of \(\bfG\text{;}\)
  3. for every edge \(e\in E\text{,}\) there is a unique integer \(i\) with \(0\le i\lt t\) for which \(e=x_ix_{i+1}\text{.}\)
When \(\bfG\) is eulerian, a sequence satisfying these three conditions is called an eulerian circuit. A sequence of vertices \((x_0,x_1,\dots,x_t)\) is called a circuit when it satisfies only the first two of these conditions.

Activity 5.2.1. Eulerian graphs.

(a)

Every group should have two pieces of paper. Each group must draw at least two graphs with \(n\geq 10\) vertices. Put your two graphs on separate pieces of paper.

(d)

Use our algorithm to find an eulerian circuit in the eulerian graph.

(e)

If finish early, draw some more graphs and swap with another group.
A graph \(\GVE\) is said to be hamiltonian if there exists a sequence \((x_1,x_2,\dots,x_n)\) so that
  1. every vertex of \(\bfG\) appears exactly once in the sequence;
  2. \(x_1x_n\) is an edge of \(\bfG\text{;}\) and
  3. for each \(i=1,2,\dots,n-1\text{,}\) \(x_ix_{i+1}\) is an edge in \(\bfG\text{.}\)
Such a sequence of vertices is called a hamiltonian cycle.

Activity 5.2.2. Eulerian vs Hamiltonian.

(a)

Review responses on Canvas to class prep responses about difference between eulerian and hamiltonian.

(b)

Formulate an improved group explanation of the difference. Be careful in your use of the words circuit, cycle, and path.

Activity 5.2.3. Hamiltonian or Not?

The handout contains drawings of five graphs. Find a hamiltonian cycle or explain why there isn’t one. Don’t spend too much time on any one graph.
Peer instruction questions 1–5.