1. Introduction
The focus of the first works on Gromov hyperbolic spaces were finitely generated groups [
1]. Initially, the main application of hyperbolic spaces were the automatic groups (see, e.g., [
2]). This concept appears also in some algorithmic problems (see [
3] and the references therein). Besides, they are useful in the study of secure transmission of information on the internet [
4].
In [
5], the equivalence of the hyperbolicity of graphs and negatively curved surfaces was proved. The study of hyperbolic graphs is a topic of increasing interest (see, e.g., [
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28] and the references therein).
If is a continuous curve in the metric space , is a geodesic if for every . We say that X is a geodesic metric space if, for every , there exists a geodesic in X joining them. Let us denote by any geodesic joining x and y (this notation is very convenient although it is ambiguous, recall that we do not assume uniqueness of geodesics). Consequently, any geodesic metric space is connected.
will denote a non-trivial () simple graph such that we have defined a length function, denoted by or L, on the edges ; the length of a path is defined as . We assume that In order to consider a graph G as a geodesic metric space, identify (by an isometry ) any edge with the interval in the real line; then, the real interval is isometric to the edge (considered as a graph with a single edge). If and denotes the segment contained in joining x and y, we define the length of as . Thus, the points in G are the vertices and, in addition, the points in the interior of any edge .
We denote by
or
d the natural distance of the graph
G. If
belong to different connected components of
G, then let us define
. In
Section 3, we just consider graphs with every edge of length 1. Otherwise, if a graph
G has edges with different lengths, then we also assume that it is locally finite. These properties guarantee that any connected component of
G is a geodesic metric space.
If
X is a geodesic metric space and
, the union of three geodesics
,
and
is a
geodesic triangle that will be denoted by
and we will say that
and
are the vertices of
T; we can also write
. The triangle
T is
-
thin if any side of
T is contained in the
-neighborhood of the union of the two other sides. Let us denote by
the sharp thin constant of the geodesic triangle
T, i.e.,
We say that the space
X is
-
hyperbolic if every geodesic triangle in
X is
-thin. Let us define:
The geodesic metric space X is hyperbolic if it is -hyperbolic for some ; then, X is hyperbolic if and only if If Y is the union of geodesic metric spaces , we define its hyperbolicity constant by , and we say that Y is hyperbolic if .
To relate hyperbolicity with other properties of graphs is an interesting problem. The papers [
6,
9,
28] prove, respectively, that chordal,
k-chordal and edge-chordal graphs are hyperbolic; these results are improved in [
23]. In addition, several authors have proved results on hyperbolicity for some particular classes of graphs (see, e.g., [
21,
29,
30,
31]).
A geometric graph is a graph in which the vertices or edges are associated with geometric objects. Two of the main classes of geometric graphs are Euclidean graphs and intersection graphs. A graph is Euclidean if the vertices are points in and the length of each edge connecting two vertices is the Euclidean distance between them (this makes a lot of sense with the cities and roads analogy commonly used to describe graphs). An intersection graph is a graph in which each vertex corresponds with a set, and two vertices are connected by an edge if and only if their corresponding sets have non-empty intersection. In this paper, we work with interval graphs (a class of intersection graphs) and indifference graphs (a class of Euclidean graphs).
We say that
G is an
interval graph if it is the intersection graph of a family of intervals in
: there is a vertex for each interval in the family, and an edge joins two vertices if and only if the their corresponding intervals intersect. Usually, we consider that every edge of an interval graph has length 1, but we also consider interval graphs whose edges have different lengths. It is well-known that interval graphs are always chordal graphs [
32,
33]. The complements of interval graphs also have interesting properties: they are comparability graphs [
34], and the comparability relations are the interval orders [
32]. The theory of interval graphs was developed focused on its applications by researchers at the RAND Corporation’s mathematics department (pp. ix–10, [
35]).
An
indifference graph is an interval graph whose vertices correspond to a set of intervals with length 1, and the length of the corresponding edge to two unit intervals that intersect is the distance between their midpoints. In addition, we can see an indifference graph as an Euclidean graph in
constructed by taking the vertex set as a subset of
and two vertices are connected by an edge if and only if they are within one unit from each other. Since it is a Euclidean graph, the length of each edge connecting two vertices is the Euclidean distance between them. Indifference graphs possess several interesting properties: connected indifference graphs have Hamiltonian paths [
36]; an indifference graph has a Hamiltonian cycle if and only if it is biconnected [
37]. In the same direction, we consider indifference graphs since for these graphs we can remove one of the hypothesis of a main theorem on interval graphs (compare Theorem 8 and Corollary 6).
We would like to mention that Ref. [
38] collects very rich results, especially those concerning path properties, about interval graphs and unit interval graphs. It is well-known that interval graphs (with a very weak hypothesis) and indifference graphs are hyperbolic. One of the main results in this paper is Theorem 8, which provides a sharp upper bound of the hyperbolicity constant of interval graphs verifying a very weak hypothesis. This result allows for obtaining bounds for the hyperbolicity constant of every indifference graph (Corollary 6) and the hyperbolicity constant of every interval graph with edges of length 1 (Corollary 7). Moreover, Theorem 10 provides sharp bounds for the hyperbolicity constant of the complement of any interval graph with edges of length 1. Note that it is not usual to obtain such precise bounds for large classes of graphs. The main result in this paper is Theorem 9, which allows for computing the hyperbolicity constant of every interval graph with edges of length 1, by using geometric criteria.
2. Previous Results
We collect some previous results that will be useful along the paper.
A cycle is a path with different vertices, unless the last vertex, which is equal to the first one.
Lemma 1. ([39] Lemma 2.1) Let us consider a geodesic metric space X. If every geodesic triangle in X that is a cycle is δ-thin, then X is δ-hyperbolic.
Corollary 1. In any geodesic metric space X,
Recall that a chordal graph is one in which all cycles of four or more vertices have a chord, which is an edge that is not part of the cycle but connects two vertices of the cycle.
If C is a cycle in G and , we denote by the degree of the vertex v in the subgraph Γ induced by (note that Γ could contain edges that are not contained in C, and thus it is possible to have ).
Lemma 2. ([9] Lemma 2.2) Consider a chordal graph G and a cycle C in G with and . If , then .
Corollary 2. Consider a cycle C in a chordal graph G and consecutive vertices in C. If , then . Consequently, if C has at least four vertices, then and .
Let be the set of vertices and midpoints of edges in G. Consider the set of geodesic triangles T in G that are cycles and such that the three vertices of the triangle T belong to , and denote by the infimum of the constants such that every triangle in is -thin.
Theorem 1. ([40] Theorem 2.5) For every graph G with edges of length 1,
we have .
The next result will narrow the possible values for the hyperbolicity constant.
Theorem 2. ([40] Theorem 2.6) If G is a hyperbolic graph with edges of length 1,
then is a multiple of .
Theorem 3. ([40] Theorem 2.7) If G is a hyperbolic graph with edges of length 1,
then there exists a geodesic triangle such that .
In the following theorems, we study the graphs G with .
Theorem 4. ([41] Theorem 11) If G is a graph with edges of length 1
with , then we have either or . Furthermore,
Corollary 3. A graph G with edges of length 1 satisfies if and only if there exists a cycle in G with length at least 4.
In order to characterize from a geometric viewpoint the interval graphs with hyperbolicity constant 1, we need the following result, which is a direct consequence of Theorems 2 and 4, and ([
7] Theorem 4.14).
Theorem 5. Let G be any graph with edges of length 1. We have if and only if and, for every cycle C in G and every we have .
Theorems 4 and 5 have the following consequences.
Corollary 4. Let G be any graph with edges of length 1. We have if and only if, for every cycle C in G and every we have .
By Theorems 2 and 4, and ([
7] Theorems 4.14 and 4.21), we have the following result.
Theorem 6. Let G be any graph with edges of length 1. If there exists a cycle in G with and , then .
We will also need this last result.
Theorem 7. ([41] Theorem 30) If G is any graph with edges of length 1
and n vertices, then .
3. Interval Graphs and Hyperbolicity
Given a cycle
C in an interval graph
G, let
be the vertices in
G with
Denote by the corresponding intervals to . If , then let us define the minimal interval of C as the interval with for every and if with and , and the maximal interval of C as the interval with for every and if with and . If , and , then we define and .
If H is a subgraph of G and , we denote by the degree of the vertex w in the subgraph induced by .
For any graph
G,
i.e.,
is the diameter of the set of vertices of
G, and
is the diameter of the whole graph
G (recall that in order to have a geodesic metric space,
G must contain both the vertices and the points in the interior of any edge of
G).
The following result is well-known.
Lemma 3. For any geodesic triangle T in a graph G, we have .
Corollary 5. The inequalitieshold for every graph G.
A graph G is length-proper if every edge is a geodesic. A large class of length-proper graphs are the graphs with edges of length 1. Another important class of length-proper graphs are the following geometric graphs: consider a discrete set V in an Euclidean space (or in a metric space) where we consider two points connected by an edge if some criterium is satisfied. If we define the length of an edge as the distance between its vertices, then we obtain a length-proper graph.
It is well-known that every interval graph is chordal. Hence, every length-proper interval graph is hyperbolic. The following result is one of the main theorems in this paper, since it provides a sharp inequality for the hyperbolicity constant of any length-proper interval graph. Recall that .
Theorem 8. Every length-proper interval graph G satisfies the sharp inequality Proof. Consider a geodesic triangle
that is a cycle in
G and
. Assume first that
T satisfies the following property:
Consider the consecutive vertices in the cycle T, and their corresponding intervals . As before, we denote by and the minimal and maximal intervals, respectively.
If
, then
and Lemma 3 gives:
Assume now that .
Case . Assume that . Let with and .
Case
. If
, then Lemma 2 gives
, and there exists
with
such that
is not contained in
T. By (
1),
and so:
Case
. If
, then
is not contained in
T, since
T is a cycle and
. By (
1),
is not contained in
, and:
Case . Assume that . Let with and . Corollary 2 gives that we have or .
Case . Assume that .
Case
. If
, then:
Case
. Assume that
. Since
, there exists
with
such that
is not contained in
T. By (
1),
and so:
Case
. Assume that
and
. Let
with
,
and
. Corollary 2 gives that we have
. By (
1), we have that
is not contained in
, and:
Inequalities (
2)–(
7) give in every case
.
Consider now a geodesic triangle
that does not satisfy property (
1). We are going to obtain a new geodesic
joining
x and
y such that the geodesic triangle
satisfies (
1).
Let us define inductively a finite sequence of geodesics joining x and y in the following way:
If , then .
Assume that
. If the geodesic triangle
satisfies (
1), then
and the sequence stops. If
does not satisfy (
1), then there exists
such that
and
is not contained in
. Denote by
the geodesic joining
a and
b contained in
. Let us define
. Note that
and
.
Since
for any
, this sequence must finish with some geodesic
such that the geodesic triangle
satisfies (
1). Thus, define
. Hence,
and so
.
Let us consider .
If , then, by applying the previous argument to the geodesic triangle , we obtain . Assume that .
Since
, there exist
with
such that, if
denotes the geodesic joining
v and
w contained in
, then:
Since
and
are geodesics, we have
. Thus, we can define
as the point in
with
and
. By applying the previous argument to
and
, we obtain
. Since
belongs to the edge
, we have
or
. By symmetry, we can assume that
. Since
, we have:
Finally, Corollary 1 gives .
Proposition 1 below shows that the inequality is sharp. ☐
Note that, if we remove the hypothesis , then there are non-hyperbolic length-proper interval graphs: if Γ is any graph such that every cycle in Γ has exactly three vertices and is a cycle in Γ , then Γ is a non-hyperbolic chordal graph. Some of these graphs Γ are length-proper interval graphs.
Recall that every indifference graph is an Euclidean graph. Hence, every indifference graph G is a length-proper graph and .
Theorem 8 has the following direct consequence.
Corollary 6. Every indifference graph G satisfies the inequality: 4. Interval Graphs with Edges of Length 1
Along this section, we just consider graphs with edges of length 1. This is a very usual class of graphs. Note that every graph G with edges of length 1 is a length-proper graph with .
The goal of this section is to compute the precise value of the hyperbolicity constant of every interval graph with edges of length 1 (see Theorem 9). We wish to emphasize that it is unusual to be able to compute the hyperbolicity constant of every graph in a large class of graphs. Let us start with a direct consequence of Theorem 8.
Corollary 7. Every interval graph G with edges of length 1
satisfies the inequality: First of all, we characterize the interval graphs with edges of length 1 and in Proposition 1 below. Furthermore, Proposition 1 shows that the inequality in Theorem 8 is sharp.
Let G be an interval graph. We say that G has the -intersection property if there exists two disjoint intervals and corresponding to vertices in a cycle C in G such that there is no corresponding interval I to a vertex in G with and .
Proposition 1. An interval graph G with edges of length 1 satisfies if and only if G has the -intersection property.
Proof. Assume that G has the -intersection property. Thus, there exist two disjoint corresponding intervals and to vertices in a cycle C in G such that there is no corresponding interval I to a vertex in G with and . If and are the corresponding vertices to and , respectively, then and . Thus, Theorem 6 gives and, since by Corollary 7, we conclude .
Assume now that G does not have the -intersection property. Seeking for a contradiction, assume that . By Theorem 3, there exist a geodesic triangle that is a cycle in G and such that and . Since , we have . Since G does not have the -intersection property, for each two disjoint corresponding intervals and to vertices in the cycle T, there exists a corresponding interval I to a vertex in G with and . If and are the corresponding vertices to and , respectively, then and . We conclude that and . Since with , we have , , , and p is the midpoint of . Thus and . If and , then . Let be the corresponding intervals to the vertices respectively. We can assume that and thus and since , . Thus, there exists . Since and T is a cycle containing by continuity, there exists a corresponding interval J to a vertex with . Thus, and , which is a contradiction. Hence, . ☐
Corollary 7 and Theorems 2 and 4 give that for every interval graph G with edges of length 1. Proposition 1 characterizes the interval graphs with edges of length 1 and . In order to characterize the interval graphs with the other values of the hyperbolicity constant, we need some definitions.
Let G be an interval graph.
We say that G has the 0-intersection property if, for every three corresponding intervals , and to vertices in G, we have .
G has the -intersection property if it does not have the 0-intersection property and for every four corresponding intervals , , and to vertices in G we have or .
By a couple of intervals in a cycle C of G, we mean the union of two non-disjoint intervals whose corresponding vertices belong to C. We say that G has the 1-intersection property if it does not have the 0 and -intersection properties and, for every cycle C in G, each interval and a couple of corresponding intervals to vertices in C are not disjoint.
One can check that every chordal graph that has a cycle with length of at least four has a cycle with length four and, since this cycle has a chord, it also has a cycle with length three.
Next, we provide a characterization of the interval graphs with hyperbolicity constant 0. It is well-known that these are the caterpillar trees, see [
42], but we prefer to characterize them by the 0-intersection property in Proposition 2 below, since it looks similar to the other intersection properties.
Proposition 2. An interval graph G with edges of length 1 satisfies if and only if G has the 0-intersection property.
Proof. By Theorem 4, if and only if G is a tree. Since every interval graph is chordal, G is not a tree if and only if it contains a cycle with length 3, and this last condition holds if and only if there exist three corresponding intervals , and to vertices in G with . Hence, G has a cycle if and only if it does not have the 0-intersection property. ☐
Proposition 3. An interval graph G with edges of length 1 satisfies if and only if G has the -intersection property.
Proof. By Theorem 4, if and only if G is not a tree and every cycle in G has length 3. Proposition 2 gives that G is not a tree if and only if G does not have the 0-intersection property. Therefore, it suffices to show that every cycle in G has length 3, if and only if for every four corresponding intervals , , and to vertices in G, we have or .
Since every interval graph is chordal, G has a cycle with length at least 4 if and only if it has a cycle C with length 4 and this cycle has at least a chord.
Assume first that there exists such a cycle C. If are the corresponding intervals to the vertices in C and corresponds to vertices with a chord, and then and .
Assume now that there are corresponding intervals to the vertices in G with and . Thus, and , and so is a cycle in G with length 4. ☐
Proposition 4. An interval graph G with edges of length 1 satisfies if and only if G has the 1-intersection property.
Proof. By Theorem 5, if and only if , and, for every cycle C in G and every , we have . Propositions 2 and 3 give that if and only if G does not have the 0 and -intersection properties. Therefore, it suffices to show that for every cycle C in G, we have for every if and only if each interval and couple of corresponding intervals to vertices in C are not disjoint.
Fix a cycle C in G. Each interval and couple of corresponding intervals to vertices in C are not disjoint if and only if for every and . Since every point in has a point in at distance , this last condition is equivalent to for every . ☐
Finally, we collect the previous geometric characterizations in the following theorem. Note that the characterization of
in Theorem 9 is much simpler than the one in [
7]. Recall that to characterize the graphs with hyperbolicity
is a very difficult task, as it was shown in ([
7] Remark 4.19).
Theorem 9. Every interval graph G with edges of length 1 is hyperbolic and . Furthermore,
if and only if G has the 0-intersection property.
if and only if G has the -intersection property.
if and only if G has the 1-intersection property.
if and only if G does not have the 0, , 1 and -intersection properties.
if and only if G has the -intersection property.
Complement of Interval Graphs
The complement of the graph G is defined as the graph with and such that if and only if . Recall that, for every disconnected graph G, we define as the supremum of , where varies in the set of connected components of G.
We consider that the length of the edges of every complement graph is 1.
If Γ is a subgraph of
G, we consider in Γ the
inner metric obtained by the restriction of the metric in
G, that is:
Note that the inner metric is the usual metric if we consider the subgraph Γ as a graph.
Since the complements of interval graphs belong to the class of comparability graphs [
34], it is natural to also study the hyperbolicity constant of complements of interval graphs. In order to do it, we need some preliminary results and the following technical lemma.
Lemma 4. Let G be an interval graph with edges of length 1, and corresponding intervals . We have if and only if there exists an interval with for every and , where is the corresponding interval graph to . Furthermore, if this is the case, then .
Proof. Assume that
. Let
for
. Consider integers
satisfying:
Since
, we have
. Thus,
and there exists
i with
. Hence,
and
. Thus, (
8) gives
for every
, and we deduce
for every
.
Seeking for a contradiction assume that . Thus, for every with . Furthermore, we have proved for every . Therefore, for every and we conclude , which is a contradiction. Hence, .
The converse implication is well-known.
Finally, since
for every
with
, we have
and:
☐
Note that it is not usual to obtain such close lower and upper bounds for a large class of graphs. Some inequalities are not difficult to prove; the most difficult cases are the upper bound when (recall that this is the more difficult case in the study of the complement of a graph), and the lower bound when .
Theorem 10. Let G be any interval graph.
If , then .
If , then .
If , then .
Furthermore, the lower bounds on are sharp.
Proof. If , then G is a complete graph. Thus, is a union of isolated vertices and .
Let us prove now the upper bounds.
It is well-known that if , then is connected and . Therefore, Corollary 5 gives .
If
, then ([
43] Theorem 2.14) gives
.
Assume now that
. By Lemma 4, there exists an interval graph
with
,
and
. Let us define inductively a finite sequence of interval graphs
with:
in the following way:
If , then .
If , then
Assume that
. If
, then
and the sequence stops. If
, then Lemma 4 provides an interval graph
with:
and we define
.
Since
for
and the diameter of a graph with just a vertex is 0, this sequence must finish with some graph
satisfying
. Thus,
We prove now that if . Let us fix any graph G with . Thus, there exists a geodesic in G. If Γ is the subgraph of induced by , then . Consider the cycle in Γ. If p is the midpoint of , then and so Corollary 4 gives . Therefore, Theorem 2 gives . Since Γ is an induced subgraph of , if g is a path in joining and and g is not contained in Γ, then . Since , we have for every ; consequently, for every , i.e., Γ is an isometric subgraph of . Hence, the geodesic triangles in Γ are also geodesic triangles in , and we have .
Let us show now that the lower bounds on are sharp. Recall that the path graph with n vertices is a graph with and .
Consider the path graph with four vertices . Since , we have and .
Consider the path graph with five vertices . Since , we have . Note that has five vertices and thus Theorem 7 gives . Hence, we conclude . ☐
Corollary 8. If G is any interval graph with edges of length 1,
then Note that we can not improve the trivial lower bound , since it is attained if G is any tree.
Corollary 9. If G is any interval graph with edges of length 1,
then In addition, for every graph G with .