Next Article in Journal
A Long Short-Term Memory with Deep Q-Learning and Bayesian Optimization Control Framework for Robust Position Regulation of Uncertain Electro-Hydraulic Actuators
Next Article in Special Issue
A Graph-Theoretical and Machine Learning Approach for Predicting Physicochemical Properties of Anti-Cancer Drugs
Previous Article in Journal
Analytical and Numerical Solution to a Novel Partial Differential Equation of the Optimal Investment–Consumption Combination Problem
Previous Article in Special Issue
On Even Vertex Magic Total Labelings of Plus Wheels and Some Wheel-Related Graphs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Structure of Graphs Whose Vertices of Degree at Least Three Are at a Distance of at Least Three

College of Engineering and Technology, American University of the Middle East, Egaila 54200, Kuwait
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(4), 637; https://doi.org/10.3390/math14040637
Submission received: 15 January 2026 / Revised: 6 February 2026 / Accepted: 10 February 2026 / Published: 11 February 2026
(This article belongs to the Special Issue Graph Theory and Applications, 3rd Edition)

Abstract

Let G be a connected graph in which the distance between any two distinct vertices of degree of at least three is at least three. We find the structure of G. It turns out that G decomposes into a tree and a matching.
MSC:
05C05; 05C07; 05C12; 05C75

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 V ( H ) , while its edge set will be denoted by E ( H ) . Let G = ( V , E ) be a graph. If e = u v E , 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, e = u v and e = u v , are independent if { u , v } { u , v } = ϕ . 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 S V 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 N G ( u ) . The degree of a vertex u, denoted by d G ( u ) , 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 d i s t G ( x , y ) , 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 { x } N T ( x ) . 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 k + 1 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 4 k , then it has a ( k + 1 ) -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 n 1 , 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 n ( n 1 ) 2 , 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 x , y V ( G ) with d G ( x ) 3 and d G ( y ) 3 , we have d i s t G ( x , y ) 3 . Then, the sets { x } N G ( x ) , x V ( G ) with d G ( x ) 3 are disjoint.
Proof. 
Let x y V ( G ) with d G ( x ) 3 and d G ( y ) 3 . Since d i s t G ( x , y ) 3 , x y E ( G ) ; hence, x N ( y ) and y N ( x ) .
Assume that there exists z N G ( x ) N G ( y ) . Then, x z y is a path in G between x and y. Hence, d i s t G ( x , y ) 2 , which is a contradiction. Thus, N G ( x ) N G ( y ) = Ø . Therefore, ( { x } N G ( x ) ) ( { y } N G ( y ) ) = Ø . □
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 x , y V ( G ) with d G ( x ) 3 and d G ( y ) 3 , we have d i s t G ( x , y ) 3 . Then, there is a spanning tree T of G such that
  • x V ( G ) with d G ( x ) 3 ; we have d T ( x ) = d G ( x ) .
  • x V ( G ) such that x is not a leaf of T; we have d T ( x ) = d G ( x ) .
Proof. 
Let H be the graph defined by V ( H ) = V ( G ) , and E ( H ) 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 T G and G are connected, we can find e E ( G ) , which joins two connected components of T. Hence, T + e is also the acyclic spanning graph of G containing H. This contradicts the maximality of T. Thus, T is connected. Since H T and T are connected and acyclic, T is a tree containing H. Now, suppose that x V ( G ) such that d G ( x ) 3 . Then, d G ( x ) d T ( x ) d H ( x ) = d G ( x ) . So, d T ( x ) = d G ( x ) , and T is the required tree. Now, suppose that x V ( G ) such that x is not a leaf of T. If d G ( x ) 3 , then we have already proved that d T ( x ) = d G ( x ) . So, we may suppose that d G ( x ) 2 . Since x is not a leaf of T, d T ( x ) 2 . But d G ( x ) d T ( x ) . Then, d G ( x ) = d T ( x ) = 2 . □
We observe that in the previous lemma, the condition “For any two distinct vertices x , y V ( G ) with d G ( x ) 3 and d G ( y ) 3 , we have d i s t G ( x , y ) 3 ” may be relaxed without compromising the validity of the result. Specifically, it suffices to impose the following weaker structural constraint: “The graph H with V ( H ) = V ( G ) and E ( H ) = { x y E ( G ) ; d G ( x ) 3 } is a forest.”
Theorem 1.
Let G be a connected graph without leaves such that for any two distinct vertices x , y V ( G ) with d G ( x ) 3 and d G ( y ) 3 , we have d i s t G ( x , y ) 3 . Then, there is a spanning tree T of G, and there is a matching M in G such that
  • x V ( G ) with d G ( x ) 3 ; we have d T ( x ) = d G ( x ) .
  • x V ( G ) such that x is not a leaf of T; we have d T ( x ) = d G ( x ) .
  • E ( G ) = E ( T ) M and E ( T ) M = Ø .
  • M is a perfect matching between the leaves of T.
Proof. 
By Lemma 2, there exists a spanning tree T of G such that
  • x V ( G ) with d G ( x ) 3 ; we have d T ( x ) = d G ( x ) .
  • x V ( G ) such that x is not a leaf of T; we have d T ( x ) = d G ( x ) .
Now, we will show the existence of the perfect matching M between the leaves of T. Let y be any leaf of T. Since d G ( y ) 2 and d T ( y ) = 1 , there is an edge e = y y E ( G ) \ E ( T ) for some vertex y . Since d G ( y ) d T ( y ) , d G ( y ) 2 ; thus, d G ( y ) = 2 . Hence, e = y y is the unique edge in E ( G ) \ E ( T ) incident to y. Again, since e = y y E ( G ) \ E ( T ) , d G ( y ) d T ( y ) . Hence, y is a leaf of T. Therefore, e = y y is an edge between two leaves of T, and it is the unique edge in E ( G ) \ E ( T ) incident to y. Therefore, M = { y y ; y is a leaf of T, and y y E ( G ) \ E ( T ) } is a perfect matching between the leaves of T.
According to the definition of M, we have E ( T ) M = Ø . Now, we will prove that E ( G ) = E ( T ) M . Assume that there exists e = y z E ( G ) \ ( E ( T ) M ) . If y is not a leaf of T, then d T ( y ) = d G ( y ) according to the definition of T. Hence, e E ( T ) , which is a contradiction. Suppose that y is a leaf of T. Then, there exists a unique edge y x E ( T ) (according to the definition of a leaf), and there exists a unique edge y y M (according to the definition of M). Hence, x , y and z are three distinct neighbors of y. Thus, d G ( y ) 3 . According to the definition of T, we get d T ( y ) = d G ( y ) . Hence, e = y z E ( T ) , a contradiction. □
Corollary 1.
Let G be a connected graph on n vertices without leaves such that for any two distinct vertices x , y V ( G ) with d G ( x ) 3 and d G ( y ) 3 , we have d i s t G ( x , y ) 3 . Then, n | E ( G ) | 3 2 ( n 1 ) .
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 E ( G ) = E ( T ) M . Let l be the number of leaves of T. Note that l n 1 . The result follows because | E ( T ) | = n 1 and | M | l 2 n 1 2 . □
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 x , y V ( G ) with d G ( x ) 3 and d G ( y ) 3 , we have d i s t G ( x , y ) 3 . Then, there is a spanning tree T of G, and there is a matching M (possibly empty) in G such that E ( G ) = E ( T ) M .
Proof. 
The proof proceeds by induction on n = | V ( G ) | . Clearly, the statement is true for small values of n. Let G be a graph, and suppose that | V ( G ) | = n . 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 v u E ( G ) . 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 G = G u . According to the induction hypothesis, there exists a spanning tree T of G and a matching M in G such that E ( G ) = E ( T ) M . Take T = T + v u and M = M . Then, T is a spanning tree of G and E ( G ) = E ( T ) M . □
Corollary 2.
Let G be a connected graph on n vertices such that for any two distinct vertices x , y V ( G ) with d G ( x ) 3 and d G ( y ) 3 , we have d i s t G ( x , y ) 3 . Then, n 1 | E ( G ) | 3 2 n 1 .
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 E ( G ) = E ( T ) M . The result follows because | E ( T ) | = n 1 and | M | n 2 . □

3. Conclusions

We have identified the structure of the graphs in which every pair of distinct vertices of degree of at least three is separated by a distance of at least three. In particular, we demonstrated that such graphs can be decomposed into the union of a tree and a matching. This naturally leads to a broader question: Can a similar structural characterization be established for graphs in which vertices of degree of at least four are mutually at a distance of at least three? More generally, what structural properties emerge when the degree threshold is replaced by an arbitrary integer k 3 ?

Author Contributions

Conceptualization, S.G. and S.K.; Methodology, S.G. and S.K.; Validation, S.G. and S.K.; Formal analysis, S.G. and S.K.; Investigation, S.G. and S.K.; Writing—original draft, S.G. and S.K.; Writing—review & editing, S.G. and S.K.; Funding acquisition, S.G. and S.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

No new data were created or analyzed in this study.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Ghazal, S. Seymour’s Second Neighborhood Conjecture for Tournaments Missing a Generalized Star. J. Graph Theory 2012, 71, 89–94. [Google Scholar] [CrossRef]
  2. Ghazal, S. The structure of graphs with forbidden induced C4, C ¯ 4, C5, S3, chair and co-chair. Electron. J. Graph Theory Appl. 2018, 6, 219–227. [Google Scholar] [CrossRef]
  3. Al-Mniny, D.; Ghazal, S. The second neighborhood conjecture for oriented graphs missing {C4, C ¯ 4, S3, chair and co-chair}-free graph. Australas. J. Comb. 2021, 81, 58–88. [Google Scholar]
  4. Hierholzer, C.; Wiener, C. Ueber die Möglichkeit, einen Linienzug ohne Wiederholung und ohne Unterbrechung zu umfahren. Math. Ann. 1873, 6, 30–32. [Google Scholar] [CrossRef]
  5. Brooks, R.L. On colouring the nodes of a network. Math. Proc. Camb. Philos. Soc. 1941, 37, 194–197. [Google Scholar] [CrossRef]
  6. Vizing, V.G. On an estimate of the chromatic class of a p-graph. Diskret. Analiz. 1964, 3, 25–30. [Google Scholar]
  7. Mader, W. Homomorphieeigenschaften und mittlere Kantendichte von Graphen. Math. Ann. 1967, 174, 265268. [Google Scholar] [CrossRef]
  8. Mader, W. Homomorphiesätze für Graphen. Math. Ann. 1968, 178, 154168. [Google Scholar] [CrossRef]
  9. Mader, W. Existenz n-fach zusammen-hängender Teilgraphen in Graphen genüangendergend großer Kantendichte. Abh. Math. Sem. Univ. Hambg. 1972, 37, 86–97. [Google Scholar] [CrossRef]
  10. Tfaili, S.; Sbihi, A.; Yassine, A.; Diarrassouba, I. Capacitated Arc Routing Problem over Sparse Underlying Graph under Travel Costs Uncertainty. In Proceedings of the 7th International Conference on Operations Research and Enterprise Systems—Volume 1: ICORES; SCITEPRESS—Science and Technology Publications, Lda.: Setúbal, Portugal, 2018; pp. 144–151. [Google Scholar] [CrossRef]
  11. Tfaili, S.; Sbihi, A.; Yassine, A.; Diarrassouba, I. An Efficient Algorithm Based Tabu Search for the Robust Sparse CARP Under Travel Costs Uncertainty. In Operations Research and Enterprise Systems. ICORES 2018; Parlier, G., Liberatore, F., Demange, M., Eds.; Communications in Computer and Information Science; Springer: Cham, Switzerland, 2018; Volume 966. [Google Scholar] [CrossRef]
  12. Tfaili, S.; Sbihi, A.; Yassine, A. Efficient algorithms under dynamic graphs to solve the Capacitated Arc Routing Problem with feasible sparse graph. RAIRO Oper. Res. 2019, 53, 303–322. [Google Scholar] [CrossRef]
  13. Ozeki, K.; Yamashita, T. Spanning Trees: A Survey. Graphs Comb. 2011, 27, 1–26. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ghazal, S.; Karam, S. The Structure of Graphs Whose Vertices of Degree at Least Three Are at a Distance of at Least Three. Mathematics 2026, 14, 637. https://doi.org/10.3390/math14040637

AMA Style

Ghazal S, Karam S. The Structure of Graphs Whose Vertices of Degree at Least Three Are at a Distance of at Least Three. Mathematics. 2026; 14(4):637. https://doi.org/10.3390/math14040637

Chicago/Turabian Style

Ghazal, Salman, and Steve Karam. 2026. "The Structure of Graphs Whose Vertices of Degree at Least Three Are at a Distance of at Least Three" Mathematics 14, no. 4: 637. https://doi.org/10.3390/math14040637

APA Style

Ghazal, S., & Karam, S. (2026). The Structure of Graphs Whose Vertices of Degree at Least Three Are at a Distance of at Least Three. Mathematics, 14(4), 637. https://doi.org/10.3390/math14040637

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop