Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    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 z=s/m2+i0z=s/m^2+i0, with m>0m>0 fixed, and use the finite subtracted function

    F(z)=−∫01du log⁡[1−zu(1−u)].(1)F(z)=-\int_0^1\mathrm du\,\log[1-zu(1-u)]. \tag{1}

    Which coefficient of the master integral is being solved?

    In D=4−2ϵD=4-2\epsilon, divide the equal-mass bubble by its zero-momentum tadpole factor. With P=1−zu(1−u)P=1-zu(1-u), the resulting dimensionless ratio is

    R(z,ϵ)=∫01P−ϵ du=1+ϵF(z)+O(ϵ2).(2)R(z,\epsilon)=\int_0^1P^{-\epsilon}\,\mathrm du =1+\epsilon F(z)+O(\epsilon^2). \tag{2}

    The tadpole contains Γ(ϵ)(m2)−ϵ\Gamma(\epsilon)(m^2)^{-\epsilon} in the Euclidean normalization of the preceding derivation. Its pole multiplies the order-ϵ\epsilon term in RR, producing a finite momentum-dependent term. Thus Eq. (1) is the finite coefficient corresponding to 16π2[B(s)−B(0)]16\pi^2[B(s)-B(0)] 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 h=u(1−u)h=u(1-u). Differentiation under the parameter integral gives F′=∫h/P duF'=\int h/P\,\mathrm du, while

    0=[(2u−1)log⁡P]01=−2F+z∫01(2u−1)2P du.(3)0=\big[(2u-1)\log P\big]_0^1 =-2F+z\int_0^1\frac{(2u-1)^2}{P}\,\mathrm du. \tag{3}

    Use (2u−1)2=1−4h(2u-1)^2=1-4h and ∫01P−1du=1+zF′\int_0^1P^{-1}\mathrm du=1+zF'. The result is

    z(4−z)F′(z)+2F(z)=z.(4)z(4-z)F'(z)+2F(z)=z. \tag{4}

    It is convenient to write an affine scalar equation as a homogeneous system:

    dYdz=A(z)Y,Y=(F1),A(z)=(−2z(4−z)14−z00).(5)\frac{\mathrm dY}{\mathrm dz}=A(z)Y,\qquad Y=\begin{pmatrix}F\\1\end{pmatrix},\qquad A(z)=\begin{pmatrix} -\dfrac{2}{z(4-z)}&\dfrac{1}{4-z}\\ 0&0 \end{pmatrix}. \tag{5}

    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 AA has poles at z=0z=0 and z=4z=4. The physical solution is regular at the first point, with F(0)=0F(0)=0, but an ordinary numerical solver should not evaluate Eq. (5) there. Instead, expand the defining logarithm:

    F(z)=∑n=1∞cnzn,cn=1n∫01hn du=(n!)2n(2n+1)!.(6)F(z)=\sum_{n=1}^\infty c_nz^n,\qquad c_n=\frac1n\int_0^1h^n\,\mathrm du =\frac{(n!)^2}{n(2n+1)!}. \tag{6}

    This follows from the beta integral and converges for ∣z∣<4|z|<4. Its coefficients obey

    c1=16,cncn−1=n−12(2n+1)(n≥2).(7)c_1=\frac16,\qquad \frac{c_n}{c_{n-1}}=\frac{n-1}{2(2n+1)}\quad(n\ge2). \tag{7}

    The absolute ratio of successive terms is less than ∣z∣/4|z|/4. If FNF_N includes terms through degree NN, then

    ∣F(z)−FN(z)∣≤cN+1∣z∣N+11−∣z∣/4.(8)|F(z)-F_N(z)|\le \frac{c_{N+1}|z|^{N+1}}{1-|z|/4}. \tag{8}

    This is a truncation bound, not a bound on floating-point evaluation. At the retained seed z0=1/4z_0=1/4, degree 24 gives F(z0)≃0.04274715983857673F(z_0)\simeq0.04274715983857673. The bound in Eq. (8) is 5.88×10−335.88\times10^{-33}, whereas the actual binary64 seed differs from a high-precision parameter reference by 9.22×10−189.22\times10^{-18}. 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 z=γ(t)z=\gamma(t), with a real path parameter tt. The solver must integrate

    dYdt=γ′(t)A(γ(t))Y(t).(9)\frac{\mathrm dY}{\mathrm dt} =\gamma'(t)A(\gamma(t))Y(t). \tag{9}

    On a straight segment from zaz_a to zbz_b, take γ(t)=za+t(zb−za)\gamma(t)=z_a+t(z_b-z_a) for 0≤t≤10\le t\le1. Omitting the factor zb−zaz_b-z_a 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 x≠0,4x\ne0,4, the retained paths are

    14⟶14+iH⟶x+iH⟶x,H>0.(10)\frac14\longrightarrow\frac14+iH \longrightarrow x+iH\longrightarrow x,\qquad H>0. \tag{10}

    They avoid the system poles and approach the physical cut from above. Ending a path at x>4x>4 is well defined: A(x)A(x) 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 AA. 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.

    Complex invariant plane showing upper and lower paths from one quarter to five around the threshold at four, and a separate closed circle around four based at three. The upper and lower paths give conjugate boundary values; the threshold loop changes the sheet.

    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 z=4z=4 has nontrivial monodromy even though it returns to the same coordinate.

    Compare tolerances and representations

    For H=1H=1, the retained scan transports to x=−4,1,3.9,4.1,5,10x=-4,1,3.9,4.1,5,10. The table summarizes the maximum absolute error against the analytic bubble and the range of right-hand-side evaluations over these six endpoints.

    Relative toleranceMaximum endpoint errorRHS evaluations
    10−710^{-7}3.87×10−83.87\times10^{-8}126–318
    10−1010^{-10}1.75×10−111.75\times10^{-11}162–594
    10−1210^{-12}2.28×10−132.28\times10^{-13}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 2.3×10−132.3\times10^{-13}. These are deterministic errors for the specified runs, not fitted uncertainties or universal performance guarantees.

    At x=5x=5, three upper paths with H=0.5,1,2H=0.5,1,2 give absolute errors below 3.2×10−133.2\times10^{-13}. The upper-minus-lower result agrees with

    Disc⁡F(x)=2πi1−4x(11)\operatorname{Disc}F(x)=2\pi i\sqrt{1-\frac4x} \tag{11}

    to 1.5×10−141.5\times10^{-14} 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 zcz_c, using an already known value FcF_c on the desired sheet. Set ξ=z−zc\xi=z-z_c and

    F(zc+ξ)=∑n=0∞anξn,g0=zc(4−zc),g1=4−2zc.(12)F(z_c+\xi)=\sum_{n=0}^\infty a_n\xi^n,\qquad g_0=z_c(4-z_c),\qquad g_1=4-2z_c. \tag{12}

    Since z(4−z)=g0+g1ξ−ξ2z(4-z)=g_0+g_1\xi-\xi^2, Eq. (4) gives

    a0=Fc,a1=zc−2a0g0,an+1=δn1−(g1n+2)an+(n−1)an−1g0(n+1),n≥1.(13)\begin{aligned} a_0&=F_c,\qquad a_1=\frac{z_c-2a_0}{g_0},\\ a_{n+1}&=\frac{\delta_{n1}-(g_1n+2)a_n+(n-1)a_{n-1}}{g_0(n+1)},\qquad n\ge1. \end{aligned} \tag{13}

    A sufficient convergence disk for this construction is bounded by the nearest pole of the system, with radius min⁡(∣zc∣,∣zc−4∣)\min(|z_c|,|z_c-4|). 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 FcF_c at zc=5+0.5iz_c=5+0.5i. Equation (13) then moves by ξ=−0.5i\xi=-0.5i, within the convergence disk, to the upper boundary at 55. The absolute endpoint errors at degrees 8, 16, and 32 are respectively 1.48×10−51.48\times10^{-5}, 8.84×10−98.84\times10^{-9}, and 1.55×10−131.55\times10^{-13}. Direct ODE transport along that last segment gives 1.85×10−131.85\times10^{-13}. At degree 32 the error inherited from FcF_c 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 ΔF\Delta F obeys the homogeneous equation. Direct integration gives

    ΔF(z)=ΔF(z0)h0(z)h0(z0),h0(z)=4−zz,(14)\Delta F(z)=\Delta F(z_0)\frac{h_0(z)}{h_0(z_0)},\qquad h_0(z)=\sqrt{\frac{4-z}{z}}, \tag{14}

    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 10−610^{-6} to the seed at 1/41/4 and transports to 1010 on the upper path. Equation (14) predicts a final change of −2×10−7i-2\times10^{-7}i; the numerical change agrees within 1.3×10−151.3\times10^{-15}. 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 h0>0h_0>0 just below 44,

    F=2−πh0+2h0arctan⁡h0.(15)F=2-\pi h_0+2h_0\arctan h_0. \tag{15}

    One loop around 44, avoiding 00, changes h0h_0 to −h0-h_0. The last term is unchanged, while the linear term changes sign. At the retained base point z=3z=3, one circuit of the radius-one circle centered at 44 therefore adds 2π/32\pi/\sqrt3. The computed endpoint agrees with this second-sheet value within 1.5×10−121.5\times10^{-12}; two circuits return to the original value within 3.3×10−123.3\times10^{-12}. A separate small loop around 00 returns the physical solution within 1.2×10−141.2\times10^{-14}, 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 ss value with spacelike tt and uu 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

    1. Suppose the seed at z0=1/4z_0=1/4 is shifted by a real η\eta, and the equation is otherwise integrated exactly along an upper path to z=10z=10. Find the final error, including its phase. Would returning from 1010 along the reverse path diagnose this incorrect seed?
    Solution

    Subtracting Eq. (4) for the two solutions gives

    dlog⁡ΔFdz=−2z(4−z)=−12z−12(4−z).\frac{\mathrm d\log\Delta F}{\mathrm dz} =-\frac{2}{z(4-z)} =-\frac1{2z}-\frac1{2(4-z)}.

    Integration gives Eq. (14). Initially h0(1/4)=15h_0(1/4)=\sqrt{15}. On approaching 1010 from above, (4−z)/z(4-z)/z approaches the negative real axis from below, so h0(10+i0)=−i3/5h_0(10+i0)=-i\sqrt{3/5}. Consequently

    ΔF(10+i0)=−i5η.\Delta F(10+i0)=-\frac{i}{5}\eta.

    For η=10−6\eta=10^{-6} this is −2×10−7i-2\times10^{-7}i. 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.

    1. Use Eq. (15) to calculate the value after one and two loops around the circle ∣z−4∣=1|z-4|=1, based at z=3z=3, starting from the physical below-threshold value. Why does a loop around the pole at z=0z=0 behave differently for the physical solution?
    Solution

    At the base point h0=1/3h_0=1/\sqrt3 and arctan⁡h0=π/6\arctan h_0=\pi/6. Hence

    F(3)=2−2π33.F(3)=2-\frac{2\pi}{3\sqrt3}.

    The radius-one loop encloses the simple zero of h02h_0^2 at 44 but not its pole at 00, so the continued square root reverses sign after one circuit. Along this loop ∣h0∣≤1/3|h_0|\le1/\sqrt3, allowing the ordinary odd series for arctan⁡h0\arctan h_0 throughout. The product h0arctan⁡h0h_0\arctan h_0 is even. Therefore

    Fone loop(3)=F(3)+2π3=2+4π33.F_{\mathrm{one\ loop}}(3) =F(3)+\frac{2\pi}{\sqrt3} =2+\frac{4\pi}{3\sqrt3}.

    A second circuit reverses the square root again and restores F(3)F(3). In contrast, Eq. (6) is a single-valued convergent Taylor series in a disk around 00. 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 00; 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

    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.