446
Views
0
CrossRef citations to date
0
Altmetric
Articles

Strongly connectable digraphs and non-transitive dice

, , &

Abstract

We give a new proof of the theorem of Boesch–Tindell and Farzad–Mahdian–Mahmoodian–Saberi–Sadri that a directed graph extends to a strongly connected digraph on the same vertex set if and only if it has no complete directed cut. Our proof bounds the number of edges needed for such an extension; we give examples to demonstrate sharpness. We apply the characterization to a problem on non-transitive dice.

1 Introduction

Characterization theorems in graph theory are important because they often guarantee short certificates for both a “yes” and “no” answer to the question of whether a graph satisfies a particular property. Many such theorems state that obvious necessary conditions are also sufficient. In this note we give a new proof of such a result about directed graphs (Theorem 1, originally due to Farzad, Mahdian, Mahmoodian, Saberi, and Sadri Citation[1] based on a similar theorem of Boesch and Tindell Citation[2]) and we apply it to a problem on non-transitive dice from Schaefer Citation[3]. Our proof applies to a less general family than the original but yields a previously unknown numerical bound.

A strict digraph is a directed graph in which each unordered pair of vertices is the set of endpoints of at most one edge; that is, a strict digraph is an orientation of a simple graph. A digraph is strongly connected, or strong, if it contains a (directed) path from x to y for every ordered pair of vertices. A digraph G extends to a digraph G if V(G)=V(G) and E(G)E(G). We ask when a (strict) digraph extends to a strongly connected strict digraph. Note that it does so if and only if it extends to a strongly connected tournament, where a tournament is an orientation of a complete graph.

For a set XV(G), let X¯=V(G)X. When XV(G), the cut [X,X¯] is the set {xyE(G):xX,yX¯}, where we write xy for an edge oriented from x to y. A cut [X,X¯] is a dicut if there is no “back edge” of the form yx with yX¯ and xX. It is a complete dicut if it contains all |X||X¯| edges of the form xy with xX and yX¯.

Obviously, a digraph that extends to a strongly connected strict digraph contains no complete dicut. This obvious necessary condition is also sufficient. That fact is a special case of a theorem by Farzad et al. Citation[1, Theorem B(iii)].

Theorem 1

Strong Connectability A strict digraph of order at least 3 extends to a strong strict digraph if and only if it contains no complete dicut.

We call such a digraph strongly connectable. We prove sufficiency in Section 2 from a new, stronger result, Theorem 2, in which we give an upper bound on how many edges need to be added.

A consequence of Theorem 1 is that the problem of deciding strong connectability belongs to the class NP co-NP. A certificate for strong connectability is a strongly connected extension, and a certificate for not being strongly connectable is a complete dicut. Both are easy to confirm. The latter is obvious. For the former, there exists an extension to a strong tournament, which contains a spanning cycle by Moon Citation[4, Section 4].

In Section 3 we apply Theorem 1 to a problem on “non-transitive dice” discussed in Schaefer Citation[3]. A set of dice is non-transitive if there is a cycle such that each die beats the next in cyclic order, and it is balanced if there exists a value p>12 such that for any two dice, one beats the other with probability exactly p. Schaefer asked which digraphs are realizable by balanced non-transitive dice; he showed that those digraphs are precisely the ones that are strongly connectable. (That result led to our investigation of strong connectability.) Thus Theorem 1 provides a criterion for a digraph to be realizable by balanced non-transitive dice, where a set of dice realizes a digraph if the vertices can be assigned to dice in the set so that when uv is an edge, the die representing u beats the die representing v.

The theorem of Farzad et al. is based on a theorem of Boesch and Tindell Citation[2]. Consider a partially oriented multigraph M, that is, a graph that may have multiple edges (but not loops) and in which a subset of edges has been oriented. Assume the underlying graph Mˆ, which is obtained from M by treating all edges as undirected, is connected. A weak dipath in M is a subgraph P of M whose underlying graph Pˆ is a path in Mˆ such that every oriented edge in P follows the same direction as Pˆ; that is, there are no “back edges”, although P may contain undirected edges.

We call M strong if for every ordered pair (u,v) of vertices, there is a weak dipath in M from u to v. An M-cut is a set of the form {xyE(M):xy is oriented,xX,yX¯} for some nonempty XV(M); we call X the originating set. An M-dicut is an M-cut that contains every edge of M having exactly one endpoint in its originating set. That is, for an M-dicut where X is the originating set, M has no undirected edge xy or back edge yx with xX and yX¯. In particular, when Mˆ=Kn and G is the subdigraph of M consisting of all oriented edges, the M-dicuts are precisely the complete dicuts of G as defined before Theorem 1.

Boesch and Tindell characterized when M can be oriented (by directing the undirected edges) to be strongly connected. Their result generalizes Robbins’ Theorem Citation[5], which solved the special case where all edges are unoriented. Farzad et al. Citation[1, Theorem B(i, iii)] observed an important corollary: another necessary and sufficient condition is that the underlying graph Mˆ be 2-edge-connected and there be no M-dicut. (Farzad et al. Citation[1] attribute this to Boesch and Tindell Citation[2], but it was not stated as such in Citation[2].) This result is more general than Theorem 1, which considers only the special case where Mˆ is the complete graph Kn, with our strict digraph being their subgraph of oriented edges in M. It is not clear whether our proof bounding the number of edges of Kn that must be oriented generalizes to their setting.

A different analogue of our problem has also been studied previously. Eswaran and Tarjan Citation[6] studied strong connectability for general digraphs, which allow antiparallel pairs of edges. This makes a huge difference. Without strictness, every digraph extends to a strong digraph, simply by introducing every ordered pair of distinct vertices as an edge. Thus, their tasks are to find the minimum number of edges to add and an algorithm to produce a smallest strong extension. This can be viewed as another special case of the Boesch–Tindell model, in which Mˆ is Kn with all edges doubled and M has no parallel directed edges.

Frank Citation[7] and Frank and Jordán Citation[8,9] generalized the questions to extensions that have connectivity or edge-connectivity at least k, again allowing antiparallel edge pairs and again seeking the smallest such extension and an algorithm.

The problems for strict digraphs are very different, beginning with the fact that not every strict digraph is strongly connectable. We also do not find an exact minimum number or smallest set of edges. The complexity of determining the minimum size of an extension set remains open, and it seems hard to generalize Theorem 1 to characterize digraphs extendable to a strict k-connected digraph.

2 Strongly connectable digraphs

A strong component of a digraph G is a maximal strongly connected subgraph. The strong components of G yield an acyclic digraph G by contracting each strong component to a vertex and eliminating duplicate edges and loops. A strong component is a source or sink component of G according as it is a source or sink vertex in G (it may be both). Given distinct strong components C and C, we say that C is a successor of C if there is a path from C to C in G, and then also C is a predecessor of C. For vV(G), let C(v) denote the strong component of G containing v. The underlying graph of a digraph G, as with a partially oriented multigraph, is the graph Gˆ obtained by treating its edges as unordered pairs. We say that G is weakly connected when Gˆ is connected. The weak components of a digraph G are the subdigraphs induced by the vertex sets of components of Gˆ.

We prove Theorem 1 by obtaining an upper bound on the number of edges needed. We will strengthen the upper bound for disconnected graphs in Lemma 4 and Proposition 5.

Theorem 2

Upper Bound Let G be a strict digraph having at least three vertices and r strong components. If G has no complete dicut, then G extends to a strongly connected strict digraph by adding at mostr edges, with equality if and only if Gˆ is disconnected and each weak component of G is strong.

Proof

Suppose that Gˆ is disconnected and every weak component of G is strong. If r>2, then choose one vertex from each component and add a cycle of r edges through them to obtain a strongly connected extension. If r=2, then since G has at least three vertices, one weak component has at least two vertices, and we can add edges to and from distinct vertices in that component to obtain a strong extension. Since every weak component must receive an added entering edge, equality holds in this case.

Henceforth we may assume that not every weak component is strong, so G has a strong component that is a sink component but not a source component.

Case 1: G is weakly connected. To prove the upper bound r1, we use induction on r. For r=1 there is nothing to prove (no edge need be added). Consider r>1.

Let S be the set of all vertices in source components of G. Since [S,S¯] is a dicut, there is a pair (y,x) with yS and xS¯ such that yxE(G). Add edge xy to G, forming a new strict digraph G. If C(x) is a successor to C(y) in G, then G has a strong component containing C(x) and C(y), so G has at most r1 strong components. Otherwise, xS implies that C(x) has some source component as a predecessor; let z be a vertex in that component, and let G=G+yz. Since no edge connects two source components, G is a strict digraph. It has at most r2 strong components, since C(x), C(y), and C(z) all lie in a single strong component of G. It now suffices by the induction hypothesis to show that G and in the second case also G has no complete dicut.

Let [X,Y] be a complete dicut in G. As G has no complete dicut, the added edge xy must satisfy xX and yY. Thus C(x)X and C(y)Y. In G no edges enter the source component C(y), so in G only one edge enters C(y). Since C(y)Y, this implies |V(C(y))|=1. That makes y a source vertex in G, so only the edge xy enters it in G. Thus |X|=1. This implies that x is a source vertex in G and therefore in G, which contradicts xS. We conclude that G has no complete dicut.

In the case where C(x) is not a successor to C(y), the source component C(z) in G remains a source component in G. Also, the strong component of G that contains both C(x) and C(y) from G is a successor of C(z) in G. Thus G is formed from G by adding yz in the way that G was formed from G by adding xy. Since G satisfies the same hypotheses required of G, the same argument now implies that G also has no complete dicut.

Case 2: G is not weakly connected. Let G1,,Gk with k>1 be the weak components of G. In each Gi choose a source component Si and a sink component Ti such that Ti=Si if Gi is strong and otherwise Ti is a successor of Si. Treating subscripts modulo k, for 1ik add an edge tisi+1 such that tiV(Ti) and si+1V(Si+1).

The resulting digraph G is weakly connected. It is obviously strict when k>2, and when k=2 the edges t2s1 and t1s2 do not have the same pair of endpoints because at least one weak component is not strong. For the same reason, the k added edges are too few to complete a complete dicut unless k=2 and G has exactly three vertices, but then G is a (directed) cycle. Thus, the connected case applies to G.

Let r be the number of strong components of G. Since all Si and all Ti lie in one strong component in G, and there are at least k+1 such sets since Si=Ti only when Gi is strong, we have rrk. By Case 1, G can be made strongly connected by adding at most r1 edges, so the number of edges needed to make G strongly connected is at most r1.□

This proof appears to require that, in the situation of Boesch–Tindell and Farzad et al., the graph underlying the partially oriented graph M is the complete graph Kn. Therefore, we do not expect a similar bound in the generality of those papers.

Remark 3

Since every source component needs an entering edge and every sink component needs an exiting edge, at least max(s,t) added edges are needed for a strongly connected extension, where s and t are the numbers of source and sink components.

Example 1

The upper bound r1 is sharp for weakly connected strict digraphs. Consider the digraph obtained from a transitive tournament with r vertices by deleting the unique spanning path. There are r strong components and no complete dicut, and extending to a strong strict digraph requires adding the r1 missing edges. When r4, this example has two source components and two sink components, so the lower bound in Remark 3 can be arbitrarily bad when G is weakly connected.

Example 2

The upper bound r1 is also sharp for digraphs with more than one weak component when the components are not all strong. Let G be the digraph formed from the complete bipartite graph Kp,q with bipartition (X,Y), where |X|=p and |Y|=q, by directing each edge from X to Y and adding an isolated vertex. A strong extension must add edges entering each vertex in X and edges leaving each vertex in Y, but no edge can do both. Thus, the needed number of added edges is at least p+q, which equals r1. Here again the bound of Remark 3 is weak.

In spite of Example 2, the upper bound can be reduced in the disconnected case by using additional information, such as the number of weak components that are not strong, the number of strong components that are neither sources nor sinks, or the number of source and sink components in each weak component. We omit the details of the first two; the next result concerns the last.

Lemma 4

Disconnected Upper Bound Let G be a strict digraph that is not weakly connected. Let G1,,Gk be its weak components, and let si and ti be the number of source and sink components, respectively, inGi. The minimum number of edges that must be added to make G strongly connected is at most max(t1,s2)++max(tk1,sk)+max(tk,s1).

Proof

We add edges from sink components of Gi1 to source components of Gi, viewing subscripts modulo k. We add at least one edge leaving each sink component and one edge entering each source component. This is easy to do using max(ti1,si) edges. The resulting digraph is obviously strongly connected and, when k3, strict. When k=2, the same observation as in Case 2 of Theorem 2 allows it to be strict.□

The exact value of this upper bound depends on the cyclic order chosen for the components of G. We do not know a procedure to minimize the sum. The lower bound from Remark 3 is max(ti,si); it equals the upper bound from Lemma 4 when the comparison of ti1 and si goes the same way for each i. Hence both bounds are sharp.

Recall that the weak components of G correspond to the components of Gˆ.

Proposition 5

Disconnected Upper Bound A strict digraph G that is not weakly connected can be strongly connected by adding at mosts+tc edges, where G hass source components,t sink components, andc weak components. The bound equals uc, whereu strong components are source or sink components and c weak components are not strong components.

Proof

This follows from Lemma 4, since max(ti1,si)ti1+si1 (again taking subscripts modulo k), giving an upper bound of ti1+sic. The sum is s+tc. The sum s+t exceeds u by the number cc of weak components that are strongly connected; hence s+tc=uc.□

Proposition 5 strengthens the upper bound in Theorem 2 when G is not weakly connected. By definition, always ur, so the upper bound of r is reduced by at least 1 for each weak component that is not strong.

Example 3

Toward understanding the problem of obtaining strong extensions by adding the fewest edges, it is interesting to consider digraphs obtained from bipartite graphs. Let G be a strict digraph obtained from a bipartite graph with bipartition (X,Y) by orienting all edges from X to Y. We forbid the underlying graph to be complete bipartite, because the orientation would yield a complete dicut. Let s=|X| and t=|Y|.

As in Remark 3, a strongly connected extension of G must always add at least max(s,t) edges; this is the trivial lower bound. By symmetry, suppose st. We claim that achieving this lower bound requires adding edges not in Gˆ that match Y into X. To see this, note that s added edges must enter X and t added edges must exit Y. To do this using only s edges, each of the t added edges leaving Y must be one of the s edges entering X. These t edges form a matching of Y into X.

If the digraph on 2t vertices induced by the vertices covered by this matching is strongly connected, then adding an edge from the matched vertices of X to each of its st remaining vertices completes the desired strongly connected extension.

At the other extreme, when G has st1 edges, only the one edge missing from Ks,t can connect a sink to a source, and the upper bound s+t1 cannot be improved.

The common generalization of the two extremes improves the lower bound to s+tm, where m is the maximum size of a matching from Y into X using edges not in the original bipartite graph.

A digraph G is k-connected if it has more than k vertices and any deletion of fewer than k vertices from G leaves a strong digraph. For a generalization analogous to those studied for non-strict digraphs, we say that a strict digraph G is k-connectable if it extends to a k-connected strict digraph. An obvious necessary condition for k-connectability is that every dicut [X,X¯] lacks at least k edges. It is not clear whether this condition is sufficient; our proofs for k=1 do not extend, because when k2 the maximal k-connected subgraphs of a graph need not be pairwise disjoint.

3 Non-transitive dice

In a set of ordinary dice, all dice are the same and the probability that one die rolls a higher number than another is, if we exclude ties (e.g., by ignoring them and rolling again), exactly 12. Martin Gardner publicized the idea, due to Bradley Efron, of dice where not only is the probability other than 12, but there can be three dice such that each beats one of the others with probability greater than 12 (see Gardner Citation[10–12]). Such dice are non-transitive: generalizing to n dice, there exist l that can be arranged cyclically so that each has probability greater than 12 of rolling higher than its successor.

Quimby found a set of four non-transitive 6-sided dice whose 24 sides are the distinct numbers from 1 to 24 [Citation13] (see Savage [Citation14] for other sets of non-transitive dice). Schaefer and Schweig [Citation15] carried the idea further; they studied k-sided generalized dice in which each die has k different numbers on it and the numbers on all dice are distinct. We may regard each die as a set of k distinct integers and define a set of dice D as a set of pairwise disjoint such sets. As they observed, one can always choose the dice to partition the set {1,,kn}.)

We say that die D1 beats D2 and write D1D2 if, among all pairs of numbers in D1×D2, the first number is larger than the second more than half the time. A set of dice is transitive if the relation is transitive. Although it may be contrary to intuition, a randomly chosen set of (more than two) dice need not be transitive. Schaefer and Schweig [Citation15] showed that it is easy to make an intransitive set of three or four k-sided dice when k3.

The relation can be represented by a digraph G(D) with one vertex for each die and an edge from i to j if Dj beats Di. The relation is antisymmetric, meaning that DD and DD imply D=D, so the digraph G(D) is strict. If H is any subgraph of G(D), we say that D realizes H; that means every edge of H corresponds to a pair of dice in D in which one beats the other as indicated by the direction of the edge. (H need not be an induced subgraph.)

Let pi,j be the probability that Di beats Dj; that is, pi,j is the proportion of pairs in Di×Dj in which the first number is the larger. (Because no two numbers on dice are equal, pi,j+pj,i=1.) Schaefer and Schweig [Citation15] call a set of dice balanced if all unordered pairs {pi,j,pj,i} are the same. They found that for n=3k it is possible to form non-transitive dice that are balanced. Schaefer Citation[3] then showed that for a tournament T of order n3, there is a balanced set of n non-transitive dice that realizes T if and only if T is strongly connected. He observed the corollary that non-transitive dice realizing a strict digraph G can be chosen balanced if and only if G is strongly connectable. Thus Theorem 1 gives a criterion for the existence of balanced dice realizing a given relation (transitive or not).

Corollary 6

An antisymmetric relation is realizable by a set of balanced dice if and only if its digraph has no complete dicut.

References

  • FarzadB.MahdianM.MahmoodianE.S.SaberiA.SadriB., Forced orientation of graphs Bull. Iranian Math. Soc. 32 1 2006 79–89
  • BoeschFrankTindellRalph, Robbins’s theorem for mixed multigraphs Amer. Math. Monthly 87 9 1980 716–719
  • Alex Schaefer, Balanced non-transitive dice, II. Tournaments, College Math J.,arXiv:1706.089086 (in press).
  • MoonJohn W., Topics on Tournaments1968HoltRinehart and Winston, New York
  • RobbinsH.E., A theorem on graphs, with an application to a problem of traffic control Amer. Math. Monthly 46 5 1939 281–283
  • EswaranKapali P.TarjanRobert E., Augmentation problems SIAM J. Comput. 5 4 1976 653–665
  • FrankAndrás, Augmenting graphs to meet edge-connectivity requirements SIAM J. Discrete Math. 5 1 1992 25–53
  • FrankAndrásJordánTibor, Minimal edge-coverings of pairs of sets J. Combin. Theory Ser. B 65 1 1995 73–110
  • FrankAndrásJordánTibor, Directed vertex-connectivity augmentation Connectivity augmentation of networks: structures and algorithms, (Budapest, 1994)Math. Program. 84B 3 1999 537–553
  • GardnerMartin, The paradox of the nontransitive dice and the elusive principle of indifference Sci. Am. 223 12 1970 110–114
  • GardnerMartin, On the paradoxical situations that arise from nontransitive relations Sci. Am. 231 10 1974 120–125
  • GardnerMartin, Nontransitive dice and other paradoxes The Colossal Book of Mathematics: Classic Puzzles, Paradoxes, and Problems2001Norton, New York286–296Ch. 22
  • Shirley Quimby, The Pallbearers Review (1971). (Cited in [12].).
  • Savage JrRichard P., The paradox of nontransitive dice Amer. Math. Monthly 101 5 1994 429–436
  • SchaeferAlexSchweigJay, Balanced non-transitive dice College Math. J. 48 1 2017 10–16