Let be a connected graph and let be the geodesic distance on . The metric spaces were characterized up to isometry for all finite connected by David C. Kay and Gary Chartrand in 1965. The main result of this paper expands this characterization on infinite connected graphs. We also prove that every metric space with integer distances between its points admits an isometric embedding in for suitable .
Let be vertices of
a connected graph . Then the
geodesic distance is the
minimum size of paths joining and
in . There are some important
interconnections between metric properties of the space and combinatorial properties
of , [7,14]. It should be noted here that almost all
of these interconnections were found for finite graphs. In particular,
the following theorem was proved by David C. Kay and Gary Chartrand in
[8].
Theorem 1.1. Let be a finite metric space. Then
is isometric to the space
for some finite
connected if and only if the
distance between every two points of is an integer and, for arbitrary with , there is such that lies between and .
The initial goal of the paper is to extend the above theorem to
connected graphs of arbitrary infinite order.
The paper is organized as follows. Section 2 contains some
definitions and facts from the theory of metric spaces and graph
theory.
The main results are given in Section 3. In Theorem 3.1, an extension of Theorem 1.1 to arbitrary infinite graphs is
proved.
In Theorem 3.3, we prove that each metric space with
integer distances between points admits an isometric embedding into
for some connected
. A weak version of Theorem 3.3 is given in Corollary 3.5 for metric spaces with arbitrary
distances between points.
A graph-theoretical reformulation of Menger’s results on isometric
embeddings in the real line is given in Conjecture 4.2 of
Section 4. An extremal property of pseudo-linear
quadruples is presented as a property of induced cycles in Conjecture 4.4.
2. Initial definitions and facts
Let us recall some concepts from the theory of metric spaces and
graph theory.
Definition 2.1. Let be a nonempty set. A metric on
is a function , such that for
all :
(i) ,
symmetry;
(ii) , non-negativity;
(iii) , triangle inequality.
The main isomorphisms of metric spaces are the so-called isometries
of such spaces.
Definition 2.2. The metric spaces and are isometric if there
is a bijective mapping such that for all . In this case, we say that
is an isometry of
and .
Let and be metric spaces. Recall that
is an isometric
embedding of in if (1)
holds for all . We say
that is isometrically
embedded in if there
exists an isometric embedding .
We will also use the concept of “metric betweenness”. In the theory
of metric spaces, the notion of “metric betweenness”, first appeared in
Menger’s paper [11].
Definition 2.3. Let be a metric space and let , be points of . One
says that lies between and if and
The relation “betweenness” is fundamental for the theory of geodesics
on metric spaces (see, e.g., [13]). Characteristic properties of the
ternary relations that are “metric betweenness” relations for
(real-valued) metrics were determined by Wald in [16]. Later, the problem of “metrization” of
betweenness relations (not necessarily by real-valued metrics) was
considered in [10,12] and [15]. An infinitesimal version of the metric
betweenness was studied in [1] and [6]. Paper [2] contains an explicit construction of
a minimal metric space
such that a metric space is
isometrically embedded in
if, among any three distinct points of , there is one that lies between the
others. An elementary proof of some Menger’s results was given in [5].
A graph is a pair consisting of a nonempty set and a (possibly empty) set whose elements are unordered pairs of
different points from . For a
graph , the sets and are called the set of
vertices and the set of edges, respectively. We say that
is nonempty if . If , then the vertices
and are adjacent. Recall that a
path is a nonempty graph
whose vertices can be numbered so that where . In this case, we say that is a path joining and and write
A graph is finite if
is a finite set, . The cardinal number
is called order of
. In this paper, we consider
graphs with arbitrary finite or infinite order.
A finite graph of order is called the cycle if there exists an enumeration of its vertices
such that
In this case, we write .
A graph is a subgraph
of a graph if
We write if is a subgraph of .
If and are subgraphs of , then the union is a subgraph of such that
A graph is connected
if for every two distinct there is a path joining and .
The following lemma is well-known.
Lemma 2.4. Let and be connected subgraphs of a graph
. If holds, then the union
also is a connected
subgraph of .
Let us now recall the concept of geodesic distance on graphs.
Definition 2.5. Let be a connected graph. For each two
vertices we define the
geodesic distance
as where is a
shortest path joining and in .
The following proposition is well-known but is usually formulated
without any proof. See, for example, [14] or Remark 1.16 in [9].
Proposition 2.6. Let be a connected graph. Then the geodesic
distance is a metric on .
Proof. It follows directly from (2)
that the function is symmetric
and, moreover, holds
iff . Thus, by Definition 2.1, the function is a metric on iff the triangle inequality holds for all .
Inequality (3) is trivially valid if
, , or . Suppose that
and are pairwise distinct.
Let us consider two paths and such that:
connects and ; connects and ; and
Write
Then and, consequently, is a connected subgraph of by Lemma 2.4. It
follows from (6) that
Hence, the geodesic distance is correctly defined, and, by Definition 2.5, the inequality holds.
Inequality (7) implies that (3) holds if
Let be a path
joining and in such that
It follows directly from the definition of paths that and
Now, using (4)–(5), (6), and (8)–(9) we obtain
Since belongs to , (11) implies
Similarly, it follows from and (10) that
Inequality (3) follows from (7), (12) and (13).
The proof is completed.
The following simple lemmas will be used in the next section of the
paper.
Lemma 2.7. Let be a connected graph and let . Then the vertices and are adjacent if and only if the
equality holds.
Lemma 2.8. Let be a connected graph, let and be different vertices of , and let be a shortest path joining and . Then every lies between and , whenever .
3. Metric betweennes and geodesic distance on graphs
The following theorem shows that the Kay–Chartrand characterization
of spaces is valid for
connected graphs of arbitrary
order.
In what follows, we denote by the set of all nonnegative
integers, .
Theorem 3.1. Let be a metric space. Then the
following statements are equivalent.
(i) There exists a connected graph such that the metric spaces and are isometric.
(ii) The inclusion holds and,
for any two points
satisfying the inequality , there is that
lies between and .
Proof.. Let be a connected
graph such that and are isometric. Then
inclusion (14) follows from Definitions 2.2 and 2.5.
Let us consider arbitrary such that . We need to show that there exists a point such that and
Let be an
isometry between the metric spaces and . Then the inequality holds by Definition 2.2. Let be a path in joining and such that
Inequality (17) implies . Consequently, there
is such that
Now, using Lemma 2.8 we obtain
Let be the
inverse of the mapping . Then and are isometries and,
consequently, we have and and
Equalities (19)–(20) imply and, in
addition we have by (18). Now, (15) and (16)
follow from (22) and (21) with .
. Let
statement be valid. Then we
consider a graph such that and for all .
We claim that is a connected
graph and that the equality is satisfied, which obviously implies .
It suffices to show that if ,
are distinct, then there
is a connected subgraph of
such that and . Let us consider
arbitrary different .
Write
It follows from (14) and (23) that is a positive integer. We construct the
required by
induction on .
If , then and adjacent in by (24). So we can define by
Suppose that we can construct for all , where
and that holds. Then using we can find satisfying (15) and (16).
Now, (15) and (16)
give us and
Consequently, by induction hypothesis, there are connected and such that and . Since , the
union is a
connected subgraph of by Lemma 2.4.
Write then is
connected and .
Thus, is a connected graph,
and, consequently, the geodesic distance is a correctly defined metric on
by Proposition 2.6.
To complete the proof, we must show that (25) holds. Let and be different points of . Assume first that . Then and are adjacent in . Hence, by Lemma 2.7, we
obtain
Thus, the equality holds if . Moreover, equality (26) holds by Definition 2.1 when .
Suppose now that
Then using statement we can
find some points such that and for every , and
It was noted above that (28) implies
Therefore, we can rewrite (29) in the form
The last equality and the triangle inequality give us the inequality
Let be a shortest path joining
and in , where and . It follows from (27) that since otherwise
contrary to
(27). Thus, holds.
Using Definition 2.5 we obtain the equality Now, we can rewrite
it as because, for every , the vertices and are adjecent that implies .
Equality (31) and the triangle
inequality imply
The last inequality and (30) give us
Equality (25) follows.
The proof is completed.
Analyzing the above proof, we obtain the following clarification of
Theorem 3.1.
Theorem 3.2. Let be a metric space and let
If, for any satisfying
, there is such that lies between and , then the graph defined by and is connected and the geodesic
distance satisfies the equality
The following theorem shows that metric spaces with integer distances
between points are subspaces of the spaces .
Theorem 3.3. Let be a metric space. Then the
following statements are equivalent.
(i) There is a connected graph such that is isometric to a subspace of .
(ii) The inclusion holds.
Proof.. Let hold. Then
directly follows from
Definition 2.5.
.
Suppose that inclusion (32) holds. Let us define a set
of two-point subsets of by the rule: iff and, for every , whenever
If , then follows from Theorem 3.1.
Let us consider the case when . For each we define a path such
that:
(1) , and for
any ;
(2) The equality holds;
(3) If , and , then the
intersection of the sets
and is empty.
Let us now define a graph as
follows: and, for all , and are adjacent iff either and , or for some .
We claim that is a connected
graph.
Let us consider two arbitrary distinct . It is enough to show that
there is a connected subgraph of such that and if and
.
Indeed, if and , then, by (33), there are and such that , and , and
Without less of generality we may assume that . Suppose that there is a
connected subgraph of
such that
Then Lemma 2.4 implies that the union also is a connected subgraph of . The cases , and ,
can be treated similarly,
so we omit the details here.
Suppose now that and
. If , then, by definition, and are adjacent in and, consequently, we may take with
If holds and , then the path defined as in is a connected subgraph of
, and , so we can set .
Let us consider now the case when (34) is valid but . Then, by definition
of , there exist some points
such that
and, for each , we have
The paths are connected subgraphs of . Consequently,
also is a connected subgraph of
by Lemma 2.4, and holds by definition of
.
Thus, is connected. To
complete the proof we must show that the equality holds for all .
Equality (38) holds if and only if we
have and
Let us prove (39).
If holds, then inequality (39) directly follows from
Definition 2.1.
Let hold. Then, by the definition of the graph , we obtain
Hence, by Lemma 2.7 the equality holds. Now, (39) follows from (41) and (42).
Let us consider now the case when and
holds.
Suppose that ,
and consider the path
satisfying conditions
with and . Then we have by definition of and by . Definition 2.5 and
equality (43) now imply (39).
If , then
there exist some points such that (35), (36) and (37) are valid. Using (37) we obtain
Moreover, we have by triangle inequality. Hence, holds by (36), (44) and (45). Thus inequality (39) is valid for all .
Let us prove (40) for all . Reasoning as above we see that
holds if . Thus if there are
such that (40) does not hold then
there are such that
but we have whenever
Let and satisfy the above conditions, and let
be a path in such
that and
The following two cases are possible:
We have whenever ;
There is such that and .
In the first case it follows from (33) and (48) that there is a path
satisfying conditions such that
Conditions and imply the equality
Now, using we see that (49) implies
Equalities (50) and (47) give us contrary to
(46).
Let us consider the case when there is such that
(49) holds and
By Lemma 2.8 we have
Moreover, (51) implies that
Now, it follows from (52) and (53) that
and
Hence, by definition of the points , the equalities hold. Now, using (52), the triangle
inequality in , and equalities
(54)–(55) we obtain which contradicts (46). Thus, (40) holds for all .
The proof is completed.
Corollary 3.4. Let be a metric space. Then the
following statements are equivalent.
(i) There is a connected graph such that is isometrically embedded in .
(ii) The distance between any two points of is an integer number.
Figure 1 The Egyptian triangle is isometrically embedded in the cycle endowed with the geodesic distance
Corollary 3.5. For every metric space there exists a connected graph
and an injective mapping such that for all
.
Proof. Let be the sailing
function,
for each . It is
known that, for each metric space , the function remains a metric on . (See, for example, [3, Corollary 1, p. 6]). Write for the metric on defined by (58). Since is integer for every
, Corollary 3.4 implies that the metric space is isometrically
embedded in for some
connected graph . Let be an isometric
embedding of
in . Then holds for all . Moreover, we have for every by (57). Now, (56) follows from (58)–(59).
4. Conclusion. Expected results
Let us denote by
the class of all metric spaces such that the equality holds whenever
.
The following is the particular case of the classical Menger’s result
on the isometric embeddings into Euclidean spaces.
Theorem 4.1. [11] Let be a metric
space with . Then
is isometric to some
subspace of .
It was also proved by K. Menger in [11], that a four-point metric space cannot be
isometrically embedded in if and only if the points of
can be labelled such that where and are some positive constants.
The ordered four-point metric spaces satisfying (60) are sometimes referred as
pseudo-linear quadruples. If (60) holds
with , then we say that the
corresponding is an equilateral pseudo-linear quadruple.
Recall that an infinite graph
of the form is called a ray.
Moreover, a graph is called a
double ray if and
The following conjecture presents a reformulation of the
above-mentioned Menger’s result in the language of graph theory. This
conjecture should be proved, at least partially.
Conjecture 4.2. Let be a nonempty connected graph. Then
if
and only if one of the following statements holds.
(i) is isomorphic to
a path.
(ii) is isomorphic to
the cycle .
(iii) is isomorphic
to a ray .
(iv) is isomorphic to
a double ray .
The following theorem is a special case of Theorem 1 of paper [4].
Theorem 4.3. Let be a metric space, and be an ordered
four-point subspace of . Write
Then we have
The equality in (61) is attained if and only if
is an
equilateral pseudo-linear quadruple.
Recall that a subgraph of a
graph is called an induced
subgraph of if any two
vertices of are adjacent in whenever these vertices are adjacent in
,
The next conjecture is a reformulation of the second path of
Theorem 4.3 for the case of geodesic distances on
graphs.
Conjecture 4.4. Let be a nonempty connected graph and let
be a four-point subspace of . Then the following
statements are equivalent.
(i) If is the induced
subgraph of and , then is a cycle.
(ii) The points of
can be ordered such that the ordered four-point subspace of is an equilateral
pseudo-linear quadruple.
Funding
The author was supported by grant 359772 of the Academy of
Finland.
Acknowledgments
The author expresses the gratitude to anonymous referees, whose
non-trivial remarks strongly helped in the preparing of the final
version of this paper.
Conflict of
interest
The author declares that there is no potential conflict of
interest.
References:
V. Bilet and O. Dovgoshey. Metric betweenness, ptolemaic spaces, and isometric embeddings of pre-tangent spaces in R. Journal of Mathematical Sciences, 182(4):22–36, 2012.
https://doi.org/10.1007/s10958-012-0726-2.
V. Bilet, O. Dovgoshey, M. Küçükaslan, and E. Petrov. Minimal universal metric spaces. Annales Academiae Scientiarum Fennicae Mathematica, 42(2):1019–1064, 2017.
https://doi.org/10.5186/aasfm.2017.4261.
O. Dovgoshey and D. Dordovskyi. Betweenness relation and isometric imbeddings of metric spaces. Siberian Mathematical Journal, 61(10):1556–1567, 2009.
https://doi.org/10.1007/s11253-010-0297-7.
O. Dovgoshey and D. Dordovskyi. Ultrametricity and metric betweenness in tangent spaces to metric spaces. P-Adic Numbers, Ultrametric Analysis, and Applications, 2(2):100–113, 2010.
https://doi.org/10.1134/S2070046610020020.
P. Hell and J. Nešetřil. Graphs and Homomorphisms, volume 28 of Oxford Lecture Series in Mathematics and its Applications. Oxford University Press, Oxford, 2004.
D. C. Kay and G. Chartrand. A characterization of certain ptolemaic graphs. Canadian Journal of Mathematics, 17:342–346, 1965.
https://doi.org/10.4153/CJM-1965-034-0.
U. Knauer and K. Knauer. Algebraic Graph Theory. Morphisms, Monoids and Matrices, volume 41 of De Gruyter Studies in Mathematics. Berlin: De Gruyter, 2nd revised and extended edition, 2019.
R. Mendris and P. Zlatoš. Axiomatization and undecidability results for metrizable betweenness relation. Proceedings of the American Mathematical Society, 123:873–882, 1995.
https://doi.org/10.2307/2160813.
A. Papadopoulos. Metric Spaces, Convexity and Nonpositive Curvature. 2nd edition, volume 6 of IRMA Lectures in Mathematics and Theoretical Physics. European Mathematical Society, Zürich, 2005.