Mathematician Johnny Lim has established exact combinatorial formulae for closed three-walks and four-walks on graphs with self-loops, linking structural subgraphs directly to spectral properties and deriving new inequalities for graph energy. Published in the Bulletin of the Malaysian Mathematical Sciences Society, the research investigates self-loop graphs where an arbitrary subset of vertices possesses attached loops. While classical spectral graph theory traditionally focuses on simple, loopless networks, introducing self-loops modifies the trace of powers of adjacency matrices and alters spectral invariants. Lim’s study resolves the problem of calculating low-dimensional closed walks for arbitrary loop distributions without computing full adjacency matrix powers, while introducing twisted spectral moments that produce universal lower bounds for self-loop graph energy.
In spectral graph theory, a simple undirected graph consists of a vertex set of order n and an edge set of size m. A self-loop graph, denoted G_S, is formed by attaching a single loop to each vertex within a subset S of the vertex set, where the loop count is denoted by sigma, ranging from zero to n. When sigma equals zero, the graph is loopless; when sigma equals n, every vertex possesses a loop. The framework treats the self-loop graph as a multi-digraph without multiple edges, where each undirected edge corresponds to opposing directed arcs and each directed loop corresponds to an undirected self-loop. A walk of length k is a sequence of vertices where consecutive pairs are connected by an edge or loop, and a walk is closed when its starting and terminal vertices coincide.
The spectral properties of G_S are encoded in its n-by-n adjacency matrix A(G_S), containing entries equal to one for adjacent distinct vertices, diagonal entries equal to one for looped vertices in S, and zeros elsewhere. The real eigenvalues of this symmetric matrix are ordered from largest to smallest. By algebraic graph principles combining Schur’s Triangularization Theorem and matrix trace invariance, the sum of the k-th powers of eigenvalues equals the trace of the k-th power of the adjacency matrix, counting total closed k-walks. Previous research showed that the sum of eigenvalues equals sigma, representing closed one-walks of single loops, while the sum of squared eigenvalues equals twice the edge count plus sigma, counting closed two-walks. However, closed walks of lengths three and four remained an open challenge across general self-loop configurations.
Addressing closed three-walks, Lim proved Theorem 2.3, demonstrating that the total number of closed three-walks on any connected self-loop graph equals three times the sum of the degrees of looped vertices in G, plus six times the number of triangles in G, plus sigma. The proof proceeds through a combinatorial partition of walks starting at looped versus non-looped vertices. At a looped vertex in S, four distinct closed paths of length three occur: a triple self-looping on the vertex itself; a walk traversing an edge to an unlooped vertex and using the loop twice, giving two walks per neighbor; a walk traversing an edge to an adjacent looped vertex, yielding three walk combinations; or a cycle traversing a triangle containing the vertex, contributing two directional paths. For vertices outside S, closed three-walks traverse an incident edge to a looped vertex or complete a triangle.
Lim showed that the closed three-walk invariant reveals structural details in self-loop graphs that are trivial or vanishing in loopless settings. In classical simple graphs, closed three-walks equal six times the triangle count, vanishing entirely in bipartite or triangle-free graphs. For complete graphs K_n with sigma loops, the formula yields sigma times three n minus two plus n times n minus one times n minus two, showing the walk count is independent of loop placement. In complete bipartite graphs K_{a,b}, where triangles are absent, the closed three-walk count simplifies to three times the sum of part sizes weighted by loop distributions, plus sigma, resolving roots of cubic polynomials determining graph spectra. For regular triangle-free structures like Kneser graphs and Petersen graphs, closed three-walks remain strictly positive whenever sigma is at least one, satisfying Mantel-type extremal bounds.
To determine closed four-walks, Theorem 2.12 establishes a formula expressing the walk count using the first Zagreb index, edge count, vertex degrees, loop-neighbor incidences, and higher-order elementary subgraphs. Specifically, the invariant equals sigma plus twice the difference between the first Zagreb index and edge count, plus six times the sum of degrees of looped vertices, minus twice the count of edges connecting looped vertices to non-looped vertices, plus eight times an aggregated sum of looped triangles, four-cycles, and complete four-vertex subgraphs. The proof systematically analyzes eleven mutually exclusive geometric walk topologies originating at each vertex, encompassing quadruple self-looping, edge traversals, path traversals of length three, edge-loop combinations, and multi-loop triangle cycles.
Within the derivation of closed four-walks, triangles with loops are classified into three disjoint categories based on whether one, two, or three vertices carry loops, contributing multipliers of eight, sixteen, and twenty-four walks across the graph. Four-cycles that are not boundary faces of complete subgraphs K_4 contribute eight walks each, while complete subgraphs K_4 contribute twenty-four walks, ensuring cycle boundaries are not double-counted. In the loopless limit where sigma is zero, the expression collapses to twice the difference between the first Zagreb index and edge count plus eight times the number of four-cycles, matching classical spectral graph results. When applied to complete four-vertex graphs with three loops, path graphs, star graphs, trees, and cycles, the formula reproduces matrix trace calculations while capturing variations from loop adjacency.
Building upon walk enumeration, the second major contribution of the investigation introduces twisted spectral moments, extending the study of spectral graph energy. Lim defines the twisted moment of order q, shifted by the first spectral moment sigma, as the sum over all eigenvalues of the absolute difference between each eigenvalue and the mean loop density sigma over n, raised to the power q. When q equals zero, the twisted moment equals the graph order n. When q equals one, the twisted moment recovers the self-loop graph energy first defined by Ivan Gutman and collaborators, representing the total absolute deviation of eigenvalues from their average.
The research derives explicit algebraic expressions for low-integer twisted moments without requiring knowledge of individual eigenvalues. For q equals two, the twisted moment simplifies to twice the edge count plus sigma minus sigma squared divided by n, which corresponds to the closed two-walk count minus the square of the average eigenvalue sum. For q equals three and four, Proposition 3.3 expresses the moments using closed walk counts w_2, w_3, and w_4. While the fourth twisted moment expands into a closed combination of walks of lengths four, three, and two, the third twisted moment partitions positive and negative deviations from the mean eigenvalue, incorporating self-loop graph energy directly into its formulation.
Lim establishes general functional inequalities governing twisted moments across connected self-loop graphs. By employing the Cauchy-Schwarz inequality on partitioned eigenvalue sums, Theorem 3.4 demonstrates that the square of any twisted moment of order q is bounded above by the product of twisted moments of orders two q minus two p and two p, for any real parameter p less than or equal to q. Setting p and q equal to one immediately yields the established McClelland-type upper bound for self-loop graph energy in terms of graph order, edge count, and loop number. Furthermore, specialized parameter choices generate power inequalities showing that the q-th moment raised to the fourth power divided by the cube of graph order remains bounded by the four-q-th twisted moment.
A central theoretical result is Theorem 3.5, which proves that twisted moments of all non-negative integer orders are strictly positive for every connected self-loop graph of order at least two and size at least one. This strict positivity guarantees that sequential moment ratios are well-defined, leading directly to Theorem 3.6, which establishes an infinite non-decreasing ratio inequality chain extending from the ratio of the first and zeroth moments up through arbitrary dimensions. Applying these ratio inequalities, Corollary 3.7 derives a universal lower bound stating that self-loop graph energy is bounded below by the square root of the cube of the second twisted moment divided by the fourth twisted moment, generalizing classical bounds. Lim proves equality holds for complete bipartite self-loop graphs when all or none of the vertices possess loops.
To complete the theoretical framework, Theorem 3.10 extends energy bounds by proving that for non-negative real parameters r, s, and t satisfying four r equals s plus t plus two, self-loop graph energy is bounded below by the square of the r-th twisted moment divided by the square root of the product of the s-th and t-th moments. Additionally, explicit bounds dependent solely on graph order and size demonstrate that the third and fourth twisted moments grow at rates constrained by the ratio of edges to vertices. Lim concludes by contextualizing the scope of the combinatorial trace interpretation, noting that while trace-walk equivalence holds universally for standard adjacency representations, it fails for specialized matrices such as Sombor matrices.
Subject of Research: Combinatorial walk formulas and twisted spectral moments in self-loop graphs
Article Title: Closed walks of low dimension and twisted moments on self-loop graphs
Article References: Lim, J. (2025). Closed walks of low dimension and twisted moments on self-loop graphs. Bulletin of the Malaysian Mathematical Sciences Society, 48(6), Article 194. https://doi.org/10.1007/s40840-025-01971-w
Image Credits: AI Generated
DOI: 10.1007/s40840-025-01971-w
Keywords: spectral graph theory, self-loop graphs, closed walks, twisted moments, graph energy, adjacency matrix, eigenvalues, first Zagreb index, combinatorial walks, elementary subgraphs, complete bipartite graphs, triangle-free graphs, Schur triangularization, Cauchy-Schwarz inequality, moment ratio inequalities, spectral moments, Petersen graph
Cite Scienmag News
Reid Dalton. (November 24, 2026). Combinatorial Formulas for Closed Walks Yield Energy Bounds on Self-Loop Graphs. Scienmag. https://scienmag.com/combinatorial-formulas-for-closed-walks-yield-energy-bounds-on-self-loop-graphs/
Reid Dalton. "Combinatorial Formulas for Closed Walks Yield Energy Bounds on Self-Loop Graphs." Scienmag, 24 November 2026, https://scienmag.com/combinatorial-formulas-for-closed-walks-yield-energy-bounds-on-self-loop-graphs/. Accessed 28 November 2026.
Reid Dalton. "Combinatorial Formulas for Closed Walks Yield Energy Bounds on Self-Loop Graphs." Scienmag. November 24, 2026. https://scienmag.com/combinatorial-formulas-for-closed-walks-yield-energy-bounds-on-self-loop-graphs/








