## 1. Introduction

Hyperbolic spaces (see

Section 2 for definitions) were introduced by Mikhail Gromov in the 1980s in the context of geometric group theory (see [

1,

2,

3,

4]). Classical Riemannian geometry states that negatively-curved spaces possess an interesting property known as geodesic stability. Namely, near-optimal paths (quasi-geodesics) remain in a neighborhood of the optimal path (geodesic). When Mario Bonk proved in 1996 that geodesic stability was, in fact, equivalent to Gromov hyperbolicity (see [

5]), the theory of hyperbolic spaces became a way to grasp the essence of negatively-curved spaces and to translate it to the simpler and more general setting of metric spaces. In this way, a simple concept led to a very rich general theory (see [

1,

2,

3,

4]) and, in particular, made hyperbolic spaces applicable to graphs. The theory has also been extensively used in discrete spaces like trees, the Cayley graphs of many finitely-generated groups and random graphs (see, e.g., [

6,

7,

8,

9]).

Hyperbolic spaces were initially applied to the study of automatic groups in the science of computation (see, e.g., [

10]); indeed, it was proven that hyperbolic groups are strongly geodesically automatic, i.e., there is an automatic structure on the group [

11]. The concept of hyperbolicity appears also in discrete mathematics, algorithms and networking [

12]. For example, it has been shown empirically in [

13] that the Internet topology embeds with better accuracy into a hyperbolic space than into a Euclidean space of comparable dimension (formal proofs that the distortion is related to the hyperbolicity can be found in [

14]); furthermore, it is evidenced that many real networks are hyperbolic (see, e.g., [

15,

16,

17,

18,

19]). Recently, among the practical network applications, hyperbolic spaces were used to study secure transmission of information on the Internet or the way viruses are spread through the network (see [

20,

21]); also to traffic flow and effective resistance of networks [

22,

23,

24].

In fact, there is a new and growing interest for graph theorists in the study of the mathematical properties of Gromov hyperbolic spaces. (see, for example, [

6,

7,

8,

9,

14,

18,

19,

20,

21,

25,

26,

27,

28,

29,

30,

31,

32,

33,

34,

35]).

Several researchers have shown interest in proving that the metrics used in geometric function theory are Gromov hyperbolic. For instance, the Kobayashi and Klein–Hilbert metrics are Gromov hyperbolic (under certain conditions on the domain of definition; see [

36,

37,

38]), the Gehring–Osgood

j-metric is Gromov hyperbolic but the Vuorinen

j-metric is not Gromov hyperbolic, except in the punctured space (see [

39]). Furthermore, in [

40], the hyperbolicity of the conformal modulus metric

$\mu $ and the related so-called Ferrand metric

${\lambda}^{*}$ have been studied. Gromov hyperbolicity of the Poincaré and the quasi-hyperbolic metrics is also the subject of [

34,

41,

42,

43,

44,

45,

46].

Mycielskian graphs (see

Section 2 for definitions) are a construction for embedding any undirected graph into a larger graph with higher chromatic number, but avoiding the creation of additional triangles. For example, the simple path graph with two vertices and one edge has chromatic number two, but its Mycielskian graph (which is the cycle graph with five vertices) raises that number to three. Actually, Jan Mycielski proved that there exist triangle-free graphs with an arbitrarily large chromatic number by applying this construction repeatedly to a starting triangle-free graph (see [

47]). This means that, on the one hand, this construction enlarges small graphs in order to increase their chromatic number, but on the other hand (as we prove in the present paper), the resulting graph is Gromov hyperbolic; furthermore, its hyperbolicity constant is strongly constrained to a small interval. In this work, we also characterize which graphs yield Mycielskian graphs with hyperbolicity constant in the boundary cases. Note that a constraint value of the hyperbolicity constant is relevant, since it gives an idea of the tree-likeness of the space in question (see [

35]).

Computing the hyperbolicity constant of a space is a difficult goal: For any arbitrary geodesic triangle

T, the minimum distance from any point

p of

T to the union of the other two sides of the triangle to which

p does not belong to must be calculated. Then, the hyperbolicity constant is the supremum over all the minimum distances of possible choices for

p and then over all of the possible choices for

T in that space. Anyhow, notice that in general, the main obstacle is locating the geodesics in the space. In [

2], the equivalence of the hyperbolicity of any geodesic metric space and the hyperbolicity of a graph associated with it are proven; similar results for Riemannian surfaces (with a very simple graph) can be found in [

34,

44,

45,

46]; hence, it is very useful to know hyperbolicity criteria for graphs. It is possible to compute the hyperbolicity constant of a finite graph with

n vertices in time

$O({n}^{3.69})$ [

48] (this result is improved in [

17,

49]). There is an algorithm that allows to decide if a Cayley graph (of a presentation with a solvable word problem) is hyperbolic [

50]. However, there is no easy method to decide if a general infinite graph is hyperbolic or not.

Thus, a way to approach the problem is to study the hyperbolicity for particular types of graphs. For example, some other authors have obtained results on hyperbolicity for the complement of graphs, chordal graphs, vertex-symmetric graphs, lexicographic product graphs, corona and join of graphs, line graphs, bipartite and intersection graphs, bridged graphs, expanders and median graphs [

24,

27,

28,

32,

33,

35,

51,

52,

53,

54,

55,

56].

If

G is a graph,

${G}^{M}$ denotes its Mycielskian graph (see

Section 2 for definitions), and

$\delta ({G}^{M})$ stands for its hyperbolicity constant. As usual, we denote by

$V(G)$ and

$E(G)$ as the set of vertices and edges of

G, respectively. Let us also denote by

$J(G)$ the union of the set

$V(G)$ and the midpoints of the edges of

G. The diameter of a graph

G (the maximum distance between any two points of

G) will be denoted by

$diam(G)$ and the diameter of the set of vertices

$V(G)$ of

G by

$diamV(G)$.

The main results of this work deal with the hyperbolicity constant of Mycielskian graphs, as said above. The first of them states that Mycielskian graphs are always hyperbolic and solves the extremal problems of finding the smallest and largest hyperbolicity constants of such graphs. The second and third ones characterize graphs with hyperbolicity constants $5/2$ and $5/4$, the maximum and the minimum values, respectively. The fourth result gives an accurate estimate of $\delta ({G}^{M})$, and the fifth one allows us to obtain information on $\delta (G)$ just in terms of $\delta ({G}^{M})$.

**Theorem** **1.** Let G be any graph. Then, ${G}^{M}$ is hyperbolic, $2\le diamV({G}^{M})\le 4$ and $5/2\le diam({G}^{M})\le 5$. Furthermore, if G is a complete graph, then $\delta ({G}^{M})=5/4$; otherwise:and both bounds of $\delta ({G}^{M})$ are sharp. **Theorem** **2.** Let G be any graph. Then, $\delta ({G}^{M})=5/2$ if and only if there exists a geodesic triangle $T:=\{x,y,z\}$ in G and ${G}^{M}$ with: Theorem 10 characterizes the graphs G with $\delta ({G}^{M})=5/4$. Since this characterization is not easy to state briefly, we present here nice necessary and sufficient conditions on G for $\delta ({G}^{M})=5/4$.

**Theorem** **3.** Let G be any graph:Furthermore, the converses of (4) and (5) do not hold. The hyperbolicity of a metric space is at most half of its diameter. The following result states an unexpected fact: $\delta ({G}^{M})$ is not only upper bounded by $\frac{1}{2}diam({G}^{M})$; in this case, that upper bound is close to the actual value of the hyperbolicity constant.

**Theorem** **4.** Let G be any graph. Then: So far, our main results have obtained information about ${G}^{M}$ in terms of G. However, it is also interesting to consider what can be said about $\delta (G)$ in terms of $\delta ({G}^{M})$. Our next theorem gives a partial answer to this question.

**Theorem** **5.** If $\delta ({G}^{M})\le 3/2$, then $\delta (G)\le \delta ({G}^{M})$.

The outline of the paper will be as follows. In

Section 2, some definitions and previous results will be stated.

Section 3 contains the proof of the main parts of Theorem 1.

Section 4 and

Section 5 will present the proofs of Theorem 2 and Theorem 3, respectively. In

Section 6, the hyperbolicity constants of the Mycielskian of path, cycle, complete and complete bipartite graphs are calculated explicitly. Apart from the intrinsic interest of these results, they are also employed in the proofs of some of the main results of the paper. Furthermore, it contains the proofs of Theorems 1, 4 and 5. Finally, in

Section 7, a characterization for graphs with

$\delta ({G}^{M})=5/4$ is given.

Since the hypotheses in most theorems are simple to check, the main results in this paper can be applied to every graph. An exception is Theorem 10, but even in this case, a rough algorithm is provided, which allows one to check the hypotheses in polynomial time. Furthermore, information on

$\delta ({G}^{M})$ from

G and on

$\delta (G)$ in terms of

${G}^{M}$ is found. The main inequalities obtained in this work are applied in

Section 6 in order to compute explicitly the hyperbolicity constants of the Mycielskian of some classical examples, such as path, cycle, complete and complete bipartite graphs. Finally, note that Mycielskian graphs are not difficult to identify computationally.

## 2. Definitions and Background

If

$\gamma :[a,b]\u27f6X$ is a continuous curve in a metric space

$(X,d)$, we can define the length of

$\gamma $ as:

The curve

$\gamma $ is a geodesic if we have

$l(\gamma {|}_{[t,s]})=d(\gamma (t),\gamma (s))=|t-s|$ for every

$s,t\in [a,b]$ (then

$\gamma $ is equipped with an arc-length parametrization). The metric space

X is said to be geodesic if for every couple of points in

X, there exists a geodesic joining them; we denote by

$\left[xy\right]$ any geodesic joining

x and

y; this notation is ambiguous, since in general we do not have the uniqueness of geodesics, but it is very convenient. Consequently, any geodesic metric space is connected. The graph

G consists of a collection of vertices, denoted by

$V(G)=\left\{{v}_{i}\right\}$ and a collection of edges joining vertices,

$E(G)$; the edge joining vertices

${v}_{i}$ and

${v}_{j}$ will be denoted by

$\{{v}_{i},{v}_{j}\}$. Furthermore,

${N}_{G}({v}_{i})$ will stand for the set of neighbors of (or adjacent to) the vertex

${v}_{i}$, that is the set of all vertices

$v\in V(G)$ for which

$\{v,{v}_{i}\}\in E(G)$. All throughout this paper, the metric space

X considered is a graph with every edge of length one. In order to consider a graph

G as a geodesic metric space, we identify (by an isometry) any edge

$\{{v}_{i},{v}_{j}\}\in E(G)$ with the interval

$[0,1]$ in the real line. Thus, the points in Gare the vertices and the points in the interiors of the edges of G. In this way, any connected graph

G has a natural distance defined on its points, induced by taking the shortest paths in

G, and we can see

G as a metric graph. Such a distance will be denoted by

${d}_{G}$. Throughout this paper,

G denotes a connected (finite or infinite) simple (i.e., without loops and multiple edges) graph such that every edge has length one and

$E(G)\ne \varnothing $. These properties guarantee that

G is a geodesic metric space and that

${G}^{M}$ can be defined. Note that excluding multiple edges and loops is not an important loss of generality, since ([

57], Theorems 8 and 10) they reduce the problem of computing the hyperbolicity constant of graphs with multiple edges and/or loops to the study of simple graphs.

A cycle in G is a simple closed curve containing adjacent vertices ${v}_{1},\cdots ,{v}_{n}$. It will be denoted by $[{v}_{1},{v}_{2},\cdots ,{v}_{n},{v}_{1}]$. The notation $a\sim b$ means that the vertices a and b are adjacent.

Given a graph

G with

$V(G)=\{{v}_{1},\cdots ,{v}_{n}\}$, the Mycielskian graph

${G}^{M}$ of

G contains

G itself as a subgraph, together with

$n+1$ additional vertices

$\{{u}_{1},\cdots ,{u}_{n},w\}$, where each vertex

${u}_{i}$ is the mirror of the vertex

${v}_{i}$ of

G and

w is the supervertex. Each vertex

${u}_{i}$ is connected by an edge to

w. In addition, for each edge

$\{{v}_{i},{v}_{j}\}$ of

G, the Mycielskian graph includes two edges,

$\{{u}_{i},{v}_{j}\}$ and

$\{{v}_{i},{u}_{j}\}$ (in

Figure 1, the process of the construction of the Mycielskian graph for the path graph

${P}_{3}$ is shown). Thus, if

G has

n vertices and

m edges, then

${G}^{M}$ has

$2n+1$ vertices and

$3m+n$ edges.

Trivially, for all $i,j$, ${d}_{{G}^{M}}(w,{v}_{i})={d}_{{G}^{M}}({u}_{i},{u}_{j})=2$ and ${d}_{{G}^{M}}(w,{u}_{i})=1$; also ${d}_{{G}^{M}}({v}_{i},{v}_{j})=min\{{d}_{G}({v}_{i},{v}_{j}),4\}$ and for any point $a\in {G}^{M}$, ${d}_{{G}^{M}}(w,a)\le 5/2$. Note that a can be either a vertex of the graph or any other point belonging to an edge of it. Moreover, the definition of ${G}^{M}$ makes sense also if $n=\infty $, i.e., if G is an infinite graph. Since ${G}^{M}$ is always connected, it would be possible to consider disconnected graphs G, but Theorem 9 shows that, in order to study $\delta ({G}^{M})$, it suffices to consider just connected graphs.

Finally, let us recall the definition of Gromov hyperbolicity that we will use (we use the notations of [

3]).

If

X is a geodesic metric space and

${x}_{1},{x}_{2},{x}_{3}\in X$, the union of three geodesics

$\left[{x}_{1}{x}_{2}\right]$,

$\left[{x}_{2}{x}_{3}\right]$ and

$\left[{x}_{3}{x}_{1}\right]$ is a geodesic triangle that will be denoted by

$T=\{{x}_{1},{x}_{2},{x}_{3}\}$, and we will say that

${x}_{1},{x}_{2}$ and

${x}_{3}$ are the vertices of

T; it is usual to write also

$T=\{\left[{x}_{1}{x}_{2}\right],\left[{x}_{2}{x}_{3}\right],\left[{x}_{3}{x}_{1}\right]\}$. We say that

T is

$\delta $-thin if any side of

T is contained in the

$\delta $-neighborhood of the union of the two other sides. We denote by

$\delta (T)$ the sharp thin constant of

T, i.e.,

$\delta (T):=inf\{\delta \ge 0:\phantom{\rule{0.166667em}{0ex}}T\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{4.pt}{0ex}}\mathrm{is}\phantom{\rule{4.pt}{0ex}}\delta -\mathrm{thin}\phantom{\rule{0.166667em}{0ex}}\}\phantom{\rule{0.166667em}{0ex}}.$ Given a constant

$\delta \ge 0$, the space

X is

$\delta $-hyperbolic if every geodesic triangle in

X is

$\delta $-thin. We denote by

$\delta (X)$ the sharp hyperbolicity constant of

X, i.e.,

$\delta (X):=sup\{\delta (T):\phantom{\rule{0.166667em}{0ex}}T\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{4.pt}{0ex}}\mathrm{is}\phantom{\rule{4.pt}{0ex}}\mathrm{a}\phantom{\rule{4.pt}{0ex}}\mathrm{geodesic}\phantom{\rule{4.pt}{0ex}}\mathrm{triangle}\phantom{\rule{4.pt}{0ex}}\mathrm{in}\phantom{\rule{4.pt}{0ex}}\phantom{\rule{0.166667em}{0ex}}X\phantom{\rule{0.166667em}{0ex}}\}\in [0,\infty ].$ We say that

X is hyperbolic if

X is

$\delta $-hyperbolic for some constant

$\delta \ge 0$, i.e.,

$\delta (X)<\infty $. If we have a geodesic triangle with two identical vertices, we call it a bigon. Obviously, every bigon in a

$\delta $-hyperbolic space is

$\delta $-thin. In the classical references on this subject (see, e.g., [

2,

3]) appear several different definitions of Gromov hyperbolicity, which are equivalent in the sense that if

X is

$\delta $-hyperbolic with respect to one definition, then it is

${\delta}^{\prime}$-hyperbolic with respect to another definition (for some

${\delta}^{\prime}$ related to

$\delta $). We have chosen this definition by its deep geometric meaning [

3].

Trivially, any bounded metric space

X is

$(\mathrm{diam}X)$-hyperbolic. A normed real linear space is hyperbolic if and only if it has dimension one. A geodesic space is zero-hyperbolic if and only if it is a metric tree. The hyperbolic plane (with curvature

$-1$) is

$log(1+\sqrt{2}\phantom{\rule{0.166667em}{0ex}})$-hyperbolic. Every simply-connected complete Riemannian manifold with sectional curvature verifying

$K\le -{k}^{2}$, for some positive constant

k, is hyperbolic. See the classical [

1,

3] in order to find more examples and further results.

Trees are one of the main examples of hyperbolic graphs. Metric trees are precisely those spaces

X with

$\delta (X)=0$. Therefore, the hyperbolicity constant of a geodesic metric space can be seen as a measure of how “tree-like” that space is. This alternative view of the hyperbolicity constant is an interesting subject since the tractability of a problem in many applications is related to the tree-like degree of the space under investigation. (see, e.g., [

58]). Furthermore, it is well known that any Gromov hyperbolic space with

n points embeds into a tree metric with distortion

$O(\delta logn)$ (see, e.g., [

3], p. 33).

If ${G}_{1}$ and ${G}_{2}$ are isomorphic, we write ${G}_{1}\simeq {G}_{2}$. It is clear that if ${G}_{1}\simeq {G}_{2}$, then $\delta ({G}_{1})=\delta ({G}_{2})$.

The following well-known result will be used throughout the paper (see, e.g., ([

59], Theorem 8) for a proof).

**Lemma** **1.** Let G be any graph. Then, $\delta (G)\le diam(G)/2$.

Consider the set ${\mathbb{T}}_{1}$ of geodesic triangles T in G that are cycles and such that the three vertices of the triangle T belong to $J(G)$, and denote by ${\delta}_{1}(G)$ the infimum of the constants $\lambda $ such that every triangle in ${\mathbb{T}}_{1}$ is $\lambda $-thin.

The following results, which appear in [

60] (Theorems 2.5, 2.7 and 2.6), will be used throughout the paper.

**Lemma** **2.** For every graph G, we have ${\delta}_{1}(G)=\delta (G)$.

**Lemma** **3.** For any hyperbolic graph G, there exists a geodesic triangle $T\in {\mathbb{T}}_{1}$ such that $\delta (T)=\delta (G)$.

The next result will narrow the possible values for the hyperbolicity constant $\delta $.

**Lemma** **4.** Let G be any graph. Then, $\delta (G)$ is always a multiple of $1/4$.

The following results deal with isometric subgraphs and how the hyperbolicity constant behaves.

A subgraph

${G}_{0}$ of the graph

G is an isometric subgraph if for all

$x,y\in {G}_{0}$, we have

${d}_{{G}_{0}}(x,y)={d}_{G}(x,y)$. This is equivalent to the fact that

${d}_{{G}_{0}}(u,v)={d}_{G}(u,v)$ for every

$u,v\in V({G}_{0})$. It is known that isometric subgraphs have a lesser hyperbolicity constant (see [

57], Lemma 7):

**Lemma** **5.** Let ${G}_{0}$ be an isometric subgraph of G. Then, $\delta ({G}_{0})\le \delta (G)$.

The coming lemma states that the Mycielskians preserve isometric subgraphs, and a nice corollary follows.

**Lemma** **6.** If ${G}_{0}$ is an isometric subgraph of G, then ${G}_{0}^{M}$ is an isometric subgraph of ${G}^{M}$.

**Proof.** Let $x,y\in V({G}_{0}^{M})$. Throughout the proof, $V({G}_{0})=\{{v}_{1},\cdots ,{v}_{n}\}$, $W=\{{u}_{1},\cdots ,{u}_{n}\}$ and $V({G}_{0}^{M})=V({G}_{0})\cup W\cup \left\{w\right\}=\{{v}_{1},\cdots ,{v}_{n},{u}_{1},\cdots ,{u}_{n},w\}$ with w being the supervertex.

Without loss of generality, $x,y\in V({G}_{0})$ or $x\in V({G}_{0})$ and $y\in W$. Otherwise, trivially, if $x,y\in \{{u}_{1},\cdots ,{u}_{n}\}$ or if $x=w$ and $y\in V({G}_{0})$, then ${d}_{{G}_{0}^{M}}(x,y)={d}_{{G}^{M}}(x,y)=2$; also trivially, if $x=w$ and $y\in W$, then ${d}_{{G}_{0}^{M}}(x,y)={d}_{{G}^{M}}(x,y)=1$.

First, let $x={v}_{i}$ and $y={v}_{j}$. If ${d}_{{G}_{0}}({v}_{i},{v}_{j})={d}_{G}({v}_{i},{v}_{j})=1$, trivially, ${d}_{{G}_{0}^{M}}({v}_{i},{v}_{j})={d}_{{G}^{M}}({v}_{i},{v}_{j})=1$.

If ${d}_{{G}_{0}}({v}_{i},{v}_{j})={d}_{G}({v}_{i},{v}_{j})=2$, there exists ${v}_{r}\in V({G}_{0})$ so that $\{{v}_{i},{v}_{r}\},\{{v}_{r},{v}_{j}\}\in E({G}_{0})$. Notice also that ${d}_{{G}_{0}^{M}}({v}_{i},{v}_{j})\le {d}_{{G}_{0}^{M}}({v}_{i},{u}_{r})+{d}_{{G}_{0}^{M}}({u}_{r},{v}_{j})$. Suppose there is a path $\gamma \subset {G}^{M}$ from ${v}_{i}$ to ${v}_{j}$ such that $l(\gamma )=1$; then, $\{{v}_{i},{v}_{j}\}]\in E({G}^{M})$, and thus, $\{{v}_{i},{v}_{j}\}\in E(G)$, giving ${d}_{G}({v}_{i},{v}_{j})=1$, which contradicts ${d}_{G}({v}_{i},{v}_{j})=2$.

Additionally, if ${d}_{{G}_{0}}({v}_{i},{v}_{j})={d}_{G}({v}_{i},{v}_{j})>2$, then there is a geodesic path $\gamma $ in ${G}_{0}$ and ${v}_{k}\ne {v}_{l}\in V({G}_{0})$ with $\{{v}_{i},{v}_{k}\},\{{v}_{l},{v}_{j}\}\in E({G}_{0})$ and ${v}_{i},{v}_{k},{v}_{l},{v}_{j}\in \gamma $. Clearly, ${u}_{k}\ne {u}_{l}$. By the triangle inequality, ${d}_{{G}_{0}^{M}}({v}_{i},{v}_{j})\le {d}_{{G}_{0}^{M}}({v}_{i},{u}_{k})+{d}_{{G}_{0}^{M}}({u}_{k},w)+{d}_{{G}_{0}^{M}}({u}_{l},w)+{d}_{{G}_{0}^{M}}({u}_{l},{v}_{j})\le 4$. Suppose there is a path $\tilde{\gamma}\subset {G}^{M}$ from ${v}_{i}$ to ${v}_{j}$ such that $l(\tilde{\gamma})\le 3$, then $w\notin \tilde{\gamma}$, and there exists ${u}_{r}\in V(M{G}_{0})$ with $\{{v}_{i},{u}_{r}\},\{{u}_{r},{v}_{j}\}\in E({G}^{M})$; thus, $\{{v}_{i},{v}_{r}\},\{{v}_{r},{v}_{j}\}\in E(G)$, giving ${d}_{G}({v}_{i},{v}_{j})=2$, which is a contradiction.

Next, let $x={v}_{i}\in V({G}_{0})$ and $y={u}_{j}\in W$. Notice that ${d}_{{G}_{0}^{M}}({v}_{i},{u}_{j})\le {d}_{{G}_{0}^{M}}({v}_{i},w)+{d}_{{G}_{0}^{M}}(w,{u}_{j})=3$. If $\{{v}_{i},{u}_{j}\}\in E({G}_{0}^{M})$, then the result trivially holds. If ${d}_{{G}_{0}^{M}}({v}_{i},{u}_{j})=2$, then there exists ${v}_{r}\in V({G}_{0})$ with $\{{v}_{i},{v}_{r}\}\in E({G}_{0})$ and $\{{v}_{r},{u}_{j}\}\in E({G}_{0}^{M})$, and thus, ${d}_{{G}^{M}}({v}_{i},{u}_{j})=2$. Finally, if ${d}_{{G}_{0}^{M}}({v}_{i},{u}_{j})=3$, then there is a geodesic $\gamma $ both in ${G}_{0}^{M}$ an ${G}^{M}$, which contains w. ☐

This result has a straightforward consequence.

**Corollary** **1.** If ${G}_{0}$ is an isometric subgraph of G, then $\delta ({G}^{M})\ge \delta ({G}_{0}^{M})$.

Denote by ${G}^{\prime}$ the subgraph of ${G}^{M}$ induced by $V({G}^{M})\setminus \left\{w\right\}$. The following result is elementary.

**Proposition** **1.** Let G be any graph. Then, G is an isometric subgraph of ${G}^{\prime}$.

**Proof.** Consider the vertices ${v}_{i},{v}_{j}\in V(G)$ and a geodesic $\gamma $ in ${G}^{\prime}$ from ${v}_{i}$ to ${v}_{j}$, say, $\gamma ={\cup}_{k=1}^{s}\{{x}_{{r}_{k}},{x}_{{r}_{k+1}}\}$ with $x=v$ or $x=u$, ${r}_{1}=i$ and ${r}_{s}=j$. It suffices to find a curve ${\gamma}_{0}$ in G from ${v}_{i}$ to ${v}_{j}$ with $l(\gamma )=l({\gamma}_{0})$. Since, by construction, if $\{{x}_{{r}_{k}},{x}_{{r}_{k+1}}\}\in E({G}^{\prime})$, then $\{{v}_{{r}_{k}},{v}_{{r}_{k+1}}\}\in E(G)$, we have that ${\gamma}_{0}={\cup}_{k=1}^{s}\{{v}_{{r}_{k}},{v}_{{r}_{k+1}}\}$ joins ${v}_{i}$ and ${v}_{j}$ with $l(\gamma )=l({\gamma}_{0})$. ☐

## 3. Proof of the Main Parts of Theorem 1

In order to prove the main parts of Theorem 1, consider first the following weaker version:

**Theorem** **6.** Let G be any graph. Then, ${G}^{M}$ is hyperbolic, $2\le diamV({G}^{M})\le 4$, $5/2\le diam({G}^{M})\le 5$ and: **Proof.** For the upper bounds, notice that for any two vertices $u,v\in {G}^{M}$, ${d}_{{G}^{M}}(u,v)\le 4$, therefore $diamV({G}^{M})\le 4$, $diam({G}^{M})\le 5$, and thus, $\delta ({G}^{M})\le 5/2$ by Lemma 1.

For the lower bounds, recall that ${d}_{{G}^{M}}(u,w)=2$ for every $u\in V(G)$, and thus, $diamV({G}^{M})\ge 2$. If $\{{v}_{1},{v}_{2}\}\in E(G)$ and p is the midpoint of $\{{v}_{1},{v}_{2}\}$, then ${d}_{{G}^{M}}(p,w)=5/2$ and $diam({G}^{M})\ge 5/2$.

For $\delta ({G}^{M})$, observe that, since $E(G)\ne \varnothing $, there exists $\{{v}_{1},{v}_{2}\}\in E(G)$, and thus, ${G}^{M}$ always contains a cycle of length of five, namely $C:=[{v}_{1},{u}_{2},w,{u}_{1},{v}_{2},{v}_{1}]$. Let x be the midpoint of $\{{v}_{1},{v}_{2}\}$ and consider the geodesic bigon $T=\{x,w\}$ with geodesics ${\gamma}_{1}:=\left[x{v}_{1}\right]\cup \{{v}_{1},{u}_{2}\}\cup \{{u}_{2},w\}$ and ${\gamma}_{2}:=\left[x{v}_{2}\right]\cup \{{v}_{2},{u}_{1}\}\cup \{{u}_{1},w\}$. If p is the midpoint of the geodesic ${\gamma}_{1}$, then one gets $\delta ({G}^{M})\ge {d}_{{G}^{M}}(p,{\gamma}_{2})\ge 5/4$. ☐

The following lemmas relate $diamV({G}^{M})$ with $diamV(G)$ for small diameters.

**Lemma** **7.** Let G be any graph. Then:

- (i)
If $x,y\in G$ and ${d}_{G}(x,y)\le 9/2$, then ${d}_{{G}^{M}}(x,y)={d}_{G}(x,y)$.

- (ii)
If $x,y\in J(G)\setminus V(G)$ and ${d}_{G}(x,y)\le 5$, then ${d}_{{G}^{M}}(x,y)={d}_{G}(x,y)$.

**Proof.** Since G is a subgraph of ${G}^{M}$, we have ${d}_{{G}^{M}}(x,y)\le {d}_{G}(x,y)$.

Assume that $x,y\in G$ and ${d}_{G}(x,y)\le 9/2$, and let $\gamma $ be a geodesic $\gamma =\left[xy\right]$ in G. Define ${x}_{0}$ (respectively, ${y}_{0}$) as the closest vertex to x (respectively, y) from $\gamma \cap V(G)$ (it is possible to have $x={x}_{0}$ and/or $y={y}_{0}$). Since ${d}_{G}({x}_{0},{y}_{0})$ is an integer number and ${d}_{G}(x,y)\le 9/2$ by hypothesis, we have that:
$\begin{array}{ll}& (1){d}_{G}(x,{x}_{0})+{d}_{G}(y,{y}_{0})\le 1/2\mathrm{and}{d}_{G}({x}_{0},{y}_{0})\le 4,\\ \mathrm{or}& \\ & (2){d}_{G}(x,{x}_{0})+{d}_{G}(y,{y}_{0})\le 3/2\mathrm{and}{d}_{G}({x}_{0},{y}_{0})\le 3.\end{array}$

Seeking for a contradiction, assume that ${d}_{{G}^{M}}(x,y)<{d}_{G}(x,y)$. Thus, there exists a geodesic ${\gamma}^{M}$ joining x and y in ${G}^{M}$ with $l({\gamma}^{M})<l(\gamma )$, and $w\in {\gamma}^{M}$ by Proposition 1. Define ${x}_{0}^{M}$ (respectively, ${y}_{0}^{M}$) as the closest vertex to x (respectively, y) from ${\gamma}^{M}\cap V({G}^{M})$.

Since

$(1)$ or

$(2)$ holds, we have

${d}_{G}(x,{x}_{0}^{M})+{d}_{G}(y,{y}_{0}^{M})\ge 1/2$. Since

$w\in {\gamma}^{M}$,

${d}_{{G}^{M}}({x}_{0}^{M},{y}_{0}^{M})=4$ and:

which is a contradiction. Then,

${d}_{{G}^{M}}(x,y)={d}_{G}(x,y)$ and

$i)$ holds.

Assume now that

$x,y\in J(G)\setminus V(G)$ and

${d}_{G}(x,y)\le 5$. If

${d}_{G}(x,y)\le 9/2$, then

$i)$ gives the result. If

${d}_{G}(x,y)>9/2$, then

${d}_{G}(x,y)=5$. The argument in the proof of

$i)$ gives:

and:

Therefore,

$ii)$ holds. ☐

**Lemma** **8.** Let G be any graph. Then: **Proof.** Assume first that $2\le diamV(G)\le 4$.

Let $k:=diamV(G)$. Thus:

If ${v}_{i},{v}_{j}\in V(G)$, then clearly ${d}_{G}({v}_{i},{v}_{j})\le diamV(G)\le 4$, and by Lemma 7, we conclude ${d}_{{G}^{M}}({v}_{i},{v}_{j})={d}_{G}({v}_{i},{v}_{j})$.

If ${u}_{i},{u}_{j}\in V({G}^{\prime})\setminus V(G)$, then ${d}_{{G}^{M}}({u}_{i},{u}_{j})=2\le k$.

If ${v}_{i}\in V(G)$ and ${u}_{j}\in V({G}^{\prime})\setminus V(G)$, then ${d}_{{G}^{M}}({v}_{i},{u}_{i})=2\le k$ and ${d}_{{G}^{M}}({v}_{i},{u}_{j})\le {d}_{G}({v}_{i},{v}_{j})\le k$ (if $i\ne j$).

If $\alpha \in V({G}^{\prime})$, then ${d}_{{G}^{M}}(\alpha ,w)\le 2\le k$.

Therefore, $diamV({G}^{M})\le diamV(G)$.

For the other direction, let ${v}_{i},{v}_{j}\in V(G)$ be so that ${d}_{G}({v}_{i},{v}_{j})\le 4$. By Lemma 7, we have ${d}_{{G}^{M}}({v}_{i},{v}_{j})={d}_{G}({v}_{i},{v}_{j})$, and thus, $diamV({G}^{M})\ge diamV(G)$.

Assume now that $diamV({G}^{M})=diamV(G)$. Theorem 6 gives $2\le diamV({G}^{M})\le 4$, and then, $2\le diamV(G)\le 4$. ☐

We can prove now the main parts of Theorem 1.

**Theorem** **7.** Let G be any graph. Then, ${G}^{M}$ is hyperbolic, $2\le diamV({G}^{M})\le 4$ and $5/2\le diam({G}^{M})\le 5$. Furthermore, if G is not a complete graph, then: **Proof.** Theorem 6 proves all of the statements of Theorem 7 except for the upper bound for $\delta ({G}^{M})$ in the case where $diamV(G)<4$.

However, if $diamV(G)<4$, then either $diamV(G)=1$, in which case G would be isomorphic to a complete graph, or $2\le diamV(G)<4$, in which case $\delta ({G}^{M})\le diam({G}^{M})/2\le (1+diamV({G}^{M}))/2=(1+diamV(G))/2$, where the last equality follows from the above result, Lemma 8. ☐

As a consequence of Lemma 8, we obtain the following result.

**Corollary** **2.** If G is not a complete graph, then $diamV({G}^{M})\le diamV(G)$.

The following result provides information about $\delta (G)$ in terms of $\delta ({G}^{M})$.

**Theorem** **8.** Let G be any graph. If $diamV(G)\le 4$, then $\delta (G)\le \delta ({G}^{M})$.

**Proof.** By Lemma 3, there is a geodesic triangle $T=\{{x}_{1},{x}_{2},{x}_{3}\}$ in G (with geodesics ${\gamma}_{ij}$ joining ${x}_{i}$ and ${x}_{j}$ in G) and $p\in {\gamma}_{12}$ with ${d}_{G}(p,{\gamma}_{13}\cup {\gamma}_{23})=\delta (G)$ and $T\in {\mathbb{T}}_{1}$. If $l({\gamma}_{ij})\le 9/2$, then ${\gamma}_{ij}$ is also a geodesic in ${G}^{M}$ by Lemma 7. If $l({\gamma}_{ij})>9/2$, then $l({\gamma}_{ij})=5$ and ${x}_{i},{x}_{j}\in J(G)\setminus V(G)$; hence, Lemma 7 gives that ${\gamma}_{ij}$ is a geodesic in ${G}^{M}$. Therefore, T is also a geodesic triangle in ${G}^{M}$. Since ${d}_{G}(p,{\gamma}_{13}\cup {\gamma}_{23})\le {d}_{G}(p,\{{x}_{1},{x}_{2}\})\le l({\gamma}_{12})/2\le 5/2$, then $\delta ({G}^{M})\ge {d}_{{G}^{M}}(p,{\gamma}_{13}\cup {\gamma}_{23})={d}_{G}(p,{\gamma}_{13}\cup {\gamma}_{23})=\delta (G)$ by Lemma 7. ☐

We say that a vertex v of a (connected) graph $\Gamma $ is a cut-vertex if $\Gamma \setminus \left\{v\right\}$ is not connected. A graph is bi-connected if it does not contain cut-vertices. Given any edge in $\Gamma $, we consider the maximal bi-connected subgraph containing it.

Finally, we have the following result regarding disconnected graphs. Even though in order to study Gromov hyperbolicity, connected graphs are needed, since ${G}^{M}$ is always connected, the original graph G does not need to be:

**Theorem** **9.** Let G be any disconnected graph with connected components ${\left\{{G}_{j}\right\}}_{j}$. Then: **Proof.** It is well known that the hyperbolicity constant of a graph is the maximum value of the hyperbolicity constant of its maximal bi-connected components. Since G is not connected, the supervertex is the unique cut-vertex in ${G}^{M}$, and the subgraphs ${\left\{{G}_{j}^{M}\right\}}_{j}$ are the maximal bi-connected components of ${G}^{M}$. Hence, the equality holds. ☐

Note that, in order to study $\delta ({G}^{M})$, it suffices to consider just (connected) graphs G by Theorem 9.

## 4. Proof of Theorem 2

The next lemma will be a key tool:

**Lemma** **9.** Let G be any graph. If $\delta ({G}^{M})=5/2$, ${T}^{M}:=\{{x}_{0},{y}_{0},{z}_{0}\}$ is a geodesic triangle in ${G}^{M}$, such that $\delta ({T}^{M})=5/2$ and $p\in \left[{x}_{0}{y}_{0}\right]$ with ${d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=5/2$, then ${d}_{{G}^{M}}({x}_{0},{y}_{0})=5$, ${d}_{{G}^{M}}(p,{x}_{0})={d}_{{G}^{M}}(p,{y}_{0})=5/2$, ${x}_{0},{y}_{0}\in J(G)\setminus V(G)$ and $p\in V({G}^{M})$.

**Proof.** Since ${d}_{{G}^{M}}(p,\{{x}_{0},{y}_{0}\})\ge {d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=5/2$, and $p\in \left[{x}_{0}{y}_{0}\right]$, ${d}_{{G}^{M}}({x}_{0},{y}_{0})={d}_{{G}^{M}}({x}_{0},p)+{d}_{{G}^{M}}(p,{y}_{0})\ge 5$, then ${d}_{{G}^{M}}({x}_{0},{y}_{0})=5$ by Theorem 6. Thus, ${d}_{{G}^{M}}(p,{x}_{0})={d}_{{G}^{M}}(p,{y}_{0})=5/2$. The equality ${d}_{{G}^{M}}({x}_{0},{y}_{0})=5$ and the fact that $diamV({G}^{M})\le 4$, guarantee that ${x}_{0},{y}_{0}\in J({G}^{M})\setminus V({G}^{M})$. In fact, ${x}_{0}\in G$ for otherwise ${d}_{{G}^{M}}({x}_{0},w)\le 3/2$, and since ${d}_{{G}^{M}}({y}_{0},w)\le 5/2$, the triangle inequality would give ${d}_{{G}^{M}}({x}_{0},{y}_{0})\le (3/2)+(5/2)=4<5$. Therefore, ${x}_{0},{y}_{0}\in J(G)\setminus V(G)$. This in turn implies that $p\in V({G}^{M})$. ☐

When comparing hyperbolicity constants of G and ${G}^{M}$, it is useful to compare triangles in those graphs. A useful tool will be a projection, which allows one to associate triangles $T\subset G$ with given triangles ${T}^{M}\subset {G}^{M}$, which do not contain the supervertex, that is ${T}^{M}\subset {G}^{\prime}$. Namely:

**Definition** **1.** The projection $\Pi :{G}^{\prime}\to G$ is defined as follows:

For a point $a\in {G}^{\prime}$, if $a\in G$, then $\Pi (a)=a$. If $a={u}_{i}\in V({G}^{\prime})\setminus V(G)$, then $\Pi (a)=\Pi ({u}_{i})={v}_{i}\in V(G)$. If $a\in {G}^{\prime}\setminus \{G\cup V({G}^{\prime})\}$, then a lies on an edge, say $a\in \{{v}_{m},{u}_{k}\}$; then, $\Pi (a)\in \{{v}_{m},\Pi ({u}_{k})\}\subset G$, so that ${d}_{G}(\Pi (a),{v}_{m})={d}_{{G}^{M}}(a,{v}_{m})$.

**Remark** **1.** Observe the following:

If $\gamma =\left[xy\right]$ is a geodesic in ${G}^{M}$ and $\gamma \subset {G}^{\prime}$, there exists a geodesic $[\Pi (x)\Pi (y)]\subseteq \Pi ([xy])$; in general, equality does not hold, since two different edges in γ might project onto the same edge in $E(G)$ (for instance, if $\gamma =\{{v}_{i},{v}_{j}\}\cup \{{v}_{j},{u}_{i}\}$, then $\Pi (\gamma )=\{{v}_{i},{v}_{j}\}$; note that $l(\gamma )=2$); therefore, $l(\Pi (\gamma ))\le l(\gamma )$.

If $l([xy])\le 1$ and $x\in V(G)$, then $[\Pi (x)\Pi (y)]=\Pi ([xy])$.

If ${T}^{M}$ is a geodesic triangle in ${G}^{M}$ and $\Pi ({T}^{M})$ is a geodesic triangle in G and ${G}^{M}$, then $\Pi ({T}^{M})$ does not need to be a cycle even if ${T}^{M}$ is. For instance, if ${\gamma}_{1}=\{{v}_{i},{v}_{j}\}\cup \{{v}_{j},{v}_{k}\}$ and ${\gamma}_{2}=\{{v}_{i},{u}_{j}\}\cup \{{u}_{j},{v}_{k}\}$, then ${T}^{M}=\{{\gamma}_{1},{\gamma}_{2}\}$ is a geodesic bigon in ${G}^{M}$, $\Pi ({\gamma}_{1})=\Pi ({\gamma}_{2})={\gamma}_{1}$ are geodesics in G, but $\Pi ({T}^{M})$ is not a cycle, although ${T}^{M}$ is; note that $l({T}^{M})=4$ (see Figure 2).

However, the following holds:

**Lemma** **10.** Let G be any graph and Π the projection in Definition 1. If $\left[xy\right]\subset {G}^{\prime}$ and $l([xy])>2$, then $\Pi ([xy])$ is a geodesic in G joining $\Pi (x)$ and $\Pi (y)$. Furthermore, if $u\in \left(V({G}^{\prime})\setminus V(G)\right)\cap \left[xy\right]$, then $\Pi (u)\notin \left[xy\right]$.

**Proof.** The statement is trivial if $\left[xy\right]\subset G$. Otherwise, it is a consequence of the following fact: If $l([xy])>2$, then we have either $\{{u}_{i},{v}_{j}\}\subset \left[xy\right]$ or $\{{v}_{i},{v}_{j}\}\subset \left[xy\right]$ for some ${u}_{i}\in V({G}^{\prime})\setminus V(G)$ and ${v}_{i},{v}_{j}\in V(G)$. If $\{{u}_{i},{v}_{j}\}\subset \left[xy\right]$, then $\{{v}_{i},{v}_{j}\}\cap \left[xy\right]={v}_{j}$; if $\{{v}_{i},{v}_{j}\}\subset \left[xy\right]$, then $\{{u}_{i},{v}_{j}\}\cap \left[xy\right]={v}_{j}$. ☐

**Proof** **of** **Theorem** **2.** Assume first that $\delta ({G}^{M})=5/2$.

By Lemma 3, there is a geodesic triangle ${T}^{M}:=\{{x}_{0},{y}_{0},{z}_{0}\}\subset {G}^{M}$ that is a cycle with ${x}_{0},{y}_{0},{z}_{0}\in J({G}^{M})$ and $p\in \left[{x}_{0}{y}_{0}\right]$, so that ${d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=5/2$. Then, by Lemma 9, ${x}_{0},{y}_{0}\in J(G)\setminus V(G)$, $p\in V({G}^{M})$, p is the midpoint in $\left[{x}_{0}{y}_{0}\right]$, and ${d}_{{G}^{M}}({x}_{0},{y}_{0})=5$.

The goal is to produce a triangle T from this ${T}^{M}$, which is geodesic both in G and ${G}^{M}$.

To this end, it will be first shown that the supervertex $w\notin {T}^{M}$.

Clearly, $w\ne p$ for ${d}_{{G}^{M}}(w,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])\le 2<5/2$, since ${d}_{{G}^{M}}(w,v)\le 2$ for all $v\in V({G}^{M})$. For this same reason, $w\notin \left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right]$, for ${d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])\le {d}_{{G}^{M}}(p,w)\le 2$, since $p\in V({G}^{M})$. Finally, $w\notin \left[{x}_{0}{y}_{0}\right]$, since $w,p\in V({G}^{M})$ and ${x}_{0},{y}_{0}\in J(G)\setminus V(G)$, gives ${d}_{{G}^{M}}(w,{x}_{0})={d}_{{G}^{M}}(w,{y}_{0})=5/2={d}_{{G}^{M}}({x}_{0},{y}_{0})/2$, which would mean that $w=p$, which is a contradiction.

Therefore, $w\notin {T}^{M}$, ${T}^{M}\subset {G}^{\prime}$, and ${d}_{{G}^{\prime}}({x}_{0},{y}_{0})={d}_{{G}^{M}}({x}_{0},{y}_{0})=5$, ${d}_{{G}^{\prime}}({x}_{0},{z}_{0})={d}_{{G}^{M}}({x}_{0},{z}_{0})\le 5$ and ${d}_{{G}^{\prime}}({y}_{0},{z}_{0})={d}_{{G}^{M}}({y}_{0},{z}_{0})\le 5$.

If we define

$x:=\Pi ({x}_{0})={x}_{0}$,

$y:=\Pi ({y}_{0})={y}_{0}$,

$z:=\Pi ({z}_{0})$, then (

1) stated in Theorem 2 holds, and Lemma 7 gives

${d}_{G}(x,y)={d}_{{G}^{M}}({x}_{0},{y}_{0})=5$,

${d}_{G}(x,z)={d}_{{G}^{M}}({x}_{0},{z}_{0})\le 5$,

${d}_{G}(y,z)={d}_{{G}^{M}}({y}_{0},{z}_{0})\le 5$. If

$l(\left[{x}_{0}{z}_{0}\right])>2$ and

$l(\left[{y}_{0}{z}_{0}\right])>2$, then

$\Pi (\left[{x}_{0}{y}_{0}\right])=\left[xy\right]$,

$\Pi (\left[{x}_{0}{z}_{0}\right])=\left[xz\right]$ and

$\Pi (\left[{y}_{0}{z}_{0}\right])=\left[yz\right]$ are geodesics in

G by Lemma 10. Otherwise,

$\left[{x}_{0}{z}_{0}\right]$ or

$\left[{y}_{0}{z}_{0}\right]$ have length at most two. By symmetry, we can assume that

$l(\left[{y}_{0}{z}_{0}\right])\le 2$; since

${d}_{{G}^{M}}({x}_{0},{y}_{0})=5$, we have

$l(\left[{x}_{0}{z}_{0}\right])\ge 3$, and Lemma 10 gives that

$\Pi (\left[{x}_{0}{y}_{0}\right])=\left[xy\right]$ and

$\Pi (\left[{x}_{0}{z}_{0}\right])=\left[xz\right]$ are geodesics in

G. Furthermore,

$\Pi (\left[{y}_{0}{z}_{0}\right])$ contains a geodesic

$\left[yz\right]$ in

G. This gives the existence of the geodesic triangle

T of Theorem 2 and (

2) stated in this same Theorem.

Next, let us show that ${d}_{{G}^{M}}(\Pi (p),\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])={d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=5/2$. If $p\in G$, then $\Pi (p)=p$, and the statement trivially holds. Assume that $p\notin G$ (thus, $p\in V({G}^{\prime})\setminus V(G)$). Since $l(\left[{x}_{0}{y}_{0}\right])=5>2$ and $p\in \left[{x}_{0}{y}_{0}\right]$, Lemma 10 gives that $\Pi (p)\notin \left[{x}_{0}{y}_{0}\right]$. Since ${d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=5/2$, we have $\Pi (p)\notin \left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right]$, and we conclude $\Pi (p)\notin {T}^{M}$.

Let $\eta $ be a geodesic joining $\Pi (p)$ and $\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right]$ in ${G}^{M}$ with $l(\eta )={d}_{{G}^{M}}(\Pi (p),\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])$, and let ${q}_{1}\in V({G}^{M})\cap \eta $, so that ${q}_{1}$ is adjacent to $\Pi (p)\in V(G)$ (so ${q}_{1}\ne w$). We have ${d}_{{G}^{M}}(\Pi (p),\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])\le {d}_{{G}^{M}}(\Pi (p),{x}_{0})={d}_{{G}^{M}}(p,{x}_{0})=5/2$.

If ${q}_{1}\in V(G)$, then $\{p,{q}_{1}\}\in E({G}^{\prime})$, and take ${\eta}^{\prime}$ to be the curve (not necessarily geodesic) $(\eta \setminus \{\Pi (p),{q}_{1}\})\cup \{p,{q}_{1}\}$; then $l(\eta )=l({\eta}^{\prime})\ge {d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=5/2$, and we conclude ${d}_{{G}^{M}}(\Pi (p),\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])={d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=5/2$, the desired result.

If ${q}_{1}\in V({G}^{\prime})\setminus V(G)$, let ${q}_{2}\in (V({G}^{M})\cap \eta )\setminus \{\Pi (p)\}$ so that ${q}_{2}$ is adjacent to ${q}_{1}$. Notice that ${q}_{2}$ cannot be the supervertex, for then $l(\eta )\ge 3>5/2$, and it would not be a geodesic; thus, ${q}_{2}\in V(G)$. Moreover, ${q}_{2}\notin \left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right]$ since ${d}_{{G}^{M}}(\Pi (p),{q}_{2})={d}_{{G}^{M}}(p,{q}_{2})=2$ and ${d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=5/2$. Since ${d}_{{G}^{M}}({q}_{2},J({G}^{M})\setminus \left\{{q}_{2}\right\})=1/2$, one gets $l(\eta )\ge 5/2$, and we conclude $l(\eta )=5/2$.

Therefore, ${d}_{{G}^{M}}(\Pi (p),\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=5/2$. Thus, in order to finish the proof of $(3)$, one must show that ${d}_{G}(\Pi (p),\left[xz\right]\cap \left[yz\right])=5/2$.

Since $T=\{x,y,z\}:=\left\{\right[xy],[xz],[yz\left]\right\}$ is a geodesic triangle in G and ${G}^{M}$, $\delta (T)\le \delta ({G}^{M})=5/2$. Let us show that $\delta (T)\ge 5/2$, thus finishing the proof.

Let ${D}_{0}:={d}_{G}(\Pi (p),\left[xz\right]\cup \left[yz\right])$. Seeking for a contradiction, assume ${D}_{0}<5/2$, then, in fact, ${D}_{0}\le 2$ and ${D}_{0}\in \{0,1,2\}$.

If ${D}_{0}=0$, then $\Pi (p)\in \left[xz\right]\cup \left[yz\right]\subset G$. Since $p\notin \left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right]$ and $\Pi (p)\notin \left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right]$, we have $p=\Pi (p)\in G$. Let ${p}^{\prime}$ be the mirror vertex of p. Since $p\notin \left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right]$, then ${p}^{\prime}\in \left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right]$. There is $v\in V(G)$, with $\{v,p\}\subset E(G)$, and so, ${d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])\le {d}_{{G}^{M}}(p,{p}^{\prime})={d}_{{G}^{M}}(p,v)+{d}_{{G}^{M}}(v,{p}^{\prime})=2<5/2$, a contradiction.

If ${D}_{0}=1$ and $v\in \left[xz\right]\cup \left[yz\right]$ satisfies ${d}_{G}(\Pi (p),v)=1$, then $\Pi (p)$ and v are adjacent. Let u be a vertex with $\Pi (u)=v$ and $u\in \left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right]$; so $5/2={d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])\le {d}_{{G}^{M}}(p,u)\le 2$, which is a contradiction.

Finally, if ${D}_{0}=2$, then the vertex $v\in \left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right]$, which gives the minimum distance to p, either belongs to the mirror vertices or to G, but in any case, it is adjacent to an adjacent vertex of p; thus, ${d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=2$, which is a contradiction.

In summary, ${d}_{{G}^{M}}(p,\left[xz\right]\cup \left[yz\right])={d}_{{G}^{M}}(p,\left[{x}_{0}{z}_{0}\right]\cup \left[{y}_{0}{z}_{0}\right])=5/2$.

Let us show the other implication to conclude that $\delta ({G}^{M})=5/2$.

By Theorem 6, $\delta ({G}^{M})\le 5/2$.

Let

$T:=\{x,y,z\}$ be the geodesic triangle in

G in the hypothesis. Properties (

1) and (

2) stated in Theorem 2 and Lemma 7 give that

T is also a geodesic triangle in

${G}^{M}$. Since

${d}_{G}(p,\left[xz\right]\cup \left[yz\right])=5/2$, Lemma 7 gives

$\delta ({G}^{M})\ge {d}_{{G}^{M}}(p,\left[xz\right]\cup \left[yz\right])={d}_{G}(p,\left[xz\right]\cup \left[yz\right])=5/2$, finishing the proof. ☐

The proof of Theorem 2 has the following consequence.

**Corollary** **3.** If the geodesic triangle T in G satisfies (1), (2) and (3) stated in Theorem 2, then T is also a geodesic triangle in ${G}^{M}$. We also have the following corollaries of Theorem 2.

**Corollary** **4.** If G is a graph with $diamV(G)=4$ and $\delta (G)=5/2$, then $\delta ({G}^{M})=5/2$.

**Corollary** **5.** If G is a graph such that it does not contain a cycle σ satisfying $10\le l(\sigma )\le 15$, then: **Remark** **2.** If G contains a cycle σ with $10\le l(\sigma )\le 15$, one cannot say anything more precise about $\delta ({G}^{M})$ apart from the bounds obtained in Theorem 6, which are applicable to all Mycielskian graphs, i.e., $5/4\le \delta ({G}^{M})\le 5/2$. In the particular case when G is the cycle graph ${C}_{n}$, with $10\le n\le 15$, then Proposition 4 gives $\delta ({G}^{M})=5/2$; and if G is the complete graph ${K}_{n}$, with $n\ge 10$, then $\delta ({G}^{M})=5/4$ by Proposition 5.

Given a graph

G, we define its circumference as:

**Proposition** **2.** If G is a graph with $c(G)<10$, then: **Proof.** By Corollary 5, it suffices to show $\delta (G)\le \delta ({G}^{M})$. By Lemma 3, there is a geodesic triangle T in G that is a cycle with $\delta (T)=\delta (G)$. Since $l(T)\le c(G)\le 9$, if $a,b\in T$, then ${d}_{G}(a,b)\le l(T)/2\le 9/2$ and ${d}_{{G}^{M}}(a,b)={d}_{G}(a,b)$ by Lemma 7. Therefore, T is a geodesic triangle in ${G}^{M}$ and $\delta ({G}^{M})\ge \delta (T)=\phantom{\rule{3.33333pt}{0ex}}\delta (G)$. ☐

**Remark** **3.** If $c(G)\ge 10$, one cannot say anything more precise about $\delta ({G}^{M})$ apart from the bounds obtained in Theorem 6, which are applicable to all Mycielskian graphs, i.e., $5/4\le \delta ({G}^{M})\le 5/2$. In particular, if ${v}_{1}\in V({C}_{10})$, ${v}_{2}\in V({C}_{n})$ with $n\ge 10$, and G is the graph obtained from ${C}_{10}$ and ${C}_{n}$ by identifying the vertices ${v}_{1}$ and ${v}_{2}$, then Corollary 1, Theorem 6 and Proposition 4 give $5/2=\delta ({C}_{10}^{M})\le \delta ({G}^{M})\le 5/2$ and $\delta ({G}^{M})=5/2$; if G is the complete graph ${K}_{n}$, with $n\ge 10$, then $\delta ({G}^{M})=5/4$ by Proposition 5.

## 5. Proof of Theorem 3

**Proof.** Assume first that $diam(G)\le 2$. In order to prove $\delta ({G}^{M})=5/4$, it will be enough to show that $diam({G}^{M})\le 5/2$, by Lemma 1.

Note that since $diamV(G)\le 2$, then $diamV({G}^{M})=2$. Consider $x,y\in J({G}^{M})$. If x or y is a vertex, then ${d}_{{G}^{M}}(x,y)\le 5/2$. Without loss of generality, $x,y\in J({G}^{M})\setminus V({G}^{M})$. Note that ${d}_{G}(z,v)\le 3/2$ for every $z\in J(G)\setminus V(G)$ and $v\in V(G)$, since $diam(G)\le 2$.

Trivially, for $x,y\in G$, or $x,y\in {G}^{M}\setminus {G}^{\prime}$, or $x\in {G}^{\prime}$ and $y\in {G}^{M}\setminus {G}^{\prime}$, one gets ${d}_{{G}^{M}}(x,y)\le 2$.

When $x\in G$ and $y\in {G}^{\prime}\setminus G$, since ${d}_{G}(x,v)\le 3/2$ for all vertices v in G, we have ${d}_{{G}^{M}}(x,y)\le 2$.

Assume that $x,y\in {G}^{\prime}\setminus G$. Let $a,b\in V(G)$, $u,v\in V({G}^{\prime})\setminus V(G)$ be so that x and y are the midpoints of the edges $\{u,a\}$ and $\{v,b\}$, respectively. It is enough to consider the case where ${d}_{{G}^{M}}(a,b)=2$ and ${d}_{{G}^{M}}(a,y)=5/2$. Since $diam(G)\le 2$, we have ${d}_{G}(\{a,\Pi (u)\},b)=1$; since ${d}_{G}(a,b)=2$, we deduce ${d}_{G}(\Pi (u),b)=1$, and then, $\{u,b\}\in E({G}^{M})$. Thus, ${d}_{{G}^{M}}(x,y)\le 2$.

Finally, consider

$x\in G$ and

$y\in {G}^{M}\setminus {G}^{\prime}$. Let

$a,b\in V(G)$ so that

$x\in \{a,b\}$, and let

$y\in \{w,u\}$ for some

u vertex in the mirror of

G. Since

$diam(G)\le 2$,

${d}_{G}(x,\Pi (u))\le 3/2$, and thus,

${d}_{{G}^{M}}(\Pi (u),\{a,b\})=1$. By symmetry, one can assume that

${d}_{{G}^{M}}(\Pi (u),b)=1$, and so,

${d}_{{G}^{M}}(u,b)=1$ and

${d}_{{G}^{M}}(x,y)\le {d}_{{G}^{M}}(x,b)+{d}_{{G}^{M}}(b,u)+{d}_{{G}^{M}}(u,y)=1/2+1+1/2=2$. This gives the statement (

4).

Next, let us show that

$diam(G)>5/2$ implies

$\delta ({G}^{M})>5/4$, proving statement (

5) of the Theorem. To this end, we shall construct a geodesic bigon with sides of length three.

Let $a,b\in J(G)$ be so that ${d}_{G}(a,b)=3$. If $a,b\in V(G)$, then $diamV(G)\ge 3$, and Proposition 3 and Corollary 6 give $\delta ({G}^{M})\ge 3/2$ (of course, Theorem 3 is not used in the proofs of Proposition 3 and Corollary 6). Therefore, one can assume that $a,b\in J(G)\setminus V(G)$.

Let ${v}_{i},{v}_{i+1},{v}_{j},{v}_{j+1}\in V(G)$ with $a\in \{{v}_{i},{v}_{i+1}\}$ and $b\in \{{v}_{j},{v}_{j+1}\}$; note that ${d}_{G}(\{{v}_{i},{v}_{i+1}\},\{{v}_{j},{v}_{j+1}\})=2$. By symmetry, we can assume that ${d}_{G}({v}_{i+1},{v}_{j})=2$. Let $x,y\in J(G)\setminus V(G)$ with $x\in \left[{u}_{i}{v}_{i+1}\right]$ and $y\in \left[{v}_{j}{u}_{j+1}\right]$. Consider the geodesic bigon $T:={\gamma}_{1}\cup {\gamma}_{2}$ where ${\gamma}_{1}:=\left[x{u}_{i}\right]\cup \left[{u}_{i}w\right]\cup \left[w{u}_{j+1}\right]\cup \left[{u}_{j+1}y\right]$, and ${\gamma}_{2}:=\left[x{v}_{i+1}\right]\cup \left[{v}_{i+1}{v}_{j}\right]\cup \left[{v}_{j}y\right]$. Therefore, taking $p=w$, ${d}_{{G}^{M}}(p,{\gamma}_{2})=3/2$, and thus, $\delta ({G}^{M})\ge \delta (T)\ge 3/2$.

This finishes the proof of both statements.

To show that the converse of (

4) does not hold, consider the graph

G with four vertices

${\left\{{v}_{i}\right\}}_{i=0}^{3}$ and edges

$\{{v}_{0},{v}_{1}\},\{{v}_{1},{v}_{2}\},\{{v}_{2},{v}_{3}\}$,

$\{{v}_{3},{v}_{1}\}$. Then,

$diam(G)=5/2$ and

$diam({G}^{M})=3$, where the only two points

$x,y\in {G}^{M}$ that realize the diameter are

$x\in \{{v}_{2},{v}_{3}\}$ and

$y\in \{{u}_{0},w\}$. Consider the geodesic bigon

$T=\{{\gamma}_{1},{\gamma}_{2}\}$ given by

${\gamma}_{1}:=\left[x{v}_{2}\right]\cup \left[{v}_{2}{v}_{1}\right]\cup \left[{v}_{1}{u}_{0}\right]\cup \left[{u}_{0}y\right]$ and

${\gamma}_{2}:=\left[yw\right]\cup \left[w{u}_{2}\right]\cup \left[{u}_{2}{v}_{3}\right]\cup \left[{v}_{3}x\right]$; let

$p\in {\gamma}_{1}$ be so that

${d}_{{G}^{M}}(p,{v}_{1})=1/4$. Then,

${d}_{{G}^{M}}(p,{\gamma}_{2})={d}_{{G}^{M}}(p,{v}_{1})+{d}_{{G}^{M}}({v}_{1},{u}_{2})=1/4+1$, and this bigon has

$\delta (T)=5/4$.

Since $diam({G}^{M})=3$, we have $\delta ({G}^{M})\le 3/2$. Notice that in order to have a geodesic triangle T with $\delta (T)=3/2$, one of its sides must have length three and, therefore, must have $x,y$ as its endpoints. As in the case of the bigon above, for any of these triangles, every vertex in $\left[xy\right]$ is at a distance at most one of the other two sides. Therefore, all of these triangles satisfy $\delta (T)=5/4$. Therefore, $\delta ({G}^{M})=5/4$.

Proposition 4 gives

$\delta ({C}_{5}^{M})=3/2$. Since

$diam({C}_{5})=5/2$, the converse of (

5) does not hold. ☐

## 6. Hyperbolicity Constant for Some Particular Mycielskian Graphs and the Proof of Theorems 1, 4 and 5

Computing the hyperbolicity constant of some graphs turns out to be specially useful. Namely, many graphs contain path graphs as isomorphic subgraphs; the cycle graph appeared naturally as a boundary situation for hyperbolicity constant of $5/2$; and finally, graphs isomorphic to the complete one were of interest. In this section, the precise hyperbolicity constants of the Mycielskian graphs for such graphs is calculated.

**Proposition** **3.** Let ${P}_{n}$ be the path graph with n vertices. Then: **Proof.** Denote by

${v}_{1},\cdots ,{v}_{n}$ the vertices of

${P}_{n}$ with

$\{{v}_{i},{v}_{i+1}\}\in E({P}_{n})$ for

$i=1,\cdots ,n-1$. One can easily check that

$diam({P}_{3}^{M})=5/2$ (see

Figure 3). Since

$diam({P}_{2}^{M})=diam({P}_{3}^{M})=5/2$, Lemma 1 gives

$\delta ({P}_{n}^{M})\le 5/4$ for

$n=2,3$. Then, Theorem 6 let us get the desired result for

$n=2,3$.

For ${P}_{4}^{M}$ and ${P}_{5}^{M}$, a similar argument will be used. First, a triangle T with the desired $\delta $ will be constructed, giving the lower bound; then, the diameter of the Mycielskian will give the upper bound.

In ${P}_{4}^{M}$, consider the triangle $T:=\{x,y,z\}$, where $x={v}_{1}$, $y={v}_{4}$, $z=w$, and take p as the midpoint of $\left[{v}_{2}{v}_{3}\right]$. Here, ${d}_{{G}^{M}}(p,\left[xz\right]\cup \left[yz\right])=3/2$. One can check that $diam({P}_{4}^{M})=3$. Therefore, Lemma 1 gives $3/2\le \delta (T)\le \delta ({P}_{4}^{M})\le 1/2diam({P}_{4}^{M})=3/2$.

A similar argument works for ${P}_{5}^{M}$.

A simple argument will give the result for $n\ge 8$.

For

$n\ge 8$, Theorems 2, 6 and Lemma 4 give

$\delta ({P}_{n}^{M})\le 9/4$. Consider the geodesic triangle

$T:=\{x,y,z\}$ with

$x={v}_{2}$,

y the midpoint in

$\{{v}_{6},{v}_{7}\}$ and

$z=w$, and take

p the midpoint in

$\left[xy\right]\subset {P}_{n}$ (see

Figure 4). Then,

$\delta ({P}_{n}^{M})=9/4$, since

$\delta ({P}_{n}^{M})\ge {d}_{{P}_{n}^{M}}(p,\left[xz\right]\cup \left[yz\right])=9/4$.

All that is left is to prove that $\delta ({P}_{7}^{M})=2$, which will automatically imply $\delta ({P}_{6}^{M})=2$ as well by Corollary 1, since ${P}_{5}\subset {P}_{6}\subset {P}_{7}$.

By Lemma 3, let

$T:=\{x,y,z\}\subset {P}_{7}^{M}$ be a geodesic triangle, so that

$x,y,z\in J({P}_{7}^{M})$, and let

$p\in \left[xy\right]$ be so that

${d}_{{P}_{7}^{M}}(p,\left[xz\right]\cup \left[yz\right])=\delta (T)=\delta ({P}_{7}^{M})$. Seeking for a contradiction, assume that

$\delta ({P}_{7}^{M})>2$. This would mean

$\delta ({P}_{7}^{M})\in \{9/4,5/2\}$ by Lemma 4 and Theorem 6. However, by Theorem 2,

$\delta ({P}_{7}^{M})\ne 5/2$, since every geodesic triangle in

${P}_{7}$ has a hyperbolicity constant equal to zero, like any geodesic triangle in any tree. That is:

Some observations:

$x,y\in {P}_{7}$ for otherwise

${d}_{{P}_{7}^{M}}(x,y)\le 4$ (via

w), contradicting (

9). Moreover, without loss of generality, we can assume that

$x\in J({P}_{7})\setminus V({P}_{7})$ always and

$y\in J({P}_{7})\setminus V({P}_{7})$ if

${d}_{{P}_{7}^{M}}(x,y)=5$ and

$y\in V({P}_{7})$ if

${d}_{{P}_{7}^{M}}(x,y)=9/4$. Last,

$w\in T$ for otherwise

T would be a cycle of diameter two, and thus,

$\delta (T)=1$.

Suppose that

$w\in \left[xy\right]$. By (

8) and (

9),

${d}_{{P}_{7}^{M}}(p,w)\le 1/4$. It is easy to check that

$\left[xz\right]\cup \left[yz\right]\subset {P}_{7}$. Thus, we deduce

${d}_{{P}_{7}^{M}}(w,\left[xz\right]\cup \left[yz\right])=2$.

Since

$x\in J({P}_{7})\setminus V({P}_{7})$, we have

$p\in \left[xw\right]$. Since

${d}_{{P}_{7}^{M}}(w,\left[xz\right]\cup \left[yz\right])=2$, (

8) and (

9) give

${d}_{{P}_{7}^{M}}(p,w)=1/4$. By symmetry, we can assume that

x is the midpoint of either

$\{{v}_{1},{v}_{2}\}$ or

$\{{v}_{2},{v}_{3}\}$. Assume that

$x\in \{{v}_{1},{v}_{2}\}$ (the case

$x\in \{{v}_{2},{v}_{3}\}$ is similar). Since

T is a cycle and

$\left[xz\right]\cup \left[yz\right]\subset {P}_{7}$, we have

${v}_{3}\in \left[xz\right]\cup \left[yz\right]\subset {P}_{7}$,

$\left[x{v}_{1}\right]\cup \{{v}_{1},{u}_{2}\}\cup \{{u}_{2},w\}\subset \left[zy\right]$ and

$p\in \{{u}_{2},w\}$. Then,

$9/4={d}_{{P}_{7}^{M}}(p,\left[xz\right]\cup \left[yz\right])\le {d}_{{P}_{7}^{M}}(p,{v}_{3})\le {d}_{{P}_{7}^{M}}(p,{u}_{2})+{d}_{{P}_{7}^{M}}({u}_{2},{v}_{3})=7/4$, a contradiction. Hence,

$w\notin \left[xy\right]$.

A similar argument shows that $w\notin \left[xz\right]\cup \left[yz\right]$, which contradicts the fact that $w\in T$. One concludes that $\delta ({P}_{7}^{M})\le 2$, which together with the fact that $\delta ({P}_{7}^{M})\ge \delta ({P}_{5}^{M})=2$ gives the desired result. ☐

**Remark** **4.** There are several definitions of Gromov hyperbolicity. They are all equivalent in the sense that if X is δ-hyperbolic with respect to the definition A, then it is ${\delta}^{\prime}$-hyperbolic with respect to the definition B, for some ${\delta}^{\prime}$ (see, e.g., [2,3]). The definition that we have chosen in the present paper is known as the Rips condition. We decided to select it among others due to its deep geometric meaning (see, e.g., [3]). As an example, the simplest existing proof of the invariance of hyperbolicity by quasi-isometries uses the Rips condition (see [3]) and so does the proof for geodesic stability (see [5]). Furthermore, some results that employ a different definition (such as the four-point condition) also require the Rips condition in their proofs (see, e.g., [27]). The Rips condition also comes up in a natural way when graphs with arbitrarily large edges are considered. Experience has shown that, although the definitions of hyperbolicity are equivalent, the values of the hyperbolicity constants of a space obtained when different definitions are considered have different behaviors actually.

As an example, the analogue of Proposition 3 for the hyperbolicity constant obtained applying the four-point condition (that we shall denote by ${\delta}_{4PC}$) says that ${\delta}_{4PC}({P}_{2}^{M})=1/2$ and ${\delta}_{4PC}({P}_{n}^{M})=1$ for every $n\ge 3$.

The following corollary is straightforward, but it is presented here because it is used to simplify the arguments in some other proofs in the paper.

**Corollary** **6.** Let G be any graph. Then, $\delta ({G}^{M})\ge \delta \left({P}_{diamV(G)+1}^{M}\right)$.

Observe that this follows from Corollary 1, since if $diamV(G)=r$, then there exists a geodesic ${g}_{0}\subseteq G$ joining two vertices with length r. That is, ${P}_{r+1}$ is isomorphic to ${g}_{0}$, and besides, ${g}_{0}$ is an isometric subgraph.

Proposition 3 and Corollaries 5 and 6 have the following consequence.

**Corollary** **7.** If G is a graph with $diamV(G)\ge 7$ such that it does not contain a cycle σ satisfying $10\le l(\sigma )\le 15$, then $\delta ({G}^{M})=9/4$.

By Lemmas 1 and 8, Proposition 3 and Corollary 6, we obtain the following result.

**Corollary** **8.** Let G be any graph. Then:

- (i)
If $diamV(G)=2$, then $5/4\le \delta ({G}^{M})\le 3/2$.

- (ii)
If $diamV(G)=3$, then $3/2\le \delta ({G}^{M})\le 2$.

The next proposition deals with cycle graphs, which illustrate well the result of Theorem 2.

**Proposition** **4.** Let ${C}_{n}$ be the cycle graph with n vertices. Then: **Proof.** Denote by ${v}_{1},\cdots ,{v}_{n}$ the vertices of ${C}_{n}$ with edges $\{{v}_{n},{v}_{1}\}\cup \left({\cup}_{i=1}^{n-1}\{{v}_{i},{v}_{i+1}\}\right)$. With the usual notation, ${u}_{i}$ is the mirror vertex of ${v}_{i}$, and w is the supervertex.

For $n=3,4,$$diam({C}_{n}^{M})=5/2$, and thus, $\delta ({C}_{n}^{M})\le 5/4$. On the other hand, Theorem 6 gives $\delta ({C}_{n}^{M})\ge 5/4$.

For $n=5$, $diam({C}_{5}^{M})=3$, giving $3/2$ as an upper bound for the hyperbolicity constant. On the other hand, consider the bigon $T=\{x,y\}$ with x the midpoint of $\{{v}_{2},{v}_{3}\}$ and y the midpoint of $\{{u}_{1},w\}$. Denote by $\left[xy\right]$ the geodesic in T with ${v}_{1}\notin \left[xy\right]$; thus, $\delta ({C}_{5}^{M})\ge {d}_{{C}_{5}^{M}}({v}_{1},\left[xy\right])=3/2$.

For $n\in \{6,7,8,9\}$, $diam({C}_{n}^{M})=n/2$; thus, the upper bound is $n/4$. Consider the bigon T of antipodal vertices x, y in ${C}_{n}$, with $T\subset {C}_{n}$. Let p be the midpoint of $\left[xy\right]$; then, $\delta (T)=n/4$ and thus $\delta ({C}_{n}^{M})\ge n/4$, which together with the upper bound, gives $\delta ({C}_{n}^{M})=n/4$.

The range $n\in \{10,11,12,13,14,15\}$ automatically follows from Theorem 2.

Finally, if $n\ge 16$, then $diamV({C}_{n})\ge 8$, and Corollary 7 gives the result. ☐

**Remark** **5.** The analogue of Proposition 4 for the hyperbolicity constant of the four-point condition says that ${\delta}_{4PC}({C}_{n}^{M})=1$ for $3\le n\le 7$, ${\delta}_{4PC}({C}_{8}^{M})=2$, ${\delta}_{4PC}({C}_{n}^{M})=3/2$ for $9\le n\le 10$ and ${\delta}_{4PC}({C}_{n}^{M})=1$ for every $n\ge 11$.

The complete graph has a very constant behavior.

**Proposition** **5.** Let ${K}_{n}$ be the complete graph with n vertices. Then: **Proof.** Since ${K}_{2}={P}_{2}$ and ${K}_{3}={C}_{3}$, by Propositions 3 and 4, one gets the result if $n<4$.

For $n\ge 4$, Theorem 6 already gives $\delta ({K}_{n}^{M})\ge 5/4$, so it suffices to estimate the diameter of ${K}_{n}^{M}$.

Notice $diamV({K}_{n}^{M})=2$. Without loss of generality, take $x,y\in J({K}_{n}^{M})$; clearly, if $y=v\in V({K}_{n}^{M})$, then ${d}_{{K}_{n}^{M}}(x,v)\le 5/2$ with equality if $x\in J({K}_{n})\setminus V({K}_{n})$ and $v=w$; if $x,y\in J({K}_{n}^{M})\setminus V({K}_{n}^{M})$, then ${d}_{{K}_{n}^{M}}(x,v)\le 2$ with equality if $x\in \{{v}_{i},{v}_{j}\},y\in \{{u}_{k},w\}$.

Summing up, $diam({K}_{n}^{M})=5/2$; thus, $\delta ({K}_{n}^{M})\le 5/4$, which together with Theorem 6 prove the result. ☐

**Remark** **6.** The analogue of Proposition 5 for the hyperbolicity constant of the four-point condition says that ${\delta}_{4PC}({K}_{2}^{M})=1/2$ and ${\delta}_{4PC}({K}_{n}^{M})=1$ for every $n\ge 3$.

The argument in the proof of Proposition 5 also gives the following result.

**Corollary** **9.** If $diam({G}^{M})\le 5/2$, then $\delta ({G}^{M})=5/4$.

We can now finish the proof of Theorem 1.

Proof of Theorem 1: The main part follows from Theorem 7 for non-complete graphs. If G is a complete graph, Proposition 5 gives that $\delta ({G}^{M})=5/4$

For the sharpness of $\delta ({G}^{M})\le 5/2$, consider the graphs ${P}_{2}$ and ${C}_{10}$, where ${P}_{2}$ stands for the path graph of vertices $\{{v}_{0},{v}_{1},{v}_{2},{v}_{3}\}$ and edges $\{{v}_{0},{v}_{1}\}$, $\{{v}_{1},{v}_{2}\},\{{v}_{2},{v}_{3}\}$, and ${C}_{10}$ is the the cyclic graph with 10 vertices. From Propositions 3 and 4, we get $\delta ({P}_{2}^{M})=5/4$ and $\delta ({C}_{10}^{M})=5/2$. ☐

**Proof** **of** **Theorem** **4.** Lemma 1 gives the upper bound. If $diamV({G}^{M})\le 2$, then Theorem 6 gives $\delta ({G}^{M})\ge 5/4>1\ge \frac{1}{2}diamV({G}^{M})$. If $diamV({G}^{M})>2$, then Theorem 6 gives $3\le diamV({G}^{M})\le 4$. Therefore, G is not a complete graph by Proposition 5. Thus, Theorem 8, Proposition 3 and Corollary 6 give $\delta ({G}^{M})\ge \delta \left({P}_{diamV(G)+1}^{M}\right)\ge \delta \left({P}_{diamV({G}^{M})+1}^{M}\right)$. Hence, if $diamV({G}^{M})=3$, then we have $\delta ({G}^{M})\ge 3/2=\frac{1}{2}diamV({G}^{M})$ by Proposition 3. If $diamV({G}^{M})=4$, then we have $\delta ({G}^{M})\ge 2=\frac{1}{2}diamV({G}^{M})$ by Proposition 3. ☐

**Proof** **of** **Theorem** **5.** By Theorem 4, we have $diamV({G}^{M})\le 3$. One can check that $diamV(G)\le 3$, and Theorem 8 gives $\delta (G)\le \delta ({G}^{M})$. ☐

**Proposition** **6.** Let ${K}_{n,m}$ be the complete bipartite graph with $n+m$ vertices. Then: **Proof.** As in the proof of Proposition 5, it suffices to show that $diam({K}_{n,m}^{M})=5/2$.

One can check that

$diamV({K}_{n,m}^{M})=2$, and for every

$x\in J({K}_{n,m}^{M})\setminus V({K}_{n,m}^{M})$, we have

${max}_{y\in {K}_{n,m}^{M}}d(x,y)=5/2$ (see

Figure 5); then,

$diam({K}_{n,m}^{M})=5/2$. ☐

## 7. The Case of 5/4

In order to characterize the Mycielskian graphs with hyperbolicity constant $5/4$, we define some families of graphs.

Denote by

${C}_{n}$ the cycle graph with

$n\ge 3$ vertices and by

$V({C}_{n}):=\{{v}_{1}^{(n)},\dots ,{v}_{n}^{(n)}\}$ the set of their vertices, such that

$\{{v}_{n}^{(n)},{v}_{1}^{(n)}\}\in E({C}_{n})$ and

$\{{v}_{i}^{(n)},{v}_{i+1}^{(n)}\}\in E({C}_{n})$ for

$1\le i\le n-1$. Let

${\mathcal{C}}_{6}$ be the set of graphs obtained from

${C}_{6}$ by adding a (proper or not) subset of the set of edges

$\{\{{v}_{2}^{(6)},{v}_{6}^{(6)}\}$,

$\{{v}_{4}^{(6)},{v}_{6}^{(6)}\}\}$. Let us define the set of graphs:

Let

${\mathcal{C}}_{7}$ be the set of graphs obtained from

${C}_{7}$ by adding a (proper or not) subset of the set of edges

$\{\{{v}_{2}^{(7)},{v}_{6}^{(7)}\}$,

$\{{v}_{2}^{(7)},{v}_{7}^{(7)}\}$,

$\{{v}_{4}^{(7)},{v}_{6}^{(7)}\}$,

$\{{v}_{4}^{(7)},{v}_{7}^{(7)}\}\}$. Define:

Let

${\mathcal{C}}_{8}$ be the set of graphs obtained from

${C}_{8}$ by adding a (proper or not) subset of the set

$\{\{{v}_{2}^{(8)},{v}_{6}^{(8)}\}$,

$\{{v}_{2}^{(8)},{v}_{8}^{(8)}\}$,

$\{{v}_{4}^{(8)},{v}_{6}^{(8)}\}$,

$\{{v}_{4}^{(8)},{v}_{8}^{(8)}\}\}$. Furthermore, let

${\mathcal{C}}_{8}^{\prime}$ be the set of graphs obtained from

${C}_{8}$ by adding a (proper or not) subset of

$\{\{{v}_{2}^{(8)},{v}_{8}^{(8)}\}$,

$\{{v}_{4}^{(8)},{v}_{6}^{(8)}\}$,

$\{{v}_{4}^{(8)},{v}_{7}^{(8)}\}$,

$\{{v}_{4}^{(8)},{v}_{8}^{(8)}\}\}$. Define:

Let

${\mathcal{C}}_{9}$ be the set of graphs obtained from

${C}_{9}$ by adding a (proper or not) subset of the set of edges

$\{\{{v}_{2}^{(9)},{v}_{6}^{(9)}\}$,

$\{{v}_{2}^{(9)},{v}_{9}^{(9)}\}$,

$\{{v}_{4}^{(9)},{v}_{6}^{(9)}\}$,

$\{{v}_{4}^{(9)},{v}_{9}^{(9)}\}\}$. Define:

Finally, we define the set

$\mathcal{F}$ by:

In [

53] (Lemma 3.21) appears the following result.

**Lemma** **11.** Let G be any graph. Then, $G\in \mathcal{F}$ if and only if there is a geodesic triangle $T=\{x,y,z\}$ in G that is a cycle with $x,y,z\in J(G)$, $L([xy]),L([yz]),L([zx])\le 3$ and $\delta (T)=3/2=d(p,[yz]\cup [zx])$ for some $p\in \left[xy\right]\cap V(G)$.

Finally, we obtain a simple characterization of the Mycielskian graphs with hyperbolicity constant $5/4$.

**Theorem** **10.** Let G be any graph. Then, $\delta ({G}^{M})=5/4$ if and only if $diamV(G)\le 2$ and ${G}^{M}\notin \mathcal{F}$.

**Proof.** If $\delta ({G}^{M})=5/4$, then ${G}^{M}\notin \mathcal{F}$. If $diamV(G)>2$, then Proposition 3 and Corollary 6 give $\delta ({G}^{M})\ge 3/2$.

Assume now $diamV(G)\le 2$ and ${G}^{M}\notin \mathcal{F}$.

If $diamV(G)=1$, then G is a complete graph, and Proposition 5 gives $\delta ({G}^{M})=5/4$.

If $diamV(G)=2$, then Lemma 8 gives $diamV({G}^{M})=2$, and thus, $diam({G}^{M})\le 3$.

If $diam({G}^{M})\le 5/2$, then Lemma 1 gives $\delta ({G}^{M})\le 5/4$, and we conclude $\delta ({G}^{M})=5/4$ by Theorem 1.

If $diam({G}^{M})=3$, then $\delta ({G}^{M})\le 3/2$ by Lemma 1. Besides, $\delta ({G}^{M})\ge 5/4$ by Theorem 1. Hence, Lemma 4 implies $\delta ({G}^{M})\in \left\{5/4,3/2\right\}$. Seeking for a contradiction, assume that $\delta ({G}^{M})=3/2$. By Lemma 3, there exists a geodesic triangle $T=\{x,y,z\}$ that is a cycle with $x,y,z\in J({G}^{M})$ and $\delta (T)=3/2=d(p,[yz]\cup [zx])$ for some $p\in \left[xy\right]$. Then, ${d}_{{G}^{M}}(p,\{x,y\})\ge {d}_{{G}^{M}}(p,\left[yz\right]\cup \left[zx\right])=3/2$ and ${d}_{{G}^{M}}(x,y)\ge 3$. Since $diam({G}^{M})=3$ and T is a cycle, we have $L([xy])=3$, $L([yz]),L([zx])\le 3$. Since $diamV({G}^{M})=2$, $x,y\in J({G}^{M})\setminus V({G}^{M})$, p is the midpoint of $\left[xy\right]$, and it is a vertex of ${G}^{M}$. Thus, Lemma 11 gives $G\in \mathcal{F}$, which is the contradiction we were looking for. Hence, $\delta ({G}^{M})\ne 3/2$, and we conclude $\delta ({G}^{M})=5/4$. ☐

We finish this work with a computational remark about Theorem 10.

Let us consider a graph $\Gamma $ with m edges, a vertex with degree $\Delta $ and the other vertices with degree at most ${\Delta}_{0}\le \Delta $. By choosing an edge $\{{v}_{{i}_{1}},{v}_{{i}_{2}}\}\in E(\Gamma )$, an edge $\{{v}_{{i}_{2}},{v}_{{i}_{3}}\}\in E(\Gamma )$,..., and an edge $\{{v}_{{i}_{a-1}},{v}_{{i}_{a}}\}\in E(\Gamma )$, we can obtain the set of all paths of length $a-1$ in time $O(m\Delta {\Delta}_{0}^{a-3})$; hence, we can compute all cycles with length a in time $O(m\Delta {\Delta}_{0}^{a-3})$. Therefore, it is possible to find a subgraph isomorphic to a fixed graph in ${\mathcal{C}}_{a}$ (or in ${\mathcal{C}}_{a}^{\prime}$) in time $O(m\Delta {\Delta}_{0}^{a-3})$. Note that there are 4, 16, 16, 16 and 16 graphs in ${\mathcal{C}}_{6}$, ${\mathcal{C}}_{7}$, ${\mathcal{C}}_{8}$, ${\mathcal{C}}_{8}^{\prime}$ and ${\mathcal{C}}_{9}$, respectively. Hence, we can find every subgraph of $\Gamma $ isomorphic to a graph in ${\mathcal{C}}_{6}\cup {\mathcal{C}}_{7}\cup {\mathcal{C}}_{8}\cup {\mathcal{C}}_{8}^{\prime}\cup {\mathcal{C}}_{9}$ in time $O(m\Delta {\Delta}_{0}^{6})$.

If G is a graph with n vertices, m edges and maximum degree $\Delta $, then ${G}^{M}$ is a graph with $3m+n$ edges, a vertex with degree n and the other vertices with degree at most $2\Delta $. Since $\Delta \le n-1$, we can know if either ${G}^{M}\in \mathcal{F}$ or ${G}^{M}\notin \mathcal{F}$ in time $O((3m+n)max\{2\Delta ,n\}{(2\Delta )}^{6})=O(nm{\Delta}^{6})$. Hence, to check the hypothesis ${G}^{M}\notin \mathcal{F}$ is a tractable problem from a computational viewpoint, by using the algorithm sketched before.