The total labeling of a graph is a bijection from the union of the vertex set and the edge set of to the set . The edge-weight of an edge under a total labeling is the sum of the label of the edge and the labels of the end vertices of that edge. The vertex-weight of a vertex under a total labeling is the sum of the label of the vertex and the labels of all the edges incident with that vertex. A total labeling is called edge-magic or vertex-magic when all the edge-weights or all the vertex-weights are the same, respectively. When all the edge-weights or all the vertex-weights are different then a total labeling is called edge-antimagic or vertex-antimagic total, respectively.
In this paper we deal with the problem of finding a~total labeling of some classes of graphs that is simultaneously vertex-magic and edge-antimagic or simultaneously vertex-antimagic and edge-magic, respectively.
We show several results for stars, paths and cycles.
Keywords: Edge-magic total labeling, Vertex-magic total labeling, Edge-anti\-ma\-gic total labeling, Vertex-antimagic total labeling
1. Introduction
In this paper we consider finite, simple and undirected graphs. For
a graph we denote the set
of vertices and the set of
edges .
A labeling of a graph is any
mapping that sends certain set of graph elements to a certain set of
positive integers or colors. If the domain is the vertex-set, or the
edge-set, respectively, the labeling is called a vertex
labeling, or an edge labeling, respectively. If the domain
is then the labeling is called a total labeling.
More precisely, for a graph
a bijection is a total
labeling of .
Under the labeling , the
associated edge-weight of an edge , , is defined by
The associated vertex-weight of a vertex , , is defined by where
is the set of the neighbors of .
A labeling is a called
edge-magic total (vertex-magic
total) if the edge-weights (vertex-weights) are all the
same. If the edge-weights (vertex-weights) are pairwise distinct then
the total labeling is called edge-antimagic total
(vertex-antimagic total). A graph that admits
edge-magic total (edge-antimagic total) labeling or vertex-magic total
(vertex-antimagic total) labeling is called edge-magic total
(edge-antimagic total) graph or vertex-magic total (vertex-antimagic
total) graph, respectively.
In this paper we will use acronyms EMT, VMT,
EAT and VAT instead of edge-magic
total, vertex-magic total, edge-antimagic total and vertex-antimagic
total, respectively.
The subject of EMT graph has its origins in the work of Kotzig and
Rosa [1] and VMT
graphs were introduced by MacDougall, Miller, Slamin and Wallis in [2], see also [3]. The notion of EAT
labeling was introduced by Simanjuntak, Bertault and Miller in [4] as a natural
extension of magic valuation defined by Kotzig and
Rosa in [1], and VAT
labelings of graphs were introduced in [5], see also [6].
There are known characterizations of all EAT and VAT graphs. In [7] Miller, Phanalasy and Ryan
proved
Since all graphs are EAT and VAT, naturally we can ask whether there
exist graphs possessing a labeling that is simultaneously EAT and VAT.
Such a labeling is called a totally antimagic total
labeling and a graph that admits such a labeling a
totally antimagic total graph, for short
TAT graph. If, moreover, the vertices are labelled
with the smallest possible labels then, as is customary, the labeling is
referred to as super. The concept of TAT labeling
was given by Bača, Miller, Phanalasy, Ryan, Semaničová-Feňovčíková and
Sillasen [8]. In [8] it was proved that
complete graphs, paths, cycles, stars, double-stars and wheels are
TAT.
The definition of TAT labeling is a natural extension of the concept
of totally magic labeling defined by Exoo, Ling, McSorley, Phillips and
Wallis in [9]. They
showed that such graphs appear to be rare. They proved that the only
connected totally magic graph containing a vertex of degree is , the only totally magic trees are
and , the only totally magic cycle is
, the only totally magic
complete graphs are and , and the only totally magic complete
bipartite graph is .
In [8] Bača,
Miller, Phanalasy, Ryan, Semaničová-Feňovčíková and Sillasen proposed
the following open problems.
Problem 1. Find total labeling of some classes
of graphs that is simultaneously vertex-magic and
edge-antimagic.
Problem 2. Find total labeling of some classes
of graphs that is simultaneously vertex-antimagic and
edge-magic.
In this paper we will deal with these problems and we will try to
find the answers for some classes of graphs, especially for stars, paths
and cycles.
2. Stars, Paths and Cycles
As all graphs are (super) EAT, see Proposition 1, and all graphs are
(super) VAT, see Proposition 2, we trivially get, that a graph that is
simultaneously VMT and EAT, must be VMT. Analogously, the necessary
condition for a graph to be simultaneously VAT and EMT is that the graph
must be EMT.
The star is a graph
isomorphic to the complete bipartite graph . In [9] it was proved that the star is totally magic if and only if . Bača, Miller, Phanalasy, Ryan,
Semaničová-Feňovčíková and Sillasen in [8] proved that the star is TAT for .
Kotzig and Rosa [1]
proved that the complete bipartite graph is EMT for all integers , . Immediately from this result we get
that all stars are EMT. We now
prove the following result.
Theorem 1. The star is simultaneously EMT and VAT if and
only if .
Proof. We denote the vertices of by the symbols , , , such that
Let be a total labeling of
that is simultaneously EMT and
VAT. It means that the edges
and , , have the same weights,
i.e., The labeling must be also a VAT labeling of , thus the vertex-weights must be
pairwise different. But this is possible if and only if .
In [2] it was
proved that the complete bipartite graph is VMT if and only if . Note that is isomorphic to a path on 2 vertices
and is isomorphic to a path on
3 vertices. In [2]
MacDougall, Miller, Slamin and Wallis proved that the path on vertices is VMT for . According to these facts the star
is VMT if and only if .
Theorem 2. No star is simultaneously VMT and
EAT.
Proof. We only need to show that the star in not simultaneously VMT and EAT. It
is easy to check that there are only two non-isomorphic VMT labelings of
, both are illustrated in Figure
1. But both of these labelings are
simultaneously EMT.
Figure 1: The Only Two Non-Isomorphic VMT Labelings
of Star . Both Are
Simultaneously EMT
MacDougall, Miller, Slamin and Wallis [2] proved that the path on vertices and a cycle are VMT for . In [9] it was proved that is totally magic if and only if . Bača, Miller, Phanalasy, Ryan,
Semaničová-Feňovčíková and Sillasen in [8] proved that is TAT for every .
Theorem 3. The path is simultaneously EMT and VAT if and
only if .
Proof. We denote the vertices of by the symbols , , such that
First we prove that the path
is not simultaneously EMT and VAT. We prove it by contradiction. Let us
consider that is a labeling of
that is simultaneously EMT and
VAT. It means that the edges
and have the same weights,
i.e., But this is a contradiction to the fact that
is a VAT labeling of .
For , let us consider the
labeling , defined in the following way
For the edge-weights we have the following.
If , then If , then
Thus the labeling is EMT.
Let us consider the vertex-weights under the labeling . It is easy to see that the following is true:
For , we have .
For every positive integer , it holds that
To prove that is a VAT
labeling of we need to show
that for all positive integers ,
, we have
If then the
proof is trivial, as in this case the vertex-weights form an arithmetic
sequence with difference 3.
If then
the inequality (1) is true for .
Thus the labeling is
a simultaneously EMT and VAT labeling of for and
and .
For let us
consider the labeling of defined by
For the edge-weights under the labeling we get:
If , then If , then
Thus the labeling is EMT.
For the vertex-weights under the labeling we have:
Then we get:
For every positive integer , it holds that
To prove that is a VAT
labeling of we need to show
that for all positive integers ,
, we have
If then the
proof is again trivial, as the vertex-weights form an arithmetic
sequence with difference 3.
If then
the inequality (2) is true for . However, this
condition is satisfied as we considered the case when .
It means that for the labeling is
a simultaneously EMT and VAT labeling of .
For , , let us consider the labeling
of defined in the following way:
Analogously as in the previous cases we can prove that is simultaneously EMT and VAT labeling
of for .
In Figures 2, 3 and 4 we illustrate
simultaneously EMT and VAT labelings of , and , respectively.
Figure 2: Simultaneously EMT and VAT Labeling of
Figure 3: Simultaneously EMT and VAT Labeling of
Figure 4: Simultaneously EMT and VAT Labeling of
Theorem 4. For or , or
the path is simultaneously VMT and
EAT.
Proof. Figure 5 shows a labeling of that is simultaneously VMT and
EAT.
Figure 5: Simultaneously VMT and EAT Labeling of
Let be a positive integer,
, or . Let us consider the
labeling , defined in the following way:
For the vertex-weights under the labeling we get: Thus for we have . This means
that the labeling is VMT.
Let us consider the edge-weights under the labeling . If ,
then Thus the set of edge-weights for even is The edge-weights form an arithmetic sequence with
a difference 3. For the numbers in the set of edge-weights are congruent to 1
modulo 3. For the
numbers that form the set of edge-weights are congruent to 2 modulo
3.
If , then The set of edge-weights for odd form an arithmetic sequence with
difference 3, more precisely Moreover, in this case the edge-weights are
congruent to 0 modulo 3.
And
According to the previous discussions for , or edge-weights are
pairwise different.
Thus the labeling is
a simultaneously VMT and EAT labeling of for , or
.
Note that and are not simultaneously VMT and EAT.
For
we are not able to find the corresponding total labeling that is
simultaneously VMT and EAT. However we assume that such a labeling does
exist. The supporting argument for this assumption is the fact that
every VMT labeling of path is
derived from VMT labeling of cycle , see [2]. And for cycles there exist many
non-isomorphic VMT labelings, see Table 1 [2].
Table 1: Number of Non-Isomorphic VMT Labelings of Cycle [2]
In [9] it was
proved that the cycle is
totally magic if and only if .
Bača, Miller, Phanalasy, Ryan, Semaničová-Feňovčíková and Sillasen in
[8] proved that all
cycles are TAT.
We now prove the following result.
Theorem 5. For or , or
the cycle is simultaneously VMT and
EAT.
Proof. As we already mentioned, every VMT labeling of path
is derived from VMT labeling of
cycle , see [2]. The idea is to modify
the VMT labeling of cycle by
subtracting number 1 from every vertex label and every edge label of a
VMT labeling of the cycle and
then to delete the edge with label 0.
Thus, according to the proof of Theorem 4, let us consider
the labeling , defined in the following way:
Analogously as in the proof of Theorem 4 we prove that the
labeling is a simultaneously VMT
and EAT labeling of for , or .
According to Theorem 5 and the fact that for cycles (and only for
cycles) a VMT labeling is equivalent to EMT labeling, see [3], we have:
Theorem 6. For or , or
the cycle is simultaneously EMT and
VAT.
Note that for the cycle
there is neither a simultaneously VMT and EAT labeling nor a
simultaneously EMT and VAT labeling. The cases when are still
unsolved.
3. Conclusion
In this paper we have dealt with the problem of finding a total
labeling of some classes of graphs that is simultaneously vertex-magic
and edge-antimagic or simultaneously vertex-antimagic and edge-magic,
respectively. We showed the existence of such labelings for some classes
of graphs, such as stars, paths and cycles.
For or , or we proved that the cycle
is simultaneously EMT and VAT.
For other cases we propose the following open problem.
Problem 3. For the cycle , , determine if there is a simultaneously
EMT labeling and VAT labeling.
For further investigation we state the following open problem.
Problem 4. Find other classes of graphs that are
simultaneously VMT and EAT or simultaneously VAT and EMT,
respectively.
Acknowledgment
The work was supported by the Slovak Research and Development Agency
under the contract No. APVV-19-0153.
References:
Kotzig, A. and Rosa, A., 1970. Magic valuations of
finite graphs. Canadian Mathematical Bulletin, 13(4),
pp.451-461.
MacDougall, J.A., Miller, M., Slamin and Wallis, W.D., 2002.
Vertex-magic total labelings of graphs. Utilitas Mathematica,
61, pp.3-21.
Wallis, W. D., 2001. Magic Graphs, Birkhäuser, Boston –
Basel – Berlin.
Simanjuntak, R., Bertault, F. and Miller, M., 2000. Two new -antimagic graph labelings. In
Proc. of Eleventh Australasian Workshop on Combinatorial
Algorithms (Vol. 11, pp. 179-189).
Bača, M., MacDougall, J., Bertault, F., Miller, M., Simanjuntak, R.
and Slamin, 2003. Vertex-antimagic total labelings of graphs.
Discussiones Mathematicae Graph Theory, 23(1), pp.67-83.
Bača, M. and Miller, M., 2008. Super Edge-Antimagic Graphs: A
Wealth of Problems and Some Solutions. Universal-Publishers.
Miller, M., Phanalasy, O. and Ryan, J., 2011. All graphs have
antimagic total labelings. Electronic Notes in Discrete Mathematics,
38, pp.645-650.
Bača, M., Miller, M., Phanalasy, O., Ryan, J.,
Semaničová-Feňovčíková, A. and Sillasen, A.A., 2015. Totally antimagic
total graphs. The Australasian Journal of Combinatorics, 61,
pp.42-56.