Next Article in Journal
An Improved Whale Optimization Algorithm Based on Different Searching Paths and Perceptual Disturbance
Next Article in Special Issue
Dynamics on Binary Relations over Topological Spaces
Previous Article in Journal
Multi-Granulation Rough Set for Incomplete Interval-Valued Decision Information Systems Based on Multi-Threshold Tolerance Relation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Computing the Metric Dimension of Gear Graphs

1
Department of Mathematics, COMSATS University Islamabad, Lahore Campus 54000, Pakistan
2
Department of Mathematics, COMSATS University Islamabad, Sahiwal Campus 57000, Pakistan
3
Department of Mathematical Sciences, United Arab Emirates University, P.O. Box 15551, Al Ain, United Arab Emirates
4
Department of Mathematics, School of Natural Sciences (SNS), National University of Sciences and Technology (NUST), Sector H-12, Islamabad 44000, Pakistan
5
Department of Electrical Engineering, University of Central Punjab, Lahore 54000, Pakistan
6
Department of Mathematics, The University of Lahore, Old Campus Lahore 54000, Pakistan
*
Author to whom correspondence should be addressed.
Symmetry 2018, 10(6), 209; https://doi.org/10.3390/sym10060209
Submission received: 15 May 2018 / Revised: 5 June 2018 / Accepted: 6 June 2018 / Published: 8 June 2018
(This article belongs to the Special Issue Symmetry in Graph Theory)

Abstract

:
Let G = (V, E) be a connected graph and d(u, v) denote the distance between the vertices u and v in G. A set of vertices W resolves a graph G if every vertex is uniquely determined by its vector of distances to the vertices in W. A metric dimension of G is the minimum cardinality of a resolving set of G and is denoted by dim(G). Let J2n,m be a m-level gear graph obtained by m-level wheel graph W2n,mmC2n + k1 by alternatively deleting n spokes of each copy of C2n and J3n be a generalized gear graph obtained by alternately deleting 2n spokes of the wheel graph W3n. In this paper, the metric dimension of certain gear graphs J2n,m and J3n generated by wheel has been computed. Also this study extends the previous result given by Tomescu et al. in 2007.
MSC:
05C12; 05C90; 05C15; 05C62

1. Introduction and Preliminary Results

In a connected graph G ( V , E ) , where V is the set of vertices and E is the set of edges. The distance d ( u , v ) between two vertices u , v V is the length of the shortest path between them and the diameter of G denoted by d i a m ( G ) is the maximum distance between pairs of vertices u , v V ( G ) . Let W = { v 1 , v 2 , , v k } be an order set of vertices of G and u be a vertex of G. The representation r ( u | W ) of u with respect to W is the k tuple   { d ( u , v 1 ) , d ( u , v 2 ) , d ( u , v 3 ) , , d ( u , v k ) } , where W is called a resolving set or locating set if distinct vertices of G have distinct representations with respect to W. See for more results [1,2].
A resolving set of minimum cardinality is called a metric basis for G and the cardinality of a metric basis is said the metric dimension of G, denoted by d i m ( G ) , see [3]. The motivation for this topic stems from chemistry [4]. A common but important problem in the study of chemical structures is to determine ways of representing a set of chemical compounds such that distinct compounds have distinct representations. Moreover the application of this invariant to the navigation of robots in networks are discussed in [5]. The application to problems of pattern recognition and image processing, some of which involve the use of hierarchical data structures are given in [6].
For a given ordered set of vertices W = { v 1 , v 2 , , v k } of a graph G, the i t h component of r ( u | W ) is 0 if and only if u = v i . Thus, to show that W is a resolving set it suffices to verify that r ( y | W ) r ( z | W ) for each pair of distinct vertices y , z V ( G ) \ W .
Motivated by the problem of determining uniquely the location of an intruder in a network, the concept of metric dimension was introduced by Slater in [7] and studied independently by Harary and Melter in [8].
Let Ω be a family of connected graphs F m : Ω = ( F m ) m 1 depending on m as follows: ψ ( m ) = cardinality of the set of vertices of any member F of Ω and lim m ψ ( m ) = . If m 1 , C > 0 such that d i m ( F m ) C , then we shall say that Ω has bounded metric dimension, otherwise Ω has unbounded metric dimension. If all graphs in Ω have the same metric dimension then F is called a family with constant metric dimension [9].
A connected graph G has d i m ( G ) = 1 if and only if G is a path [5], cycle C n have metric dimension 2 for every n 3 . Other families of graphs with unbounded metric dimension are regular bipartite graphs [10], wheel graph [11]. The metric dimensions of m-level wheel graphs, convex polytope graphs and antiweb gear graphs are computed in [12]. The metric dimension of honeycomb networks are computed in [13] and t he metric dimension of generators of graphs in [14]. In the following section, some results related to m-level generalized gear graph are given.

2. The Metric Dimension of Double Gear Graph J2n,m

Definition 1.
The joining of two graphs G 1 and G 2 is denoted by G 1 + G 2 with the following vertex and edge sets:
V ( G 1 + G 2 ) = V ( G 1 ) V ( G 2 )
E ( G 1 + G 2 ) = E ( G 1 ) E ( G 2 ) { u v ; u V ( G 1 ) , v V ( G 2 ) } .
Definition 2.
In graph theory, an isomorphism of graphs G 1 and G 2 is a bijection between the vertex sets of G 1 and G 2 , f : V ( G 1 ) V ( G 2 ) such that any two vertices u and v of G 1 are adjacent in G 1 if and only if f ( u ) and f ( v ) are adjacent in G 2 . If an isomorphism exists between two graphs, then the graphs are called isomorphic and denoted as G 1 G 2 .
Note that the the graph C n + K 1 is isomorphic to wheel graph W n . In addition, note that 2 C n + K 1 mean union of two copies of C n that are joined with K 1 .
Definition 3.
A double-wheel graph W n , 2 can be obtained as join of 2 C n + k 1 and inductively an m-level wheel graph denoted by W n , m can be constructed as W n , m m C n + k 1 .
Definition 4.
A double gear graph denoted by J 2 n , 2 can be obtained from double-wheel W 2 n , 2 = 2 C 2 n + k 1 by alternatively deleting n spokes of each copy of C 2 n and inductively an m-level gear graph J 2 n , m can be constructed from m-level wheel W 2 n , m m C 2 n + k 1 by alternatively deleting n spokes of each C 2 n (see [15]). A double gear graph is depicted in Figure 1.

Construction and Observations

A double gear graph J 2 n , 2 (see in Figure 1) is constructed if we consider two even cycles with n 2 ,
C 2 n , 1 : v 1 1 , v 2 1 , v 3 1 , , v 2 n 1 , v 1 1 a n d C 2 n , 2 : v 1 2 , v 2 2 , v 3 2 , , v 2 n 2 , v 1 2
Now take a new vertex v adjacent to n vertices of C 2 n , 1 : v 2 1 , v 4 1 , , v 2 n 1 as well as v is also adjacent to n vertices of C 2 n , 2 : v 2 2 , v 4 2 , , v 2 n 2 . Inductively we can construct an m-level gear graph denoted by J 2 n , m by taking m even cycles C 2 n , 1 , C 2 n , 2 , , C 2 n , m .
The vertices of C 2 n , i ; 1 i 2 , in the graph J 2 n , 2 are of two kinds namely the vertices of degree 2 and the vertices of degree 3. Vertices of degree 2 and 3 will be considered as minor and major vertices respectively. One can easily check that:
  • When n = 2 ,
    d i m ( J 4 , 2 ) = 3 + 2 , (central vertex v with one major and minor vertex of each C 2 n , i ,   1 i 2 form basis).
  • When n = 3 ,
    d i m ( J 6 , 2 ) = 3 + 2 , (central vertex v with two minor vertices of each C 2 n , i , 1 i 2 form basis).
  • When n = 4 ,
    d i m ( J 8 , 2 ) = 2 + 3 , (two minor vertices u 1 , w 1 such that d ( u 1 , w 1 ) = 2 of C 2 n , 1 with one minor vertex u 2 and two major vertices w 2 , x 2 of C 2 n , 2 such that d ( u 2 , w 2 ) = d ( u 2 , x 2 ) = 3 form basis).
  • When n = 5 ,
    d i m ( J 10 , 2 ) = 3 + 4 , (three minor vertices u 1 , w 1 , x 1 satisfying d ( u 1 , w 1 ) = d ( w 1 , x 1 ) = 2 , d ( u 1 , x 1 ) = 4 of C 2 n , 1 with three minor vertices u 2 , w 2 , x 2 and one major vertex z 2 of C 2 n , 2 satisfying d ( u 2 , w 2 ) = d ( w 2 , x 2 ) = 2 , d ( u 2 , x 2 ) = 4 and d ( u 2 , z 2 ) = d ( w 2 , z 2 ) = d ( x 2 , z 2 ) = 3 form metric basis of J 10 , 2 ).
Consider the gear graph J 2 n , 1 in which C 2 n , 1 is an outer cycle of length 2 n . If B is a basis of J 2 n , 1 then B contains r 2 vertices of C 2 n , 1 for n 6 . Suppose B = { v i 1 , v i 2 , , v i r } then vertices of B can be ordered as v i 1 < v i 2 < < v i r such that { v i t , v i t + 1 } for 1 t r 1 and { v i r , v i 1 } are called neighboring vertices. Vertices of C 2 n , 1 lying between any two neighboring vertices of B are called gaps which are denoted by G i t for 1 t r 1 and G i r , and their cardinalities are said to be the size of gaps. One can easily observe that every vertex of B has two neighboring vertices; gaps generated by these three vertices are called neighboring gaps following a concept already exist in [ 2 ] and [ 17 ] . A gap determined by neighboring vertices of basis say v i and v j will be called an α β with α β when d e g ( v i ) = α and d e g ( v j ) = β or when d e g ( v i ) = β and d e g ( v j ) = α . Hence we have three kinds of gaps namely, 2 2 gap, 2 3 gap and 3 3 gap.
For the graph J 2 n , 2 , n 4 central vertex v does not belong to any basis. Since d ( v i j , v ) 2 ∀, 1 i 2 n , 1 j 2 and d i a m ( J 2 n , 2 ) = 4 , if central vertex v belongs to any metric basis B then there must exists two distinct vertices u i and u j for 1 i j 2 n such that r ( u i | B ) = r ( u J | B ) . Consequently, the basis vertices of J 2 n , 2 belong to the cycles induced by C 2 n , 1 and C 2 n , 2 . It is shown in [ 17 ] that if B is a basis of J 2 n , 1 then B consist only of the vertices of C 2 n , 1 that satisfy the following properties.
  • If B is a basis of J 2 n , 1 , n 6 then every 2 2 gap, 2 3 gap and 3 3 gap of B contains at most 5, 4 and 3 vertices respectively.
  • If B is a basis of J 2 n , 1 , n 6 then it contains at most one major gap.
  • If B is a basis of J 2 n , 1 , n 6 then any two neighboring gaps contain together at most six vertices in which one gap is a major gap.
  • If B is a basis of J 2 n , 1 , n 6 then any two minor neighboring gaps contain together at most four vertices.
Lemma 1.
Let B be a basis of J 2 n , 2 , n 6 , then every 2 2 gap, 2 3 gap and 3 3 gap of B induced by C 2 n , 1 and C 2 n , 2 contains at most 5, 4 and 3 vertices respectively.
Proof. 
Suppose the result is false and there exists a 2 2 gap of size 7 say u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 consisting of consecutive vertices of C 2 n , 1 or C 2 n , 2 with d e g ( u 1 ) = d e g ( u 7 ) = 3 then r ( u 3 | B ) = r ( u 5 | B ) which is a contradiction. If there exists a 2 3 gap of size 6 then we have a path u 1 , u 2 , u 3 , u 4 , u 5 , u 6 consisting of consecutive vertices of C 2 n , 1 or C 2 n , 2 with d e g ( u 1 ) = 3 and d e g ( u 6 ) = 2 then r ( u 3 | B ) = r ( u 5 | B ) which is again a contradiction. The existence of a 3 3 gap of size 5 say u 1 , u 2 , u 3 , u 4 , u 5 induced by C 2 n , 1 or C 2 n , 2 with d e g ( u 1 ) = d e g ( u 5 ) = 2 , would imply r ( u 2 | B ) = r ( u 4 | B ) a contradiction.
The 2 2 gap 2 3 gap and 3 3 gap containing 5, 4 and 3 vertices respectively will be referred to as major gaps and the remaining gaps are called minor gaps. In the proof of Lemmas 2–4, the major vertices will be labeled by a star (*). □
Lemma 2.
Let B be a basis of J 2 n , 2 , n 6 then it contains at most one major gap induced by the vertices of cycles C 2 n , 1 and C 2 n , 2 .
Proof. 
Suppose B contains two distinct major gaps induced by the vertices of cycles C 2 n , 1 or C 2 n , 2 .
Case-(i): When both gaps are 3 3 then we have two distinct paths consisting consecutive vertices u 1 , u 2 , u 3 and w 1 , w 2 , w 3 of C 2 n , 1 and C 2 n , 2 respectively in this case r ( u 3 | B ) = r ( w 3 | B ) ; a contradiction.
Case-(ii): When both gaps are 2 2 then we have two distinct paths consisting of consecutive vertices u 1 , u 2 , u 3 , u 4 , u 5 and w 1 , w 2 , w 3 , w 4 , w 5 of C 2 n , 1 and C 2 n , 2 respectively but r ( u 3 | B ) = r ( w 3 | B ) ; a contradiction.
Case-(iii): When both gaps are 2 3 then we have two distinct paths consisting of consecutive vertices u 1 , u 2 , u 3 , u 4 and w 1 , w 2 , w 3 , w 4 of C 2 n , 1 and C 2 n , 2 respectively in this case r ( u 3 | B ) = r ( w 3 | B ) ; a contradiction.
Case-(iv): When one gap is 3 3 and other is 2 2 gap then we have two distinct paths u 1 , u 2 , u 3 and w 1 , w 2 , w 3 , w 4 , w 5 induced by C 2 n , 1 and C 2 n , 2 respectively but r ( u 2 | B ) = r ( w 3 | B ) ; a contradiction.
Case-(v): When one gap is 3 3 and other is 2 3 gap then we have two distinct paths consisting of consecutive vertices u 1 , u 2 , u 3 and w 1 , w 2 , w 3 , w 4 of C 2 n , 1 and C 2 n , 2 respectively but r ( u 2 | B ) = r ( w 3 | B ) ; a contradiction.
Case-(vi): When one gap is 2 2 and other is 2 3 gap then we have two distinct paths consisting of consecutive vertices u 1 , u 2 , u 3 , u 4 , u 5 and w 1 , w 2 , w 3 , w 4 of C 2 n , 1 and C 2 n , 2 respectively in this case r ( u 3 | B ) = r ( w 3 | B ) ; a contradiction.
Similarly, if both major gaps are induced by C 2 n , 1 then we get a contradiction and a similar contradiction arises if C 2 n , 2 induced both major gaps. □
Lemma 3.
Let B be a basis of J 2 n , 2 , n 6 , then any two neighboring gaps, one of which being a major gap induced by exactly one of two cycles C 2 n , 1 or C 2 n , 2 contain together at most six vertices.
Proof. 
If the major gap is 3 3 then there is nothing to prove by Lemma 2. Without loss of any generality we can say that only C 2 n , 1 induced a major gap by Lemma 2. If the major gap is a 2 2 gap having five vertices then its neighboring minor gap contains at most one vertex. If this statement is false and 2 2 gap, 2 3 minor gaps having three and two vertices respectively are neighboring gaps of 2 2 major gap, then we have two paths consisting of consecutive vertices of C 2 n , 1 : u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 , u 9 and w 1 , w 2 , w 3 , w 4 , w 5 , w 6 , w 7 , w 8 , where u 4 , w 6 B induced by 2 2 major, 2 2 minor gaps and 2 2 major, 2 3 minor gaps respectively. In this case r ( u 3 | B ) = r ( u 5 | B ) and r ( w 5 | B ) = r ( w 7 | B ) ; a contradiction. The existence of 2 3 major gap having four vertices is not possible if its neighboring minor gap is a 2 2 gap with three vertices. If this case holds then we consider the following path: u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 , where u 4 B then r ( u 4 | B ) = r ( u 5 | B ) ; a contradiction. □
Lemma 4.
Let B be a basis of J 2 n , 2 , n 6 , then any two minor neighboring gaps induced by C 2 n , 1 or C 2 n , 2 contain together at most four vertices.
Proof. 
To prove the statement, it is sufficient to prove two cases.
Case-(i): 2 2 minor gap with three vertices cannot be neighboring gap of 2 2 minor gap having three vertices, otherwise we have a path consisting of consecutive vertices of C 2 n , 1 or C 2 n , 2 : u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , where u 4 B in this case r ( u 3 | B ) = r ( u 5 | B ) .
Case-(ii): 2 2 minor gap with three vertices cannot be neighboring gap of 2 3 minor gap having two vertices, otherwise we have a path consisting of consecutive vertices of C 2 n , 1 or C 2 n , 2 : w 1 , w 2 , w 3 , w 4 , w 5 , w 6 where w 4 B in this case r ( w 3 | B ) = r ( w 5 | B ) ; a contradiction. □
Theorem 1.
If J 2 n , 2 be a double gear graph for n 4 , then
d i m ( J 2 n , 2 ) = d i m ( J 2 n , 1 ) + 2 n 3
Proof. 
We have seen that d i m ( J 8 , 2 ) = 5 = d i m ( J 8 , 1 ) + 8 3 , d i m ( J 10 , 2 ) = 7 = d i m ( J 10 , 1 ) + 10 3 and the central vertex v does not belong to any basis B of J 2 n , 2 . Moreover
C 2 n , 1 : v 1 1 , v 2 1 , v 3 1 , , v 2 n 1 , v 1 1
and
C 2 n , 2 : v 1 2 , v 2 2 , v 3 2 , , v 2 n 2 , v 1 2
be the outer cycles of J 2 n , 2 at level 1 and 2 respectively. First we prove that d i m ( J 2 n , 2 ) d i m ( J 2 n , 1 ) + 2 n 3 by constructing a resolving set W in J 2 n , 2 with d i m ( J 2 n , 1 ) + 2 n 3 vertices.
We consider three cases according to the residue class modulo 3 to which n belongs.
Case-(i): When n 0 ( m o d 3 ) , then we may write 2 n = 3 k , where k 4 , is even and d i m ( J 2 n , 1 ) + 2 n 3 = 2 k , in this case W can be considered as:
W = { v 1 j , v 2 n 1 j ; 1 j 2 } { v 6 i + 1 1 , v 6 i + 3 1 , v 6 i 1 2 , v 6 i + 1 2 ; 1 i k 2 1 }
Case-(ii): When n 1 ( m o d 3 ) , then we may write 2 n = 3 k + 2 , where k 4 is even and d i m ( J 2 n , 1 ) + 2 n 3 = 2 k + 1 , in this case W can be considered as:
W = { v 1 1 , v 2 n 1 1 , v 1 2 } { v 6 i + 1 1 , v 6 i + 3 1 ; 1 i k 2 1 } { v 6 i 1 2 , v 6 i + 1 2 ; 1 i k 2 }
Case-(iii): When n 2 ( m o d 3 ) , then we may write 2 n = 3 k + 1 , where k 5 is even and d i m ( J 2 n , 1 ) + 2 n 3 = 2 k + 1 , in this case W can be considered as:
W = { v 1 1 , v 1 2 , v 2 n 1 2 } { v 6 i + 1 1 , v 6 i + 3 1 ; 1 i k 1 2 } { v 6 i 1 2 , v 6 i + 1 2 ; 1 i k 1 2 }
The set W contains a unique 2 2 major gap having at most five vertices and all other gaps are 2 2 minor gaps which contain at most three vertices. The set W is a resolving set of J 2 n , 2 since any two major or any two minor vertices respectively lying in different gaps or in the same gap are separated by at least one vertex in the set of three vertices of W generating these neighboring gaps. When gaps are not neighboring gaps, then the set of four vertices of W which generate two gaps make the representation unique of each vertex of these two gaps. Representation of central vertex v is ( 2 , 2 , 2 , , 2 ) , which is different from the representation of all other vertices of J 2 n , 2 . Hence,
d i m ( J 2 n , 2 ) d i m ( J 2 n , 1 ) + 2 n 3
Now we show that d i m ( J 2 n , 2 ) d i m ( J 2 n , 1 ) + 2 n 3 . As the central vertex v does not belong to any basis of J 3 n . Let B be a basis of J 2 n , 2 such that | B | = r then we have r gaps. By lemma 2 B contains at most one major gap, without loss of generality we can say major gap lies on C 2 n , 1 . Hence B induces r 2 gaps on C 2 n , 1 and r 2 gaps on C 2 n , 2 .
We denote the gaps on C 2 n , 1 by G 1 1 , G 2 1 , G 3 1 , , G r 2 1 where G i 1 and G i + 1 1 are called neighboring gaps for 1 i r 2 1 as well as G r 2 1 is also neighboring gap of G 1 1 and the gaps on C 2 n , 2 will be denoted by G 1 2 , G 2 2 , G 3 2 , , G r 2 2 where G i 2 and G i + 1 2 are called neighboring gaps for 1 i r 2 1 as well as G r 2 2 is also neighboring gap of G 1 2 . By Lemma 2, suppose G 1 1 is a major gap. By Lemmas 3 and 4, we can write
| G 1 1 + G 2 1 | 6 , | G 1 1 + G r 2 1 | 6 , G i 1 + G i + 1 1 | 4 , f o r 2 i r 2 1
and
| G 1 2 + G 2 2 | 4 , G 1 2 + G r 2 2 | 4 , G i 2 + G i + 1 2 | 4 , f o r 2 i r 2 1
We consider two cases according to the residue class modulo 2 to which r belongs.
Case-(i): When r 0 ( m o d 2 ) : In this case r 2 = r 2 = r 2
By summing the above inequality we have
2 ( 2 n r 2 ) = 2 i = 1 r 2 | G i 1 | 2 r + 4 r 2 2 n 2 3 r 2 2 n 3
Again
2 ( 2 n r 2 ) = 2 i = 1 r 2 | G i 1 | 2 r r 2 2 n 3 r 2 2 n 3
From Equations (2) and (3) we have,
r 2 n 3 + 2 n 3 d i m ( J 2 n , 2 ) d i m ( J 2 n , 1 ) + 2 n 3
Case-(ii): When r 1 ( m o d 2 ) : In this case r 2 = r 1 2 and r 2 = r + 1 2
By summing the above inequality we have
2 ( 2 n r 1 2 ) = 2 i = 1 r 1 2 | G i 1 | 4 + 4 ( r 1 2 ) r 1 2 2 n 2 3 r 1 2 2 n 3
and
2 ( 2 n r + 1 2 ) = 2 i = 1 r + 2 | G i 2 | 4 ( r + 1 2 ) r + 1 2 2 n 3 r + 1 2 2 n 3
From Equations (4) and (5) we have
r 2 n 3 + 2 n 3 d i m ( J 2 n , 2 ) d i m ( J 2 n , 1 ) + 2 n 3
Now from Equations (1) and (6) we conclude that,
d i m ( J 2 n , 2 ) = d i m ( J 2 n , 1 ) + 2 n 3
which complete the proof. □
Theorem 2.
If J 2 n , m be a double gear graph for n 4 , m 3 , then
d i m ( J 2 n , m ) = d i m ( J 2 n , 1 ) + ( m 1 ) 2 n 3
Proof. 
We will prove this result by induction on levels of gear graph denoted by J 2 n , m .
When m = 1 , then d i m ( J 2 n , 1 ) = 2 n 3 is obtained in [ 17 ] .
When m = 2 , then d i m ( J 2 n , 2 ) = d i m ( J 2 n , 1 ) + 2 n 3 by Theorem 1.
Now we assume that the statement is true for m = k , d i m ( J 2 n , k ) = d i m ( J 2 n , 1 ) + ( k 1 ) 2 n 3 . we will show the result for m = k + 1 , by using concept of Theorem 1 we have d i m ( J 2 n , k + 1 ) = d i m ( J 2 n , k ) + 2 n 3 .
Now d i m ( J 2 n , k + 1 ) = d i m ( J 2 n , k ) + 2 n 3 = d i m ( J 2 n , 1 ) + ( k 1 ) 2 n 3 + 2 n 3 . d i m ( J 2 n , k + 1 ) = d i m ( J 2 n , 1 ) + k 2 n 3 . Hence the result is true for all positive integers m 3 . □

3. The Metric Dimension of Generalized Gear Graph J 3 n

Definition 5.
To define the generalized gear graph J 3 n : consider a cycle C 3 n having vertices v 1 , v 2 , v 3 , , v 3 n , v 1 with n 2 , take a new vertex v adjacent to n vertices v 3 , v 6 , v 9 , , v 3 n of C 3 n . The generalized gear graph J 3 n has order 3 n + 1 and size 4 n . It can be obtained from wheel graph W 3 n by alternately deleting 2 n spokes.

Construction and Observations

The vertices of C 3 n in the graph J 3 n are of two kinds: vertices of degree 2 and 3. Vertices of degree 2 and 3 will be considered as minor and major vertices respectively. The graph J 3 n is a bipartite graph in which one bipartition class contains minor vertices together with central vertex v and the second bipartition class contain major vertices. In the proof of Lemmas 5–9, major vertices will be represented by a star. One can easily check that:
  • When n = 2
    d i m ( J 6 ) = 2 , (one minor vertex of C 6 together with central vertex v form basis).
  • When n = 3
    d i m ( J 9 ) = 2 = d i m ( J 12 ) , (two minor vertices w 1 and w 2 such that d ( w 1 , w 2 ) = 3 form basis).
  • When n = 5
    d i m ( J 15 ) = 3 , (three minor vertices w 1 , w 2 and w 3 such that d ( w 1 , w 2 ) = d ( w 2 , w 3 ) = d ( w 3 , w 4 ) = 4 form basis).
For the graph J 3 n , n 4 central vertex v does not belong to any basis. Since d ( v i , v ) 2 ∀, 1 i 3 n , and d i a m ( J 3 n ) = 4 if central vertex v belongs to any metric basis B then there must exist two distinct vertices u i and u j for 1 i j 3 n such that r ( u i | B ) = r ( u j | B ) . If B is a basis of J 3 n and central vertex v does not belong to B then by using the concept of gap given in Section 2, we have again three kinds of gaps i.e 2 2 gpa, 2 3 gap, and 3 3 gap.
Lemma 5.
If B is a basis of J 3 n , n 6 then every 2 2 gap, 2 3 gap and 3 3 gap of B contains at most 8, 7 and 5 points respectively.
Proof. 
Suppose the basis set B contains a 2 2 gap of nine consecutive vertices u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 , u 9 of C 3 n such that d e g ( u 1 ) = d e g ( u 9 ) we have r ( u 4 | B ) = r ( u 6 | B ) in this case. If 2 3 gap contains more than 7 vertices then it contains 9 consecutive vertices u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 , u 9 of C 3 n such that d e g ( u 1 ) = 3 and d e g ( u 9 ) = 2 we have r ( u 4 | B ) = r ( u 7 | B ) , a contradiction in this case. If a 3 3 gap contains more then 5 vertices, then it contains 8 consecutive vertices u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 such that d e g ( u 1 ) = d e g ( u 8 ) = 2 then r ( u 3 | B ) = r ( u 6 | B ) which is again a contradiction.
The 2 2 gap, 2 3 gap and 3 3 gap containing 8, 7 and 5 vertices respectively will be referred to as major gaps and the remaining gaps are called minor gaps. □
Lemma 6.
If B is a basis of J 3 n , n 6 , then it contains at most one major gap.
Proof. 
Suppose B is basis of J 3 n and it contains two distinct major gaps.
Case-(i): When both gaps are 3 3 then we have two distinct paths u 1 , u 2 , u 3 , u 4 , u 5 and w 1 , w 2 , w 3 , w 4 , w 5 but r ( u 3 | B ) = r ( w 3 | B ) .
Case-(ii): When both gaps are 2 2 then we have two distinct paths u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 and w 1 , w 2 , w 3 , w 4 , w 5 , w 6 , w 7 , w 8 but r ( u 5 | B ) = r ( w 5 | B ) .
Case-(iii): When both gaps are 2 3 then we have two distinct paths u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 and w 1 , w 2 , w 3 , w 4 , w 5 , w 6 , w 7 but r ( u 5 | B ) = r ( w 5 | B ) .
Case-(iv): When one gap is 3 3 and other is 2 2 gap then we have two distinct paths u 1 , u 2 , u 3 , u 4 , u 5 and w 1 , w 2 , w 3 , w 4 , w 5 , w 6 , w 7 , w 8 but r ( u 3 | B ) = r ( w 5 | B ) .
Case-(v): When one gap is 3 3 and other is 2 3 gap then we have two distinct paths u 1 , u 2 , u 3 , u 4 , u 5 and w 1 , w 2 , w 3 , w 4 , w 5 , w 6 , w 7 but r ( u 3 | B ) = r ( w 5 | B ) .
Case-(vi): When one gap is 2 2 and other is 2 3 gap then we have two distinct paths u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 and w 1 , w 2 , w 3 , w 4 , w 5 , w 6 , w 7 but r ( u 4 | B ) = r ( w 5 | B ) . □
Lemma 7.
If B is a basis of J 3 n , n 6 , containing one major gap either 2 2 gap or 2 3 gap then it does not contain 2 2 gap and 2 3 minor gap having 7 and 6 vertices respectively.
Proof. 
Case-(i): When one gap is 2 2 major gap and the other is 2 2 minor gap having 7 vertices, then we have two distinct paths u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 and w 1 , w 2 , w 3 , w 4 , w 5 , w 6 , w 7 but r ( u 5 | B ) = r ( w 4 | B ) .
Case-(ii): When one gap is 2 2 major gap and the other is 2 3 minor gap having 6 vertices, then we have two distinct paths u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 and w 1 , w 2 , w 3 , w 4 , w 5 , w 6 but r ( u 5 | B ) = r ( w 4 | B ) .
Case-(iii): When one gap is 2 3 major gap and the other is 2 2 minor gap having 7 vertices, then we have two distinct paths u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 and w 1 , w 2 , w 3 , w 4 , w 5 , w 6 , w 7 but r ( u 5 | B ) = r ( w 4 | B ) .
Case-(iv): When one gap is 2 3 major gap and the other is 2 3 minor gap having 6 vertices, then we have two distinct paths u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 and w 1 , w 2 , w 3 , w 4 , w 5 , w 6 but r ( u 5 | B ) = r ( w 4 | B ) . □
Lemma 8.
If B is a basis of J 3 n , n 6 then any two neighboring gaps contain together at most 13 vertices in which one gap is a major gap.
Proof. 
To show the statement, it is sufficient to show that a 2 2 major gap with 8 vertices has a neighboring 2 2 minor gap in which 6 vertices cannot occur. If it holds then we have the path u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 , u 9 , u 10 , u 11 , u 12 , u 13 , u 14 , u 15 , u 16 , u 17 with u 1 , u 10 , u 17 B in this case r ( u 7 | B ) = r ( w 13 | B ) , a contradiction. □
Lemma 9.
If B is a basis of J 3 n , n 6 , then any two minor neighboring gaps contain together at most 11 vertices.
Proof. 
To show the statement, it is sufficient to show that a 2 2 gap with 6 vertices has a neighboring 2 2 gap with 6 vertices cannot occur. Since gap is 2 2 , both base elements must have degree 2. For two consecutive 2 2 gaps having 6 vertices, we have two possible paths. (i) First possible path is u 1 , u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 , u 9 , u 10 , u 11 , u 12 , u 13 , u 14 , u 15 with u 1 , u 8 , u 15 B which is not possible as d ( u 1 ) = 2 = d ( u 8 ) but d ( u 15 ) = 3 2 .
(ii) Second possible path is u 2 , u 3 , u 4 , u 5 , u 6 , u 7 , u 8 , u 9 , u 10 , u 11 , u 12 , u 13 , u 14 , u 15 , u 16 with u 2 , u 9 , u 16 B which is not possible as d ( u 2 ) = 2 = d ( u 16 ) but d ( u 9 ) = 3 2 . Hence two minor gap contain at most 11 vertices. □
Theorem 3.
If J 3 n be the generalized gear graph for n 6 , then d i m ( J 3 n ) = n 2 .
Proof. 
First we prove that d i m ( J 3 n ) n 2 by constructing a resolving set W in J 3 n with n 2 vertices. We consider two cases according to the residue class modulo 2 to which n belongs.
Case-(i): When n 0 ( m o d 2 ) then W can be considered as:
W = { v 1 , v 10 , v 16 } { v 6 i + 5 ; 3 i n 2 1 }
Case-(ii): When n 1 ( m o d 2 ) then W can be considered as:
W = { v 1 , v 10 , v 16 } { v 6 i + 5 ; 3 i n 1 2 1 }
The set W contains a unique 2 2 major gap and all other gaps are 2 2 minor gap which contain at most five vertices, only one 2 2 minor gap contains six vertices. The set W is a resolving set of J 3 n since any two major or any two minor vertices lying in different gaps or in the same gap are separated by at least one vertex in the set of three vertices of W generating these neighboring gaps; when gaps are not neighboring gaps then the set of four vertices of W which generate two gaps make the representation of each vertex of these two gaps unique. Representation of central vertex is ( 2 , 2 , 2 , , 2 ) , which is different from the representation of all other vertices of J 3 n . Hence
d i m ( J 3 n ) n 2
Now we show that d i m ( J 3 n ) n 2 . By Lemma 5 the central vertex v does not belong to any basis of J 3 n . Let B be a basis of J 3 n such that | B | = r . We have r gaps on C 3 n generated by elements of B. We denote these gaps by G 1 , G 2 , G 3 , , G r where G i and G i + 1 are called neighboring gaps for 1 i r 1 as well as G r is also a neighboring gap of G 1 . By Lemma 6 at most one of them say G 1 is a major gap. By Lemmas 6 and 7, we have
| G 1 + G 2 | 13 , | G 1 + G r | 13
and by Lemmas 8 and 9, we have,
| G 2 + G 3 | 11 , | G 3 + G 4 | 11 , | G i + G i + 1 | 10 , f o r a l l 4 i r 1
By summing these inequalities, we get,
2 ( 3 n r ) = 2 i = 1 r | G i | 8 + 10 r 6 n 2 r 8 + 10 r
6 n 8 12 r r n 2 2 3
Hence r = n 2 .
d i m ( J 3 n ) n 2
So from Equations (7) and (8), we get
d i m ( J 3 n ) = n 2
which complete the proof.

4. Conclusions

In the foregoing section, m-level gear graph J 2 n , m and generalized gear graph J 3 n are constructed. It is proved that metric dimension of J 2 n , m is d i m ( J 2 n , 1 ) + ( m 1 ) 2 n 3 for every n 4 and metric dimension of J 3 n is n 2 for every n 6 . This section is closed by raising the following open problem.
Open Problem. Determine the metric dimension of m-level generalized gear graph J 2 n , k , m .

Author Contributions

S.I. contribute for conceptualization, funding, and analyzed the data. M.K.S. and M.I. contribute for supervision, methodology, and software, validation, designing the experiments and formal analysing. M.H. and H.M.B. contribute for performed experiments, resources, some computations and wrote the initial draft of the paper. A.T. and Z.S. contribute for analyzed the data and investigated this draft and wrote the final draft. All authors read and approved the final version of the paper.

Acknowledgments

The authors are grateful to the anonymous referees for their valuable comments and suggestions that improved this paper. This research is supported by the Start-Up Research Grant 2016 of the United Arab Emirates University (UAEU), Al Ain, United Arab Emirates via Grant No. G00002233 and UPAR Grant of UAEU via Grant No. G00002590. Also This research is supported by The Higher Education Commission of Pakistan Under Research and Development Division, National Research Program for Universities via Grant No.: 5348/Federal/NRPU/R&D/HEC/2016.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Tomescu, I.; Javaid, I. On the metric dimension of the jahangir graph. Bull. Math. Soc. Sci. Math. Roum. 2007, 50, 371–376. [Google Scholar]
  2. Chartrand, G.; Eroh, L.; Johnson, M.A.; Oellermann, O.R. Resolvability in graphs and metric dimension of a graph. Disc. Appl. Math. 2000, 105, 99–113. [Google Scholar] [CrossRef]
  3. Imran, M.; Baig, A.Q.; Bokhary, S.A.; Javaid, I. On the metric dimension of circulant graphs. Appl. Math. Lett. 2012, 25, 320–325. [Google Scholar] [CrossRef]
  4. Cameron, P.J.; Van Lint, J.H. Designs, Graphs, Codes and their Links. In London Mathematical Society Student Texts; Cambridge University Press: Cambridge, UK, 1991; Volume 22. [Google Scholar]
  5. Khuller, S.; Raghavachari, B.; Rosenfeld, A. Localization in Graphs; Technical Report CS-TR-3326; University of Maryland at College Park: College Park, MD, USA, 1994. [Google Scholar]
  6. Melter, R.A.; Tomescu, I. Metric bases in digital geometry. Graph. Image Process. 1984, 25, 113–121. [Google Scholar] [CrossRef]
  7. Slater, P.J. Leaves of trees. Congress 1975, 14, 549–559. [Google Scholar]
  8. Harary, F.; Melter, R.A. On the metric dimension of a graph. Ars Combin. 1976, 2, 191–195. [Google Scholar]
  9. Tomescu, I.; Imran, M. metric dimension and R-Sets of connected graph. Graphs Combin. 2011, 27, 585–591. [Google Scholar] [CrossRef]
  10. Bača, M.; Baskoro, E.T.; Salman, A.N.M.; Saputro, S.W.; Suprijanto, D. On metric dimension of regular bipartite graphs. Bull. Math. Soc. Sci. Math. Roum. 2011, 54, 15–28. [Google Scholar]
  11. Buczkowski, P.S.; Chartrand, G.; Poisson, C.; Zhang, P. On k-dimensional graphs and their bases. Perioddica Math. Hung. 2003, 46, 9–15. [Google Scholar] [CrossRef]
  12. Siddique, H.M.A.; Imran, M. Computing the metric dimension of wheel related graphs. Appl. Math. Comput. 2014, 242, 624–632. [Google Scholar]
  13. Manuel, P.; Rajan, B.; Rajasingh, I.; Monica, C. On minimum metric dimension of honeycomb networks. J. Discret. Algorithms 2008, 6, 20–27. [Google Scholar] [CrossRef]
  14. Sebo, A.; Tannier, E. On metric generators of graphs. Math. Oper. Res. 2004, 29, 383–393. [Google Scholar] [CrossRef]
  15. Bras, R.L.; Gomes, C.P.; Selman, B. Double-wheel graphs are graceful. In Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence, Beijing, China, 3–9 August 2013; pp. 587–593. [Google Scholar]
Figure 1. (a) The double gear graph J 6 , 2 ; (b) The double gear graph J 8 , 2 .
Figure 1. (a) The double gear graph J 6 , 2 ; (b) The double gear graph J 8 , 2 .
Symmetry 10 00209 g001

Share and Cite

MDPI and ACS Style

Imran, S.; Siddiqui, M.K.; Imran, M.; Hussain, M.; Bilal, H.M.; Cheema, I.Z.; Tabraiz, A.; Saleem, Z. Computing the Metric Dimension of Gear Graphs. Symmetry 2018, 10, 209. https://doi.org/10.3390/sym10060209

AMA Style

Imran S, Siddiqui MK, Imran M, Hussain M, Bilal HM, Cheema IZ, Tabraiz A, Saleem Z. Computing the Metric Dimension of Gear Graphs. Symmetry. 2018; 10(6):209. https://doi.org/10.3390/sym10060209

Chicago/Turabian Style

Imran, Shahid, Muhammad Kamran Siddiqui, Muhammad Imran, Muhammad Hussain, Hafiz Muhammad Bilal, Imran Zulfiqar Cheema, Ali Tabraiz, and Zeeshan Saleem. 2018. "Computing the Metric Dimension of Gear Graphs" Symmetry 10, no. 6: 209. https://doi.org/10.3390/sym10060209

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