Open Access
This article is

- freely available
- re-usable

*Symmetry*
**2018**,
*10*(6),
209;
https://doi.org/10.3390/sym10060209

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.

Received: 15 May 2018 / Accepted: 6 June 2018 / Published: 8 June 2018

## 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 J

_{2n,m}be a m-level gear graph obtained by m-level wheel graph W_{2n,m}≅ mC_{2n}+ k_{1}by alternatively deleting n spokes of each copy of C_{2n}and J_{3n}be a generalized gear graph obtained by alternately deleting 2n spokes of the wheel graph W_{3n}. In this paper, the metric dimension of certain gear graphs J_{2n,m}and J_{3n}generated by wheel has been computed. Also this study extends the previous result given by Tomescu et al. in 2007.Keywords:

Metric dimension; basis; resolving set; gear graph; generalized gear graphMSC:

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\in V$ is the length of the shortest path between them and the diameter of G denoted by $diam\left(G\right)$ is the maximum distance between pairs of vertices $u,v\in V\left(G\right)$. Let $W=\{{v}_{1},{v}_{2},\dots ,{v}_{k}\}$ be an order set of vertices of G and u be a vertex of G. The representation $r\left(u\right|W)$ of u with respect to W is the $k-\mathrm{tuple}\text{}\{d(u,{v}_{1}),d(u,{v}_{2}),d(u,{v}_{3}),\dots ,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 $dim\left(G\right)$, 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},\dots ,{v}_{k}\}$ of a graph G, the ${i}^{th}$ component of $r\left(u\right|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\left(y\right|W)\ne r(z\left|W\right)$ for each pair of distinct vertices $y,z\in V\left(G\right)\backslash 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 $\Omega $ be a family of connected graphs ${F}_{m}:\Omega ={\left({F}_{m}\right)}_{m\ge 1}$ depending on m as follows: $\psi \left(m\right)$ = cardinality of the set of vertices of any member F of $\Omega $ and ${lim}_{m\to \infty}\psi \left(m\right)=\infty $. If $\forall \phantom{\rule{4pt}{0ex}}m\ge 1,\phantom{\rule{4pt}{0ex}}\exists \phantom{\rule{4pt}{0ex}}C>0$ such that $dim\left({F}_{m}\right)\le C$, then we shall say that $\Omega $ has bounded metric dimension, otherwise $\Omega $ has unbounded metric dimension. If all graphs in $\Omega $ have the same metric dimension then F is called a family with constant metric dimension [9].

A connected graph G has $dim\left(G\right)=1$ if and only if G is a path [5], cycle ${C}_{n}$ have metric dimension 2 for every $n\ge 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 J_{2n,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\left({G}_{1}\right)\cup V\left({G}_{2}\right)$$

$$E({G}_{1}+{G}_{2})=E\left({G}_{1}\right)\cup E\left({G}_{2}\right)\cup \{uv;u\in V\left({G}_{1}\right),v\in V\left({G}_{2}\right)\}.$$

**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\left({G}_{1}\right)\to V\left({G}_{2}\right)$ such that any two vertices u and v of ${G}_{1}$ are adjacent in ${G}_{1}$ if and only if $f\left(u\right)$ and $f\left(v\right)$ are adjacent in ${G}_{2}$. If an isomorphism exists between two graphs, then the graphs are called isomorphic and denoted as ${G}_{1}\cong {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}\cong m{C}_{n}+{k}_{1}$.

**Definition**

**4.**

A double gear graph denoted by ${J}_{2n,2}$ can be obtained from double-wheel ${W}_{2n,2}=2{C}_{2n}+{k}_{1}$ by alternatively deleting n spokes of each copy of ${C}_{2n}$ and inductively an m-level gear graph ${J}_{2n,m}$ can be constructed from m-level wheel ${W}_{2n,m}\cong m{C}_{2n}+{k}_{1}$ by alternatively deleting n spokes of each ${C}_{2n}$ (see [15]). A double gear graph is depicted in Figure 1.

#### Construction and Observations

A double gear graph ${J}_{2n,2}$ (see in Figure 1) is constructed if we consider two even cycles with $n\ge 2$,

$${C}_{2n,1}:{v}_{1}^{1},{v}_{2}^{1},{v}_{3}^{1},\dots ,{v}_{2n}^{1},{v}_{1}^{1}\phantom{\rule{6pt}{0ex}}and\phantom{\rule{6pt}{0ex}}{C}_{2n,2}:{v}_{1}^{2},{v}_{2}^{2},{v}_{3}^{2},\dots ,{v}_{2n}^{2},{v}_{1}^{2}$$

Now take a new vertex v adjacent to n vertices of ${C}_{2n,1}$:${v}_{2}^{1},{v}_{4}^{1},\dots ,{v}_{2n}^{1}$ as well as v is also adjacent to n vertices of ${C}_{2n,2}$:${v}_{2}^{2},{v}_{4}^{2},\dots ,{v}_{2n}^{2}$. Inductively we can construct an m-level gear graph denoted by ${J}_{2n,m}$ by taking m even cycles ${C}_{2n,1},{C}_{2n,2},\dots ,{C}_{2n,m}$.

The vertices of ${C}_{2n,i};\phantom{\rule{6pt}{0ex}}1\le i\le 2$, in the graph ${J}_{2n,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,$$dim\left({J}_{4,2}\right)=3+2$, (central vertex v with one major and minor vertex of each ${C}_{2n,i},\text{}1\le i\le 2$ form basis).
- When $n=3,$$dim\left({J}_{6,2}\right)=3+2$, (central vertex v with two minor vertices of each ${C}_{2n,i},1\le i\le 2$ form basis).
- When $n=4,$$dim\left({J}_{8,2}\right)=2+3$, (two minor vertices ${u}^{1},{w}^{1}$ such that $d({u}^{1},{w}^{1})=2$ of ${C}_{2n,1}$ with one minor vertex ${u}^{2}$ and two major vertices ${w}^{2},{x}^{2}$ of ${C}_{2n,2}$ such that $d({u}^{2},{w}^{2})=d({u}^{2},{x}^{2})=3$ form basis).
- When $n=5,$$dim\left({J}_{10,2}\right)=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}_{2n,1}$ with three minor vertices ${u}^{2},{w}^{2},{x}^{2}$ and one major vertex ${z}^{2}$ of ${C}_{2n,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}_{2n,1}$ in which ${C}_{2n,1}$ is an outer cycle of length $2n$. If B is a basis of ${J}_{2n,1}$ then B contains $r\ge 2$ vertices of ${C}_{2n,1}$ for $n\ge 6$. Suppose $B=\{{v}_{{i}_{1}},{v}_{{i}_{2}},\dots ,{v}_{{i}_{r}}\}$ then vertices of B can be ordered as ${v}_{{i}_{1}}<{v}_{{i}_{2}}<\dots <{v}_{{i}_{r}}$ such that $\{{v}_{{i}_{t}},{v}_{{i}_{t+1}}\}$ for $1\le t\le r-1$ and $\{{v}_{{i}_{r}},{v}_{{i}_{1}}\}$ are called neighboring vertices. Vertices of ${C}_{2n,1}$ lying between any two neighboring vertices of B are called gaps which are denoted by ${G}_{{i}_{t}}$ for $1\le t\le 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 $\left[2\right]$ and $\left[17\right]$. A gap determined by neighboring vertices of basis say ${v}_{i}$ and ${v}_{j}$ will be called an $\alpha -\beta $ with $\alpha \le \beta $ when $deg\left({v}_{i}\right)=\alpha $ and $deg\left({v}_{j}\right)=\beta $ or when $deg\left({v}_{i}\right)=\beta $ and $deg\left({v}_{j}\right)=\alpha $. Hence we have three kinds of gaps namely, $2-2$ gap, $2-3$ gap and $3-3$ gap.

For the graph ${J}_{2n,2},n\ge 4$ central vertex v does not belong to any basis. Since $d({v}_{i}^{j},v)\le 2$∀, $1\le i\le 2n$, $1\le j\le 2$ and $diam\left({J}_{2n,2}\right)=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\le i\ne j\le 2n$ such that $r\left({u}_{i}\right|B)=r\left({u}_{J}\right|B)$. Consequently, the basis vertices of ${J}_{2n,2}$ belong to the cycles induced by ${C}_{2n,1}$ and ${C}_{2n,2}$. It is shown in $\left[17\right]$ that if B is a basis of ${J}_{2n,1}$ then B consist only of the vertices of ${C}_{2n,1}$ that satisfy the following properties.

- If B is a basis of ${J}_{2n,1}$, $n\ge 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}_{2n,1}$, $n\ge 6$ then it contains at most one major gap.
- If B is a basis of ${J}_{2n,1}$, $n\ge 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}_{2n,1}$, $n\ge 6$ then any two minor neighboring gaps contain together at most four vertices.

**Lemma**

**1.**

Let B be a basis of ${J}_{2n,2}$, $n\ge 6$, then every $2-2$ gap, $2-3$ gap and $3-3$ gap of B induced by ${C}_{2n,1}$ and ${C}_{2n,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}_{2n,1}$ or ${C}_{2n,2}$ with $deg\left({u}_{1}\right)=deg\left({u}_{7}\right)=3$ then $r\left({u}_{3}\right|B)=r\left({u}_{5}\right|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}_{2n,1}$ or ${C}_{2n,2}$ with $deg\left({u}_{1}\right)=3$ and $deg\left({u}_{6}\right)=2$ then $r\left({u}_{3}\right|B)=r\left({u}_{5}\right|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}_{2n,1}$ or ${C}_{2n,2}$ with $deg\left({u}_{1}\right)=deg\left({u}_{5}\right)=2$, would imply $r\left({u}_{2}\right|B)=r\left({u}_{4}\right|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}_{2n,2}$, $n\ge 6$ then it contains at most one major gap induced by the vertices of cycles ${C}_{2n,1}$ and ${C}_{2n,2}$.

**Proof.**

Suppose B contains two distinct major gaps induced by the vertices of cycles ${C}_{2n,1}$ or ${C}_{2n,2}$.

**Case-(i)**: When both gaps are $3-3$ then we have two distinct paths consisting consecutive vertices ${u}_{1},{u}_{2}^{\ast},{u}_{3}$ and ${w}_{1},{w}_{2}^{\ast},{w}_{3}$ of ${C}_{2n,1}$ and ${C}_{2n,2}$ respectively in this case $r\left({u}_{3}^{\ast}\right|B)=r\left({w}_{3}^{\ast}\right|B)$; a contradiction.

**Case-(ii)**: When both gaps are $2-2$ then we have two distinct paths consisting of consecutive vertices ${u}_{1}^{\ast},{u}_{2},{u}_{3}^{\ast},{u}_{4},{u}_{5}^{\ast}$ and ${w}_{1}^{\ast},{w}_{2},{w}_{3}^{\ast},{w}_{4},{w}_{5}^{\ast}$ of ${C}_{2n,1}$ and ${C}_{2n,2}$ respectively but $r\left({u}_{3}^{\ast}\right|B)=r\left({w}_{3}^{\ast}\right|B)$; a contradiction.

**Case-(iii)**: When both gaps are $2-3$ then we have two distinct paths consisting of consecutive vertices ${u}_{1}^{\ast},{u}_{2},{u}_{3}^{\ast},{u}_{4}$ and ${w}_{1}^{\ast},{w}_{2},{w}_{3}^{\ast},{w}_{4}$ of ${C}_{2n,1}$ and ${C}_{2n,2}$ respectively in this case $r\left({u}_{3}^{\ast}\right|B)=r\left({w}_{3}^{\ast}\right|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}^{\ast},{u}_{3}$ and ${w}_{1}^{\ast},{w}_{2},{w}_{3}^{\ast},{w}_{4},{w}_{5}^{\ast}$ induced by ${C}_{2n,1}$ and ${C}_{2n,2}$ respectively but $r\left({u}_{2}^{\ast}\right|B)=r\left({w}_{3}^{\ast}\right|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}^{\ast},{u}_{3}$ and ${w}_{1}^{\ast},{w}_{2},{w}_{3}^{\ast},{w}_{4}$ of ${C}_{2n,1}$ and ${C}_{2n,2}$ respectively but $r\left({u}_{2}^{\ast}\right|B)=r\left({w}_{3}^{\ast}\right|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}^{\ast},{u}_{2},{u}_{3}^{\ast},{u}_{4},{u}_{5}^{\ast}$ and ${w}_{1}^{\ast},{w}_{2},{w}_{3}^{\ast},{w}_{4}$ of ${C}_{2n,1}$ and ${C}_{2n,2}$ respectively in this case $r\left({u}_{3}^{\ast}\right|B)=r\left({w}_{3}^{\ast}\right|B)$; a contradiction.

Similarly, if both major gaps are induced by ${C}_{2n,1}$ then we get a contradiction and a similar contradiction arises if ${C}_{2n,2}$ induced both major gaps. □

**Lemma**

**3.**

Let B be a basis of ${J}_{2n,2}$, $n\ge 6$, then any two neighboring gaps, one of which being a major gap induced by exactly one of two cycles ${C}_{2n,1}$ or ${C}_{2n,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}_{2n,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}_{2n,1}$:${u}_{1}^{\ast},{u}_{2},{u}_{3}^{\ast},{u}_{4},{u}_{5}^{\ast},{u}_{6},{u}_{7}^{\ast},{u}_{8},{u}_{9}^{\ast}$ and ${w}_{1}^{\ast},{w}_{2},{w}_{3}^{\ast},{w}_{4},{w}_{5}^{\ast},{w}_{6},{w}_{7}^{\ast},{w}_{8}$, where ${u}_{4},{w}_{6}\in B$ induced by $2-2$ major, $2-2$ minor gaps and $2-2$ major, $2-3$ minor gaps respectively. In this case $r\left({u}_{3}^{\ast}\right|B)=r\left({u}_{5}^{\ast}\right|B)$ and $r\left({w}_{5}^{\ast}\right|B)=r\left({w}_{7}^{\ast}\right|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}^{\ast},{u}_{2},{u}_{3}^{\ast},{u}_{4},{u}_{5}^{\ast},{u}_{6},{u}_{7}^{\ast},{u}_{8}$, where ${u}_{4}\in B$ then $r\left({u}_{4}^{\ast}\right|B)=r\left({u}_{5}^{\ast}\right|B)$; a contradiction. □

**Lemma**

**4.**

Let B be a basis of ${J}_{2n,2}$, $n\ge 6$, then any two minor neighboring gaps induced by ${C}_{2n,1}$ or ${C}_{2n,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}_{2n,1}$ or ${C}_{2n,2}$:${u}_{1}^{\ast},{u}_{2},{u}_{3}^{\ast},{u}_{4},{u}_{5}^{\ast},{u}_{6},{u}_{7}^{\ast}$, where ${u}_{4}\in B$ in this case $r\left({u}_{3}^{\ast}\right|B)=r\left({u}_{5}^{\ast}\right|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}_{2n,1}$ or ${C}_{2n,2}$:${w}_{1}^{\ast},{w}_{2},{w}_{3}^{\ast},{w}_{4},{w}_{5}^{\ast},{w}_{6}$ where ${w}_{4}\in B$ in this case $r\left({w}_{3}^{\ast}\right|B)=r\left({w}_{5}^{\ast}\right|B)$; a contradiction. □

**Theorem**

**1.**

If ${J}_{2n,2}$ be a double gear graph for $n\ge 4$, then

$$dim\left({J}_{2n,2}\right)=dim\left({J}_{2n,1}\right)+\u2308\frac{2n}{3}\u2309$$

**Proof.**

We have seen that $dim\left({J}_{8,2}\right)=5=dim\left({J}_{8,1}\right)+\u2308\frac{8}{3}\u2309$, $dim\left({J}_{10,2}\right)=7=dim\left({J}_{10,1}\right)+\u2308\frac{10}{3}\u2309$ and the central vertex v does not belong to any basis B of ${J}_{2n,2}$. Moreover
and
be the outer cycles of ${J}_{2n,2}$ at level 1 and 2 respectively. First we prove that $dim\left({J}_{2n,2}\right)\le dim\left({J}_{2n,1}\right)+\u2308\frac{2n}{3}\u2309$ by constructing a resolving set W in ${J}_{2n,2}$ with $dim\left({J}_{2n,1}\right)+\u2308\frac{2n}{3}\u2309$ vertices.

$${C}_{2n,1}:{v}_{1}^{1},{v}_{2}^{1},{v}_{3}^{1},\dots ,{v}_{2n}^{1},{v}_{1}^{1}$$

$${C}_{2n,2}:{v}_{1}^{2},{v}_{2}^{2},{v}_{3}^{2},\dots ,{v}_{2n}^{2},{v}_{1}^{2}$$

We consider three cases according to the residue class modulo 3 to which n belongs.

**Case-(i)**: When $n\equiv 0\left(mod3\right)$, then we may write $2n=3k$, where $k\ge 4$, is even and $dim\left({J}_{2n,1}\right)+\u2308\frac{2n}{3}\u2309=2k$, in this case W can be considered as:

$$W=\{{v}_{1}^{j},{v}_{2n-1}^{j};1\le j\le 2\}\cup \{{v}_{6i+1}^{1},{v}_{6i+3}^{1},{v}_{6i-1}^{2},{v}_{6i+1}^{2};1\le i\le \frac{k}{2}-1\}$$

**Case-(ii)**: When $n\equiv 1\left(mod3\right)$, then we may write $2n=3k+2$, where $k\ge 4$ is even and $dim\left({J}_{2n,1}\right)+\u2308\frac{2n}{3}\u2309=2k+1$, in this case W can be considered as:

$$W=\{{v}_{1}^{1},{v}_{2n-1}^{1},{v}_{1}^{2}\}\cup \{{v}_{6i+1}^{1},{v}_{6i+3}^{1};1\le i\le \frac{k}{2}-1\}\cup \{{v}_{6i-1}^{2},{v}_{6i+1}^{2};1\le i\le \frac{k}{2}\}$$

**Case-(iii)**: When $n\equiv 2\left(mod3\right)$, then we may write $2n=3k+1$, where $k\ge 5$ is even and $dim\left({J}_{2n,1}\right)+\u2308\frac{2n}{3}\u2309=2k+1$, in this case W can be considered as:

$$W=\{{v}_{1}^{1},{v}_{1}^{2},{v}_{2n-1}^{2}\}\cup \{{v}_{6i+1}^{1},{v}_{6i+3}^{1};1\le i\le \frac{k-1}{2}\}\cup \{{v}_{6i-1}^{2},{v}_{6i+1}^{2};1\le i\le \frac{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}_{2n,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,\dots ,2)$, which is different from the representation of all other vertices of ${J}_{2n,2}$. Hence,

$$dim\left({J}_{2n,2}\right)\le dim\left({J}_{2n,1}\right)+\u2308\frac{2n}{3}\u2309$$

Now we show that $dim\left({J}_{2n,2}\right)\ge dim\left({J}_{2n,1}\right)+\u2308\frac{2n}{3}\u2309$. As the central vertex v does not belong to any basis of ${J}_{3n}$. Let B be a basis of ${J}_{2n,2}$ such that $\left|B\right|=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}_{2n,1}$. Hence B induces $\lfloor \frac{r}{2}\rfloor $ gaps on ${C}_{2n,1}$ and $\u2308\frac{r}{2}\u2309$ gaps on ${C}_{2n,2}$.

We denote the gaps on ${C}_{2n,1}$ by ${G}_{1}^{1},{G}_{2}^{1},{G}_{3}^{1},\dots ,{G}_{\lfloor \frac{r}{2}\rfloor}^{1}$ where ${G}_{i}^{1}$ and ${G}_{i+1}^{1}$ are called neighboring gaps for $1\le i\le \u230a\frac{r}{2}\u230b-1$ as well as ${G}_{\lfloor \frac{r}{2}\rfloor}^{1}$ is also neighboring gap of ${G}_{1}^{1}$ and the gaps on ${C}_{2n,2}$ will be denoted by ${G}_{1}^{2},{G}_{2}^{2},{G}_{3}^{2},\dots ,{G}_{\lceil \frac{r}{2}\rceil}^{2}$ where ${G}_{i}^{2}$ and ${G}_{i+1}^{2}$ are called neighboring gaps for $1\le i\le \u2308\frac{r}{2}\u2309-1$ as well as ${G}_{\u2308\frac{r}{2}\u2309}^{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
and

$$|{G}_{1}^{1}+{G}_{2}^{1}|\le 6,\phantom{\rule{6pt}{0ex}}|{G}_{1}^{1}+{G}_{\lfloor \frac{r}{2}\rfloor}^{1}|\le 6,\phantom{\rule{4pt}{0ex}}\parallel {G}_{i}^{1}+{G}_{i+1}^{1}|\le 4,\phantom{\rule{4pt}{0ex}}for\phantom{\rule{4pt}{0ex}}2\le i\le \u230a\frac{r}{2}\u230b-1$$

$$|{G}_{1}^{2}+{G}_{2}^{2}|\le 4,\phantom{\rule{4pt}{0ex}}\parallel {G}_{1}^{2}+{G}_{\lceil \frac{r}{2}\rceil}^{2}|\le 4,\phantom{\rule{4pt}{0ex}}\parallel {G}_{i}^{2}+{G}_{i+1}^{2}|\le 4,\phantom{\rule{4pt}{0ex}}for\phantom{\rule{4pt}{0ex}}2\le i\le \u2308\frac{r}{2}\u2309-1$$

We consider two cases according to the residue class modulo 2 to which r belongs.

**Case-(i)**: When $r\equiv 0\left(mod2\right)$: In this case $\u230a\frac{r}{2}\u230b=\u2308\frac{r}{2}\u2309=\frac{r}{2}$

By summing the above inequality we have

$$2(2n-\frac{r}{2})=2\sum _{i=1}^{\frac{r}{2}}\left|{G}_{i}^{1}\right|\le 2r+4\Rightarrow \frac{r}{2}\ge \frac{2n-2}{3}\Rightarrow \frac{r}{2}\ge \u230a\frac{2n}{3}\u230b$$

Again

$$2(2n-\frac{r}{2})=2\sum _{i=1}^{\frac{r}{2}}\left|{G}_{i}^{1}\right|\le 2r\Rightarrow \frac{r}{2}\ge \frac{2n}{3}\Rightarrow \frac{r}{2}\ge \u2308\frac{2n}{3}\u2309$$

From Equations (2) and (3) we have,

$$r\ge \u230a\frac{2n}{3}\u230b+\u2308\frac{2n}{3}\u2309\Rightarrow dim\left({J}_{2n,2}\right)\ge dim\left({J}_{2n,1}\right)+\u2308\frac{2n}{3}\u2309$$

**Case-(ii)**: When $r\equiv 1\left(mod2\right)$: In this case $\u230a\frac{r}{2}\u230b=\frac{r-1}{2}$ and $\u2308\frac{r}{2}\u2309=\frac{r+1}{2}$

By summing the above inequality we have
and

$$2(2n-\frac{r-1}{2})=2\sum _{i=1}^{\frac{r-1}{2}}\left|{G}_{i}^{1}\right|\le 4+4\left(\frac{r-1}{2}\right)\Rightarrow \frac{r-1}{2}\ge \frac{2n-2}{3}\Rightarrow \frac{r-1}{2}\ge \u230a\frac{2n}{3}\u230b$$

$$2(2n-\frac{r+1}{2})=2\sum _{i=1}^{\frac{r+}{2}}\left|{G}_{i}^{2}\right|\le 4\left(\frac{r+1}{2}\right)\Rightarrow \frac{r+1}{2}\ge \frac{2n}{3}\Rightarrow \frac{r+1}{2}\ge \u2308\frac{2n}{3}\u2309$$

**Theorem**

**2.**

If ${J}_{2n,m}$ be a double gear graph for $n\ge 4$, $m\ge 3$, then

$$dim\left({J}_{2n,m}\right)=dim\left({J}_{2n,1}\right)+(m-1)\u2308\frac{2n}{3}\u2309$$

**Proof.**

We will prove this result by induction on levels of gear graph denoted by ${J}_{2n,m}$.

When $m=1$, then $dim\left({J}_{2n,1}\right)=\u230a\frac{2n}{3}\u230b$ is obtained in $\left[17\right]$.

When $m=2$, then $dim\left({J}_{2n,2}\right)=dim\left({J}_{2n,1}\right)+\u2308\frac{2n}{3}\u2309$ by Theorem 1.

Now we assume that the statement is true for $m=k$, $dim\left({J}_{2n,k}\right)=dim\left({J}_{2n,1}\right)+(k-1)\u2308\frac{2n}{3}\u2309$. we will show the result for $m=k+1$, by using concept of Theorem 1 we have $dim\left({J}_{2n,k+1}\right)=dim\left({J}_{2n,k}\right)+\u2308\frac{2n}{3}\u2309$.

Now $dim\left({J}_{2n,k+1}\right)=dim\left({J}_{2n,k}\right)+\u2308\frac{2n}{3}\u2309=dim\left({J}_{2n,1}\right)+(k-1)\u2308\frac{2n}{3}\u2309+\u2308\frac{2n}{3}\u2309$. $\Rightarrow dim\left({J}_{2n,k+1}\right)=dim\left({J}_{2n,1}\right)+k\u2308\frac{2n}{3}\u2309$. Hence the result is true for all positive integers $m\ge 3$. □

## 3. The Metric Dimension of Generalized Gear Graph ${J}_{3n}$

**Definition**

**5.**

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

#### Construction and Observations

The vertices of ${C}_{3n}$ in the graph ${J}_{3n}$ 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}_{3n}$ 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$$dim\left({J}_{6}\right)=2$, (one minor vertex of ${C}_{6}$ together with central vertex v form basis).
- When $n=3$$dim\left({J}_{9}\right)=2=dim\left({J}_{12}\right)$, (two minor vertices ${w}_{1}$ and ${w}_{2}$ such that $d({w}_{1},{w}_{2})=3$ form basis).
- When $n=5$$dim\left({J}_{15}\right)=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}_{3n},n\ge 4$ central vertex v does not belong to any basis. Since $d({v}_{i},v)\le 2$∀, $1\le i\le 3n$, and $diam\left({J}_{3n}\right)=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\le i\ne j\le 3n$ such that $r\left({u}_{i}\right|B)=r\left({u}_{j}\right|B)$. If B is a basis of ${J}_{3n}$ 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}_{3n}$, $n\ge 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}_{3n}$ such that $deg\left({u}_{1}\right)=deg\left({u}_{9}\right)$ we have $r\left({u}_{4}\right|B)=r\left({u}_{6}\right|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}_{3n}$ such that $deg\left({u}_{1}\right)=3$ and $deg\left({u}_{9}\right)=2$ we have $r\left({u}_{4}\right|B)=r\left({u}_{7}\right|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 $deg\left({u}_{1}\right)=deg\left({u}_{8}\right)=2$ then $r\left({u}_{3}\right|B)=r\left({u}_{6}\right|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}_{3n}$, $n\ge 6$, then it contains at most one major gap.

**Proof.**

Suppose B is basis of ${J}_{3n}$ 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}^{\ast},{u}_{4},{u}_{5}$ and ${w}_{1},{w}_{2},{w}_{3}^{\ast},{w}_{4},{w}_{5}$ but $r\left({u}_{3}^{\ast}\right|B)=r\left({w}_{3}^{\ast}\right|B)$.

**Case-(ii)**: When both gaps are $2-2$ then we have two distinct paths ${u}_{1},{u}_{2}^{\ast},{u}_{3},{u}_{4},{u}_{5}^{\ast},{u}_{6},{u}_{7},{u}_{8}^{\ast}$ and ${w}_{1},{w}_{2}^{\ast},{w}_{3},{w}_{4},{w}_{5}^{\ast},{w}_{6},{w}_{7},{w}_{8}^{\ast}$ but $r\left({u}_{5}^{\ast}\right|B)=r\left({w}_{5}^{\ast}\right|B)$.

**Case-(iii)**: When both gaps are $2-3$ then we have two distinct paths ${u}_{1},{u}_{2}^{\ast},{u}_{3},{u}_{4},{u}_{5}^{\ast},{u}_{6},{u}_{7}$ and ${w}_{1},{w}_{2}^{\ast},{w}_{3},{w}_{4},{w}_{5}^{\ast},{w}_{6},{w}_{7}$ but $r\left({u}_{5}^{\ast}\right|B)=r\left({w}_{5}^{\ast}\right|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}^{\ast},{u}_{4},{u}_{5}$ and ${w}_{1},{w}_{2}^{\ast},{w}_{3},{w}_{4},{w}_{5}^{\ast},{w}_{6},{w}_{7},{w}_{8}^{\ast}$ but $r\left({u}_{3}^{\ast}\right|B)=r\left({w}_{5}^{\ast}\right|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}^{\ast},{u}_{4},{u}_{5}$ and ${w}_{1},{w}_{2}^{\ast},{w}_{3},{w}_{4},{w}_{5}^{\ast},{w}_{6},{w}_{7}$ but $r\left({u}_{3}^{\ast}\right|B)=r\left({w}_{5}^{\ast}\right|B)$.

**Case-(vi)**: When one gap is $2-2$ and other is $2-3$ gap then we have two distinct paths ${u}_{1}^{\ast},{u}_{2},{u}_{3},{u}_{4}^{\ast},{u}_{5},{u}_{6},{u}_{7}^{\ast},{u}_{8}$ and ${w}_{1},{w}_{2}^{\ast},{w}_{3},{w}_{4},{w}_{5}^{\ast},{w}_{6},{w}_{7}$ but $r\left({u}_{4}^{\ast}\right|B)=r\left({w}_{5}^{\ast}\right|B)$. □

**Lemma**

**7.**

If B is a basis of ${J}_{3n}$, $n\ge 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}^{\ast},{u}_{3},{u}_{4},{u}_{5}^{\ast},{u}_{6},{u}_{7},{u}_{8}^{\ast}$ and ${w}_{1}^{\ast},{w}_{2},{w}_{3},{w}_{4}^{\ast},{w}_{5},{w}_{6},{w}_{7}^{\ast}$ but $r\left({u}_{5}^{\ast}\right|B)=r\left({w}_{4}^{\ast}\right|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}^{\ast},{u}_{3},{u}_{4},{u}_{5}^{\ast},{u}_{6},{u}_{7},{u}_{8}^{\ast}$ and ${w}_{1}^{\ast},{w}_{2},{w}_{3},{w}_{4}^{\ast},{w}_{5},{w}_{6}$ but $r\left({u}_{5}^{\ast}\right|B)=r\left({w}_{4}^{\ast}\right|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}^{\ast},{u}_{3},{u}_{4},{u}_{5}^{\ast},{u}_{6},{u}_{7}$ and ${w}_{1}^{\ast},{w}_{2},{w}_{3},{w}_{4}^{\ast},{w}_{5},{w}_{6},{w}_{7}^{\ast}$ but $r\left({u}_{5}^{\ast}\right|B)=r\left({w}_{4}^{\ast}\right|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}^{\ast},{u}_{3},{u}_{4},{u}_{5}^{\ast},{u}_{6},{u}_{7}$ and ${w}_{1}^{\ast},{w}_{2},{w}_{3},{w}_{4}^{\ast},{w}_{5},{w}_{6}$ but $r\left({u}_{5}^{\ast}\right|B)=r\left({w}_{4}^{\ast}\right|B)$. □

**Lemma**

**8.**

If B is a basis of ${J}_{3n}$, $n\ge 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}^{\ast},{u}_{4},{u}_{5},{u}_{6}^{\ast},{u}_{7},{u}_{8},{u}_{9}^{\ast},{u}_{10},{u}_{11},{u}_{12}^{\ast},{u}_{13},{u}_{14},{u}_{15}^{\ast},{u}_{16},{u}_{17}$ with ${u}_{1},{u}_{10},{u}_{17}\in B$ in this case $r\left({u}_{7}\right|B)=r\left({w}_{13}\right|B)$, a contradiction. □

**Lemma**

**9.**

If B is a basis of ${J}_{3n}$, $n\ge 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}^{\ast},{u}_{4},{u}_{5},{u}_{6}^{\ast},{u}_{7},{u}_{8},{u}_{9}^{\ast},{u}_{10},{u}_{11},{u}_{12}^{\ast},{u}_{13},{u}_{14},{u}_{15}^{\ast}$ with ${u}_{1},{u}_{8},{u}_{15}^{\ast}\in B$ which is not possible as $d\left({u}_{1}\right)=2=d\left({u}_{8}\right)$ but $d\left({u}_{15}^{\ast}\right)=3\ne 2$.

(ii) Second possible path is ${u}_{2},{u}_{3}^{\ast},{u}_{4},{u}_{5},{u}_{6}^{\ast},{u}_{7},{u}_{8},{u}_{9}^{\ast},{u}_{10},{u}_{11},{u}_{12}^{\ast},{u}_{13},{u}_{14},{u}_{15}^{\ast},{u}_{16}$ with ${u}_{2},{u}_{9}^{\ast},{u}_{16}\in B$ which is not possible as $d\left({u}_{2}\right)=2=d\left({u}_{16}\right)$ but $d\left({u}_{9}^{\ast}\right)=3\ne 2$. Hence two minor gap contain at most 11 vertices. □

**Theorem**

**3.**

If ${J}_{3n}$ be the generalized gear graph for $n\ge 6$, then $dim\left({J}_{3n}\right)=\u230a\frac{n}{2}\u230b$.

**Proof.**

First we prove that $dim\left({J}_{3n}\right)\le \u230a\frac{n}{2}\u230b$ by constructing a resolving set W in ${J}_{3n}$ with $\u230a\frac{n}{2}\u230b$ vertices. We consider two cases according to the residue class modulo 2 to which n belongs.

**Case-(i)**: When $n\equiv 0\left(mod2\right)$ then W can be considered as:

$$W=\{{v}_{1},{v}_{10},{v}_{16}\}\cup \{{v}_{6i+5};3\le i\le \frac{n}{2}-1\}$$

**Case-(ii)**: When $n\equiv 1\left(mod2\right)$ then W can be considered as:

$$W=\{{v}_{1},{v}_{10},{v}_{16}\}\cup \{{v}_{6i+5};3\le i\le \frac{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}_{3n}$ 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,\dots ,2)$, which is different from the representation of all other vertices of ${J}_{3n}$. Hence

$$dim\left({J}_{3n}\right)\le \u230a\frac{n}{2}\u230b$$

Now we show that $dim\left({J}_{3n}\right)\ge \u230a\frac{n}{2}\u230b$. By Lemma 5 the central vertex v does not belong to any basis of ${J}_{3n}$. Let B be a basis of ${J}_{3n}$ such that $\left|B\right|=r$. We have r gaps on ${C}_{3n}$ generated by elements of B. We denote these gaps by ${G}_{1},{G}_{2},{G}_{3},\dots ,{G}_{r}$ where ${G}_{i}$ and ${G}_{i+1}$ are called neighboring gaps for $1\le i\le 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
and by Lemmas 8 and 9, we have,

$$|{G}_{1}+{G}_{2}|\le 13,\phantom{\rule{4pt}{0ex}}|{G}_{1}+{G}_{r}|\le 13$$

$$|{G}_{2}+{G}_{3}|\le 11,\phantom{\rule{4pt}{0ex}}|{G}_{3}+{G}_{4}|\le 11,\phantom{\rule{4pt}{0ex}}|{G}_{i}+{G}_{i+1}|\le 10,\phantom{\rule{4pt}{0ex}}for\phantom{\rule{4pt}{0ex}}all\phantom{\rule{4pt}{0ex}}4\le i\le r-1$$

By summing these inequalities, we get,

$$2(3n-r)=2\sum _{i=1}^{r}\left|{G}_{i}\right|\le 8+10r\Rightarrow 6n-2r\le 8+10r$$

$$\Rightarrow 6n-8\le 12r\Rightarrow r\ge \frac{n}{2}-\frac{2}{3}$$

Hence $r=\u230a\frac{n}{2}\u230b$.

$$\Rightarrow dim\left({J}_{3n}\right)\ge \u230a\frac{n}{2}\u230b$$

## 4. Conclusions

In the foregoing section, m-level gear graph ${J}_{2n,m}$ and generalized gear graph ${J}_{3n}$ are constructed. It is proved that metric dimension of ${J}_{2n,m}$ is $dim\left({J}_{2n,1}\right)+(m-1)\u2308\frac{2n}{3}\u2309$ for every $n\ge 4$ and metric dimension of ${J}_{3n}$ is $\u230a\frac{n}{2}\u230b$ for every $n\ge 6$. This section is closed by raising the following open problem.

**Open Problem.**Determine the metric dimension of m-level generalized gear graph ${J}_{2n,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

- Tomescu, I.; Javaid, I. On the metric dimension of the jahangir graph. Bull. Math. Soc. Sci. Math. Roum.
**2007**, 50, 371–376. [Google Scholar] - 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] - 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] - 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]
- 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]
- Melter, R.A.; Tomescu, I. Metric bases in digital geometry. Graph. Image Process.
**1984**, 25, 113–121. [Google Scholar] [CrossRef] - Slater, P.J. Leaves of trees. Congress
**1975**, 14, 549–559. [Google Scholar] - Harary, F.; Melter, R.A. On the metric dimension of a graph. Ars Combin.
**1976**, 2, 191–195. [Google Scholar] - Tomescu, I.; Imran, M. metric dimension and R-Sets of connected graph. Graphs Combin.
**2011**, 27, 585–591. [Google Scholar] [CrossRef] - 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] - 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] - Siddique, H.M.A.; Imran, M. Computing the metric dimension of wheel related graphs. Appl. Math. Comput.
**2014**, 242, 624–632. [Google Scholar] - 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] - Sebo, A.; Tannier, E. On metric generators of graphs. Math. Oper. Res.
**2004**, 29, 383–393. [Google Scholar] [CrossRef] - 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]

© 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).