---
title: Nesting Coefficient in Complex Systems
url: https://www.emergentmind.com/topics/nesting-coefficient
type: topic
---

# Nesting Coefficient in Complex Systems

“Nesting coefficient” denotes several non-equivalent quantitative observables used to characterize overlap, embedding, or hierarchical separation in specific mathematical and physical settings. In the literature considered here, it appears as a normalized overlap between Fermi-surface sheets relevant to spin-fluctuation pairing in BaFe\(_2\)(As\(_{1-x}\)P\(_x\))\(_2\) [1008.2080], as a nesting degree measuring the fraction of sunspot groups assigned to longitude–time nests [2512.17364], as a large-deviations rate function governing loop-depth probabilities in the \(O(n)\) loop model on random planar maps [1605.02239], and as a combinatorial embedding coefficient on hypergraphs that interpolates between simplicial complexes and random hypergraphs [2604.23337]. This suggests a family of domain-specific quantities rather than a single universal invariant.

## 1. Conceptual scope and mathematical roles

Across these uses, “nesting” refers to a relation in which one structure is geometrically overlapped with, statistically clustered inside, hierarchically separated by, or combinatorially embedded within another. The resulting coefficient is therefore not tied to a single mathematical template. In condensed-matter usage, it is an overlap functional in momentum space. In solar physics, it is a population fraction. In random-map and conformal-loop settings, it is a rate exponent controlling large deviations. In higher-order network dynamics, it is a face-incidence fraction defined on hyperedges.

This diversity is substantive rather than terminological. A normalized overlap such as \(N_{ij}(Q)\), a fraction such as \(D_{ij}\), and a rate function such as \(I(\alpha)\) all quantify “nesting,” but they do so on different sample spaces and with different inferential purposes. A plausible implication is that the shared term tracks an abstract notion of structured inclusion, while the operational observable is determined by the ambient theory: susceptibility in ARPES-based Fermiology, spatial–temporal clustering in solar activity, refined generating series in random geometry, or threshold and hysteresis control in higher-order contagion.

A recurrent misconception is to treat the phrase as if it implied a universally standardized formula. The surveyed literature does not support that reading. One paper explicitly states that no single equation for a “nesting coefficient” is printed, even though such a quantity can be introduced naturally from the measured geometry [1008.2080]. Another identifies the nesting coefficient directly with the large-deviations rate function itself [1605.02239]. The term is therefore best understood as a context-dependent quantitative diagnostic.

## 2. Fermi-surface nesting in BaFe\(_2\)(As\(_{1-x}\)P\(_x\))\(_2\)

In the ARPES study of BaFe\(_2\)(As\(_{1-x}\)P\(_x\))\(_2\) with \(x=0.38\), Yoshida et al. examined the three-dimensional shapes of the Fermi surfaces and their consequences for superconductivity [1008.2080]. In many theories of iron-pnictide superconductivity, the degree to which a hole Fermi surface can be translated onto an electron Fermi surface by the antiferromagnetic wave vector \(Q=(\pi,\pi,0)\) or \(Q=(\pi,\pi,2\pi/c)\) controls the strength of the spin-fluctuation pairing interaction and, accordingly, whether an \(s_{\pm}\) state remains fully gapped or develops nodes. Although the paper does not print a single defining equation, one may introduce a nesting coefficient between sheets \(i\) and \(j\) as the normalized overlap of their constant-energy surfaces after shifting \(j\) by \(Q\):
\[
N_{ij}(Q)=
\frac{\iint_{FS_i} dS_k \iint_{FS_j} dS_{k'}\,\delta^3(k'-k-Q)}
{\sqrt{\left(\iint_{FS_i} dS_k\right)\left(\iint_{FS_j} dS_{k'}\right)}}.
\]
An equivalent low-energy quantity is the Lindhard-like nesting function
\[
\xi_{ij}(Q)=\int d^3k\,\delta(\epsilon_i(k))\,\delta(\epsilon_j(k+Q)),
\]
normalized to the product of Fermi-surface phase-space factors.

Experimentally, high-resolution ARPES maps with energy resolution \(\simeq 15\,\mathrm{meV}\) and angular resolution \(\simeq 0.02\,\pi/a\) were acquired over photon energies \(35\)–\(80\,\mathrm{eV}\) to track \(k_z\). High-quality single crystals with \(T_c=28\,\mathrm{K}\) were cleaved in UHV \((\le 5\times10^{-11}\,\mathrm{Torr})\) at \(10\,\mathrm{K}\). Circularly polarized synchrotron light at BL-28A of PF and a Scienta SES-2002 analyzer were used to record \(I(E,k_X,k_Y)\) maps. From \(I(E_F,k_X,k_Y)\) images, peak positions in MDCs were used to locate \(k_F(\phi,k_z)\), after which the three-dimensional Fermi-surface meshes for the \(\alpha,\beta,\gamma\) hole sheets around \(\Gamma\)–\(Z\) and the \(\delta,\epsilon\) electron sheets around \(X\)–\(R\) were reconstructed by interpolation.

The principal nesting results are strongly sheet dependent. The nearly two-dimensional \(\beta\) hole Fermi surface, of \(d_{xz/yz}\) character, shows good geometric nesting with the outer \(\delta\) electron Fermi surface, of \(d_{xy}\) character, with a raw overlap of roughly \(70\)–\(85\%\) of the maximum possible for identical cylindrical radii and a representative value \(N_{\beta,\delta}\approx 0.8\). By contrast, the strongly three-dimensional \(\gamma\) hole Fermi surface exhibits poor nesting with the electron sheets: \(N_{\gamma,\delta}\approx 0.25\) and \(N_{\gamma,\epsilon}\approx 0.2\). A further channel remains among neighboring \(\delta\) pockets themselves, the intra-electron-pocket or \(d_{xy}\)–\(d_{xy}\) partial nesting, with \(N_{\delta,\delta}\sim 0.5\)–\(0.6\).

The significance of these numbers is not purely geometric. The \(\beta\)–\(\delta\) geometry would be nearly perfect in a purely cylindrical model, but the orbital characters differ. Because spin-fluctuation matrix elements are diagonal in orbital space, inter-orbital nesting contributes far less to the susceptibility than intra-\(d_{xy}\) nesting. The \(\gamma\) sheet is further penalized by strong \(k_z\) warping and by the appearance of \(d_{3z^2-r^2}\) weight near \(Z\), which suppresses both geometric and orbital overlap. The surviving robust contribution is therefore the \(\delta\)–\(\delta\) channel. Within the standard \(s_{\pm}\) picture, reduced hole–electron nesting and surviving electron–electron partial nesting were argued to favor nodal superconductivity, either through vertical line nodes on the electron pockets or accidental zeros in a highly anisotropic \(s\)-wave state; alternatively, the pronounced \(k_z\) dispersion of \(\gamma\) could host horizontal nodes through a residual intra-\(\gamma\) channel.

## 3. Nesting degree of sunspot groups

Karapınar et al. define the nesting coefficient, or nesting degree, \(D\), as the fraction of sunspot groups that emerge as part of longitude–time clusters or “nests” [2512.17364]. For each full-cycle time window \(i\) and each \(5^\circ\)-wide latitude slice \(j\),
\[
D_{ij}=\frac{N_{\rm nest}}{N},
\]
where \(N_{\rm nest}\) is the number of groups assigned by the clustering algorithm to statistically significant nests and \(N\) is the total number of groups in the same time–latitude window.

The automated procedure has four major components. First, each sunspot group is represented by Carrington longitude \(\phi_i\), emergence time \(t_i\), and maximum observed area \(A_i\), with area-weight
\[
w_{A,i}=\frac{\ln(A_i)}{\ln(A_{\max})},
\qquad
A_{\max}=\max_j A_j.
\]
A two-dimensional KDE in the longitude–time plane is then formed using a bivariate Gaussian kernel with bandwidths set by Scott’s rule after \(z\)-score normalization of \(\phi\) and \(t\). This KDE is used for visualization rather than for the clustering step itself. Second, DBSCAN is run on the standardized \((\phi,t)\) points with neighborhood radius \(\varepsilon\) and minimum-points threshold \(m_p\). Injection–recovery tests on synthetic solar-like data led to the fixed parameter choice
\[
\varepsilon_0=0.11
\quad \text{(in z-score units)},\qquad
m_p=3,
\]
which minimizes the bias between injected and recovered \(D\) over the range \(0.4\lesssim D\lesssim 0.7\). Third, sparsity and longitude wrap-around are handled explicitly. In sparse windows, the effective DBSCAN radius is increased by up to \(50\%\):
\[
\varepsilon_{\rm eff}
=
\varepsilon_0
\times
\min\!\Bigl(1.5,\sqrt{\tfrac{N_{\rm ref}}{N}}\Bigr),
\qquad
N_{\rm ref}=150.
\]
To treat the discontinuity at \(\phi=0^\circ/360^\circ\), groups within \(85^\circ\) of either boundary are duplicated across the boundary; clustering is run on the expanded set, but only groups in \([0,360^\circ)\) contribute to \(D\). Fourth, each cluster is tested against a null model of uniform random emergence. If a cluster spans a longitude–time box of area \(A_c\), the expected count is
\[
N_{\rm expected}
=
\frac{N_{\rm total}}{360^\circ\,T_{\rm window}}\,A_c,
\]
and clusters with Poisson probability \(p<0.05\) are retained as significant nests.

The method was applied to \(151\) years of observations from the Royal Greenwich Observatory Photoheliographic Results (RGO, \(1874\)–\(1976\)) and Kislovodsk Mountain Astronomical Station (KMAS, \(1955\)–\(2025\)) catalogues, with KMAS areas scaled to RGO using \(b=1.031\). Across all cycles and latitude bands, the cycle-averaged mean nesting degree is
\[
\langle D\rangle =0.613\pm0.118,
\]
implying that about \(61\%\) of all sunspot groups emerge in nests. Peak nesting occurs at mid-latitudes: the \(10^\circ\)–\(15^\circ\) band yields \(\langle D\rangle\approx0.69\pm0.07\), and the adjacent \(15^\circ\)–\(20^\circ\) band is nearly identical. Toward the equator, \(\langle D\rangle\approx0.58\) in the \(0^\circ\)–\(5^\circ\) band, while at high latitudes \((30^\circ\)–\(35^\circ)\) it falls to \(\approx0.42\). A Kruskal–Wallis test gives highly significant latitude dependence with \(p\sim10^{-8}\). Cycle overlap between RGO and KMAS yields highly correlated \(D\) values, with Pearson \(r=0.78\) and empirical relation
\[
D_{\rm RGO}=0.66\,D_{\rm KMAS}+0.31
\quad
(\text{RMS scatter }0.16).
\]
The nesting degree also correlates moderately with total sunspot-group area in a window, with Pearson \(r=0.60\) for RGO and \(r=0.73\) for KMAS.

Interpretively, a nesting degree of order \(0.6\) implies that more than half of all sunspot groups emerge within spatial–temporal complexes. Nests typically span up to tens of degrees in longitude and persist for one to several solar rotations, often drifting relative to the Carrington frame. At the same time, cycle-averaged longitude–time plots show no preferred Carrington longitude over the full solar cycle, because differential rotation and intrinsic drift smear out long-term asymmetry. The coefficient therefore diagnoses recurrent local organization without implying persistent active longitudes across an entire \(11\)-year cycle.

## 4. Nesting statistics in the \(O(n)\) loop model on random planar maps

In the \(O(n)\) loop model on random planar maps, Borot–Bouttier–Duplantier study nesting through the depth \(P\), defined as the number of loops separating a marked point from the boundary in a disk, or separating two boundaries in a cylinder [1605.02239]. The analysis is formulated through refined generating series that keep track of the number of separating loops. For pointed disks, if \(F_\ell^\bullet[s]\) denotes the refined partition function with a weight \(s\) per separating loop, then
\[
F_\ell^\bullet[s]
=
\sum_{C:\,\text{depth}=P}
u^{|V(C)|}w(C)\,s^P,
\]
and the generating function
\[
\mathbf{F}_s^\bullet(x)=\sum_{\ell\ge 0}\frac{F_\ell^\bullet[s]}{x^{\ell+1}}
\]
satisfies a linear functional equation involving the annulus-weight kernel \(A(x,z)\). An analogous refinement exists for cylinders, with an inhomogeneous term \(-1/(x-y)^2\). In the triangulation plus bending-energy model, these functional relations admit an explicit solution after an elliptic change of variables and the introduction of
\[
b(s)=\frac{1}{\pi}\arccos\!\Bigl(\frac{ns}{2}\Bigr).
\]

The nesting coefficient in this setting is not a local count or overlap fraction. It is the large-deviations rate function governing the asymptotic probability of observing depth \(P\) on a map of large volume \(V\). When
\[
P\approx \frac{c\ln V}{\pi}\,p,
\qquad
c=
\begin{cases}
1 & \text{(dilute)},\\[4pt]
\dfrac{1}{1-b} & \text{(dense)},
\end{cases}
\]
the probability behaves as
\[
\mathbb{P}\Bigl[P=\bigl\lfloor \tfrac{c\ln V}{\pi}p\bigr\rfloor\Bigm|V\Bigr]
\stackrel{\boldsymbol{\cdot}}{\asymp}
(\ln V)^{-1/2}
\exp\!\Bigl(-\frac{c}{\pi}J(p)\ln V\Bigr),
\]
with
\[
J(p)=
p\ln\!\Bigl(\frac{2}{n}\,\frac{p}{\sqrt{1+p^2}}\Bigr)
+\arccot(p)-\arccos\!\Bigl(\frac{n}{2}\Bigr).
\]
Writing \(P\approx \alpha\ln V\), one obtains the large-deviations rate function
\[
I(\alpha)=\frac{c}{\pi}\,J\!\Bigl(\frac{\pi\alpha}{c}\Bigr),
\]
so that
\[
\mathbb{P}\bigl[P\approx \alpha\ln V\bigr]\approx V^{-I(\alpha)}.
\]
The paper identifies this rate function itself as the nesting coefficient for random maps, with the corresponding quantum-CLE quantity denoted \(\Theta(p)=\frac{c}{2\pi}J(p)\) in sphere geometry.

The same structure is recovered in the continuum through the functional KPZ correspondence relating critical \(O(n)\) loop models on random maps to \(\mathrm{CLE}_\kappa\) on Liouville quantum gravity. In this language, \(n\) and \(\kappa\) are connected by
\[
n=2\cos\!\bigl[\pi(1-4/\kappa)\bigr],
\qquad
\kappa\in\bigl(\tfrac{8}{3},8\bigr),
\]
with the dilute phase for \(\kappa\le 4\) and the dense phase for \(\kappa>4\). The cumulant-generating function of the log-conformal radius of the outermost \(\mathrm{CLE}_\kappa\) loop has an explicit form, and the KPZ map acts on the generating function rather than only on exponents:
\[
\Lambda_\kappa^{\mathcal Q}(\lambda)
=
\Lambda_\kappa\!\bigl(2U_\gamma(\lambda)\bigr),
\qquad
U_\gamma(\Delta)=\frac{\gamma^2}{4}\Delta^2+\Bigl(1-\frac{\gamma^2}{4}\Bigr)\Delta.
\]
The significance of the nesting coefficient here is therefore asymptotic and universal: it quantifies the exponential decay of the probability of atypical loop depth and provides a refined large-deviations check of the correspondence between random planar maps weighted by critical statistical models and Liouville quantum gravity surfaces decorated by independent conformal loop ensembles.

## 5. Hypergraph embedding and higher-order contagion

Maia et al. introduce a nesting coefficient for hypergraphs that quantifies how lower-order interactions are embedded within higher-order ones and thereby defines a continuum between simplicial complexes and random hypergraphs [2604.23337]. For a hypergraph \(H\) with hyperedges \(h\), where hyperedge \(h\) has order \(m_h\) and thus \(|h|=m_h+1\), the incidence tensor is
\[
\mathbf{A}^{(m)}_{\{i_0,i_1,\dots,i_m\}}
=
\begin{cases}
1, & \text{if } \{i_0,\dots,i_m\} \text{ forms an } m\text{-order hyperedge},\\
0, & \text{otherwise.}
\end{cases}
\]
The local nesting coefficient of order \(m<m_h\) for hyperedge \(h\) is then
\[
C_h^{(m)}
=
\frac{
\displaystyle\sum_{\{i_0,\dots,i_m\}\subset h}
\mathbf{A}^{(m)}_{\{i_0,\dots,i_m\}}
}{
\binom{m_h+1}{m+1}
}
\in[0,1].
\]
The numerator counts how many of the \(\binom{m_h+1}{m+1}\) possible \(m\)-order faces of \(h\) are present. Thus \(C_h^{(m)}=1\) corresponds to maximal embedding, as in a simplicial complex, while \(C_h^{(m)}=0\) means no embedding. The paper further defines averaged quantities \(C^{(M,m)}\), \(C_\downarrow^{(m)}\), \(C_\uparrow^{(M)}\), and the overall average embedding \(\langle C\rangle\), with \(\langle C\rangle=1\) for a simplicial complex and \(\langle C\rangle\to 0\) for a sparse random hypergraph.

To interpolate between these extremes, the construction begins from a maximally embedded complex and applies node-swap rewirings on pairs of hyperedges of the same order. If \(f\) is the rewiring fraction, then
\[
\langle C\rangle(f)\approx \exp(-\gamma f)\qquad (\gamma>0),
\]
so that \(f=0\Rightarrow \langle C\rangle=1\) and \(f\to\infty\Rightarrow \langle C\rangle\to 0\). Algorithmically, computing \(C_h^{(m)}\) requires enumerating all \(\binom{M+1}{m+1}\) subsets of size \(m+1\) for each hyperedge of order \(M\), checking the corresponding tensor entries, summing the resulting bits, and aggregating over \(h\) and \((M,m)\).

The principal importance of the coefficient arises in higher-order SIS dynamics. In a homogeneous hyper-SIS mean-field description, the prevalence \(\rho(t)\) obeys
\[
\frac{d\rho}{dt}
=
-\alpha\rho
+
(1-\rho)\Bigl[
\beta^{(1)}K^{(1)}\rho
+
b\sum_{m=2}^{m_{\max}}
m\,K^{(m)}\,C^{(m-1,m)}\,\rho^m
\Bigr],
\]
where \(\alpha\) is the recovery rate, \(\beta^{(1)}\) the pairwise infection rate, \(b=\beta^{(m>1)}\) the uniform higher-order rate, and
\[
K^{(m)}
=
\frac{1}{N}\sum_{i=1}^N
\bigl(\text{number of }m\text{-edges incident on node }i\bigr).
\]
Linearization around \(\rho\approx 0\) gives the activation threshold
\[
\beta_c^{(1)}
=
\frac{
\alpha-
b\sum_{m=2}^{m_{\max}} m\,K^{(m)}\,C^{(m-1,m)}
}{
K^{(1)}
}.
\]
As \(\langle C\rangle\) grows, the negative contribution in the numerator increases, lowering \(\beta_c^{(1)}\). In the limit \(\langle C\rangle\to 0\), one recovers the classical \(\beta_c^{(1)}=\alpha/K^{(1)}\). A weakly nonlinear analysis further shows that, for one dominant order \(m\), the transition becomes discontinuous if
\[
b>b_*=
\frac{4\alpha}{m(m-1)\,K^{(m)}\,C^{(m-1,m)}},
\]
and remains continuous otherwise. Increasing nesting therefore raises \(b_*\) and suppresses explosive transitions.

The synthetic and empirical results follow this logic. In simulations, high \(\langle C\rangle\) yields a smooth continuous rise in \(\rho\) at low \(\beta^{(1)}\), whereas low \(\langle C\rangle\) produces a large hysteresis loop and an abrupt jump. As \(\langle C\rangle\) decreases, the absorbing region expands, the bistable region broadens, and the endemic region shrinks. The hysteresis width \(\Delta\beta^{(1)}\) grows nearly monotonically as \(\langle C\rangle\to 0\). In real hypergraphs spanning face-to-face proximity, co-authorship, legislative data, online forums, and related settings, \(\langle C\rangle\) ranges from approximately \(0.04\) to \(0.98\). Nearly all exhibit negative order-correlations \(C^{(M,m)}\), and a dimensionless hysteresis measure \(\mathcal H\) is strongly anti-correlated with \(\langle C\rangle\), with Pearson \(r\approx -0.9\). The coefficient is thus a structural control parameter for both the onset and the character of higher-order phase transitions.

## 6. Comparative interpretation and recurrent misconceptions

The four usages differ in ontology, normalization, and inferential target.

| Domain | Coefficient | Operational meaning |
|---|---|---|
| Fermi-surface analysis | \(N_{ij}(Q)\) or \(\xi_{ij}(Q)\) | Normalized overlap after shifting one FS sheet by \(Q\) |
| Sunspot nesting | \(D_{ij}=N_{\rm nest}/N\) | Fraction of groups in statistically significant nests |
| \(O(n)\) loop model | \(I(\alpha)\) or \(\Theta(p)\) | Large-deviations rate governing nesting-depth probabilities |
| Higher-order contagion | \(C_h^{(m)}\), \(\langle C\rangle\) | Fraction of lower-order faces embedded in higher-order hyperedges |

Several misconceptions recur. First, large geometric overlap is not automatically equivalent to strong physical nesting relevance. In the pnictide example, \(\beta\)–\(\delta\) overlap is geometrically large, yet orbital mismatch weakens the spin-fluctuation contribution, whereas intra-\(\delta\) \(d_{xy}\)–\(d_{xy}\) nesting remains robust [1008.2080]. Second, a high sunspot nesting degree does not imply a preferred Carrington longitude across a full cycle; nests drift, and cycle-averaged longitude–time plots do not retain a long-term asymmetry [2512.17364]. Third, in the random-map setting the nesting coefficient is not a local cluster statistic but the exponent in the scaling law \(V^{-I(\alpha)}\) [1605.02239]. Fourth, in hypergraphs a high coefficient is not merely descriptive: it enters directly into threshold and bifurcation formulas and therefore changes the nature of the phase transition [2604.23337].

A plausible unifying interpretation is that all four constructions quantify the extent to which lower-complexity structures remain available inside higher-complexity ones after the relevant transformation: momentum translation in Fermiology, longitude–time aggregation in solar activity, loop separation in random geometry, or face inclusion in hypergraphs. Even so, the coefficients remain incommensurable across fields. Their common utility lies not in numerical comparability but in their role as domain-specific order parameters for structured organization.

## 7. Significance and extensions

The significance of nesting coefficients is strongest where geometry alone is insufficient. In the pnictide problem, three-dimensionality and orbital character jointly weaken hole–electron nesting and alter the pairing landscape. In solar physics, the coefficient \(D\) turns visual impressions of nests into a statistically testable observable with cycle and latitude dependence. In random planar maps, the coefficient is elevated from descriptive terminology to a closed-form rate exponent linked by a functional KPZ relation to \(\mathrm{CLE}_\kappa\) on Liouville quantum gravity. In higher-order contagion, the coefficient provides a structural axis connecting simplicial complexes to random hypergraphs and controlling activation thresholds, bistability, and hysteresis.

The surveyed literature also indicates distinct methodological templates. One is geometric reconstruction followed by overlap evaluation on shifted meshes. Another is non-parametric density estimation combined with DBSCAN and significance filtering. A third is analytic combinatorics of refined generating functions followed by asymptotic analysis and Legendre-transform machinery. A fourth is combinatorial enumeration on hyperedges coupled to mean-field dynamics and rewiring-based interpolation. This suggests that “nesting coefficient” is best regarded as a transferable modeling motif rather than a fixed formula.

Open directions are explicit in some of the cited work. In the hypergraph setting, temporal hypergraphs, non-uniform rates \(\beta^{(m)}\), and interactions with modularity remain open. In solar applications, the same coefficient is proposed as a diagnostic for stellar photometric time series or magnetograms. In the pnictide case, the distinction between geometric and orbital overlap indicates that any coefficient based only on Fermi-surface geometry may be incomplete as a proxy for pairing strength. In the random-map setting, the rigorous identification of discrete and quantum nesting exponents supports broader universality claims at the level of refined large deviations.

Source: https://www.emergentmind.com/topics/nesting-coefficient