Papers
Topics
Authors
Recent
Search
2000 character limit reached

Rainbow Diagrams in Multiple Disciplines

Updated 14 July 2026
  • Rainbow diagrams are context-dependent constructs that define layered, color-structured representations in fields from optics to tensor models and graph theory.
  • In geometrical optics, they quantify primary and secondary rainbows through precise ray refraction, reflection, and dispersion calculations matching experimental ring radii.
  • In graph theory, tensor models, and EDM computations, rainbow diagrams reveal nested substructures, enhanced color symmetries, and specific cancellation mechanisms that drive key results.

“Rainbow diagrams” is a context-dependent term used in several technically distinct literatures. In geometrical optics it denotes ray diagrams for primary and secondary rainbows formed by refraction, dispersion, and internal reflection in water; in graph theory it denotes subgraphs whose edges have pairwise distinct colors; in tensor models it denotes nested melonic dressings of propagators enforced by enhanced color symmetry; in electric-dipole-moment calculations it denotes multi-loop topologies attached to a single fermion line; and in gravity’s rainbow it denotes the mass–central density and mass–radius structural curves of neutron stars computed from rainbow-deformed hydrostatic equilibrium equations (Sarkar et al., 23 May 2026, Benzing et al., 2017, Itoyama et al., 2017, Fujiwara et al., 2021, Hendi et al., 2015).

1. Terminological scope

The term is therefore not a single universal diagrammatic object. Its meaning is fixed by the host discipline and by the role played by “color,” “arc-like layering,” or “rainbow deformation.”

Area Meaning of “rainbow diagrams” Governing structure
Geometrical optics Ray diagrams for rays entering, reflecting inside, and emerging from water droplets Wavelength-dependent refraction and minimum deviation
Edge-coloured graphs Paths, cycles, trees, or other subgraphs with pairwise distinct edge colors Proper coloring, local/global boundedness
Tensor models Nested, non-crossing melonic dressings of propagators Enhanced color symmetry and large-NN melonic dominance
EDM calculations Multi-loop topologies with sequential gauge-boson exchanges on one fermion line Ward–Takahashi identity and chirality structure
Gravity’s rainbow Structural MMρc\rho_c and MMRR curves for neutron stars Rainbow-deformed TOV equations

A plausible implication is that “rainbow” functions less as a single formal notion than as a family resemblance. In the optics and graph-theoretic usages, the term is tied directly to visible or abstract color ordering. In the tensor-model and EDM usages, it refers to the topology of nested or arced insertions. In gravity’s rainbow, it refers to deformation by rainbow functions and to the resulting structural diagrams.

2. Geometrical optics: primary and secondary rainbow construction

In optics, rainbow diagrams quantify how rays refract into, reflect inside, and emerge from water droplets. In the plane of incidence, ii is the angle between the incident ray and the local surface normal at the entry point, rr is the refracted angle inside water, and kk is the number of internal reflections. The total deviation from the original direction is

Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),

with wavelength dependence entering through Snell’s law,

n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.

The rainbow occurs at the minimum of MM0, which is obtained from

MM1

For the observer, the ring radii are

MM2

This minimum-deviation construction reproduces the standard primary and secondary bows. For the primary rainbow, MM3, the minimum total deviation is near MM4, so the observed cone radius is MM5. The color order is outer-to-inner as red MM6 violet because MM7 is smaller for red than violet, giving larger MM8 for red. For the secondary rainbow, MM9, the minimum deviation is near ρc\rho_c0, so ρc\rho_c1; the color order reverses, the bow is fainter, and the gap between the bows is Alexander’s dark band.

A notable feature of the cited experiment is that a water-filled cylindrical glass reproduces the spherical-droplet rainbow geometry in two dimensions. For a horizontally propagating laser beam intersecting a water-filled right circular cylinder, the ray remains in a single vertical plane, and the intersection of that plane with the cylinder is a circle. The in-plane geometry is therefore identical to the great-circle cross-section of a spherical drop. Using graph paper, a clear cylindrical glass tumbler, and three low-power semiconductor laser pointers at 405 nm, 532 nm, and 635 nm, the experiment identifies the minimum deviation by the stationary cusp of the emergent ray as the glass is translated. With a 1 mm wall, the estimated lateral ray separation is ρc\rho_c2 cm, comparable to the beam width, so it does not change the measured minimum deviation materially.

The measured ring radii closely match theory. For the primary rainbow the measured values are ρc\rho_c3 at 405 nm, ρc\rho_c4 at 532 nm, and ρc\rho_c5 at 635 nm, compared with theoretical values ρc\rho_c6, ρc\rho_c7, and ρc\rho_c8. For the secondary rainbow the measured values are ρc\rho_c9, MM0, and MM1, compared with MM2, MM3, and MM4. The reported agreement is within about MM5, and the classroom method avoids the need for a Cauchy-type dispersion model when only three wavelengths are used (Sarkar et al., 23 May 2026).

3. Edge-coloured graphs and digraphs

In graph theory, a subgraph of an edge-coloured graph or digraph is called rainbow if all of its edges have pairwise distinct colors. Proper edge-coloring means that no two edges sharing a vertex have the same color in an undirected graph, and in the directed setting that all outgoing arcs from any vertex have distinct colors and all incoming arcs to any vertex have distinct colors. Two additional notions structure the theory: a coloring is locally MM6-bounded if every color appears at most MM7 times at each vertex, and globally MM8-bounded if every color appears at most MM9 times in total.

The cited work proves a directed analogue of long rainbow cycles in properly edge-colored complete digraphs. For the complete directed graph RR0, every properly edge-coloured RR1 contains a rainbow path forest of length RR2 and a directed rainbow cycle of length RR3. An explicit quantitative form yields, for sufficiently large RR4, a directed rainbow cycle of length at least RR5, that is, RR6. The result is not proved for tournaments, and the tournament case is left as an open problem.

The proof proceeds in three stages. First, a pseudorandom directed expander RR7 is built by independently selecting each color class with probability RR8. With high probability, all vertices in RR9 have in- and out-degree ii0, and for sufficiently large disjoint sets ii1, one has ii2. Second, in the complement ii3, a directed Andersen-type lemma yields a directed rainbow path forest ii4 with at most ii5 paths and at least ii6 edges whenever the minimum in-degree is at least ii7. In the application, ii8 and ii9, yielding rr0 paths and at least rr1 edges. Third, a rotation-augmentation lemma uses the expansion of rr2 to glue path segments and obtain one very long rainbow path, then closes it to a cycle.

The same paper also proves a rainbow spanning-tree theorem. There exist constants rr3 such that if rr4 is a tree on rr5 vertices with maximum degree rr6, and rr7 is properly edge-colored with each color appearing at most rr8 times, then rr9 has a rainbow embedding into kk0. The proof has a random greedy embedding of the highest-degree quarter of the tree, followed by a Lopsided Local Lemma argument in the Lu–Székely framework for random injections. The global kk1-boundedness assumption is essential: the paper gives counterexamples based on 1-factorizations and on Maamoun–Meyniel colorings.

These results sit in the broader landscape connecting Euler’s work on Latin squares and transversals, Hahn’s conjecture on rainbow Hamilton paths, canonical Ramsey theory in the Erdős–Rado sense, and recent work on rainbow Hamilton cycles and bounded-degree tree embeddings. The cited theorems sharpen the directed picture while leaving several natural extensions open, including better than kk2 error terms and analogues for tournaments (Benzing et al., 2017).

4. Large-kk3 tensor models and extreme melonic dominance

In the rainbow tensor model, rainbow diagrams are the nested, non-crossing melonic dressings of propagators that dominate the large-kk4 expansion because index contractions are forced to be strictly color-consistent. For rank kk5 tensors, the symmetry is promoted to a product of unitary groups, one kk6 for each color. For kk7, there are six colors—red, orange, yellow, green, blue, and violet—and four tensor fields kk8, each transforming under a product of three kk9’s. The interaction is a tetrahedron, or starfish, vertex, written compactly as Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),0 and its conjugate, with color lines routed so that every color appears exactly twice per interaction.

The central structural claim is that all planar diagrams are melonic. In ordinary tensor models, non-melonic planar graphs are suppressed by extra negative powers of Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),1. In the rainbow model, many non-melonic planar fat graphs are not merely suppressed; they cannot be colored consistently at all. The cited paper illustrates this with planar non-melonic configurations whose internal lines cannot be assigned a consistent color. Consequently, among planar diagrams, only melons survive. The leading large-Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),2 dynamics therefore dresses propagators only; vertices remain undressed.

This produces a closed system of Schwinger–Dyson equations. If Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),3 is the dressed two-point function of field Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),4 and Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),5 its self-energy, then

Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),6

In the melonic limit,

Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),7

For Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),8, a typical example is

Dk(i,λ)=2i2r+k(1802r),D_k(i,\lambda)=2i-2r+k\big(180^\circ-2r\big),9

In a normalized two-flavor toy model, the equations become

n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.0

The paper emphasizes that the large-n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.1 limit depends non-analytically on ratios of the n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.2’s through the n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.3’s, with branches and multicritical lines when n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.4.

Because vertices are undressed at leading order, higher-point correlators are assembled from propagators and melonic insertions only. The large-n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.5 factorization pattern familiar from matrix models persists in tensor form, but the usual spectral-curve technology does not. The cited work therefore points instead to Ward identities, diffeomorphisms in coupling space, the Bogoliubov–Zimmermann forest formula, and Connes–Kreimer Hopf-algebraic control of melonic insertions. In this setting, recursion is “graft-a-melon” over propagators rather than topological recursion on a non-trivial spectral curve. The term “rainbow” thus refers both to the enhanced color structure and to the layered, non-crossing nesting of melons around a propagator core (Itoyama et al., 2017).

5. Rainbow-type diagrams in electric dipole moment calculations

In two-loop EDM calculations, rainbow-type diagrams are multi-loop topologies in which an external fermion line carries sequential gauge-boson exchanges forming an arc-like “rainbow” attached to that single line. Their defining structural property is that the inner sub-diagrams are the fermion self-energy and the electromagnetic vertex correction of the same internal fermion. This distinguishes them from Barr–Zee-type diagrams, where a heavy boson loop generates an effective CP-odd coupling to the photon through a separate loop.

For a Dirac fermion, the EDM operator is

n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.6

and the static EDM is extracted from the electromagnetic vertex form factor through

n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.7

The key organizing principle is the Ward–Takahashi identity,

n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.8

which ties the longitudinal part of the vertex correction to the momentum derivative of the self-energy. The self-energy is parameterized by

n(λ)=sinisinr.n(\lambda)=\frac{\sin i}{\sin r}.9

with the chirality-flipping information residing in the scalar form factors MM00. The transverse vertex is expanded on an eight-vector basis; for EDM purposes, the CP-odd structures are those multiplying the form factors MM01 and MM02.

The cited reduction formulas show that the EDM-relevant content of a rainbow diagram is exhausted by the combination

MM03

where MM04 comes from chirality-flipping self-energy terms and MM05 are transverse vertex form factors. If this combination vanishes, then the EDM vanishes. This is precisely what happens for the Standard Model two-loop MM06-exchange rainbow diagrams: the MM07 couples purely left-chirally, so MM08, and the transverse CP-odd vertex structures MM09 and MM10 are absent. The result is the exact cancellation associated with the classic Shabalin result. The paper also notes that photon attachment to the outer loop cancels by flavor antisymmetry involving the Jarlskog invariant.

Non-vanishing rainbow EDMs require chirality flipping in the internal loop, transverse CP-odd vertex structures, and complex phases in the couplings. The cited example is a singlet–triplet fermion model extended by a real MM11-triplet scalar MM12, where new Yukawa-type couplings induce non-zero MM13 and MM14. The resulting electron EDM can reach the MM15 cm level for TeV-scale masses and MM16 couplings. The same reduction logic also extends to chromo-EDMs, with the Abelian Ward–Takahashi identity replaced by the background-field version appropriate to gluons (Fujiwara et al., 2021).

6. Structural diagrams in gravity’s rainbow

In gravity’s rainbow, “rainbow diagrams” refers to the neutron-star structural curves MM17–MM18 and MM19–MM20, computed from a rainbow-deformed hydrostatic equilibrium equation. The deformation begins from the modified dispersion relation

MM21

with MM22. For a static, spherically symmetric star in MM23 dimensions, the metric ansatz is

MM24

The effective mass is

MM25

and the modified TOV equation can be written as

MM26

with

MM27

MM28

Three rainbow-function models are tested. In Case I,

MM29

In Case II,

MM30

and the TOV equation becomes independent of the rainbow functions, so there is no effect on stellar structure. In Case III,

MM31

The matter model is neutron-star matter composed of neutrons, protons, electrons, and muons in charge neutrality and beta equilibrium, with an AV18-based microscopic equation of state fitted by

MM32

Integration starts from MM33 and MM34 and stops at MM35, generating the structural sequences.

The MM36–MM37 and MM38–MM39 diagrams shift systematically with MM40. Increasing MM41 shifts the curves upward and to larger radii; decreasing MM42 reduces both MM43 and MM44. Representative values are MM45 and MM46 km for MM47, MM48 and MM49 km for MM50, and MM51 and MM52 km for MM53. The paper identifies a consistency window MM54, because for MM55 the average density exceeds the central density. Within the adopted equation of state, the global upper limit is MM56 at MM57.

A positive cosmological constant shifts the MM58–MM59 and MM60–MM61 diagrams downward. For MM62, increasing MM63 from MM64 to MM65 changes MM66 from MM67 to MM68 and reduces the radius from MM69 km to MM70 km; for MM71 and MM72, the corresponding values are MM73 and MM74 km. By contrast, the cosmological value MM75 has no discernible effect. The paper also reports rainbow dependence in the Schwarzschild radius, average density, compactness, and surface redshift, with typical redshifts MM76, and establishes dynamical stability through the Chandrasekhar criterion

MM77

In this usage, rainbow diagrams are not Feynman graphs or ray pictures but deformation-sensitive structural plots encoding how MM78 and MM79 modify neutron-star equilibrium and stability (Hendi et al., 2015).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Rainbow Diagrams.