Table of Contents
Journal of Discrete Mathematics
Volume 2014, Article ID 482635, 4 pages
Research Article

On the Barycentric Labeling of Certain Graphs

Department of Mathematics, Yazd University, Yazd 89195-741, Iran

Received 6 September 2014; Accepted 29 October 2014; Published 16 November 2014

Academic Editor: Wai Chee Shiu

Copyright © 2014 Saeid Alikhani and Zeynab Amirzadeh. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


Let be an abelian group. A graph is called -magic if there exists edge labeling such that the induced vertex set labeling , defined by , where the sum is over all edges in , is a constant map. A graph is -barycentric-magic (or has -barycentric labeling) if is -magic and also satisfies for all and for some vertex adjacent to . In this paper we consider some graphs and characterize all for which is -barycentric-magic.

1. Introduction

Let be a finite, simple, and undirected graph. Labeling for a graph is a map that takes graph elements to numbers (usually positive or nonnegative integers). Let be an abelian group (written additively). The graph is called -magic if there exists labeling such that, for each vertex , the sum of values of all edges incident with , denoted by , is a constant; that is, , for some . When this constant is , is said to be -zero-sum magic. The integer-magic spectrum of a graph is the set .

As an example, Figure 1 shows a graph which is -zero sum magic, for every group (see [1]).

Figure 1: An example for -zero sum magic graph.

Let us state some easy lemmas (or observations). They are straightforward to verify and can be found in [2].

Lemma 1. A graph is -magic if and only if every vertex of is of the same parity.

Lemma 2. An Eulerian graph with even size is -magic.

Lemma 3. If is a subgroup of and graph is -magic, then is -magic.

Various authors have introduced labeling that generalizes the idea of magic square. Kotzig and Rosa [3] defined a magic labeling to be total labeling on the vertices and edges in which the labels are the integers from to . The sum of labels on an edge and its two endpoints is constant. In 1996 Ringel and Llado [4] redefined this type of labeling as edge-magic. Also, Enomoto et al. [5] have introduced the name super edge-magic for magic labeling in the sense of Kotzig and Rosa, with the added property that the vertices receive the smaller labels, . Lee et al. [6] defined the concept of -edge magic graphs and studied it for certain graphs (see, e.g., [7]). Recently authors in [8] defined a new kind of group magicness graphs.

Here we recall the following definition.

Definition 4 (see [8]). If there exists labeling for a graph , whose induced vertex set labeling is a constant map and for all the sum also satisfies for some vertex adjacent to is said to be -barycentric-magic.

Note that the motivation of Definition 4 is the following definition of -barycentric sequence which was introduced in [9] and has already been used in graph labeling problems, specially in Ramsey theory [911].

Definition 5. Let be elements of an abelian group . This sequence is -barycentric if there exists such that . The element is called a barycenter.

Example 6. Figure 2 shows a graph with and which is -barycentric-magic. Note that in this example the sum is (mod 4) for all .

Figure 2: -barycentric magic graph.

The study of the barycentric-magic graphs is motivated by the relationship between different types of magic labeling and the behavior of the sums of sequences in abelian groups. That is, -magic labeling of a graph is equivalent to sequences of nonzero elements of with the same sum; -zero-sum magic labeling is equivalent to zero-sum sequences in .

Note that -barycentric-magic labeling is equivalent to sequences of nonzero elements of that contain one element which is the “average” of its terms, called barycentric sequence.

Similar to the definition of integer magic spectrum of -magic graphs we state the definition of barycenter-magic spectrum of graph.

Definition 7 (see [8]). For a given graph the set of all positive integers for which is -barycentric-magic is called the barycenter-magic spectrum of and is denoted by .

In this paper, we consider specific graphs and characterize all for which is -barycentric-magic.

2. Barycentric-Magic Labeling of Certain Graphs

In this section, we characterize all for which is -barycentric-magic. First we consider some complete bipartite graphs.

First we state the following theorem.

Theorem 8 (see [8]). The complete bipartite graph is not -barycentric-magic for any .

We generalize the previous theorem.

Theorem 9. For , is -barycentric-magic if and only if .

Proof. Let be the set of vertices of . For each , the edges incidents to must have the same label. Suppose that and . Then (mod m). We consider the two following cases.
Case 1 ( is odd). In this case, the condition (mod ) implies that all edges have the same label, say . By the condition we have (mod ) and this is impossible when . If , then using gives a barycentric-magic labeling.
Case 2 ( is even). Here we give two different approaches. In this case, the condition (mod ) implies that there are at most two different labels and , such that (mod ). Now label as follows: for and for , for some . Then, the edges incidents to must be labeled in the same way. This labeling is barycentric-magic if and only if or Without loss of generality, we consider only the first relation. The condition (mod ) is satisfied only when . So suppose that . Choose , and and since is even we get Therefore with this labeling is -barycentric-magic.
Now we state the second approach.
Since (mod ), if , then , a contradiction. Conversely, let . This is also a -barycentric-magic labeling for .

Example 10. Consider the graph and the group . Let be the set of vertices of . In this case, since choose and and . The labeling of is as follows: for and ; for and ;then (mod 10) for ; (mod 10) for ; (mod 10) for . Then with this labeling we get barycentric-magic labeling.

Here we consider friendship graphs.

Let be any positive integer and Dutch-Windmill, or friendship graph with vertices and edges. In other words, the friendship graph is a graph that can be constructed by coalescence copies of the cycle graph of length with a common vertex. The friendship theorem of Erdös et al. [12] states that graphs with the property that every two vertices have exactly one neighbour in common are exactly the friendship graphs. Figure 3 shows some examples of friendship graphs.

Figure 3: Friendship graphs , and , respectively.

Theorem 11. Friendship graphs are -barycentric-magic graphs for any .

Proof. Consider friendship graph and suppose that and for . We label all the edges of with . Since (mod ) (e.g., put ), the graphs are -barycentric-magic.

Here we consider another families of graphs denoted by (see Figure 4).

Figure 4: Graph .

Theorem 12. The graphs are not -barycentric-magic for every .

Proof. Suppose that the set of vertices of is , where and and , , and . One can consider some cases to prove that there is no barycentric-magic labeling for . Here we state two cases. We label the graph as follows.
Case 1. Label all edges of with . In this case  (mod ) or (mod ) which is not true.
Case 2. We label as follows: for each and for each and for each and and ). From we have (mod ) or (), but is the label of edges , so this labeling is not barycentric-magic.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.


The authors would like to express their gratitude to the referee for careful reading and helpful comments.


  1. W. C. Shiu and R. M. Low, “Integer-magic spectra of sun graphs,” Journal of Combinatorial Optimization, vol. 14, no. 2-3, pp. 309–321, 2007. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus
  2. R. M. Low and S.-M. Lee, “On group-magic Eulerian graphs,” Journal of Combinatorial Mathematics and Combinatorial Computing, vol. 50, pp. 141–148, 2004. View at Google Scholar · View at MathSciNet
  3. A. Kotzig and A. Rosa, “Magic valuations of finite graphs,” Canadian Mathematical Bulletin, vol. 13, pp. 451–461, 1970. View at Google Scholar · View at MathSciNet
  4. G. Ringel and A. S. Llado, “Another tree conjecture,” Bulletin of the Institute of Combinatorics and Its Applications, vol. 18, pp. 83–85, 1996. View at Google Scholar · View at MathSciNet
  5. H. Enomoto, A. S. Llado, T. Nakamigawa, and G. Ringel, “Super edge-magic graphs,” SUT Journal of Mathematics, vol. 34, no. 2, pp. 105–109, 1998. View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet · View at Scopus
  6. S.-M. Lee, H.-H. Su, and Y.-C. Wang, “On k-edge-magic Halin graphs,” Congressus Numerantium, vol. 204, pp. 129–145, 2010. View at Google Scholar
  7. S. Alikhani, W. Kocay, G.-C. Lau, and S.-M. Lee, “On the k-edge magic graphs,” Electronic Notes in Discrete Mathematics, vol. 45, pp. 35–41, 2014. View at Publisher · View at Google Scholar · View at Scopus
  8. S. Alikhani and B. Davvaz, “A new kind of group magicness of graphs”.
  9. C. Delorme, S. Gonzalez, O. Ordaz, and M. T. Varela, “Barycentric sequences and barycentric Ramsey numbers stars,” Discrete Mathematics, vol. 277, no. 1–3, pp. 45–56, 2004. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus
  10. C. Delorme, I. Marquez, O. Ordaz, and A. Ortuño, “Existence conditions for barycentric sequences,” Discrete Mathematics, vol. 281, no. 1–3, pp. 163–172, 2004. View at Publisher · View at Google Scholar · View at MathSciNet · View at Scopus
  11. S. González, L. González, and O. Ordaz, “Barycentric Ramsey numbers for small graphs,” Bulletin of the Malaysian Mathematical Sciences Society: Second Series, vol. 32, no. 1, pp. 1–17, 2009. View at Google Scholar · View at MathSciNet
  12. P. Erdös, A. Renyi, and V. T. Sos, “On a problem of graph theory,” Studia Scientiarum Mathematicarum Hungarica, vol. 1, pp. 215–235, 1966. View at Google Scholar