- Home
- Library
- Computational Quantum Field Theory
- Reducing and Evaluating Loop Integrals
- Numerical Differential Equations for Master Integrals
Numerical Differential Equations for Master Integrals
A differential equation can transport a loop integral from a simple kinematic point to a difficult one. It cannot determine which physical solution to transport without boundary data, and it cannot infer which side of a threshold the path should follow. We will solve a small master system numerically, supply its boundary from an independent parameter expansion, and distinguish tolerance error from an incorrect boundary or analytic sheet.
Preparation: Differential equations for master integrals derives the regulated bubble system; contour deformation explains its causal threshold. We retain , with fixed, and use the finite subtracted function
Which coefficient of the master integral is being solved?
In , divide the equal-mass bubble by its zero-momentum tadpole factor. With , the resulting dimensionless ratio is
The tadpole contains in the Euclidean normalization of the preceding derivation. Its pole multiplies the order- term in , producing a finite momentum-dependent term. Thus Eq. (1) is the finite coefficient corresponding to in the site's Minkowski loop measure. It is not obtained by discarding the regulator in the original divergent integral.
We can derive its differential equation directly, independently of an IBP program. Let . Differentiation under the parameter integral gives , while
Use and . The result is
It is convenient to write an affine scalar equation as a homogeneous system:
The second component represents the already fixed constant term after the regulated expansion. It is not a second unknown function requiring a new physical boundary condition. Larger master systems retain several independent integral components and couple their regulator coefficients. The same requirements of independent boundary information and specified continuation apply; see Henn, §§5.1–5.2, printed pp. 18–19 (PDF).
Obtain the boundary from the integral
The matrix has poles at and . The physical solution is regular at the first point, with , but an ordinary numerical solver should not evaluate Eq. (5) there. Instead, expand the defining logarithm:
This follows from the beta integral and converges for . Its coefficients obey
The absolute ratio of successive terms is less than . If includes terms through degree , then
This is a truncation bound, not a bound on floating-point evaluation. At the retained seed , degree 24 gives . The bound in Eq. (8) is , whereas the actual binary64 seed differs from a high-precision parameter reference by . Adding more terms in the same precision would not recover the missing arithmetic digits.
Substitution of Eq. (6) into Eq. (4) checks the recurrence, but that substitution alone would not be an independent validation if the recurrence had been generated from the ODE. Here the boundary coefficients come from the original integral. The companion also compares the analytic function with separate 70- and 100-digit complex parameter quadratures away from the cut.
Pull the system back to a chosen path
Let , with a real path parameter . The solver must integrate
On a straight segment from to , take for . Omitting the factor solves a different problem. At each corner, pass the final state of the preceding segment to the next one.
For the upper physical boundary at a real , the retained paths are
They avoid the system poles and approach the physical cut from above. Ending a path at is well defined: is finite there, and the transported value remembers its approach. The cut is a convention for representing the multivalued solution, not a line of poles of . Reflecting the path below the axis gives the lower boundary instead.
The numerical implementation uses a complex initial array even though the seed value is real. SciPy's solver selects complex arithmetic from that array; passing a real array to an equation with a complex right-hand side can lose the required information. The retained solver is DOP853 in SciPy 1.13.1. Its local error estimates are controlled against atol + rtol * abs(y), with atol = rtol/100 here; this criterion is not a theorem bounding the final global error. The versioned solver documentation specifies both the complex-data requirement and the tolerance interpretation.
Path information selects the answer. Deforming an upper path without crossing a singularity preserves its continuation; reflecting it gives the opposite boundary. A loop around has nontrivial monodromy even though it returns to the same coordinate.
Compare tolerances and representations
For , the retained scan transports to . The table summarizes the maximum absolute error against the analytic bubble and the range of right-hand-side evaluations over these six endpoints.
| Relative tolerance | Maximum endpoint error | RHS evaluations |
|---|---|---|
| 126–318 | ||
| 162–594 | ||
| 234–798 |
The same endpoints are compared with deformed-parameter quadrature, which neither solves Eq. (4) nor uses its initial value. At the tightest tolerance, its maximum difference from the transported answer is also about . These are deterministic errors for the specified runs, not fitted uncertainties or universal performance guarantees.
At , three upper paths with give absolute errors below . The upper-minus-lower result agrees with
to there. Agreement between homotopic paths is a useful check, but it is not permission to replace an upper path by one winding around a singularity. The differential equation transports the entire analytic continuation, including its sheet.
Local series can replace a segment
An alternative to many Runge–Kutta steps is an expansion about an ordinary point , using an already known value on the desired sheet. Set and
Since , Eq. (4) gives
A sufficient convergence disk for this construction is bounded by the nearest pole of the system, with radius . Even when the physical integral is regular at a system singularity, intermediate series operations can still be constrained by that singularity. Hidding discusses this distinction in §4.7.1, printed p. 20 (PDF), and branch prescriptions for series continuation in §4.6, printed pp. 18–19.
In the retained example, the ODE first supplies at . Equation (13) then moves by , within the convergence disk, to the upper boundary at . The absolute endpoint errors at degrees 8, 16, and 32 are respectively , , and . Direct ODE transport along that last segment gives . At degree 32 the error inherited from and finite arithmetic competes with series truncation. Increasing the local degree is not a way to improve an inaccurate center value.
This calculation illustrates ordinary local series, not a full generalized-series package. At a singular center one may need fractional powers and logarithms; then the continuation of those functions must be specified. Repeated series segments must overlap within their validity domains, with precision and truncation controlled along the entire route.
Boundary errors and monodromy are different failures
For two solutions with different seed values, their difference obeys the homogeneous equation. Direct integration gives
with the square root continued on the same path. Thus an inaccurate boundary remains inaccurate even when the transport equation is solved exactly. The retained experiment adds to the seed at and transports to on the upper path. Equation (14) predicts a final change of ; the numerical change agrees within . Tightening the integrator cannot eliminate that physical-solution error.
Conversely, a different homotopy class can change the answer even with exact boundary data. Near threshold one may write, with just below ,
One loop around , avoiding , changes to . The last term is unchanged, while the linear term changes sign. At the retained base point , one circuit of the radius-one circle centered at therefore adds . The computed endpoint agrees with this second-sheet value within ; two circuits return to the original value within . A separate small loop around returns the physical solution within , consistent with its analytic series there. System poles and physical monodromy must be distinguished.
The reproducible sources are bubble.py, bubble_checks.py, and bubble_transport.py under examples/computational-qft/numerical-integration/. The transport output retains all tolerance, path, local-series, discontinuity, and boundary-error comparisons in bubble-transport-results.json. The companion deliberately keeps the independent boundary error, solver tolerance, and path choice visible instead of merging them into one numerical precision claim.
To use this master in a complete on-shell result, combine its upper-edge value with spacelike and values in the renormalized four-scalar amplitude. The real crossed channels affect the amplitude even when its forward imaginary part already passes the optical-theorem test.
Summary
Numerical master transport requires a specified integral coefficient, independently normalized boundary data, and an analytic continuation path. Local ODE tolerances and series orders control only parts of the error. Comparing parameter integration, tolerance refinement, discontinuities, and homotopic paths tests the calculation; winding around a singularity tests a different sheet. Boundary accuracy and branch selection remain necessary even for an exact integrator.
Exercises
- Suppose the seed at is shifted by a real , and the equation is otherwise integrated exactly along an upper path to . Find the final error, including its phase. Would returning from along the reverse path diagnose this incorrect seed?
Solution
Subtracting Eq. (4) for the two solutions gives
Integration gives Eq. (14). Initially . On approaching from above, approaches the negative real axis from below, so . Consequently
For this is . Exact reverse transport restores the same incorrect initial value: round-trip consistency tests transport, not independent boundary normalization. A direct parameter integral or a trustworthy seed bound is needed to detect the seed error.
- Use Eq. (15) to calculate the value after one and two loops around the circle , based at , starting from the physical below-threshold value. Why does a loop around the pole at behave differently for the physical solution?
Solution
At the base point and . Hence
The radius-one loop encloses the simple zero of at but not its pole at , so the continued square root reverses sign after one circuit. Along this loop , allowing the ordinary odd series for throughout. The product is even. Therefore
A second circuit reverses the square root again and restores . In contrast, Eq. (6) is a single-valued convergent Taylor series in a disk around . Its physical solution has trivial monodromy around a sufficiently small origin loop, even though the coefficient matrix has a pole there. The general homogeneous solution is singular at ; the physical boundary condition removes it. A pole in a chosen master system does not by itself prove a branch singularity of every physical solution.
References
- Johannes M. Henn, “Lectures on differential equations for Feynman integrals,” Journal of Physics A: Mathematical and Theoretical 48 (2015), 153001, doi:10.1088/1751-8113/48/15/153001. Boundary conditions, paths, and homotopy are discussed in arXiv:1412.2296v3, §§5.1–5.2 (PDF).
- Martijn Hidding, “DiffExp, a Mathematica package for computing Feynman integrals in terms of one-dimensional series expansions,” Computer Physics Communications 269 (2021), 108125, doi:10.1016/j.cpc.2021.108125. arXiv:2006.05510v2, §§4.6–4.7.1 (PDF), explains branch prescriptions and the distinction between system singularities and the analytic behavior of particular integrals.
- SciPy developers, “
scipy.integrate.solve_ivp,” SciPy 1.13.1 documentation, especially the complex initial-data requirement, DOP853 method, andrtol/atoldefinitions.
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.