Next Article in Journal
Note on the Control of Trajectories of a Dynamical System Modeling Genetic Networks
Previous Article in Journal
Classifying Consensus Sequences Using Point-Set Representations
Previous Article in Special Issue
Interpolating Missing Spatial Data Using Graph Laplacian Eigenbasis
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Locally Irregular-Connected Graphs

Department of Mathematics, Western Michigan University, Kalamazoo, MI 49008-5248, USA
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(11), 1827; https://doi.org/10.3390/math14111827
Submission received: 29 April 2026 / Revised: 19 May 2026 / Accepted: 23 May 2026 / Published: 25 May 2026
(This article belongs to the Special Issue Graph Theory and Applications, 3rd Edition)

Abstract

A graph G is locally irregular if every two adjacent vertices have distinct degrees and is locally irregular-connected if for every two vertices u and v of G, there is a locally irregular u v path in G. For a finite set S of two or more positive integers with maximum element k, it is known that there exists a graph of order k + 1 with degree set S. This result is extended by showing that there is a locally irregular-connected graph of order k + 1 with degree set S. Characterizations are established for all locally irregular-connected graphs of cycle rank at most 2. All sets S of positive integers are determined for which there is a locally irregular-connected graph of cycle rank at most 2 with degree set S. The minimum order of a locally irregular-connected graph with a prescribed degree set is determined as well. Other results and open questions are also presented.

1. Introduction

A graph G is irregular if every two vertices of G have distinct degrees. It is well known that no graph of order 2 or more is irregular.
Theorem 1 
([1]). For every integer  n 2 , there is no irregular graph of order n.
The degree set of a graph G is D ( G ) = { deg v : v V ( G ) } . By Theorem 1, there is no graph G of order n 2 for which | D ( G ) | = n . For each integer n 2 , there are two graphs G of order n, such that | D ( G ) | = n 1 . If G 1 and G 2 are the two graphs of order n 2 with | D ( G 1 ) | = | D ( G 2 ) | = n 1 , then G 2 = G ¯ 1 is the complement of G 1 . Graphs with this property are sometimes referred to as antiregular graphs; that is, a nontrivial graph G is antiregular if exactly two vertices of G have the same degree (see [2,3,4], for example).
Theorem 2 
([2,3]). For every integer n 2 , there are exactly two antiregular graphs of order n, one of which is connected.
The connected antiregular graph of order n is denoted by G n and its complement G ¯ n is the disconnected antiregular graph of order n. Then, V ( G n ) = { v 1 , v 2 , , v n } where E ( G n ) = { v i v j : i + j n + 1 } and E ( G ¯ n ) = { v i v j : i + j n } . Thus, D ( G n ) = { 1 , 2 , , n 2 , n 2 + 1 , , n 1 } and D ( G ¯ n ) = { 0 , 1 , , n 1 2 , n 1 2 + 1 , , n 2 } . If n 2 is even, then the two vertices of the same degree n 2 in G n are adjacent; while if n 3 is odd, then the two vertices of the same degree n 1 2 in G n are not adjacent. Figure 1 shows G n and G ¯ n for n = 5 , 6 . More information on antiregular graphs can be found in [4,5,6,7,8,9,10]. Degree sets of other types of irregular graphs have also been studied (see [11,12], for example).
A graph G is locally irregular if every two adjacent vertices of G have distinct degrees (see [13], for example). An edge e = u v in a graph with deg u deg v is an irregular edge, while e is a regular edge if deg u = deg v . Thus, a graph G is locally irregular if and only if every edge of G is irregular. The connected locally irregular graphs of order n with 3 n 5 are shown in Figure 2 where each vertex is labeled with its degree.
Since the two vertices of the same degree in the connected antiregular graph G n of odd order n 3 are not adjacent, G n is locally irregular and G ¯ n is not locally irregular for odd integers n 3 . Since the two vertices of the same degree in the graph G n of even order n 2 are adjacent, G n is not locally irregular and G ¯ n is locally irregular for even integers n 2 .
A graph G is locally irregular-connected if there is a locally irregular u v path for every two vertices u and v of G. While irregular graphs of order 2 or more do not exist, there are a number of properties possessed by the related class of locally irregular-connected graphs which we present. If a locally irregular graph G is connected, then every two vertices u and v of G are connected by a locally irregular u v path and so G is locally irregular-connected. The converse is not true, however. For example, the locally irregular-connected graph G of Figure 3 is not locally irregular since u v is a regular edge. The edge x y in the graph H of Figure 3 is regular. Since x y is a bridge in H, it follows that ( x , y ) is the only x y path in H and so there is no locally irregular x y path in H. Therefore, H is not locally irregular-connected.
The following two observations for locally irregular-connected graphs are often useful.
Observation 1.
If a graph G contains a regular edge that is a bridge, then G is not locally irregular-connected.
Observation 2.
A graph G is locally irregular-connected if G contains a connected spanning subgraph H that is locally irregular, that is, every edge of H is irregular. In particular, every connected locally irregular graph is locally irregular-connected.
Every connected antiregular graph of order at least 3 is locally irregular-connected, as we show next.
Proposition 1.
For each integer n 3 , the connected antiregular graph G n of order n is locally irregular-connected.
Proof. 
First, suppose that n 3 is odd. Since the two vertices of the same degree in G n are not adjacent, it follows that G n is locally irregular and so G n is locally irregular-connected by Observation 2. Next, suppose that n 4 is even. Let u and v be two vertices of G n . We show that there is a locally irregular u v path in G n . The vertex w of degree n 1 in G n is adjacent to every vertex of G n . If w { u , v } , then ( u , w , v ) is a locally irregular u v path in G n ; while if w { u , v } , then ( u , v ) is a locally irregular u v path in G n . □

2. Degree Sets of Locally Irregular-Connected Graphs

Since no regular graph is locally irregular-connected, every graph G with | D ( G ) | = 1 is not locally irregular-connected. On the other hand, for each integer k 2 , there is a locally irregular-connected graph G with | D ( G ) | = k . For example, if S = { d 1 , d 2 , , d k } is a set of any k distinct positive integers, then the complete k-partite graph G = K d 1 , d 2 , , d k is a locally irregular-connected graph with D ( G ) = { n d i : 1 i k } . In fact, more can be said.
Theorem 3.
For every pair k , n of integers with 2 k n 1 , there exists a locally irregular-connected graph G k , n of order n with | D ( G k , n ) | = k .
Proof. 
For k = n 1 , the connected antiregular graph G n 1 , n = G n of order n has D ( G n 1 , n ) = { 1 , 2 , , n 1 } and is locally irregular-connected by Proposition 1. For k = 2 and n 4 , the star G 2 , n = K 1 , n 1 of order n has D ( G 2 , n ) = { 1 , n 1 } . For k = 3 and n 5 , the double star G 3 , n = S 2 , n 2 of order n has central vertices of degrees 2 and n 2 3 and so D ( G 3 , n ) = { 1 , 2 , n 2 } . Since K 1 , n 1 and S 2 , n 2 are locally irregular, these graphs are locally irregular-connected.
For 4 k n 2 , let G k + 1 be the connected antiregular graph of order k + 1 . Then D ( G k + 1 ) = { 1 , 2 , , k } and so | D ( G k + 1 ) | = k . The vertex w of degree k in G k + 1 is adjacent to all other vertices of G k + 1 . Let G k , n be the graph obtained from G k + 1 and K ¯ n k 1 by joining each vertex of K ¯ n k 1 to the vertex w in G k + 1 . Thus, deg G k , n w = k + ( n k 1 ) = n 1 . This implies that D ( G k , n ) = ( D ( G k + 1 ) { k } ) { n 1 } and so | D ( G k , n ) | = k . The graphs G 5 , 8 and G 6 , 8 are shown in Figure 4. We now show that G k , n is locally irregular-connected. That is, there is a locally irregular u v path in G k , n for every two vertices u and v of G k , n . First, suppose that u , v V ( G k + 1 ) . Since G k + 1 is locally irregular-connected by Proposition 1, there is a locally irregular u v path in G k + 1 and in G k , n as well. Next, suppose that at least one of u and v is not in G k + 1 , say v V ( G k + 1 ) . If u V ( G k + 1 ) , then ( u , w , v ) is a locally irregular u v path in G k , n . If u V ( G k + 1 ) , then for a locally irregular u w path P in G k + 1 , the u v path ( P , v ) in G k , n is locally irregular. Therefore, G k , n is locally irregular-connected.
It was shown in [14] that every finite set of positive integers is the degree set of some graph. □
Theorem 4 
([14]). For every set S = { a 1 , a 2 , , a k } of positive integers with a 1 < a 2 < < a k , there exists a graph G with D ( G ) = S . Furthermore, the minimum order of such a graph G is a k + 1 .
A finite set S of distinct positive integers is realizable if there is a locally irregular-connected graph G such that D ( G ) = S . Theorem 4 suggests the following question.
Question 1: Which finite sets S of distinct positive integers are realizable?
If S is a realizable set of positive integers for a locally irregular-connected graph G of order n and max ( S ) is the largest integer in S, then n max ( S ) + 1 . This observation suggests another question.
Question 2: For a realizable set S of positive integers, what is the minimum order of a locally irregular-connected graph G with D ( G ) = S ?
By applying the technique used in the proof of Theorem 4, an analogous result for locally irregular-connected graphs can be established which provides answers to Questions 1 and 2. For this purpose, a lemma is presented. For two vertex-disjoint graphs F and H, the graph F H is the join of F and H and F + H is the union of F and H.
Lemma 1.
Let G = F H be the join of two vertex-disjoint graphs F and H. If deg G x deg G y for every two vertices x and y where x V ( F ) and y V ( H ) , then G is locally irregular-connected.
Proof. 
Let u and v be two vertices of G = F H . If { u , v } V ( F ) or { u , v } V ( H ) , say the former, then ( u , w , v ) is a locally irregular u v path in G for some vertex w of H. If one of u and v is in F and the other is in H, then ( u , v ) is a locally irregular u v path in G. Hence, G is locally irregular-connected. □
Theorem 5.
For every set S = { a 1 , a 2 , , a k } of k 2 positive integers where a 1 < a 2 < < a k , there is a locally irregular-connected graph G of order a k + 1 such that D ( G ) = S . Consequently, the minimum order of a locally irregular-connected graph G with D ( G ) = S is a k + 1 .
Proof. 
We proceed by induction on k 2 .
For k = 2 , the order of the graph G = K a 1 K ¯ a 2 a 1 + 1 is a 2 + 1 . Since deg G v = a 2 if v V ( K a 1 ) and deg G v = a 1 if v V ( K ¯ a 2 a 1 + 1 ) , it follows that D ( G ) = { a 1 , a 2 } . By Lemma 1, G is locally irregular-connected.
For k = 3 , the order of the graph G = K a 1 ( K ¯ a 3 a 2 + K a 2 a 1 + 1 ) is a 3 + 1 . Since deg G v = a 3 if v V ( K a 1 ) , deg G v = a 1 if v V ( K ¯ a 3 a 2 ) , and deg G v = a 2 if v V ( K a 2 a 1 + 1 ) , it follows that D ( G ) = { a 1 , a 2 , a 3 } . By Lemma 1, G is locally irregular-connected.
Hence, the statement is true for k = 2 , 3 . Let k 2 . Suppose that for every set S = { a 1 , a 2 , , a j } of j positive integers where 2 j k and a 1 < a 2 < < a j , there is a locally irregular-connected graph H of order a j + 1 such that D ( H ) = S .
Next, let T = { b 1 , b 2 , , b k + 1 } be a set of k + 1 positive integers, where b 1 < b 2 < < b k + 1 . We show that there is a locally irregular-connected graph G of order b k + 1 + 1 with D ( G ) = T . Let T = { b 2 b 1 , b 3 b 1 , , b k b 1 } . Then | T | = k 1 2 and 1 b 2 b 1 < b 3 b 1 < < b k b 1 . By the induction hypothesis, there is a locally irregular-connected graph G of order ( b k b 1 ) + 1 with D ( G ) = T . Let G = K b 1 ( K ¯ b k + 1 b k + G ) . Then the order of G is b k + 1 + 1 . Since deg G v = b k + 1 if v V ( K b 1 ) , deg G v = b 1 if v V ( K ¯ b k + 1 b k ) , and deg G v = b i for some integer i with 2 i k if v V ( G ) , it follows that D ( G ) = T . By Lemma 1, G is locally irregular-connected. □

3. Trees and Unicyclic Graphs

In this section, we characterize locally irregular-connected trees and locally irregular-connected unicyclic graphs and determine all sets S of positive integers that are the degree sets of graphs in these two classes as well as determine the minimum order of each such graph with degree set S. We begin with trees.
Proposition 2.
A tree T is locally irregular-connected if and only if T contains no regular edges.
Proof. 
First, suppose that a tree T contains a regular edge. Since every edge of a tree is a bridge, it follows by Observation 1 that T is not locally irregular-connected. Next, suppose that T contains no regular edges. It then follows by Observation 2 that T is locally irregular-connected. □
A caterpillar is a tree of order 3 or more, the removal of whose end-vertices produces a path called the spine of the caterpillar.
Theorem 6.
Let S = { a 1 , a 2 , , a k } be a set of k 2 positive integers. There is a locally irregular-connected tree T with D ( T ) = S if and only if 1 S . Furthermore, if 1 S , then the minimum order of a locally irregular-connected tree T with D ( T ) = S is 2 + i = 1 k ( a i 1 ) .
Proof. 
First, suppose that T is a locally irregular-connected tree with D ( T ) = S . Since every nontrivial tree T contains at least two end-vertices, 1 S . Next, let S = { a 1 , a 2 , , a k } , where a 1 = 1 . If k = 2 , then let T = K 1 , a 2 be the star of order a 2 + 1 with D ( T ) = { 1 , a 2 } . If k 3 , let T be the caterpillar whose spine is the path ( v 1 , v 2 , , v k 1 ) where deg v i = a i + 1 for 1 i k 1 . The order of T is 2 + i = 1 k ( a i 1 ) and D ( T ) = S . Since every edge of T is irregular, T is locally irregular-connected.
Next, let T be a locally irregular-connected tree of order n with D ( T ) = S = { a 1 , a 2 , , a k } . Then, the size of T is n 1 . Since T contains at least one vertex of degree a i for 1 i k and the remaining vertices have degree at least 1, it follows that
2 ( n 1 ) = v V ( T ) deg v i = 1 k 1 · a i + ( n k ) · 1 = i = 1 k ( a i 1 ) + n
and so n 2 + i = 1 k ( a i 1 ) . We saw that there is a locally irregular-connected tree of order 2 + i = 1 k ( a i 1 ) having degree set S. Therefore, the minimum order of a locally irregular-connected tree T with D ( T ) = S is 2 + i = 1 k ( a i 1 ) . □
We now turn to unicyclic graphs. A unicyclic graph is a connected graph with exactly one cycle. Thus, a unicyclic graph is obtained from a tree by adding an edge that joins two nonadjacent vertices of the tree. We now characterize of all locally irregular-connected unicyclic graphs and determine all realizable sets for locally irregular-connected unicyclic graphs as well as determine the minimum order of such graphs with a prescribed degree set.
Proposition 3.
A unicyclic graph G is locally irregular-connected if and only if G has at most one regular edge and the regular edge (if it exists) must lie on the unique cycle in G.
Proof. 
If G has no regular edge, then G is locally irregular-connected by Observation 2. Thus, let G be a graph with exactly one regular edge e that lies on the cycle. Then G e is a spanning tree of G and has no regular edge. Again, it follows by Observation 2 that G is locally irregular-connected.
Next, we verify the converse. Suppose that G is a unicyclic graph that contains two or more regular edges. Let C = ( v 1 , v 2 , , v , v 1 ) be the unique cycle of order 3 in G and let e and f be two regular edges of G. It follows by Observation 1 that e and f are not bridges and so they lie on the cycle C. We may assume that e = v 1 v 2 and f = v i v i + 1 where 2 i 1 . There are exactly two v 1 v 2 paths in G (both on C), namely P 1 = ( v 1 , v 2 ) and P 2 = ( v 1 , v , v 1 , v 2 ) . Since P 1 contains e and P 2 contains f, neither P 1 nor P 2 is locally irregular. Thus, there is no locally irregular v 1 v 2 path in G and so G is not locally irregular-connected. □
We now determine all sets S of positive integers that are the degree sets of locally irregular-connected unicyclic graphs and determine the minimum order of such a unicyclic graph G with D ( G ) = S . First, we show that the degree set of a locally irregular-connected unicyclic graph contains at least three elements.
Proposition 4.
There is no locally irregular-connected unicyclic graph G with | D ( G ) | = 2 .
Proof. 
Assume, to the contrary, that there is a locally irregular-connected unicyclic graph G with D ( G ) = { a 1 , a 2 } , where 1 a 1 < a 2 . Let C = ( v 1 , v 2 , , v , v 1 ) be the unique cycle of G for some integer 3 . Since C is not locally irregular-connected, G C . Hence, G contains at least one end-vertex and so 1 S . This implies that deg v i = a 2 for 1 i and so every edge on C is regular, which contradicts Proposition 3. □
Theorem 7.
Let S = { a 1 , a 2 , , a k } be a set of k 3 positive integers. There is a locally irregular-connected unicyclic graph G with D ( G ) = S if and only if 1 S . Furthermore, if 1 S , then the minimum order of a locally irregular-connected unicyclic graph G with D ( G ) = S is a 2 + i = 1 3 ( a i 1 ) if k = 3 and is i = 1 k ( a i 1 ) if k 4 .
Proof. 
First, suppose that G is a locally irregular-connected unicyclic graph with D ( G ) = S . Then G is not a cycle. Thus, G contains at least one end-vertex and so 1 S . Next, let S = { a 1 , a 2 , , a k } , where 1 = a 1 < a 2 < < a k .
For k = 3 , let G be the unicyclic graph with the unique cycle ( v 1 , v 2 , v 3 , v 1 ) such that deg v 1 = deg v 2 = a 2 and deg v 3 = a 3 . Then, the order of G is 2 ( a 2 2 ) + ( a 3 2 ) + 3 = a 2 + i = 1 3 ( a i 1 ) and D ( G ) = { 1 , a 2 , a 3 } . Since G has exactly one regular edge that lies on the cycle, it follows by Proposition 3 that G is locally irregular-connected.
For k 4 , let G be the unicyclic graph with the unique cycle ( v 1 , v 2 , , v k 1 , v 1 ) such that deg v i = a i + 1 for 1 i k 1 . Then, the order of G is i = 2 k ( a i 2 ) + ( k 1 ) = i = 2 k ( a i 1 ) = i = 1 k ( a i 1 ) , where a 1 1 = 0 and D ( G ) = S . Since every edge of G is irregular, G is locally irregular-connected.
For S = { 1 , 4 , 5 } or S = { 1 , 2 , 3 , 4 , 5 } , some locally irregular-connected unicyclic graphs G are shown in Figure 5 with D ( G ) = S .
Among all locally irregular-connected unicyclic graphs whose degree set is S = { a 1 , a 2 , ,   a k }, where 1 = a 1 < a 2 < < a k , let G be one of minimum order n. Then, the size of G is n as well.
First, suppose that k = 3 . Let C = ( v 1 , v 2 , , v , v 1 ) be the unique cycle of G for some integer 3 . Since (1) deg v i { a 2 , a 3 } for 1 i and (2) C contains at most one regular edge by Proposition 3, it follows that = 3 and C = ( v 1 , v 2 , v 3 , v 1 ) contains exactly one regular edge. Thus, exactly two vertices on C have the same degree. Therefore, deg v 1 + deg v 2 + deg v 3 2 a 2 + a 3 and the remaining n 3 vertices of G are end-vertices. Thus,
2 n = v V ( G ) deg v 2 a 2 + a 3 + ( n 3 ) = a 2 + i = 1 3 ( a i 1 ) + n
and so n a 2 + i = 1 3 ( a i 1 ) . Since there is a locally irregular-connected unicyclic graph of order a 2 + i = 1 3 ( a i 1 ) with degree set S, it follows that n = a 2 + i = 1 3 ( a i 1 ) .
Next, suppose that k 4 . Since G contains at least one vertex of degree a i for 1 i k and the remaining n k vertices have degree at least 1, it follows that
2 n = v V ( G ) deg v i = 1 k 1 · a i + ( n k ) · 1 = i = 1 k ( a i 1 ) + n
and so n i = 1 k ( a i 1 ) . Since there is a locally irregular-connected unicyclic graph of order i = 1 k ( a i 1 ) with degree set S, it follows that n = i = 1 k ( a i 1 ) .

4. Graphs of Cycle Rank 2

The number of edges that must be deleted from a connected graph G of order n and size m to obtain a spanning tree of G is its cycle rank  m n + 1 . Thus, the cycle rank of a tree is 0 and the cycle rank of a unicyclic graph is 1. By Propositions 2 and 3, a graph G has cycle rank 0 if and only if G has no regular edge and a graph G has cycle rank 1 if and only if G has at most one regular edge and this regular edge is not a bridge. We now turn our attention to locally irregular-connected graphs of cycle rank 2 and determine all realizable sets for these graphs and determine the minimum order with a prescribed degree set. For this purpose, we first introduce some additional definitions and describe the structure of graphs of cycle rank 2.
A graph H is a subdivision of a graph G if H = G or H is obtained from G by inserting vertices of degree 2 into one or more edges of G. If G is a graph of order n and size m having cycle rank 2, then m = n + 1 and G contains at least two cycles. Therefore, G has a subgraph that is isomorphic to one of the following three graphs:
(1)
a graph obtained from two edge-disjoint cycles C 1 and C 2 by identifying a vertex in C 1 and a vertex in C 2 , as shown in Figure 6a,
(2)
a graph obtained from two vertex-disjoint cycles C 1 and C 2 and a nontrivial path P by identifying an end-vertex of P with a vertex of C 1 and identifying the other end-vertex of P with a vertex of C 2 , as shown in Figure 6b,
(3)
a subdivision of K 4 e consisting of three internally disjoint paths P i ( 1 i 3 ), as shown in Figure 6c, where at least two paths P i ( 1 i 3 ) have length 2 or more.
A graph G of cycle rank 2 is of type I if G contains exactly two edge-disjoint cycles and is of type II if G contains a subdivision of K 4 e . The minimum degree δ ( G ) of a graph G of cycle rank 2 is either 1 or 2.
Theorem 8.
A graph G of cycle rank 2 is locally irregular-connected if and only if G has at most two regular edges and satisfies one of the following two conditions, depending on whether G is of type I or type II.
(1)
If G is of type I, then each regular edge of G lies on a cycle and no cycle contains more than one regular edge.
(2)
If G is of type I I , where P = { P 1 , P 2 , P 3 } is the set of the three paths forming the cycles in G, then each regular edge lies on some path in P and no path in P contains more than one regular edge.
Proof. 
We consider two cases, according to whether G is of type I or type II.
Case 1. G is of type I. We show that G is locally irregular-connected if and only if G has at most two regular edges such that each regular edge lies on a cycle and no cycle contains more than one regular edge.
First, suppose that G has at most two regular edges where each regular edge lies on a cycle and no cycle contains more than one regular edge. If G has no regular edge, then G is locally irregular-connected by Observation 2. If G contains exactly one regular edge e lying on a cycle, then G e is a spanning subgraph of G and has no regular edge. By Observation 2 again, G is locally irregular-connected. If G contains exactly two regular edges e and f lying on different cycles in G. Then G { e , f } is a spanning tree of G and has no regular edge. Once again, by Observation 2, G is locally irregular-connected.
For the converse, suppose that G contains three or more regular edges. We show that G is not locally irregular-connected. Let e 1 , e 2 , e 3 be three regular edges of G. It follows by Observation 1 that e i ( i = 1 , 2 , 3 ) is not a bridge and so e i lies on a cycle. This implies that at least one of the two cycles in G contains two or more regular edges. We may assume that C = ( v 1 , v 2 , , v , v 1 ) is a cycle in G for some integer 3 and e 1 = v 1 v 2 and e 2 = v i v i + 1 are regular edges for some integer i with 2 i 1 . There are exactly two v 1 v 2 paths in G (both on C), namely Q 1 = ( v 1 , v 2 ) and Q 2 = ( v 1 , v , v 1 , v 2 ) . Since Q 1 contains e 1 and Q 2 contains e 2 , neither Q 1 nor Q 2 is locally irregular. Thus, there is no locally irregular v 1 v 2 path in G and so G is not locally irregular-connected.
Case 2. G is of type II. Let P = { P 1 , P 2 , P 3 } be the set consisting of the three paths forming the cycles in G. We show that G is locally irregular-connected if and only if G has at most two regular edges such that each regular edge lies on some path in P and no path in P contains more than one regular edge.
First, suppose that G has at most two regular edges such that each regular edge lies on some path in P and no path in P contains more than one regular edge. If G has no regular edge, then G is locally irregular-connected by Observation 2. If G contains exactly one regular edge lying on a path in P , then G e is a connected spanning subgraph of G and has no regular edge. By Observation 2 again, G is locally irregular-connected. If G contains exactly two regular edges e and f lying on different paths in P , then G { e , f } is a spanning tree of G and has no regular edge. Once again, by Observation 2, G is locally irregular-connected.
For the converse, suppose that G contains three or more regular edges. We show that G is not locally irregular-connected. Let e 1 , e 2 , e 3 be three regular edges of G. It follows by Observation 1 that e i ( i = 1 , 2 , 3 ) is not a bridge and so e i lies on a path in P .
First, suppose that there is path in P containing two or more regular edges, say P 1 contains the regular edges e 1 and e 2 . Let P 1 = ( u 1 , u 2 , , u ) for some integer 3 and e 1 = u i u i + 1 and e 2 = u j u j + 1 where 1 i < j 1 . There are exactly three u i u i + 1 paths in G, namely P 1 = ( u i , u i + 1 ) , P 2 = ( u i , , u 1 , P 2 , u , , u i + 1 ) , and P 3 = ( u i , , u 1 , P 3 , u , , u i + 1 ) . Since P 1 contains e 1 and both P 2 and P 3 contain e 2 , there is no locally irregular u i u i + 1 path in G and so G is not locally irregular-connected.
Next, suppose that each path P i ( i = 1 , 2 , 3 ) in P contains exactly one regular edge, say e i E ( P i ) for i = 1 , 2 , 3 . Let P 1 = ( u 1 , u 2 , , u ) for some integer 2 and e 1 = u i u i + 1 , where 1 i 1 . There are exactly three u i u i + 1 paths in G, namely P 1 = ( u i , u i + 1 ) , P 2 = ( u i , , u 1 , P 2 , u , , u i + 1 ) , and P 3 = ( u i , , u 1 , P 3 , u , , u i + 1 ) . Since e i E ( P i ) for i = 1 , 2 , 3 , there is no locally irregular u i u i + 1 path in G and so G is not locally irregular-connected.
Next, we determine all sets S of positive integers that are the degree sets of locally irregular-connected graphs of cycle rank at most 2 as well as the minimum order of such a graph G with D ( G ) = S . We begin with 2-element sets S. □
Proposition 5.
Let S = { a 1 , a 2 } be a set of two positive integers where a 1 < a 2 . There is a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S if and only if S = { 2 , 3 } or S = { 2 , 4 } . In each case, the minimum order of a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S is a 2 + 1 .
Proof. 
If S = { a 1 , a 2 } where a 1 = 2 and a 2 { 3 , 4 } , there is a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S (see Figure 7, for example).
Next, suppose that G is a locally irregular-connected graph of cycle rank 2 with D ( G ) = { a 1 , a 2 } where 1 a 1 < a 2 . Then, a 1 is the minimum degree δ ( G ) of G and a 2 is the maximum degree Δ ( G ) of G. Since the minimum degree of every graph of cycle rank 2 is either 1 or 2, it follows that a 1 { 1 , 2 } . Let C be one of the cycles of G. By Theorem 8, there is at most one regular edge on C and so at least two vertices on C have different degrees. Hence, { deg v : v V ( C ) } = { a 1 , a 2 } . Thus, a 1 2 . So a 1 = 2 and a 2 3 . Let n 1 and n 2 denote the number of vertices of degree a 1 and a 2 in G, respectively. Since G is a graph of cycle rank 2, its size is n 1 + n 2 + 1 and so
2 ( n 1 + n 2 + 1 ) = a 1 n 1 + a 2 n 2 .
Since a 1 = 2 , it follows that ( a 2 2 ) n 2 = 2 . Because a 2 2 and n 2 are positive integer, either a 3 = 3 and n 2 = 2 or a 2 = 4 and n 1 = 1 . Therefore, a 2 { 3 , 4 } .
If G is a locally irregular-connected graph of cycle rank 2 with D ( G ) = S , then the order of G is at least a 2 + 1 and so the minimum order of a locally irregular-connected graph with degree set S is at least a 2 + 1 . Since the graph K 4 e of order 4 is a locally irregular-connected graph G of cycle rank 2 with D ( G ) = { 2 , 3 } and the graph 2 K 2 K 1 of order 5 is a locally irregular-connected graph G of cycle rank 2 with D ( G ) = { 2 , 4 } , the minimum order of a locally irregular-connected graph G of cycle rank 2 with D ( G ) = { a 1 , a 2 } is a 2 + 1 . □
Proposition 6.
Let S = { a 1 , a 2 , a 3 } be a set of three positive integers with 1 = a 1 < a 2 < a 3 . There is a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S if and only if 1 S . Furthermore, if 1 S , then the minimum order of a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S is
6 i f   S = { 1 , 2 , 3 } a 3 + 1 i f   S = { 1 , 2 , a 3 } w h e r e   a 3 4 a 3 + 3 a 2 6 i f   S = { 1 , a 2 , a 3 } w h e r e   a 2 3 .
Proof. 
First, suppose that G is a locally irregular-connected graph of cycle rank 2 with D ( G ) = S . Since | D ( G ) | = 3 , it follows that G is not one of the graphs in Figure 6. Hence, G contains an end-vertex and so 1 S . Next, let S = { a 1 , a 2 , a 3 } where 1 = a 1 < a 2 < a 3 .
If a 2 = 2 and a 3 = 3 , then let G be one of the two graphs of maximum degree 3 in Figure 8. By Theorem 8, these two graphs are locally irregular-connected. The graph of type I has order 8, while the graph of type II has order 6.
If a 2 = 2 and a 3 4 , then let G be the graph of cycle rank 2 obtained from the graph K 4 e by adding a 3 3 pendant edges at each of the two vertices of degree 3 in K 4 e . This is illustrated in Figure 8 for a 3 = 4 . Then, the order of G is 2 a 3 2 and D ( G ) = { 1 , 2 , a 3 } . By Theorem 8, G is locally irregular-connected.
If a 2 3 and a 3 4 , then let G be the graph of cycle rank 2 obtained from the graph K 4 e by adding a 2 2 pendant edges at each of the two vertices of degree 2 in K 4 e and adding a 3 3 pendant edges at each of the two vertices of degree 3 in K 4 e . Then, the order of G is 2 ( a 2 + a 3 3 ) and D ( G ) = { 1 , a 2 , a 3 } . Since G has exactly one regular edge that lies on a cycle, it follows by Theorem 8 that G is locally irregular-connected.
Among all locally irregular-connected graphs of cycle rank 2 with degree set S = { a 1 , a 2 , a 3 } , where 1 = a 1 < a 2 < a 3 , let G be one of minimum order n. Then, the size of G is n + 1 . We consider two cases, according to whether a 2 = 2 or a 2 3 .
Case 1. a 2 = 2 . There are two possibilities here depending on whether a 3 = 3 or a 3 4 .
Subcase 1.1 . a 3 = 3 . First, suppose that G is of type I. Since Δ ( G ) = 3 , the two cycles C 1 and C 2 of order at least 3 are vertex-disjoint. Since G is locally irregular-connected, G contains no regular bridge. Thus, the path joining C 1 and C 2 has order at least 3. Since 1 S , there is at least one end-vertex in G. Therefore, n 8 . (In fact, n = 8 is the minimum order of such a graph.)
Next, suppose that G is of type II. Since 1 S , it follows that G K 4 e and so n 5 . We show in fact that n 6 . Assume, to the contrary, that n = 5 . Since S = { 1 , 2 , 3 } , it follows that G is the graph obtained from K 4 e by adding an end-vertex that is joined to a vertex of degree 2 in K 4 e . This implies that all three vertices on one cycle of G have degree 3. Hence, G is not locally irregular-connected by Theorem 8 and so n 6 . Since there is a locally irregular-connected graph of cycle rank 2 that has order 6 and degree set { 1 , 2 , 3 } , it follows that n = 6 .
Subcase 1.2 . a 3 4 . Let x be a vertex of degree a 3 . First, suppose that G is of type I. Since there are at least 5 vertices lying on a cycle of G, it follows that G has at least 4 vertices (distinct from x) having degree at least 2 and the remaining n 5 vertices have degree at least 1. Thus,
2 ( n + 1 ) a 3 + 4 · 2 + ( n 5 )
and so n a 3 + 1 . Next, suppose that G is of type II. Since there are at least 4 vertices lying on a cycle of G, it follows that G has at least 3 vertices (distinct from x) such that one has degree at least 3 and the other two have degree at least 2. The remaining n 4 vertices of G have degree at least 1. Thus,
2 ( n + 1 ) a 3 + 3 + 2 · 2 + ( n 4 )
and so n a 3 + 1 . There are locally irregular-connected graphs of cycle rank 2 having order a 3 + 1 and degree set { 1 , 2 , a 3 } where a 3 4 . One such graph is obtained from two triangles with exactly one common vertex v by attaching a 3 4 pendant edges at v. Thus, n = a 3 + 1 .
Case 2. a 2 3 . Let x be a vertex of degree a 3 4 . First, suppose that G is of type I. Since there are at least 5 vertices lying on a cycle of G, it follows that G has at least 4 vertices (distinct from x) having degree at least a 2 and the remaining n 5 vertices have degree at least 1. Thus,
2 ( n + 1 ) a 3 + 4 · a 2 + ( n 5 )
and so n a 3 + 4 a 2 7 . Next, suppose that G is of type II. Since there are at least 4 vertices lying on a cycle of G, it follows that G has at least 3 vertices (distinct from x) having degree at least a 2 . The remaining n 4 vertices of G have degree at least 1. Thus,
2 ( n + 1 ) = a 3 + 3 a 2 + ( n 4 )
and so n a 3 + 3 a 2 6 . Since a 3 + 4 a 2 7 > a 3 + 3 a 2 6 , and it follows that n a 3 + 3 a 2 6 when a 2 3 . There are locally irregular-connected graphs of cycle rank 2 having order a 3 + 3 a 2 6 and degree set { 1 , a 2 , a 3 } , where a 2 3 . One such graph is obtained from the graph K 4 e by (1) adding a 2 2 pendant edges at each of the two vertices of degree 2 in K 4 e , (2) adding a 2 3 pendant edges at one vertex of degree 3 in K 4 e , and (3) adding a 3 3 pendant edges at the other vertex of degree 3 in K 4 e . Therefore, n = a 3 + 3 a 2 6 . □
Proposition 7.
Let S = { a 1 , a 2 , , a k } be a set of k 4 positive integers with a 1 < a 2 < < a k . There is a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S if and only if 1 S . Furthermore, if 1 S , then the minimum order of a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S is
i = 1 4 ( a i 1 ) + a 2 3 i f   k = 4 i = 1 k ( a i 1 ) 2 i f   k 5 .
Proof. 
First, suppose that G is a locally irregular-connected graph of cycle rank 2 with D ( G ) = S . Since | D ( G ) | 4 , it follows that G is not one of the graphs in Figure 6. Hence, G contains an end-vertex and so 1 S . Next, let S = { a 1 , a 2 , , a k } where 1 = a 1 < a 2 < < a k .
If k = 4 , then let G be the graph obtained from K 4 e by (1) adding a 2 2 pendant edges at each of the two vertices of degree 2 in K 4 e , (2) adding a 3 3 pendant edges at one vertex of degree 3 in K 4 e , and (3) adding a 4 3 pendant edges at the other vertex of degree 3 in K 4 e . Then, the order of G is 2 a 2 + a 3 + a 4 6 and D ( G ) = S .
If k 5 , then let F be the graph of cycle rank 2 obtained from the ( k 1 ) -cycle C = ( v 1 , v 2 , , v k 1 , v 1 ) by adding the edge v 2 v k 1 . The graph G is obtained from F by (1) adding a i + 1 2 pendant edges at v i for i = 1 and 3 i k 2 and (2) adding a i + 1 3 pendant edges at v i for i = 2 and i = k 1 . The order of G is
( a 2 2 ) + ( a 3 3 ) + i = 4 k 1 ( a i 2 ) + ( a k 3 ) + ( k 1 ) = i = 2 k ( a i 2 ) + k 3 = i = 1 k ( a i 1 ) 2
and D ( G ) = S .
Among all locally irregular-connected graphs of cycle rank 2 with degree set S = { a 1 , a 2 , , a k }, where 1 = a 1 < a 2 < < a k , let G be one of minimum order n. Then, the size of G is n + 1 . We consider two cases, according to whether k = 4 or k 5 .
Case 1. k = 4 . The graph G contains at least one vertex of degree a i for 1 i 4 . Since there are at least four vertices that are not end-vertices, there are at least two non-end vertices of the same degree a i for some integer i with 2 i 4 . The remaining n 5 vertices have degree 1 or more. Hence,
2 ( n + 1 ) i = 1 4 a i + a 2 + ( n 5 ) = i = 1 4 ( a i 1 ) + a 2 + ( n 1 )
so
n i = 1 4 ( a i 1 ) + a 2 3 = 2 a 2 + a 3 + a 4 6 .
Since there is a locally irregular-connected graph of cycle rank 2 that has order i = 1 4 ( a i 1 ) + a 2 3 and degree set S, it follows that n = i = 1 4 ( a i 1 ) + a 2 3 .
Case 2. k 5 . The graph G contains at least one vertex of degree a i for 1 i k and the remaining n k vertices have degree 1 or more. Hence,
2 ( n + 1 ) i = 1 k a i + ( n k ) = i = 1 k ( a i 1 ) + n
and so n i = 1 k ( a i 1 ) 2 . Since there is a locally irregular-connected graph of cycle rank 2 that has order i = 1 k ( a i 1 ) 2 and degree set S, it follows that n = i = 1 k ( a i 1 ) 2 . □
Propositions 5–7 give rise to the following result.
Theorem 9.
For an integer k 2 , let S = { a 1 , a 2 , , a k } be a set of k positive integers with a 1 < a 2 < < a k .
(1)
If k = 2 , then there is a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S if and only if S = { 2 , 3 } or S = { 2 , 4 } . In either case, the minimum order of a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S is a 2 + 1 .
(2)
If k 3 , then there is a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S if and only if 1 S . Furthermore, if 1 S , then the minimum order of a locally irregular-connected graph G of cycle rank 2 with D ( G ) = S is
6 i f   S = { 1 , 2 , 3 } a 3 + 1 i f   S = { 1 , 2 , a 3 }   w h e r e   a 3 4 a 3 + 3 a 2 6 i f   S = { 1 , a 2 , a 3 }   w h e r e   a 2 3 i = 1 4 ( a i 1 ) + a 2 3 i f   k = 4 i = 1 k ( a i 1 ) 2 i f   k 5 .

5. In Closing

While a set S = { a 1 , a 2 , , a k } of k 2 positive integers with a 1 < a 2 < < a k . can be realized as the degree set of a locally irregular-connected graph of order a k + 1 by Theorem 5, the degree set of a locally irregular-connected graph of cycle rank at most 2 has a specific structure. Furthermore, the minimum order of a locally irregular-connected graph of cycle rank at most 2 with degree set S may not be a k + 1 . Therefore, we conclude with the following problems.
Problem 1.
Let S = { a 1 , a 2 , , a k } be a set of k 2 positive integers with a 1 < a 2 < < a k and let r 3 be an integer.
(1)
Under what conditions is S the degree set D ( G ) of a locally irregular-connected graph G of cycle rank r?
(2)
What is the minimum order of a locally irregular-connected graph G of cycle rank r with  D ( G ) = S ?

Author Contributions

Conceptualization, G.C. and P.Z.; methodology, G.C. and P.Z.; software, P.Z.; validation, G.C. and P.Z.; formal analysis, G.C. and P.Z.; investigation, G.C. and P.Z.; resources, G.C. and P.Z.; data curation, G.C. and P.Z.; writing—original draft preparation, G.C. and P.Z.; writing—review and editing, G.C. and P.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

We thank the anonymous referees whose valuable suggestions resulted in an improved paper.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Behzad, M.; Chartrand, G. No graph is perfect. Amer. Math. Mon. 1967, 74, 962–963. [Google Scholar] [CrossRef]
  2. Ali, A.; Chartrand, G.; Zhang, P. Irregularity in Graphs; Springer: New York, NY, USA, 2021. [Google Scholar]
  3. Chartrand, G.; Zhang, P. Chromatic Graph Theory, 2nd ed.; Chapman & Hall/CRC Press: Boca Raton, FL, USA, 2020. [Google Scholar]
  4. Ali, A. A survey of antiregular graphs. Contrib. Math. 2020, 1, 67–79. [Google Scholar]
  5. Aguilar, C.O.; Ficarra, M.; Schurman, N.; Sullivan, B. The role of the anti-regular graph in the spectral analysis of threshold graphs. Linear Algebr. Appl. 2020, 588, 210–223. [Google Scholar] [CrossRef]
  6. Aguilar, C.O.; Lee, J.; Piato, E.; Schweitzer, B.J. Spectral characterizations of anti-regular graphs. Linear Algebr. Appl. 2018, 557, 84–104. [Google Scholar] [CrossRef]
  7. Berman, A.; Zhang, X.D. A note on degree antiregular graphs. Linear Multilinear Algebr. 2020, 47, 307–311. [Google Scholar] [CrossRef]
  8. Merris, R. Antiregular graphs are universal for trees. Elektrotehn. Fak. Ser. Mat. 2003, 14, 1–3. [Google Scholar] [CrossRef]
  9. Munarini, E. Characteristics, admittance and matching polynomials of an antiregular graph. Appl. Anal. Discret. Math. 2009, 3, 157–176. [Google Scholar] [CrossRef]
  10. Nebeský, L. On connected graphs containing exactly two points of the same degree. Časopis Pěst. Math. 1973, 98, 305–306. [Google Scholar] [CrossRef]
  11. Majcher, Z.; Michael, J. Degree sequences of highly irregular graphs. Discret. Math. 1997, 164, 225–236. [Google Scholar] [CrossRef][Green Version]
  12. Alavi, Y.; Chartrand, G.; Chung, F.R.K.; Erdös, P.; Graham, R.L.; Oellermann, O.R. Highly irregular graphs. J. Graph Theory 1987, 11, 235–249. [Google Scholar] [CrossRef]
  13. Bensmail, J.; Dross, F.; Nisse, N. Decomposing degenerate graphs into locally irregular subgraphs. Graphs Comb. 2020, 36, 1869–1889. [Google Scholar] [CrossRef]
  14. Kapoor, S.F.; Polimeni, A.D.; Wall, C.E. Degree sets for graphs. Fund. Math. 1977, 95, 189–194. [Google Scholar] [CrossRef][Green Version]
Figure 1. The antiregular graphs of order 5 or 6.
Figure 1. The antiregular graphs of order 5 or 6.
Mathematics 14 01827 g001
Figure 2. The locally irregular graphs of order n with 3 n 5 .
Figure 2. The locally irregular graphs of order n with 3 n 5 .
Mathematics 14 01827 g002
Figure 3. Two graphs G and H.
Figure 3. Two graphs G and H.
Mathematics 14 01827 g003
Figure 4. Locally irregular-connected graphs G 5 , 8 and G 6 , 8 .
Figure 4. Locally irregular-connected graphs G 5 , 8 and G 6 , 8 .
Mathematics 14 01827 g004
Figure 5. Two locally irregular-connected graphs.
Figure 5. Two locally irregular-connected graphs.
Mathematics 14 01827 g005
Figure 6. Three possible types of subgraphs.
Figure 6. Three possible types of subgraphs.
Mathematics 14 01827 g006
Figure 7. Graphs G of cycle rank 2 with | D ( G ) | = 2 .
Figure 7. Graphs G of cycle rank 2 with | D ( G ) | = 2 .
Mathematics 14 01827 g007
Figure 8. Graphs G of cycle rank 2.
Figure 8. Graphs G of cycle rank 2.
Mathematics 14 01827 g008
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

Chartrand, G.; Zhang, P. Locally Irregular-Connected Graphs. Mathematics 2026, 14, 1827. https://doi.org/10.3390/math14111827

AMA Style

Chartrand G, Zhang P. Locally Irregular-Connected Graphs. Mathematics. 2026; 14(11):1827. https://doi.org/10.3390/math14111827

Chicago/Turabian Style

Chartrand, Gary, and Ping Zhang. 2026. "Locally Irregular-Connected Graphs" Mathematics 14, no. 11: 1827. https://doi.org/10.3390/math14111827

APA Style

Chartrand, G., & Zhang, P. (2026). Locally Irregular-Connected Graphs. Mathematics, 14(11), 1827. https://doi.org/10.3390/math14111827

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