1. Introduction
In this paper, the considered graphs are finite and simple; they have neither loops nor parallel edges. The vertex set of a graph H will be denoted by , while its edge set will be denoted by . Let be a graph. If , then we say u and v are neighbors, u and v are endpoints of e, v is a neighbor of u, and e is incident to u (also to v), and we say that u is incident to e. Two edges, and , are independent if . A matching M in G is a set of independent edges in G. The matching M is said to be a perfect match between the vertices of if the set of endpoints of edges in M is equal to S. The set of all neighbors of a vertex u is denoted by . The degree of a vertex u, denoted by , is the number of its neighbors. A leaf in G is a vertex of degree one. The length of a path or a cycle is the number of its edges. The distance between two vertices, x and y, in G, denoted by , is the length of the smallest path in G between x and y. The graph G is connected if there is a path between any two of its vertices. A graph is acyclic (also called a forest) if it has no cycle. A star T is a tree where one of the vertices, say x, is adjacent in T to all the other vertices of T; that is, the vertex set of a star T is . The subscript G in all of the previous notations is sometimes omitted if the graph is sufficiently clear from the context.
In addressing specific problems in graph theory, uncovering the structural properties of certain graphs often proves instrumental and informative, providing key insights that aid in tackling such challenges (for example, see [
1,
2,
3]).
The distribution of the degree of the vertices significantly influences the characterization and detection of structural patterns in a graph. For example, if the degree of every vertex is two, then
G is a disjointed union of cycles. In 1736, Euler proved that a connected graph
G has an Eulerian circuit if and only if the degree of every vertex is even [
4]; that is, we can traverse every edge exactly once starting from any vertex
x and returning back to
x. According to Brooks’ theorem [
5], if
G is a graph of maximum degree
k that is neither a clique nor an odd cycle, then its vertex set can be partitioned into, at most,
k stable sets. Moreover, according to Vizing’s theorem [
6], its edge set can be partitioned into
k or
sets of independent edges. Mader [
7,
8] proved that high average degree forces a given graph as a minor. Also, if the average degree of a graph is at least
, then it has a
-connected subgraph [
9]. It is well known that if
T is a tree on
n vertices and the minimum degree of a graph
G is at least
, then
G contains (a copy of)
T.
We investigate the structure of graphs in which any two distinct vertices of degree of at least three are separated by a distance of at least three. Leveraging this structural constraint, we derive an upper bound on the number of edges such graphs can possess. It will be shown that these graphs are sparse, meaning their edge count is significantly lower than the theoretical maximum
, where
n is the number of vertices (see Theorem 2). Such graphs are well-suited as underlying structures in sparse arc routing problems [
10,
11,
12]. In fact, in the literature on Capacitated Arc Routing Problems (CARP), the structure of the underlying graph plays a crucial role in modeling and algorithm design. For example, the work by Tfaili et al. [
10] studies CARP under sparse underlying graphs and shows that algorithmic solutions such as greedy heuristics and tabu-search can effectively exploit the small number of edges to solve min–max and robust variants of CARP under conditions of uncertainty. Similarly, Tfaili et al. [
11,
12] develop approaches for solving CARP on sparse graphs, including model transformations to sparse capacitated vehicle routing and specialized heuristics that take advantage of sparseness to construct feasible solutions and improve them efficiently with tabu search under dynamic graph settings. These studies focus specifically on routes defined over sparse graphs. Therefore, understanding and characterizing the structure of sparse underlying graphs can be exploited to further improve algorithmic performance.
2. Theoretical Results
We begin with the following simple lemma.
Lemma 1. Let G be a connected graph such that for any two distinct vertices with and , we have . Then, the sets with are disjoint.
Proof. Let with and . Since , ; hence, and .
Assume that there exists . Then, is a path in G between x and y. Hence, , which is a contradiction. Thus, . Therefore, . □
The existence of spanning trees with specified structural properties, such as bounded degree, bounded numbers of leaves, or branch vertices, has been extensively studied in graph theory (see the survey by Ozeki and Yamashita [
13]). In this context, the below lemma guarantees a spanning tree that preserves the degrees of high-degree vertices and other non-leaf vertices under a specific structural condition. This lemma serves as the cornerstone of our findings.
Lemma 2. Let G be a connected graph such that for any two distinct vertices with and , we have . Then, there is a spanning tree T of G such that
Proof. Let H be the graph defined by , and consists only of all the edges incident to vertices of a degree of at least 3. Note that H consists of disjoint stars only due to Lemma 1. So, H is an acyclic spanning graph of G. Let T be a maximal acyclic spanning subgraph of G containing H. Assume that T is not connected. Since and G are connected, we can find , which joins two connected components of T. Hence, is also the acyclic spanning graph of G containing H. This contradicts the maximality of T. Thus, T is connected. Since and T are connected and acyclic, T is a tree containing H. Now, suppose that such that . Then, . So, , and T is the required tree. Now, suppose that such that x is not a leaf of T. If , then we have already proved that . So, we may suppose that . Since x is not a leaf of T, . But . Then, . □
We observe that in the previous lemma, the condition “For any two distinct vertices with and , we have ” may be relaxed without compromising the validity of the result. Specifically, it suffices to impose the following weaker structural constraint: “The graph H with and is a forest.”
Theorem 1. Let G be a connected graph without leaves such that for any two distinct vertices with and , we have . Then, there is a spanning tree T of G, and there is a matching M in G such that
with ; we have .
such that x is not a leaf of T; we have .
and .
M is a perfect matching between the leaves of T.
Proof. By Lemma 2, there exists a spanning tree T of G such that
Now, we will show the existence of the perfect matching M between the leaves of T. Let y be any leaf of T. Since and , there is an edge for some vertex . Since , ; thus, . Hence, is the unique edge in incident to y. Again, since , . Hence, is a leaf of T. Therefore, is an edge between two leaves of T, and it is the unique edge in incident to y. Therefore, is a leaf of T, and is a perfect matching between the leaves of T.
According to the definition of M, we have . Now, we will prove that . Assume that there exists . If y is not a leaf of T, then according to the definition of T. Hence, , which is a contradiction. Suppose that y is a leaf of T. Then, there exists a unique edge (according to the definition of a leaf), and there exists a unique edge (according to the definition of M). Hence, and z are three distinct neighbors of y. Thus, . According to the definition of T, we get . Hence, , a contradiction. □
Corollary 1. Let G be a connected graph on n vertices without leaves such that for any two distinct vertices with and , we have . Then, .
Proof. Let G be a graph, as in the statement. By Theorem 1, there is a spanning tree T of G, and there is a matching M in G such that . Let l be the number of leaves of T. Note that . The result follows because and . □
Note that we consider the empty set to be a matching, and it is called the empty matching.
Theorem 2. Let G be a connected graph such that for any two distinct vertices with and , we have . Then, there is a spanning tree T of G, and there is a matching M (possibly empty) in G such that .
Proof. The proof proceeds by induction on . Clearly, the statement is true for small values of n. Let G be a graph, and suppose that . If G does not have a leaf, then the result follows according to Theorem 1. Otherwise, let u be a leaf of G and let . It is clear that removing a leaf does not create shorter distances between vertices of G that are of a degree at least 3. Let . According to the induction hypothesis, there exists a spanning tree of and a matching in such that . Take and . Then, is a spanning tree of G and . □
Corollary 2. Let G be a connected graph on n vertices such that for any two distinct vertices with and , we have . Then, .
Proof. Let G be a graph as in the statement. According to Theorem 2, there is a spanning tree T of G, and there is a matching M in G such that . The result follows because and . □