arXiv:1807.00032v1 [math.CO] 29 Jun 2018 netgtdfrgah rmvrosseilgahcass[,7 8 7, [6, been classes also graph has special and diameter various [4], oriented from degree The graphs maximum for 19], 7]. investigated [1, [16, degree parameters minimum domination as such rameters, o all for fSuhArc,gatnme 053 h hr uhrwssupp was author 1600811. third number the grant 103553, number DMS, grant Africa, South of diameter. 05C35. 5,adidpnetyKo,LuadWs 1]gv h estimate the gave [17] West and Liu Kwok, 9 independently and [5], diameter eesrl aeoinain fsaldaee a nwrdi the existenc function the in showed (least) answered who a was diamete [3], of as diameter small Thomassen Chv´atal small of small and by as graphs of affirmative bridgeless is orientations if diameter have question whose necessarily natural orientation it The strong applications many a possible. For have orientation. to strong desirable a has graph connected disconnected. graph the renders removal whose graph hmse 3 hwdthat showed [3] Thomassen mn l togoinain of orientations strong all among andfrom tained fsrn irp,ie,o irp nwihteei ietdpath two directed any a between is distance there diameter maximum oriented which the The in is vertices. digraph vertices, a two of any between i.e., digraph, strong of ≤ pe onson bounds Upper h eodato a upre npr yteNtoa Researc National the by part in supported was author second The phrases. and words Key 2010 h elkonRbi’ hoe 1]sae hteeybridgeless every that states [18] Theorem Robbin’s well-known The Let f ERECNIINFRDAEE TWO DIAMETER FOR CONDITION DEGREE A V ZBRA EE AKLAN L DANKELMANN, PETER CZABARKA, EVA ´ (3) G retto fdaee w.W hwthat show We two. diameter of orientation Abstract. r rp forder of graph ery d ahmtc ujc Classification. Subject Mathematics ≤ eacnetdgah noinainof orientation An graph. connected a be ∈ d a noinaino imtra most at diameter of orientation an has 11. N G h au of value The . yasgigadrcint vr deof edge every to direction a assigning by RETBLT FGRAPHS OF ORIENTABILITY For diam( − − − → f n ∈ n : N N n iiu erea least at degree minimum and 1. rp,dsac,daee,oinain oriented orientation, diameter, distance, graph, G f let → 2 ,adthat and 6, = (2) Introduction r nw ntrso te rp pa- graph other of terms in known are ) f δ 3 sntkon u gw n Iida and Egawa but known, not is (3) n N diam( − −− → G etesals au uhta ev- that such value smallest the be uhta vr rdeesgahof graph bridgeless every that such rdei neg faconnected a of edge an is A . 1 G of ) rmr 51;scnay05C20, secondary 05C12; Primary G δ n stemnmmdiameter minimum the is 2 1 ASZL = ´ d 2 n 2 + Θ(ln + d G .SZ A. O f ´ δ n ≤ ( G d sadgahob- digraph a is disan admits .Chv´atal and ). f h diameter The . re yteNSF the by orted ( n d ). EKELY ) ´ Foundation h ≤ 2 d 2 11, , +2 is d e r 2 EVA´ CZABARKA, PETER DANKELMANN, LASZL´ O´ A. SZEKELY´

12, 13, 14, 9, 10]. For a survey of results on the diameter of orientations of graphs up to about year 2000 see [15]. Of special interest is the question which graphs have an orientation of diameter two, the smallest possible diameter of an orientation of any graph on more than one vertex. It was shown by Chv´atal and Thomassen [3] that the decision problem if a given input graph has an orientation of diameter two is NP-complete. Hence sufficient conditions for the existence of an orientation of diameter two are of interest. The smallest value mn, so that every graph of order n and size at least mn admits an orientation of diameter two was conjectured in [15] to be n n + 5 and this conjecture was proved in [2]. In this paper 2 − we present a sufficient condition for an orientation of diameter two in terms of minimum degree. For n N, n 3, define δn to be the smallest value such that every graph∈ of order≥ n and minimum degree at least g(n) admits an orientation of diameter two. In view of the fact that for a graph G of order n we need the minimum degree to be at n 1 least −2 for G to guarantee that the diameter is not more than two, n 1 it is clear that δ − . It is the aim of this paper to show that n ≥ 2 n δ = + Θ(ln n). n 2 The notation we use in this paper is as follows. G always denotes a connected graph on n vertices. The neighborhood of a vertex v of G, i.e., the set of all vertices adjacent to v is denoted by NG(x), and the degree of v is N (v) . In a digraph D, N +(v) is the set of vertices | G | D reached from v by an arc, and ND−(v) is the set of vertices that reach v by an arc. The minimum degree δ(G) of G is the smallest of the degrees of the vertices of G. The distance from a vertex u to a vertex v, i.e., the minimum length of a (u, v)-path in a graph or digraph is denoted by d(u, v). By a 2-path we mean a path of length two. In a given probability space we write P[X] for the probability of an event X, and µ for the expected value of a random variable.

2. Results Theorem 1. Let G be a graph on n vertices. If n ln n 1 δ(G) + = n + (3.476...) ln n, ≥ 2 ln(4/3) 2 then −−−→diam(G)=2. Proof. Assume that the minimum degree of the graph G is at least 1 n/2+ f(n), where f(n) = ln(4/3) ln n. Fix two arbitrary vertices of G, x and y. By the inclusion-exclusion formula, N (x) N (y) = | G ∩ G | NG(x) + NG(y) NG(x) NG(y) n +2f(n) n =2f(n). | Assign| one| of the|−| two possible∪ orientations| ≥ to every− edge of G ran- domly and independently with probability 1/2. Define the random A DEGREE CONDITION FOR DIAMETER TWO ORIENTABILITY OF GRAPHS3 variable Xxy to be 1 if we have no directed 2-path from x to y, and 0 if there is such a path. Clearly, the expected value of Xxy is P[Xxy = N(x) N(y) 2f(n) 1] = 3 | ∩ | 3 . Therefore, for the expected number µ of 4 ≤ 4 ordered  pairs x, y with  no directed 2-paths from x to y, we have 3 2f(n) 3 2f(n) (1) µ = P[X ] n(n 1) < n2 . xy ≤ − 4 4 x,y VX(G),x=y     ∈ 6

Let X = x,y V (G),x=y Xxy be the number of distinct ordered pairs of ∈ 6 vertices thatP are not joined by a directed 2-path. Then X = 0 means that a random orientation has diameter two. If f(n) is selected so large that 3 2f(n) n2 1, 4 ≤ then if follows from (1) that µ < 1, and so at least one orientation satisfies X = 0, implying that −−−→diam(G) = 2. Easy calculations shows that this is indeed the case if f(n) 1 ln n.  ≥ ln(4/3) Theorem 2. There exists an infinite family of graphs G of order n and n ln n n δ(G) + = + (0.2618...)ln n. ≥ 2 2 ln(27/4) 2 which do not have an orientation of diameter 2. Proof. For k N we construct the graph G as follows. Let N = 3k . ∈ k k Let H1, H2 and H3 be disjoint copies of the complete graph KN ,K3k and KN , respectively. Let Gk be obtained from the disjoint union of H1, H2 and H3 by associating each 2k-subset S of V (H2) with exactly one vertex vS of H1 and exactly one vertex wS of H3, and adding edges joining vS and wS to every vertex in S.

We now prove that −−−→diam(Gk) 3. Let Dk be an arbitrary orientation ≥ + of Gk. Fix a vertex v V (H1). Then N (v) V (H2) + N −(v) ∈+ | ∩ | | ∩ V (H2) = 2k, and so N (v) V (H2) k or N −(v) V (H2) k. | | ∩ | ≤ + | ∩ | ≤ Without loss of generality we assume N (v) V (H2) k. Then + | ∩ | ≤ V (H2) (N (v) V (H2)) 2k, and so there exists a set S V (H2) |(N +(v)− V (H ))∩ with S |=2 ≥ k. Consider vertex w . We claim⊆ that− ∩ 2 | | S (2) d (v,w ) 3. Dk s ≥ Indeed, w and v are non-adjacent in G and no vertex in N (v) S k Gk ∩ NGk (wS) is an out-neighbour of v in Dk. Hence there exists no (v,wS)- path of length two in Dk, and (2) follows. Now (2) implies that diam(D ) 3, and since D was arbitrary, we k ≥ k have −−−→diam(G ) 3. k ≥ We now determine the minimum degree of Gk. Let nk = V (Gk) . 3k | | Each vertex in H or H has degree +2k 1= 1 n + k 1. Every 1 3 k − 2 k 2 − vertex in H2 is adjacent to all vertices  in H2 except itself, and to two 4 EVA´ CZABARKA, PETER DANKELMANN, LASZL´ O´ A. SZEKELY´ thirds of the vertices in H and H , and so has degree 4 3k +3k 1= 1 3 3 k − 2 n + k 1. It follows that  3 k − 1 k 2 1 k (3) δ(G ) = min n + 1, n + k 1 = n + 1. k 2 k 2 − 3 k − 2 k 2 −  Using Stirling’s Formula, we obtain for sufficiently large k that (4) 3k 3k√ 3/2 3 k 3k (3k)! e 6kπ 3 3 1 nk =2 +3k 2.5 < 3 = .  k  ≤ k!(2k)! k k√  2k 2k√ 2 22  √kπ e 2kπ e 4kπ Taking logarithms of both sides of (4), we get  33/2 ln n < ln +k ln(27/4) (1/2) ln k. k 2√π −  Substituting this into (3) yields

33/2 1 k ln nk ln( ) 1 ln n δ(G ) n = 1 > − 2√π 1+ ln k > k k − 2 k 2 − 2 ln(27/4) − 4 2 ln(27/4) since for large k the last term dominates the negative constant. 

It follows from Theorems 1 and 2 that the least minimum degree δn that guarantees the existence of an orientation of diameter two in a graph of order n and minimum degree not less than δn satisfies δn = 1 2 n + Θ(ln n).

References [1] Bau, S.; Dankelmann, P.; Diameter of orientations of graphs with given mini- mum degree. European J. of Combin. 49 (2015), 126-133. [2] Cochran, G.; Czabarka, E.; Dankelmann, P.; Sz´ekely, L.A.; A Size Condition for Diameter Two Orientable Graphs. Submitted. [3] Chv´atal, V.; Thomassen, C.; Distances in orientations of graphs. J. Combin. Theory Ser. B 24 no. 1 (1978), 61-75. [4] Dankelmann, P.; Guo, Y,; Surmacs, M.; Oriented diameter of graphs with given maximum degree. J. 88 no. 1 (2018), 5-17. [5] Egawa, Y.; Iida, T.; Orientation of 2-edge-connected graphs with diameter 3. Far East J. Appl. Math. 26 no. 2 (2007), 257-280. [6] Eggemann, N.; Noble, S.D.; Minimizing the oriented diameter of a . Electron. Notes Discrete Math. 34 (2009), 267-271. [7] Fomin, F.V.; Matamala, M.; Prisner, E.; Rapaport, I.; AT-free graphs: linear bounds for the oriented diameter. Discrete Appl. Math. 141 no. 13 (2004), 135148. [8] Fomin, F.V.; Matamala, M.; Rapaport, I.; Complexity of approximating the oriented diameter of chordal graphs. J. Graph Theory 45 no. 4 (2004), 255269. [9] Gutin, G.; Yeo, A.; Orientations of digraphs almost preserving diameter. Dis- crete Appl. Math. 121 (no. 1-3) (2002), 129-138. [10] Huang, J.; Ye, D.; Sharp bounds for the oriented diameters of interval graphs and 2-connected proper interval graphs. Computational Science-ICCS 2007 (Part III). Springer (Berlin , Heidelberg) (2007), 353-361. A DEGREE CONDITION FOR DIAMETER TWO ORIENTABILITY OF GRAPHS5

[11] Koh, K.M.; Tan, B.P.; The diameter of an orientation of a complete multipar- tite graph. Discrete Math. 149 (1996), 131-139. [12] Koh, K.M.; Tan, B.P.; The minimum diameter of orientations of complete multipartite graphs. Graphs Combin. 12 (1996), 333-339. [13] Koh, K.M.; Tay, E.G.; On optimal orientations of cartesian products with a . Discrete Appl. Math. 98 (no. 1-2) (1999), 103-120. [14] Koh, K.M.; Tay, E.G.; On optimal orientations of cartesian products of trees. Graphs Combin. 17 (no. 1) (2001), 79-97. [15] Koh, K.M.; Tay, E.G.; Optimal orientations of graphs and digraphs, a survey. Graphs Combin. 18 (no. 4) (2002), 745-756. [16] Kurz, S.; L¨atsch, M.; Bounds for the minimum oriented diameter. Discrete Math. Theor. Comput. Sci. 14 (1) (2012), 109140. [17] Kwok, P.K.; Liu, Q.; West, D.B.; Oriented diameter of graphs with diameter 3. J. Combin. Theory Ser. B 100 no. 3 (2010) 265-274. [18] Robbins, H. E.; A theorem on graphs, with an application to a problem on traffic control. Amer. Math. Monthly, 46 (1939), 281-283, [19] Surmacs, M.; Improved bound on the oriented diameter of graphs with given minimum degree. European J. Combin. 59 (2017), 187-191.

Eva´ Czabarka and Laszl´ o´ A. Szekely,´ Department of Mathematics, University of South Carolina, Columbia, SC 29208, USA, and Visiting Professor, Department of Pure and Applied Mathematics, University of Johannesburg, P.O. Box 524, Auckland Park, Johannesburg 2006, South Africa E-mail address: czabarka,szekely @math.sc.edu { } Peter Dankelmann, Department of Pure and Applied Mathematics, University of Johannesburg, P.O. Box 524, Auckland Park, Johannes- burg 2006, South Africa E-mail address: [email protected]