Graph Theory Haiku

My most recent talk in UVic’s discrete math seminar presented three poetic proofs by Adrian Bondy… and three actual poems summarizing the ideas in each one.


Ore’s Theorem

A red-blue KnK_n:
bluest Hamilton circuit
lies fully in GG.

Ore’s theorem states:

Let GG be a simple graph on n3n \geq 3 vertices such that d(u)+d(v)nd(u) + d(v) \geq n for any nonadjacent u,vu, v. Then GG contains a Hamilton cycle.

Bondy’s proof is roughly as follows. Colour the edges of GG blue and add red edges to make a complete graph. The complete graph on n3n \geq 3 vertices has no shortage of Hamilton cycles, so choose one and label it v1v2vnv1v_1 v_2 \ldots v_n v_1.

A graph with blue edges and its complement in red

Consider the blue neighbours of v1v_1 on the cycle, and then move one vertex to the right along the cycle so you’re looking at the set

S={vi+1:v1viE(G)} S = \{ v_{i+1}: v_1 v_i \in E(G) \}

There are dG(v1)d_G(v_1) of these vertices, and if v1v2v_1 v_2 is red (i.e. v1v_1 and v2v_2 are nonadjacent in GG), then the theorem’s hypothesis tells us that

S=dG(v1)ndG(v2).|S| = d_G(v_1) \geq n - d_G(v_2).

Since v2v_2 has only n1dG(v2)n-1-d_G(v_2) red neighbours and is not itself in SS, that means at least one vertex vi+1Sv_{i+1} \in S is a blue neighbour of v2v_2. We can now replace v1v2v_1 v_2 and vivi+1v_i v_{i+1} in the cycle with the two blue edges v1v2v_1 v_2 and v2vi+1v_2 v_{i+1} to get a Hamilton cycle of KnK_n with at least one more blue edge than we had before.

Switching two edges on the Hamilton cycle to create another Hamilton cycle with more blue edges

We can make the same argument again and again until we have a Hamilton cycle of KnK_n with no red edges. The cycle being blue means it lies entirely in GG, which proves the theorem.

Brooks’ Theorem

Greedily colour,
ensuring neighbours follow
all except the last.

Choose the last vertex wisely:
friend of few or of leaders.

Brooks’ Theorem says:

If GG is connected and is not an odd cycle or a clique, then χ(G)Δ(G)\chi(G) \leq \Delta(G).

If GG is not regular, Bondy colours it as follows. Let rr be a vertex of smaller-than-maximum degree. If we consider the vertices in the reverse order of a depth-first search rooted at rr, each vertex other than rr has at least one neighbour later in the order and at most d(v)1d(v)-1 neighbours earlier. Greedily colouring in this order will assign one of the first d(v)Δ(v)d(v) \leq \Delta(v) colours to each vrv \neq r, and at least one colour remains available for rr since its degree is strictly smaller than Δ(G)\Delta(G).

If GG is regular, there are a few cases. If it has a cut vertex, we can break the graph into two (non-regular) parts, colour each of them separately, and put them back together. If it has a depth-first tree that branches at some point, then Bondy constructs an ordering similar to the one for the non-regular case: if xx has distinct children y,zy, z in the tree, GG can be ordered so yy and zz come first, xx comes last, and every other vertex has at least one neighbour later on in the order. A greedy colouring according to this order uses at most Δ(G)\Delta(G) colours.

Finally, if GG is regular, 2-connected, and all of its depth-first trees are paths, it turns out that GG must be a chordless cycle, a clique, or a complete bipartite graph. Since bipartite graphs have χ(G)=2Δ(G)\chi(G) = 2 \leq \Delta(G), the only exceptions to the theorem are odd cycles and cliques.

Vizing’s Theorem

Induction on nn.
Swap available colours
and find SDR.

Vizing’s theorem says:

For any simple graph GG, the edge chromatic number χ(G)\chi'(G) is at most Δ(G)+1\Delta(G)+1.

The proof is by induction on the number of vertices; pick a vertex vv and start with a (Δ(G)+1)(\Delta(G)+1)-edge-colouring of GvG-v.

Ideally, we could just colour the edges around vv and extend the edge-colouring to one of GG. Those colours would need to be a system of distinct representatives (SDR) for the sets of colours still available at each of the neighbours of vv.

If we can’t find a full SDR, then we can still try to colour as many of vv‘s edges as possible. Then, if an edge uvuv is still uncoloured, we can follow a proof of Hall’s Theorem to get a set of coloured edges u1v,u2v,,ukvu_1 v, u_2 v, \ldots, u_k v such that:

Note also that

The first and third facts put together tell us that some colour (say, blue) is available at two vertices among uu and u1,u2,,uku_1, u_2, \ldots, u_k.

The second fact implies that any colour (e.g. red) still available at vv can’t be available at any of the uiu_i, as otherwise we could swap around the colours to colour uvuv and then use red for uivu_i v.

Look at the subgraph HH of GG formed by the red and blue edges — it’s made of paths and even cycles. We know that vv is incident with a blue edge but not a red one, so it’s the end of a path in HH.

We also know that there are two vertices among u,u1,u2,,uku, u_1, u_2, \ldots, u_k that are incident with a red edge but not a blue one; those are also ends of paths in HH. The paths might be the same as each other, and one might be the same as vv‘s path, but the important thing is that we have a red-blue path where at least one of the ends is a neighbour uu' of vv and the other end is any vertex other than vv.

We can now modify the colouring of GvG-v to swap red and blue along this path, which frees up red at uu'. If uu' is uu itself, then we can colour uvuv red; otherwise, we can uncolour uvu'v, swap colours around to colour uvuv, and use red for uvu'v.

Either way, we’ve shown that the modified colouring of GvG-v has a larger set of distinct representatives than the original colouring. By repeating this process, we eventually find a colouring of GvG-v that has a full SDR — and therefore can be extended to a full (Δ(G)+1)(\Delta(G)+1)-edge-colouring of GG.