<<

arXiv:1701.08384v1 [math.CO] 29 Jan 2017 piiain[5.Teecnet eeitoue ySlate by introduced were Mastermind concepts the These for strategies [15]. optimization [15], patter problems of weighing problems coin [11], navigation robot [2], verification fabssfor basis a of scle a called is ahmnmmrsligsti a is set resolving minimum Each ( o nodrdsubset ordered an For Let Introduction 1 If ewe w vertices two between d ( d 1 v orsodn author Corresponding ( Γ , hrceiaino -iesoa Cayley 2-dimensional of characterization A x w , u ewe w vertices two between MSC(2010): Keywords: dimensio metric with groups dihedral on graphs gr general Cayley for of NP-complete all is dimension metric finding combinatori of lem game, Mastermind the recognitio for strategies pattern problems, of problems navigation, robot fication, ieso of dimension ( = y 1 , ) = ) v , subset A ∈ d V eovn set resolving ( , V v ,te o ovnetw write we convenient for then 1, E , ( .O o:319188 avn rn y.golkhandypour@edu Iran, Qazvin, 34149-16818, Box: O. P. ) w G eateto ahmtc,Ia hmiiItrainlUn International Khomeini Imam Mathematics, of Department Un International Khomeini Imam Mathematics, of Department Γ 2 easml n once rp ihvre set vertex with graph connected and simple a be ) hscnethsapiain nmn ra nldn netw including areas many in applications has concept This . ) ercdmnin alygah ierlgroup. Dihedral graph, Cayley dimension, Metric hr exists there ,..., W .O o:319188 avn rn [email protected]. Iran, Qazvin, 34149-16818, Box: O. P. G rmr:0C5 57,20B10. 05C75, 05C25, Primary: hscnetaiei aydvreaesicuignetwork including areas diverse many in arise concept This . ftevrie of vertices the of x rpso ierlgroups dihedral on graphs W , d y for ( v ∈ = , x w Γ V { and k w w fdsic etcsof vertices distinct if )) stelnt fasots ahbtente n sdntdby denoted is and them between path shortest a of length the is ∈ 1 , scle the called is y W w h adnlt famnmmrsligstfor set resolving minimum a of cardinality The . basis 2 ,..., uhthat such G sarsligstfor set resolving a is n the and .GlhnyPour Golkhandy Y. w k } .Behtoei A. ercrepresentation metric d x fvrie n vertex a and vertices of Abstract ( ∼ u , ercdimension metric w 1 y ) Γ h egbrodof neighborhood The . 6= aedsic ersnain ihrsetto respect with representations distinct have d 1 ( v G , n mg rcsig onweighing coin processing, image and n eonto n mg rcsig[12], processing image and recognition n w hnfrec aro itntvertices distinct of pair each for when lsac n piiain h prob- The optimization. and search al ) where , stwo. is n n17 hnh a okn with working was he when 1975 in r ps nti ae,w characterize we paper, this In aphs. ae[] obntra erhand search combinatorial [5], game of of V d v n deset edge and Γ ( v x ihrsetto respect with dim , ∈ , y ) V x eoe h distance the denotes the , icvr n veri- and discovery M .ikiu.ac.ir is ac.ir iversity, iversity, ( Γ N G ) k ( r icvr and discovery ork stecardinality the is , -vector x stemetric the is E = ) h distance The . W { h set The . y r : ( v x | d W ( ∼ x ) , W y y : W = } ) . . . U.S. Sonar and Coast Guard Loran stations and he described the usefulness of these concepts, [16]. Independently, Harary and Melter [9] discovered these concepts. Finding families of graphs with constant metric dimension or characterizing n-vertex graphs with a specified metric dimension are fascinating problems and atracts the attention of many researchers. The problem of finding metric dimension is NP-Complete for generalgraphsbut the metric dimensionof trees can be obtained using a polynomialtime algorithm. In [13] the metric dimension for two differentmodels of randomforests is investigated. It is not hard to see that for each n-vertex graph Γ we have 1 ≤ dimM(Γ) ≤ n − 1. Chartrand et al. [6] proved that for n ≥ 2, dimM(Γ)= n−1if and onlyif Γ is the complete graph Kn. The metric dimension of each complete t-partite graph with n vertices is n − t. They also provided a characterization of graphs of order n with metric dimension n − 2, see [6]. Graphs of order n with metric dimension n − 3 are characterized in [10]. Khuller et al. [11] and Chartrand et al. [6] proved that dimM(Γ)= 1 if and only if Γ is a path Pn. The metric dimension of the power graph of a cyclic is determined in [8]. Salman et al. studied this parameter for the Cayley graphs on cyclic groups [14]. Each Cn is a 2-dimensional graph (dimM(Cn)= 2). All of 2-trees with metric dimension two are characterized in [3] and 2-dimensional Cayley graphs on Abelian groups are characterized in [18]. Moreover, in [17] some properties of 2-dimensional graphs are obtained as below.

Theorem 1.1. [17] Let Γ be a 2-dimensional graph. If {u,v} is a basis for Γ, then 1. there is a unique shortest path P between u and v, 2. the degrees of u and v are at most three, 3. the degree of each internal vertex on P is at most five.

The Mobius¨ Ladder graph Mn is a cubic circulant graph with an even number n of vertices formed from an n-cycle by connecting opposite pairs of vertices in the cycle. For the metric dimen- sion of Mobius¨ Ladders we have the following result.

Theorem 1.1. [1] Let n ≥ 8 be an even number. The metric dimension of each Mobius Ladder Mn is 3 or 4. Specially, dimM(Mn)= 3 when n ≡ 2 (mod 8). C´aceres et al. studied the metric dimension of the Cartesian product of graphs.

Theorem 1.2. [4] Let Pm bea pathon m ≥ 2 vertices and Cn be a cycle on n ≥ 3 vertices. Then the metric dimension of each prism Pm ×Cn is given by

2 n odd, dimM(Pm ×Cn)= (3 n even. Let G be a group and let S be a subset of G that is closed under taking inverse and does not contain the identity element, say e. Recall that the Cay(G,S) is a graph whose vertex set is G and two vertices u and v are adjacent in it when uv−1 ∈ S. Since S is inverse-closed (S = S−1) and does not contain the identity, Cay(G,S) is a simple graph. It is well known that Cay(G,S) is a connected graph if and only if S is a generating set for G. In this paper, we study the metric dimension of Cayley graphs on dihedral groups and we characterize all of Cayley graphs on dihedral groups whose metric dimension is two.

2 2 Main results

At first, we provide two useful lemmas on dihedral groups and a sharp lower bound for the metric dimension of 3-regular bipartite graphs which will be used in the sequel.

i j n 2 Lemma 2.1. The subset {a b,a b} is a generating set for D2n = ha,b| a = b = (ab)2 = ei if and only if gcd(n,i − j)= 1. Proof. It is strightforward using the following fact about the subgroup generated by these elements.

haib,a jbi = {a(i− j)t , a(i− j)t+ib, a(i− j)t+ jb | t ∈ Z}.

n i j Lemma 2.2. If 4 | n and gcd(i − j,n)= 2, then {a 2 ,a b,a b} is not a generating set for D2n. i− j 2 n Proof. Since ha i and ha i are two cyclic subgroups of order 2 in the hai, we have n n n ha2i = hai− ji⊆h{a 2 ,aib,a jb}i. Since 4 | n, a 2 ∈ ha2i and hence, h{a 2 ,aib,a jb}i = h{aib,a jb}i. Now the result follows from Lemma 2.1.

Lemma 2.3. Let Γ be a 3-regular bipartite graph on n vertices. Then dimM(Γ) ≥ 3.

Proof. Since Γ is not a path, dimM(Γ) is at least two. Suppose that dimM(Γ)= 2 and let W = {u,v} be a resolving set for Γ. Assume that d(u,v)= d and N(u)= {u1,u2,u3}. It is easy to see that d(ui,v) ∈{d −1,d,d +1},foreach1 ≤ i ≤ 3. Ifthereexist1 ≤ i < j ≤ 3 such that d(ui,v)= d(u j,v), then r(ui|W)= r(u j|W), which is a contradiction. Hence, without loss of generality, we can assume that d(u1,v)= d − 1, d(u2,v)= d, d(u3,v)= d + 1.

Let σ1 be a (shortest) path between two vertices u and v of lengh d, and σ2 be a (shortest) path between two vertices u2 and v. Two paths σ1 and σ2 using the edge uu2 produce an old closed walk of lengh 2d + 1 in Γ which contradicts the fact that Γ is a bipartite graph. For the sharpness of this bound, consider the hypercube Q3 = K2 × K2 × K2. In Theorem 2.4 we characterize all of Cayley graphs on dihedral groups whose metric dimension n is two. Recall that the center of D2n is ha 2 i when n is even, otherwise it is the trivial subgroup {e}. n 2 2 Theorem 2.4. Let S be a generating subset of D2n = ha,b| a = b = (ab) = ei such that e ∈/ S = −1 S . Then we have dimM(Cay(D2n,S)) = 2 if and only if one of the following situations occures. a) n = |S| = 2, b) S = {aib,a jb} and gcd(i − j,n)= 1, c) nisoddandS = {ai,a−i,a jb} with gcd(i,n)= 1 and j ∈{1,2,...,n}.

Proof. Since D2n is not a cyclic group, we have |S|≥ 2. Assume that |S| = 2 and S = {x,y}. Since −1 −1 2 2 n j S = S and D2n is not cyclic, we have y 6= x and x = y = e. If S = {a 2 ,a b} for some 1 ≤ j ≤ n, i j then the condition D2n = hSi implies that n = 2 and D2n = D4. Otherwise, S = {a b,a b} and using Lemma 2.1 we have gcd(i − j,n)= 1. Hence, Cay(D2n,S) is a connected 2-regular graph (a cycle) and dimM(Cay(D2n,S)) = 2. If |S|≥ 4, then the degree of each vertex in Cay(D2n,S) is at least 4 and part (2) of Theorem 1.1 implies that dimM(Cay(D2n,S)) ≥ 3. Now assume that |S| = 3. Since S is a generating set and e ∈/ S = S−1, we consider the following cases.

3 Case 1. S = {ai,a−i,a jb}. j i t j −it i n Since (a b)(a ) (a b)= a , theorderof a is gcd(i,n) and S is a generating set, we have gcd(i,n)= 1. i ni (n−1)i 2i i j i Thus O(a )= n and vertices a ,a ,...,a ,a induce an n-cycle in Cay(D2n,S). Since a ∈ ha i, there exists k ∈{1,2,...,n} such that a j = aki. Therefore n vertices

akib,a(k+1)ib,...,a(k+n−2)ib,a(k+n−1)ib

ℓi (k+n−ℓ)i induce another cycle in Cay(D2n,S). Now for each 1 ≤ ℓ ≤ n let Mℓ = {a ,a b}. Note that ni ℓi (k+n−ℓ)i −1 ki j ℓi a = e and Ms ∩Mk = /0for each s 6= k. Since a (a b) = a b = a b ∈ S, two vertices a and (k+n−ℓ)i a b are adjacent in Cay(D2n,S). Thus, the edges M1,M2,...,Mn provide a perfect matching in Cay(D2n,S). Consequently, Cay(D2n,S) is isomorphic to P2 ×Cn. Now Theorem 1.2 implies that dimM(Cay(D2n,S)) = 2 if and only if n is odd.

Case 2. S = {an/2,aib,a jb} where n is an even number. i j n/2 n i j Let x = a b and y = a b. Since a is in the center of D2n and O(a 2 )= 2, hSi = ha b,a bi ∪ an/2haib,a jbi. Thus, a ∈ haib,a jbi or a ∈ an/2haib,a jbi. Note that |han/2,aibi| = |han/2,a jbi| = 4. Thus, a ∈/ han/2,aibi and a ∈/ han/2,a jbi.

Subcase 2.1. a ∈ haib,a jbi. i− j In this case, using Lemma 2.1 we have gcd(i− j,n)= 1. Thus, O(xy)= O(a )= n and Cay(D2n,S) contains a Hamiltonian cycle (on 2n vertices) as below.

e ∼ y ∼ xy ∼ yxy ∼ (xy)2 ∼ y(xy)2 ∼ ... ∼ y(xy)n−1 ∼ (xy)n = e.

i− j For each divisor d of n the cyclic group Zn has unique cyclic subgroup of order d. Since ha i = hai n n (i− j) 2 2 n/2 i− j n/2 n ℓ ℓ+n/2 and |ha i| = |ha i| = 2,wehave a = (a ) . Foreach1 ≤ ℓ ≤ 2 let Mℓ = (xy) ,(xy) and T = y(xy)ℓ,y(xy)ℓ+n/2 . Note that M 6= M and T 6= T for each s 6= k. Also, each M is an ℓ s k s k  ℓ edge in Cay(D2n,S) because  (xy)ℓ+n/2(xy)−ℓ = (xy)n/2 = (ai− j)n/2 = an/2 ∈ S

Thus, {M ,M ,...,M n } is a matchingin X(D ,S). Similarly, {T ,T ,...,Tn } is a matching and hence, 1 2 2 n 1 2 2 {M ,M ,...,M n ,T ,T ,...,Tn } provides a perfect matching for Cay(D ,S). Therefore,we havea cy- 1 2 2 1 2 2 2n cle on 2n vertices in which its opposite pairs of vertices are adjacent (see Figure 1 (i)). This implies that Cay(D2n,S) is a Mobius¨ Ladder and by Theorem 1.1, dimM(Cay(D2n,S)) 6= 2.

Subcase 2.2. a ∈ an/2haib,a jbi. n n 1 n 1 In this case, there exists k ∈ Z such that a = a 2 (ai− j)k. Hence, a 2 + ∈ hai− ji and a2 = (a 2 + )2 ∈ i− j i− j 2 n i− j n i− j i− j ha i. Thus, |ha i| ≥ |ha i| = 2 . Hence, O(a )= 2 or O(a )= n. The situation O(a )= n is i− j considered in Subcase 2.1 and we can assume that O(xy)= O(a )= n/2. Therefore, Cay(D2n,S) contains two n-cycles as below.

e ∼ y ∼ xy ∼ yxy ∼ (xy)2 ∼ y(xy)2 ∼ ... ∼ y(xy)n/2−1 ∼ (xy)n/2 = e, an/2 ∼ yan/2 ∼ (xy)an/2 ∼ y(xy)an/2 ∼ (xy)2an/2 ∼ ... ∼ (xy)n/2an/2 = an/2.

The fact O(xy)= n/2 implies that n vertices apeared in each cycle are distinct. Also, using the n n appearence of b, it is easy to see that (xy)t 6= y(xy)sa 2 and y(xy)t 6= (xy)sa 2 for each t,s ∈ Z. If there t s n t s n n i j t s i j 2 exist t,s ∈ Z such that (xy) = (xy) a 2 or y(xy) = y(xy) a 2 , then a 2 = (a − )( − ) ∈ ha − i = ha i.

4 Thus, 4 | n which is a contradiction (see Lemma 2.2). Therefore, all of 2n vertices appeared in these n cycles are distinct. Since a 2 ∈ S, correspondingvertices of two cycles are adjacent (see Figure 1 (ii)). Hence, Cay(D2n,S) is isomorphic to P2 ×Cn and Theorem 1.2 implies that dimM(Cay(D2n,S)) = 3. Case 3. S = {aib,a jb,at b}. s t s −t s−t Let H = hai and hence, V(Cay(D2n,S)) = H ∪ Hb. If a ,a ∈ H, then a a = a ∈/ S. Thus, the subset H of vertices induces an independent set in Cay(D2n,S). Similarly, Hb is an independent set. Consequently, Cay(D2n,S) is a 3-regular bipartite graph on 2n vertices. Now Lemma 2.3 implies that dim(Cay(D2n,S)) is at least three. This completes the proof.

un/2 yxy xy y(xy)n/2−1un/2 yun/2 (xy)2 y e y(xy)n/2−1 y (xy)n/2 e (xy)n/2−1un/2 (xy)n/2−1 xy xyun/2 yxy y(xy)n/2 (xy)n/2+2 (xy)n/2+1 y(xy)n/2+1 yxyun/2

(i) (ii)

Figure 1: (i) A Mobius¨ Ladder graph, and (ii) the Cartesian product P2 ×Cn.

−1 Corollary 2.5. If S ⊆ D2n such that e ∈/ S = S and |S|≥ 4, then dimM(Cay(D2n,S)) ≥ 3. We declare that we have no competing interests

References

[1] M. Ali, G. Ali, M. Imran, A. Q. Baig, M. K.f Shafiq, On the metric dimension of Mobius ladders, Ars Combinatoria, 105 (2012) 103-410. [2] Z. Beerliova, F. Eberhard, T. Erlebach, A. Hall, M. Hoffmann, M. Mihal’ak, L.S. Ram, Net- work dicovery and verification, IEEE Journal On Selected Areas in Communications, 24 (12) (2006) 2168-2181. [3] A. Behtoei, A. Davoodi, M. Jannesari, B. Omoomi, A characterization of some graphs with metric dimension two, submitted, https://arxiv.org/abs/1509.02129 . [4] J. Caceres, C. Hernando, M. Mora, I.M. Pelayo, M.L. Puertas, C. Seara, D.R. Wood, On the metric dimension of cartesian products of graphs, SIAM Journal on Discrete Mathematics, 21 (2) (2007) 423-441.

5 [5] V.Chv´atal, Mastermind, Combinatorica, 3 (1983) 325-329. [6] G. Chartrand, L. Eroh, M.A. Johnson, O.R. Ollermann, Resolvability in graphs and the metric dimension of a graph, Discrete Applied Mathematics, 105 (2000) 99-113. [7] D. Eppstein, Parallel recognition of series-parallel graphs, Information and Computation, 98(1) (1992) 41-55. [8] M. Feng, X. Ma, K. Wang, The structure and metric dimension of the power graph of a finite group, European Journal of Combinatorics, 43 (2015) 82-97. [9] F. Harary, R.A. Melter, On the metric dimension of a graph, Ars Combinatoria, 2 (1976) 191- 195.

[10] M. Janessari, B. Omoomi, Characterization of n-vertex graphs with metric dimension n − 3, Mathematica Bohemica, 139(1) (2014) 1-23. [11] S. Khuller, B. Raghavachari, A. Rosenfeld, Landmarks in graphs, Discrete Applied Mathemat- ics, 70 (3) (1996) 217-229. [12] R.A. Melter, I. Tomescu, Metric bases in digital geometry, Computer Vision Graphics and Image Processing, 25 (1984) 113-121. [13] D. Mitsche, J. Ro´e, On the limiting distribution of the metric dimension for random forests, European Journal of Combinatorics, 49 (2015) 68-89. [14] M. Salman, I. Javaid, M. A. Chaudhry, Resolvability in circulant graphs, Acta Mathematica Sinica, English Series, 29 (2012) 1851-1864. [15] A. Sebo and E. Tannier, On metric generators of graphs, Mathematics of Operations Research, 29 (2) (2004) 383-393. [16] P.J. Slater, Leaves of trees, Congressus Numerantium, 14 (1975) 549-559. [17] G. Sudhakara, A.R. Hemanth Kumar, Graphs with metric dimension two-a characterization, World Academy of Science, Engineering and Technology, 36 (2009) 621-626.

[18] E. Vatandoost, A. Behtoei, Y. Golkhandy Pour, Cayley graphs with metric dimension two - A characterization, submitted, https://arxiv.org/abs/1609.06565 .

6