---
title: Self-Reverse Distance Magic Labeling
url: https://www.emergentmind.com/topics/self-reverse-distance-magic-labeling
type: topic
---

# Self-Reverse Distance Magic Labeling

Searching arXiv for the specified paper to ground the article in the latest record.
Self-reverse distance magic labeling is a refinement of distance magic labeling for regular graphs that incorporates an involutory symmetry pairing each label with its reverse. In the underlying distance magic setting, a graph of order $n$ admits a bijective labeling of its vertices by integers from $1$ to $n$ such that the sum of the labels on the neighbors of every vertex is constant. The self-reverse variant, introduced for regular graphs, requires that the reversal operation be realized by an automorphism of the graph, yielding a compact quotient description and a natural $\mathbb{Z}_2$-symmetry. The concept is developed in detail for tetravalent distance magic graphs, where it supports structural classification, existence theorems by order, explicit constructions, and computational enumeration [2507.11226].

## 1. Distance magic labelings and the reverse operation

Let $G=(V,E)$ be a finite simple graph of order $n=|V|$. A bijection $f:V\to\{1,2,\dots,n\}$ is a distance magic labeling if there exists $k$ such that for every $v\in V$,
$$
w(v)=\sum_{u\in N(v)} f(u)=k.
$$
If $G$ is $r$-regular, the magic constant is uniquely determined by double counting:
$$
n k = r \sum_{u\in V} f(u) = r \cdot n(n+1)/2,
$$
hence
$$
k = r(n+1)/2.
$$
For such a labeling, the reverse labeling is defined by
$$
f^R(v)=n+1-f(v).
$$
For every vertex $v$,
$$
\sum_{u\in N(v)} f^R(u)=r(n+1)-\sum_{u\in N(v)} f(u)=r(n+1)-k=r(n+1)/2,
$$
so $f^R$ is again a distance magic labeling with the same magic constant [2507.11226].

For regular graphs, an equivalent zero-sum model is often used. In this formulation, vertices are labeled with
$$
I_n=\{1-n, 3-n, \dots, n-1\},
$$
and the requirement is that the sum of the labels on the neighborhood of every vertex be $0$. The passage between the classical model and the zero-sum model is given by the affine change
$$
f'(v)=(1+n+\ell(v))/2.
$$
This reformulation is central to the treatment of self-reversibility, because reversal becomes the sign change $\ell\mapsto -\ell$ [2507.11226].

## 2. Definition of self-reverse distance magic labeling

Let $G$ be a regular distance magic graph with labeling $\ell:V\to I_n$. For each vertex $v\in V$, let $v^\ell$ be the unique vertex such that
$$
\ell(v)+\ell(v^\ell)=0.
$$
If $n$ is odd, the unique vertex with label $0$ is fixed; this is the central vertex. The partition $P_\ell$ of $V$ consists of the pairs $\{v,v^\ell\}$ and, when $n$ is odd, possibly one singleton [2507.11226].

The labeling $\ell$ is self-reverse if the involution $\rho:V\to V$ defined by $\rho(v)=v^\ell$ is an automorphism of $G$. Equivalently, for every two distinct parts $A,B\in P_\ell$, the bipartite subgraph between $A$ and $B$ is either empty, a complete bipartite graph, or two disjoint edges. An equivalent formulation in the classical model is
$$
f(\rho(v)) = n+1-f(v)
$$
for all $v\in V$, where $\rho$ is an involutory automorphism pairing each label with its reverse; when $n$ is odd, $\rho$ has one fixed point, namely the central vertex [2507.11226].

A second equivalent criterion is phrased in terms of adjacency preservation under reversal: replacing $\ell$ by its reverse $\ell'(v)=-\ell(v)$ yields an equivalent labeling in the sense that adjacency between labels is preserved if and only if $\ell$ is self-reverse. When $\ell$ is self-reverse and $n$ is even, the involution has only length-2 orbits. This symmetry-enhanced condition is what permits a compressed description of both the graph and the labeling.

## 3. Quotient graphs, $\mathbb{Z}_2$-symmetry, and encoding of the labeling

Self-reverse labelings naturally define a $\mathbb{Z}_2$-symmetry. Let $\rho$ be the involution pairing each vertex with its reverse-labeled partner. The quotient graph $G/\langle \rho\rangle$ has one vertex for each orbit of $\rho$: each pair $\{v,v^\ell\}$ and, if $n$ is odd, one singleton corresponding to the central vertex [2507.11226].

The quotient encodes the interaction between the paired vertices in $G$ by a three-way distinction:

| Quotient feature | Configuration in $G$ | Label on quotient vertex |
|---|---|---|
| Solid edge | A perfect matching between two pairs, i.e. two disjoint edges | $|\ell(v)|$ |
| Dashed edge | All cross edges present, i.e. a complete bipartite $K_{2,2}$ | $|\ell(v)|$ |
| Dashed semiedge | $v$ adjacent to $v^\ell$ | $0$ for the central orbit when present |

In the language of graph covers, $G$ is a regular $\mathbb{Z}_2$-cover of this labeled, edge-colored quotient; solid edges have voltage $0$, dashed edges voltage $1$. The original labeling is recovered by assigning opposite signs within each fiber $\{v,v^\ell\}$, so one vertex receives $+|\ell|$ and the other $-|\ell|$, with solid and dashed edges determining whether neighbors in the lift have equal or opposite signs [2507.11226].

A concrete example is given by the wreath graph $W(4)\cong K_{4,4}$ with vertices $x_i,y_i$, $i\in\mathbb{Z}_4$, where each $x_i,y_i$ is adjacent to $x_{i\pm1},y_{i\pm1}$. One non-degenerate self-reverse labeling assigns
$$
\ell(x_0)=-1,\ \ell(y_0)=1,\ \ell(x_1)=-3,\ \ell(y_1)=3,\ \ell(x_2)=-5,\ \ell(y_2)=5,\ \ell(x_3)=-7,\ \ell(y_3)=7.
$$
The corresponding quotient graph has labels $\{1,3,5,7\}$ together with solid and dashed adjacencies and semiedges arranged so that lifting by $\mathbb{Z}_2$ reproduces $K_{4,4}$ and recovers the labeling [2507.11226].

## 4. Infinite families and general existence phenomena

Several known infinite families of tetravalent distance magic graphs admit self-reverse labelings. The wreath graphs $W(m)$, $m\geq 3$, have a natural self-reverse labeling
$$
\ell(x_i)=2i+1,\qquad \ell(y_i)=-(2i+1).
$$
If $m$ is not divisible by $4$, every distance magic labeling of $W(m)$ is self-reverse and degenerate, meaning that each pair $\{x_i,y_i\}$ has equal neighborhoods. If $4$ divides $m$, then $W(m)$ admits both degenerate and non-degenerate self-reverse labelings; for $m\geq 8$ there also exist non-self-reverse distance magic labelings [2507.11226].

Cartesian products of cycles $C_a \square C_b$ that are distance magic have all distance magic labelings self-reverse. Tetravalent distance magic circulants $\mathrm{Circ}(n;\{\pm1,\pm c\})$ are known and admit self-reverse labelings; more generally, valency-4 distance magic circulants support self-reverse labelings. For direct products of two cycles that are distance magic, when one factor is divisible by $4$, each connected component admits a self-reverse distance magic labeling [2507.11226].

The principal existence theorem for connected tetravalent graphs is formulated by order. For $n\geq 5$, there exists a connected tetravalent graph of order $n$ with a self-reverse distance magic labeling if and only if either $n$ is even with $n\geq 6$, or $n$ is odd with $n\geq 21$. The explicit exceptions are
$$
n\in\{7,9,11,13,15,17,19\}.
$$
There exists such a graph with a non-degenerate self-reverse labeling if and only if either $n\geq 23$ or
$$
n\in\{8,16,18,20,21\}.
$$
There exists a connected, non-wreath tetravalent graph of order $n$ admitting a self-reverse labeling if and only if $n\geq 18$ with $n\notin\{19,22\}$ [2507.11226].

These results place self-reverse labelings not as an exceptional phenomenon but as a broad symmetry class within tetravalent distance magic theory. A plausible implication is that the quotient-based viewpoint is not merely descriptive; it materially enlarges the range of orders for which explicit constructions can be organized systematically.

## 5. The merge construction along cyclets

A general construction produces a new distance magic graph from two existing regular distance magic graphs. Let $k\geq 2$ and let $G,G'$ be $(2k)$-regular distance magic graphs with zero-sum labelings $\ell,\ell'$. Let
$$
C=(u_0,u_1,\dots,u_{d-1})\subset G,\qquad C'=(v_0,v_1,\dots,v_{d-1})\subset G'
$$
be cyclets of even length $d$. The merged graph
$$
G \oplus^{C}_{C'} G'
$$
is formed from the disjoint union of $G$ and $G'$ by deleting the edges of $C$ and $C'$ and adding cross edges $u_i v_{i+1}$ and $v_i u_{i+1}$ for all $i$, with indices taken modulo $d$. The resulting graph remains $(2k)$-regular [2507.11226].

The label synthesis rule uses the partition
$$
A'=\{v'\colon \ell'(v')\geq 0\},\qquad B'=\{v'\colon \ell'(v')<0\},
$$
together with three hypotheses: the bipartition $\{A',B'\}$ is balanced, the cyclet $C'$ is alternating with respect to $\{A',B'\}$, and the local sum match
$$
\ell(u_{i-1})+\ell(u_{i+1})=\ell'(v_{i-1})+\ell'(v_{i+1})
$$
holds for all $i$. Writing $n=|V(G)|$ and $n'=|V(G')|$, one defines
$$
\widehat{\ell}(w)=\ell(w)\ \text{for } w\in V(G),\qquad
\widehat{\ell}(w)=\ell'(w)+n\ \text{for } w\in A',\qquad
\widehat{\ell}(w)=\ell'(w)-n\ \text{for } w\in B'.
$$
Then $\widehat{\ell}$ is a distance magic labeling of the merged graph, with neighbor sums remaining $0$ at each vertex [2507.11226].

Self-reversibility is preserved under additional symmetry conditions. If $\ell$ and $\ell'$ are self-reverse and $d=2d_0$ with either
$$
u_{i+d_0}=u_i^\ell,\qquad v_{i+d_0}=v_i^{\ell'}
$$
for all $i$, or
$$
u_{i+d_0}=u_{d_0-1-i}^\ell,\qquad v_{i+d_0}=v_{d_0-1-i}^{\ell'}
$$
for all $i$, then $\widehat{\ell}$ is self-reverse on the merged graph. In quotient terms, this is gluing along an alternating cycle or path in each quotient in a manner that respects the $\mathbb{Z}_2$-fibers, the solid/dashed structure, and the label differences [2507.11226].

This construction is used to establish existence across orders. Odd orders at least $21$ are obtained by starting from base examples of orders $21$, $23$, $25$, and $27$ and repeatedly merging with $W(4)$ along an appropriate $4$-cycle in the quotient whose endpoints both carry semiedges and have a fixed label difference $(\pm 4)$. Even orders are supplied in abundance by wreath graphs, with additional non-wreath constructions for $18$, $20$, $24$, $30$, and beyond [2507.11226].

## 6. Structural constraints and classification up to order 30

The theory imposes strong structural constraints. In tetravalent graphs, if a self-reverse labeling $\ell$ is degenerate, meaning that some vertex $u$ is adjacent to both $v$ and $v^\ell$, then every $v$ satisfies $v\neq v^\ell$ and
$$
N(v)=N(v^\ell).
$$
Consequently the graph has even order and is a wreath graph $W(m)$. For valency $4$, balanced complete-bipartite interactions in every pair are precisely the degenerate case. Conversely, any self-reverse labeling on a connected tetravalent graph of odd order is automatically non-degenerate, because there is a single central vertex with label $0$ and all other pairs are distinct and not twins [2507.11226].

Computational enumeration determines all connected tetravalent graphs up to order $30$ admitting non-degenerate self-reverse labelings, up to equivalence. For orders at most $16$, the only such graphs are the wreath graphs $W(m)$ for $3\leq m\leq 8$, and non-degenerate self-reverse labelings occur only for $W(4)$ and $W(8)$. For $16\leq n\leq 30$, the paper reports the counts of nonequivalent non-degenerate self-reverse labelings, nonisomorphic graphs, and vertex-transitive examples [2507.11226].

| $n$ | \#SR, \#gr, \#VT |
|---|---|
| 16 | 48, 1, 1 |
| 17 | 0, 0, 0 |
| 18 | 136, 2, 1 |
| 19 | 0, 0, 0 |
| 20 | 66, 2, 1 |
| 21 | 57, 7, 0 |
| 22 | 0, 0, 0 |
| 23 | 675, 80, 0 |
| 24 | 11156, 9, 3 |
| 25 | 3063, 522, 0 |
| 26 | 31562, 37, 0 |
| 27 | 10951, 2647, 0 |
| 28 | 35402, 342, 0 |
| 29 | 68837, 22893, 0 |
| 30 | 229716, 4151, 1 |

Among the notable vertex-transitive examples are $C_3 \square C_6$ of order $18$, $\mathrm{Circ}(24;\{\pm1,\pm5\})$, $\mathrm{Circ}(30;\{\pm1,\pm4\})$, and the wreath graphs $W(8)$ and $W(12)$. Two additional vertex-transitive non-wreath examples are exhibited at orders $20$ and $24$ via their quotients; one of order $24$ is a Cayley graph of $S_4$, and the order-$20$ example is vertex-transitive but not a Cayley graph, with a quotient resembling the Petersen graph with semiedges at each vertex [2507.11226].

## 7. Significance, related directions, and open problems

Self-reverse labelings occupy a specific place within distance magic theory as an efficient symmetry class. They compress graph-label pairs via quotients and voltage assignments, thereby linking distance magic labeling to the theory of regular covers. They also identify precisely when reversing a labeling yields an equivalent labeling: this occurs exactly when the involution pairing labels with their reverses is an automorphism. In several major tetravalent families, including wreath graphs, circulants, and Cartesian and direct products of cycles, self-reversibility is pervasive; in some cases, such as the relevant Cartesian products of cycles, all distance magic labelings are self-reverse [2507.11226].

The computational and structural results also isolate a set of unresolved problems. One is the odd vertex-transitive case: whether connected tetravalent vertex-transitive distance magic graphs of odd order exist, and if so whether any admit self-reverse labelings. A second is edge-transitive characterization: to characterize connected tetravalent edge-transitive distance magic graphs and determine which admit self-reverse labelings. A third is vertex-transitive characterization more generally, including the question of whether there exists a connected tetravalent vertex-transitive distance magic graph with no self-reverse labeling. A fourth concerns the Cayley versus non-Cayley distinction: whether infinitely many connected tetravalent vertex-transitive distance magic graphs that are not Cayley graphs exist, and whether infinitely many such non-Cayley examples admit self-reverse labelings [2507.11226].

Further problems concern constructions and algorithmics. The merge construction may be extended to multiple disjoint cyclets and alternating paths, and one may develop algorithms to decide self-reversibility. The paper also points to an augmented single-graph construction that re-wires along two cyclets $C,C'$ inside one distance magic graph under the local sum compatibility
$$
\ell(u_{i-1})+\ell(u_{i+1})=\ell(v_{i-1})+\ell(v_{i+1}),
$$
preserving distance magic and forcing $d\equiv 0 \bmod 4$. This suggests that self-reverse distance magic labeling is not only a structural notion but also a constructive framework for generating and organizing broad classes of regular distance magic graphs [2507.11226].

Source: https://www.emergentmind.com/topics/self-reverse-distance-magic-labeling