Skip to main content

Tournaments

One of the important classes of directed graphs is called tournaments. A tournament is an orientation of a complete graph. We can think of a tournament as the result of players participating in round-robin games where there is no tie or rematch. An edge directed from uu to vv means that player uu won against player vv.

Exercise 28

Prove: Let GG be a tournament. If all vertices have the same out-degree, then nn is odd.

An interesting concept, closely related to Eulerian graphs, is called Hamiltonicity. A Hamiltonian path is a path from (a vertex) ss to (another vertex) tt that visits every vertex exactly once (since it is a path).

Theorem 11

Every tournament GG contains a Hamiltonian path.

The proof of this theorem will use the following simple fact: If we have a bit string x=x[1]x[q]x= x[1]\ldots x[q], and we know that x[0]=0x[0] =0 and x[q]=1x[q]=1, then there must be some index ii such that x[i]=0x[i]=0 and x[i+1]=1x[i+1]=1. This fact can be proved by contradiction and is left as an exercise.

Proof (of Theorem 11):

Let P=(v1,v2,,vq)P = (v_1,v_2, \ldots, v_q) be the longest path in GG. We argue that PP is a Hamiltonian path. Assume otherwise that some vertex uu is not on PP. The idea is that, we know that, for every ii, either (vi,u)E(v_i, u) \in E or (u,vi)E(u,v_i) \in E. We know that (v1,u)E(v_1, u) \in E (otherwise, if (u,v1)E(u,v_1) \in E, we get a path longer than PP). Also, by the same reasoning, (u,vq)E(u,v_q) \in E. For the rest of the edges, we do not know the directions between viv_i and uu.

Now, defining the string x[i]=0x[i]=0 if (vi,u)E(v_i, u) \in E and x[i]=1x[i] = 1 otherwise. There must be some ii for which x[i]=0x[i]=0 and x[i+1]=1x[i+1] = 1, meaning that (vi,u)E(v_i,u) \in E and (u,vi+1)E(u,v_{i+1}) \in E. We can then construct a path P=(v1,,vi,u,vi+1,,vq)P' = (v_1,\ldots, v_i, u, v_{i+1}, \ldots, v_q), contradicting the maximality of PP.

Exercise 29

Present an algorithm that, given a tournament GG as input, efficiently computes a Hamiltonian path in GG.

Another interesting property of a tournament is the existence of a king. Vertex vv is called a king in digraph GG if for every vertex uV(G)u \in V(G), there is a path of length at most two (edges) from vv to uu1.

Theorem 12

Every tournament contains a king.

Proof:

Let vv be a vertex in GG, chosen to maximize the number of its out-neighbors, i.e., v=argmaxvVdeg+(v)v = \arg \max_{v \in V} \deg^+(v). We claim that vertex vv is a king. Denote by V1V_1 and V2V_2 vertices that are reachable from vv by a shortest path of length one or two respectively. Assume otherwise that vv is not a king. Then there must be a vertex u∉V1V2u \not \in V_1 \cup V_2. Notice that (u,v)E(u,v) \in E (otherwise, uu would have been in V1V_1, a contradiction) and (u,w)E(u,w) \in E for all wV1w \in V_1 (otherwise, uV2u \in V_2, a contradiction). This implies that the out-neighbors of uu include {v}V1\{v\} \cup V_1 and hence deg+(u)>deg+(v)\deg^+(u) > \deg^+(v), contradicting the fact that vv has largest out-degree.

Notice that, in the above proof, there is another potential choice of vv, which is to choose vv to maximize the number of vertices reachable from vv by a path of length at most two. Since we know the validity of the above theorem, vertex vv must be a king. However, with this choice of vv, it is unclear how to derive directly the fact that vv is a king (you can try to prove the above theorem with this choice of vv and you will see that you would get stuck).

Footnotes

  1. We have no idea why they would call such a vertex a king 🙃