1,578
Views
3
CrossRef citations to date
0
Altmetric
Articles

On group vertex magic graphs

, , , &

Abstract

Let G=(V(G),E(G)) be a simple undirected graph and let A be an additive abelian group with identity 0. A mapping l:V(G)A{0} is said to be a A-vertex magic labeling of G if there exists an element μ of A such that w(v)=uN(v)l(u)=μ for any vertex v of G, where N(v) is the open neighborhood of v. A graph G that admits such a labeling is called an A-vertex magic graph. If G is A-vertex magic graph for any nontrivial abelian group A, then G is called a group vertex magic graph. In this paper, we obtain a few necessary conditions for a graph to be group vertex magic. Further, when AZ2Z2, we give a characterization of trees with diameter at most 4 which are A-vertex magic.

1 Introduction

By a graph G=(V,E) we mean a finite undirected graph with neither loops nor multiple edges. The order |V| and the size |E| are denoted by n and m respectively. For graph-theoretic terminology, we refer to Bondy and Murthy Citation[1]. For concepts in group theory, we refer to Herstein Citation[2].

Throughout this paper A stands for an abelian group with identity element 0. The group Z2Z2={(0,0),(1,0),(0,1),(1,1)} under component-wise addition modulo 2 is the Klein’s-4 group and is denoted by V4.

Lee et al. Citation[3] introduced the following concept of group-magic graphs.

Definition 1.1

For any abelian group A, a graph G=(V,E) is said to be A-magic if there exists a labeling l:E(G)A{0} such that the induced vertex labeling l+:V(G)A defined by, l+(v)=uvE(G)l(uv)is a constant map.

Lee et al. Citation[4] obtained a characterization of V4-magic trees.

Theorem 1.2

Citation[4] A tree T is Z2Z2-magic if and only if all its vertices have odd degrees.

Low et al. Citation[5] proved the following theorem on A-magic labeling of Cartesian product of two graphs.

Theorem 1.3

Citation[5] Let A be an abelian group. If G1=(V1,E1) and G2=(V2,E2) areA-magic graphs, then the Cartesian product G1G2 is A-magic.

Further results on group-magic labeling are given in Citation[4–8].

In this paper, we introduce the concept of group vertex magic graphs and present several results on the existence of such labelings for trees with diameter at most 4 and complete multipartite graphs.

2 Main results

Definition 2.1

A mapping l:V(G)A{0} is said to be a A-vertex magic labeling of G if there exists an element μ of A such that w(v)=uN(v)l(u)=μ for any vertex v of G. A graph G that admits such a labeling is called an A-vertex magic graph. If G is A-vertex magic graph for any nontrivial abelian group A, then G is called a group vertex magic graph.

The following are a few simple observations.

Observation 2.2

If G is a graph having a subgraph P4=(u1,u2,u3,u4) such that deg(u1)=1 and deg(u3)=2, thenG is notA-vertex magic for any abelian group A. In fact if is aA-vertex magic labeling of G, then (u2)=w(u1)=w(u3)=(u2)+(u4). Hence (u4)=0, which is a contradiction.

Observation 2.3

If G is a graph with two vertices u and v such that |N(u)N(v)|=deg(u)1=deg(v), thenG is not group vertex magic. Since |N(u)N(v)|=deg(u)1=deg(v), there exists a unique vertex w such that wN(u) and wN(v). Now if G isA-vertex magic for an abelian group A, then (w)=0, which is a contradiction. Hence G is not group vertex magic.

Observation 2.4

If A is any abelian group of even order, then any graph G with either all vertices are of even degree, or all vertices are of odd degree isA-vertex magic. The groupA has a nonzero elementg of order 2, and by labeling all the vertices of G with g, we get anA-magic labeling with magic constant zero or g according as the degree of vertices is even or odd.

Observation 2.5

Any r-regular graphG is group vertex magic. If we label all the vertices of G with a nonzero element g ofA, we get the required labeling with magic constant rg.

Theorem 2.6

Let A be any abelian group with |A|2. Then the complete bipartite graph Km,n where m,n2 isA-vertex magic.

Proof

Let V1={u1,u2,,un} and V2={v1,v2,,vm} be the bipartition of Km,n. Assign labels (ui) and (vj) where 1in1 and 1jm1 arbitrarily by the elements of A such that i=1n1(ui)=a,j=1m1(vj)=b and a,bA{0}. Now define (un)=a and (vm)=b. This gives an A-vertex magic labeling of Km,n with magic constant 0. □

Theorem 2.7

Let G=Km1,m2,,mk be ak-partite graph. LetA be an abelian group having at least one element a such that o(a)>cm{m1,m2,,mk}. Then G isA-vertex magic.

Proof

Let m=cm{m1,m2,,mk}. Let V1,V2,,Vk be the partite sets of G with |Vi|=mi. Define :VA by (v)=mmia for all vVi. Clearly is an A-vertex magic labeling of G with magic constant (k1)ma. □

We now proceed to investigate the existence of group magic labelings for trees.

Lemma 2.8

If n2, then any element of V4 can be expressed as i=1ngi, where all gi’s are nonzero elements of V4.

Proof

Let V4={0,a,b,c} where 2a=2b=2c=0 and sum of any two nonzero elements is the third nonzero element. Hence the result follows trivially when n=2. Now let n>2 and let μV4.

We consider two cases.

Case i. n is even.

If μ=0, then μ=i=1ngi, where gi=a for all i.

If μ=a, then μ=i=1ngi, where gi=a for all i with 1in2, gn1=b and gn=c.

The proof is similar if μ=b or c.

Case ii. n is odd.

If μ=0, then μ=i=1ngi, where g1=a,g2=b and gi=c for all i,3in.

If μ=a, then μ=i=1ngi, where gi=b if 1in1 and gn=a.

The proof is similar for μ=b or c. □

We now proceed to consider the existence of group vertex magic labelings for trees with diameter 2.

Theorem 2.9

Let T be a tree of order n and diameter 2.

(i)

The tree T is V4-vertex magic.

(ii)

If n is even, then T is group vertex magic.

Proof

(i) Since the diameter of T is 2, T=K1,n1 where n3. Let v0 be the center of T and let v1,v2,,vn1 be the leaves of T.

By Lemma 2.8, the element a in V4 can be written as a=i=1n1gi where gi are nonzero elements of V4.

Now define by (vi)=aif i=0giif 1in1.

Clearly is a V4-vertex magic labeling of T with magic constant a.

(ii) Suppose n is even. Let A be any abelian group of order m. Let gA.

Define :VA by (v)=gif v=v0 or vn1gif v=vi,i is even and i0,n1gif v=vi and i is odd.Clearly is a group-vertex magic labeling of K1,n with magic constant g. □

Observation 2.10

Let A be an abelian group with |A|>2. The path P2 is triviallyA-vertex magic. It follows from Theorem 2.9 that P3 is A-vertex magic.

We now proceed to characterize V4-vertex magic trees of diameter 3.

Let T be a tree with diameter 3. Then T is isomorphic to the bistar B(r,s), V(Br,s)={v1,v2,u1,u2,,ur,w1,w2,,ws},u1,u2,,ur are pendant vertices adjacent to v1 and w1,w2,,ws are pendant vertices adjacent to v2.

The graph Br,s is given in .

Fig. 1 A tree with diameter 3.

Fig. 1 A tree with diameter 3.

Theorem 2.11

Let T=Br,s be a tree with diameter 3. Then T is V4-vertex magic if and only if r2 and s2.

Proof

If r=1 or s=1, then it follows from Observation 2.3 that T is not V4-vertex magic. Now, let r2 and s2. It follows from Lemma 2.8 that the element 0 in V4 can be written as 0=i=1rgi=i=1shi where gi and hj are nonzero elements of V4.

Now define :V(T)V4 by

(v1)=(v2)=a,(ui)=gi and (vj)=hj. Clearly is a V4-vertex magic labeling of T with magic constant a. □

Corollary 2.12

Any V4-vertex magic tree T of diameter 3 has a V4-vertex magic subtree of diameter 2.

Proof

The subtree T obtained from T by deleting all the pendant vertices adjacent to a central vertex is a V4-vertex magic tree of diameter 2. □

Theorem 2.13

A tree with diameter 4 is V4 vertex magic if and only if either of the following holds.

(i)

Each internal vertex has at least two neighbors which are pendant vertices.

(ii)

Central vertex has an odd degree without any pendant vertex as its neighbor.

(iii)

Central vertex has an odd degree with exactly one pendant vertex as its neighbor, and all other internal vertices have at least two pendant vertices as its neighbor.

Proof

A tree T of diameter 4 is of the form given in . Note that vc is the central vertex of T. Let Next(vc)={vV:vN(vc) and deg(v)=1} and Nint(vc)={vV:vN(vc) and deg(v)>1}. Clearly deg(vc)=|Nint(vc)|+|Next(vc)|. Now, suppose T is V4-vertex magic with labeling . Let yiNint(vc) and (yi)=g where gV4{0}. Hence it follows that w(v)=g for all vV(T). Therefore, (yi)=g for all yiNint(vc).

Suppose (i) is not true.

Then we have the following cases.

Case 1. vc has at least one pendant vertex as its neighbor.

In this case each yi has at least two pendant vertices as its neighbor. Hence vc has exactly one pendant vertex as its neighbor, say w. Suppose deg(vc) is even. Since w(v)=g for all vV(T), we have w(vc)=l(w)+g=g. Hence l(w)=0, which is a contradiction.

Case 2. vc does not have a pendant vertex as its neighbor.

If deg(vc) is even, then w(vc)=0, which is a contradiction. Hence deg(vc) is odd.

We now proceed to prove the converse.

Suppose all the internal vertices of T have at least two neighbors which are pendant vertices. Let (v)=g for all internal vertices, so that w(v)=g for all pendant vertices u. It follows from Lemma 2.8 that all the pendant vertices of T can be labeled in such a way that w(v)=g for all internal vertices. This gives a V4-vertex magic labeling of T.

Now suppose deg(vc) is odd with at most one pendant vertex as its neighbor. If |Next(vc)|=0, define (yi)=g for all yiNint(vc). Since deg(vc) is odd, w(vc)=g. Now it follows from Lemma 2.8 that all the pendant vertices of T can be labeled in such a way that w(yi)=g for all yiNint(vc). This gives a V4-vertex magic labeling of T.

Further, when |Next(vc)|=1 and each yi has at least two pendant vertices as its neighbor. Then |Nint(vc)| is even. Let Next(vc)={w}. Define (w)=g,(vc)=g and (yi)=g for all yiNint(vc). Since deg(vc) is odd, w(vc)=deg(vc)g=g. It follows from Lemma 2.8 that all the remaining pendant vertices of T can be labeled in such a way that w(yi)=g for all yiNint(vc). This gives a V4-vertex magic labeling of T. □

Fig. 2 Diameter 4 tree.

Fig. 2 Diameter 4 tree.

3 Conclusion and scope

In this paper, we have introduced the concept of group vertex magic labeling and investigated the existence of such labelings for trees of diameter at most 4, when the group is the Klein’s-4 group. The investigation of the existence of such a labeling for arbitrary abelian groups and for other families of graphs are directions for further research.

References

  • BondyJ.A.MurtyU.S.R., Graph Theory with Applications1976American Elsevier Publishing Co. Inc.New York
  • HersteinI.N., Topics in Algebra2006John Wiley & SonsNew York
  • LeeS.M.SunH.WenI., On group-magic graphs J. Combin. Math. Combin. Comput. 382001 197–207
  • LeeS.M.SabaF.SalehiE.SunH., On the V4-magic graphs Congr. Numer. 1562002 59–67
  • LowR.M.LeeS.M., On the products of group-magic graphs Australas. J. Combin. 342006 41–48
  • ShiuW.C.LamP.C.B.SunP.K., Construction of group-magic graphs and some a-magic graphs with a of even order Proceedings of the Thirty-Fifth Southeastern International Conference on CombinatoricsGraph Theory and Computing vol. 1672004Congr. Numer.97–107
  • LowR.M.LeeS.M., On group–magic eulerian graphs J. Combin. Math. Combin. Comput. 502004 141–148
  • ShiuW.C.LowR.M., Group-magic labelings of graphs with deleted edges Australas. J. Combin. 572013 3–19