Skip to content
QFT.org

Search QFT.org

Enter a word or phrase.

    You can also browse the main navigation and chapter contents.

    Phase-Space Maps and Weighted Events

    An event generator must do more than produce plausible momentum vectors. It must cover the allowed configurations with a known probability, conserve four-momentum, and attach the Jacobian needed to recover an absolute rate. A cloud of points can have the right boundary and still have the wrong density.

    We construct two- and three-body scalar decays from uniform random numbers. The massless three-body example has an exactly known phase-space volume and a map with constant weights; a massive example checks the same machinery against an independent integral. The resulting four-vectors will also support resonance sampling and unweighting.

    Preparation: Lorentz transformations, a change of variables in an integral, and invariant phase space. We use natural units and the mostly-minus metric and covariant state normalization.

    Three densities that must remain distinct

    For a parent of momentum PP, our invariant measure is

    dΦn(P;p1,…,pn)=(2π)4δ(4) ⁣(P−∑ipi)∏id3pi(2π)3 2Ei.d\Phi_n(P;p_1,\ldots,p_n) =(2\pi)^4\delta^{(4)}\!\left(P-\sum_i p_i\right) \prod_i\frac{\mathrm d^3p_i}{(2\pi)^3\,2E_i}.

    The parent-rest decay rate is

    dΓ=∣M∣22MSf dΦn,\mathrm d\Gamma=\frac{|\mathcal M|^2}{2M S_f}\,\mathrm d\Phi_n,

    where MM is the parent mass and SfS_f is the identical-particle symmetry factor when integrating over a fully labeled domain. All primary examples have distinguishable daughters and Sf=1S_f=1. The measure has mass dimension 2n−42n-4; the amplitude and flux factor complete the rate's mass dimension.

    A generator instead draws coordinates uu from a normalized probability law. If it maps unit uniforms into phase space, write dΦn=WΦ(u) du\mathrm d\Phi_n=W_\Phi(u)\,\mathrm du. For a measurement function AA, including cuts,

    Γ^[A]=1N∑k=1N∣M(p(uk))∣22MSf WΦ(uk)A(p(uk)).\widehat\Gamma[A]=\frac1N\sum_{k=1}^N \frac{|\mathcal M(p(u_k))|^2}{2M S_f}\,W_\Phi(u_k)A(p(u_k)).

    The phase-space weight, rate weight, and normalized event probability are different objects. Dividing a histogram by its total weight makes a probability distribution; it does not preserve the absolute rate. For independent events, use the sample variance of the complete per-event contribution, including zeros from failed cuts, divided by NN. Normalizing by the sampled total instead produces a correlated ratio; its errors are discussed in importance sampling.

    The PDG review defines its symbol dΦn\mathrm d\Phi_n without our overall (2π)4(2\pi)^4. Its decay and recursion formulas must be translated together. The formulas here include that factor throughout. PDG, §§49.3–49.4.3, Eqs. (49.11)–(49.23), PDF pp. 2–4.

    Two uniforms generate a two-body decay

    Define the Källén function

    λ(a,b,c)=a2+b2+c2−2ab−2ac−2bc.\lambda(a,b,c)=a^2+b^2+c^2-2ab-2ac-2bc.

    For M>m1+m2M>m_1+m_2, energy conservation and the two mass shells give

    E1∗=M2+m12−m222M,E2∗=M−E1∗,k∗=λ(M2,m12,m22)2M.E_1^*=\frac{M^2+m_1^2-m_2^2}{2M},\qquad E_2^*=M-E_1^*,\qquad k^*=\frac{\sqrt{\lambda(M^2,m_1^2,m_2^2)}}{2M}.

    Draw u,vu,v independently and uniformly on (0,1)(0,1), and set c=2u−1c=2u-1, φ=2πv\varphi=2\pi v. Then

    n=(1−c2cos⁡φ,1−c2sin⁡φ,c),p1∗=(E1∗,k∗n),p2∗=(E2∗,−k∗n).\boldsymbol n=(\sqrt{1-c^2}\cos\varphi,\sqrt{1-c^2}\sin\varphi,c), \qquad p_1^*=(E_1^*,k^*\boldsymbol n),\quad p_2^*=(E_2^*,-k^*\boldsymbol n).

    To obtain the measure, use the spatial delta function to set p2=−p1\boldsymbol p_2=-\boldsymbol p_1. The remaining radial energy delta function has derivative

    d(E1+E2)dk=k(1E1+1E2)=kME1E2\frac{\mathrm d(E_1+E_2)}{\mathrm dk} =k\left(\frac1{E_1}+\frac1{E_2}\right) =\frac{kM}{E_1E_2}

    on its support. Thus

    dΦ2=k∗16π2M dΩ,dΩ=4π du dv,WΦ2=λ(M2,m12,m22)8πM2.\mathrm d\Phi_2=\frac{k^*}{16\pi^2M}\,\mathrm d\Omega, \qquad \mathrm d\Omega=4\pi\,\mathrm du\,\mathrm dv, \qquad W_{\Phi_2}=\frac{\sqrt{\lambda(M^2,m_1^2,m_2^2)}}{8\pi M^2}.

    Every event has the same phase-space weight. A uniform polar angle θ\theta, rather than a uniform c=cos⁡θc=\cos\theta, would overpopulate the poles unless its different Jacobian were included.

    For a concrete interaction Lint=−hXab\mathcal L_{\rm int}=-hXab with distinct scalar fields, ∣M∣2=h2|\mathcal M|^2=h^2 at tree level. Set M=1M=1, m1=0.2m_1=0.2, m2=0.3m_2=0.3, and h=0.4h=0.4 in the chosen mass unit. The calculation gives

    Φ2=0.03428533279,Γ=0.002742826623.\Phi_2=0.03428533279,\qquad \Gamma=0.002742826623.

    The angular cut ∣c∣<0.6|c|<0.6 retains exactly 60%60\% of this rate. The generated estimate is 0.60254±0.001750.60254\pm0.00175 for its probability. The angular observable 1+c21+c^2 has exact mean 4/34/3 and variance 4/454/45; its estimate is 1.33159±0.001051.33159\pm0.00105. These errors are standard errors across eight independent replica means. Neither estimate has been moved toward its target by changing the seed.

    At threshold the phase-space volume is zero. Below threshold there is no physical decay map. In the massless limit Φ2=1/(8π)\Phi_2=1/(8\pi), independently of MM; this also checks the measure's dimension.

    Five uniforms generate a three-body decay

    Introduce the timelike cluster Q=p1+p2Q=p_1+p_2 and s=Q2s=Q^2. The allowed range is

    smin⁡=(m1+m2)2,smax⁡=(M−m3)2.s_{\min}=(m_1+m_2)^2,\qquad s_{\max}=(M-m_3)^2.

    Insert a delta function for QQ and integrate its mass shell to obtain the exact factorization

    dΦ3(P;p1,p2,p3)=ds2π dΦ2(P;Q,p3) dΦ2(Q;p1,p2).\mathrm d\Phi_3(P;p_1,p_2,p_3) =\frac{\mathrm ds}{2\pi}\, \mathrm d\Phi_2(P;Q,p_3)\, \mathrm d\Phi_2(Q;p_1,p_2).

    Draw ss with normalized density gs(s)g_s(s). Two uniforms specify QQ's direction in the parent rest frame; two more specify p1p_1's direction in the QQ rest frame. Construct the inner back-to-back pair, boost it into the parent frame, and set p3=P−Qp_3=P-Q. Using the two-body angular Jacobians twice gives

    WΦ3(s)=λ(M2,s,m32)λ(s,m12,m22)128π3M2s gs(s).W_{\Phi_3}(s)= \frac{\sqrt{\lambda(M^2,s,m_3^2)\lambda(s,m_1^2,m_2^2)}} {128\pi^3M^2s\,g_s(s)}.

    The factor 1/(2π)1/(2\pi) belongs to the cluster-mass integral. Omitting it changes the total volume by 2π2\pi, even though every generated event can still obey its mass shells.

    The companion uses an active boost: a rest-frame four-vector p∗p^* becomes a vector in a frame where its parent has velocity β\boldsymbol\beta,

    p0=γ(p∗0+β⋅p∗),p=p∗+[γ−1β2β⋅p∗+γp∗0]β.p^0=\gamma(p^{*0}+\boldsymbol\beta\cdot\boldsymbol p^*),\qquad \boldsymbol p=\boldsymbol p^*+ \left[\frac{\gamma-1}{\beta^2}\boldsymbol\beta\cdot\boldsymbol p^* +\gamma p^{*0}\right]\boldsymbol\beta.

    Near a lightlike cluster, recovering γ\gamma from 1−β21-\beta^2 loses information. When the positive cluster mass mQ=sm_Q=\sqrt{s} and its momentum (EQ,Q)(E_Q,\boldsymbol Q) are known, the implementation instead uses the algebraically equivalent formulas

    p0=EQp∗0+Q⋅p∗mQ,p^0=\frac{E_Qp^{*0}+\boldsymbol Q\cdot\boldsymbol p^*}{m_Q}, p=p∗+Q[p∗0mQ+Q⋅p∗mQ(EQ+mQ)].\boldsymbol p=\boldsymbol p^*+ \boldsymbol Q\left[ \frac{p^{*0}}{m_Q} +\frac{\boldsymbol Q\cdot\boldsymbol p^*}{m_Q(E_Q+m_Q)}\right].

    This avoids subtracting nearly equal squared quantities. An exactly null cluster has no rest frame; it is a limiting boundary of this chart, not an ordinary input to a rest-frame boost. The binary64 generator excludes the upper endpoint and maps an exact zero output to half its first uniform cell, 2−542^{-54}. Forced endpoint-cell tests are retained. This handles the numerical representation of a measure-zero boundary without imposing a physical invariant-mass cut.

    A flat massless Dalitz map

    For three massless daughters, put x=s/M2x=s/M^2. The weight reduces to

    WΦ3(x)=M2(1−x)128π3gx(x),0<x<1.W_{\Phi_3}(x)=\frac{M^2(1-x)}{128\pi^3g_x(x)},\qquad 0<x<1.

    Uniform xx gives a variable weight proportional to 1−x1-x. Instead sample the normalized density gx=2(1−x)g_x=2(1-x) with

    u=2x−x2,x=1−1−u=u1+1−u.u=2x-x^2,\qquad x=1-\sqrt{1-u}=\frac{u}{1+\sqrt{1-u}}.

    The rationalized expression is preferable near zero. Now every event has

    WΦ3=Φ3=M2256π3.W_{\Phi_3}=\Phi_3=\frac{M^2}{256\pi^3}.

    This is uniform invariant phase space, not a uniform xx marginal. Introduce y=(p2+p3)2/M2y=(p_2+p_3)^2/M^2. After integrating orientations, the normalized density is 22 on the triangle x≥0x\geq0, y≥0y\geq0, x+y≤1x+y\leq1. Integrating its vertical slice gives precisely gx=2(1−x)g_x=2(1-x). It also gives independent checks

    ⟨x⟩=⟨y⟩=13,⟨x2⟩=16,⟨xy⟩=112.\langle x\rangle=\langle y\rangle=\frac13,\qquad \langle x^2\rangle=\frac16,\qquad \langle xy\rangle=\frac1{12}.

    For example, a dimensionless squared amplitude (1+x)2(1+x)^2 has phase-space average 11/611/6, so its total decay width is 11M/(3072π3)11M/(3072\pi^3) for distinguishable daughters. A flat phase-space map need not have flat rate weights.

    Reconstructed massless three-body events fill a triangular Dalitz region; their x marginal follows a decreasing linear density.

    The left panel uses the first 1,500 retained events from replica 0 of the flat phase-space map. The right panel uses all eight replicas, 65,536 events in total. Uniform density in the (x,y)(x,y) triangle produces the marginal 2(1−x)2(1-x), not a flat distribution in xx.

    What the retained experiment establishes

    Each of five cases uses eight independent replicas of 8,192 events. Their streams are fixed by SeedSequence([911025,0,case_id,replica]); the companion records all replica estimates. Here are the three-body normalizations at M=1M=1:

    CaseEstimated volumeReplica standard errorReference
    Massless, uniform xx1.2604584×10−41.2604584\times10^{-4}2.46×10−72.46\times10^{-7}1.2598256×10−41.2598256\times10^{-4}
    Massless, flat phase space1.2598256×10−41.2598256\times10^{-4}Constant weight1.2598256×10−41.2598256\times10^{-4}
    Masses (0.1,0.2,0.3)(0.1,0.2,0.3), uniform ss3.6089349×10−53.6089349\times10^{-5}4.46×10−84.46\times10^{-8}3.6104002×10−53.6104002\times10^{-5}

    The massive reference uses a separate one-dimensional integral with s=smin⁡+(smax⁡−smin⁡)sin⁡2θs=s_{\min}+(s_{\max}-s_{\min})\sin^2\theta. Orders 64 and 128 agree with the previously retained direct daughter-energy integration to better than 1.3×10−191.3\times10^{-19}. This is a numerical cross-check, not an analytic formula or a rigorous error enclosure. The independent normalization derivation is developed in three-body phase space.

    For the massless flat map, the measured moments are

    ObservableEstimate with replica standard errorExact value
    xx0.33338±0.001330.33338\pm0.001331/31/3
    yy0.33282±0.001410.33282\pm0.001411/31/3
    x2x^20.16653±0.000910.16653\pm0.000911/61/6
    xyxy0.08358±0.000250.08358\pm0.000251/121/12
    1x>0.2, y>0.1\boldsymbol1_{x>0.2,\,y>0.1}0.49263±0.002400.49263\pm0.002400.490.49
    (1+x)2(1+x)^21.83328±0.003561.83328\pm0.0035611/611/6

    The constant normalization has no sampling variance; its nonconstant observables still fluctuate. For instance, under the flat map Var⁡(x)=1/18\operatorname{Var}(x)=1/18, whereas the cut is Bernoulli with variance 0.49(1−0.49)0.49(1-0.49). Under the uniform-xx map, Var⁡(WΦ3)=Φ32/3\operatorname{Var}(W_{\Phi_3})=\Phi_3^2/3. These exact variances distinguish an integration error estimate from a deterministic Jacobian check. With only eight replicas, the estimated error itself has appreciable uncertainty.

    The retained checks also verify inverse maps at interior points, positive energies, all mass shells, parent conservation, and the same invariants after a boost by (0.2,−0.3,0.4)(0.2,-0.3,0.4). The finite-difference inverse-Jacobian check is accurate to 7.2×10−117.2\times10^{-11}; direct interior chart round trips agree within 4.5×10−164.5\times10^{-16}. Deliberately dropping the cluster factor or assigning a constant weight to uniform xx gives incorrect volumes despite valid-looking kinematics.

    Reproduce the maps

    The companion directory is examples/computational-qft/event-generation/. Run:

    python3 examples/computational-qft/event-generation/phase_space_checks.py
    

    phase_space.py contains the pure maps and conventions; phase-space-results.json retains the selected checks, all replica summaries, histograms, and figure points. Exact endpoint inputs, below-threshold inputs, angular seams, and null-cluster limits have explicit domains. Four-vector checks do not establish that a physical amplitude or detector model is correct; those are additional ingredients.

    Exercises

    1. Derive the five-variable Jacobian

    Starting from the two-body angular measure and the cluster recursion, derive the general three-body event weight. Then derive the massless flat map and explain why choosing uniform xx does not give uniform Dalitz points with constant weights.

    Solution

    Each uniformly sampled direction contributes its integrated two-body factor. For the outer and inner decays these are

    λ(M2,s,m32)8πM2,λ(s,m12,m22)8πs.\frac{\sqrt{\lambda(M^2,s,m_3^2)}}{8\pi M^2},\qquad \frac{\sqrt{\lambda(s,m_1^2,m_2^2)}}{8\pi s}.

    Multiplying them by ds/(2π)\mathrm ds/(2\pi) and using ds=du/gs(s)\mathrm ds=\mathrm du/g_s(s) gives the displayed WΦ3W_{\Phi_3}. For zero daughter masses, the two square roots are M2−sM^2-s and ss, so W=M2(1−x)/(128π3gx)W=M^2(1-x)/(128\pi^3g_x). Its integral is M2/(256π3)M^2/(256\pi^3).

    Set gx=2(1−x)g_x=2(1-x). Integrating from zero to xx gives u=2x−x2u=2x-x^2; solving for the root in [0,1][0,1] gives x=1−1−ux=1-\sqrt{1-u}. The resulting weight is constant. In Dalitz coordinates the allowed width in yy is 1−x1-x. A uniform area density therefore has an xx marginal proportional to that width. Choosing xx uniformly with isotropic inner angles instead generates a nonuniform area density; the variable weight 1−x1-x corrects it.

    2. Cuts and indistinguishable daughters

    Find the massless phase-space probability for x>ax>a, y>by>b, with a,b≥0a,b\geq0 and a+b<1a+b<1. Explain when dividing a labeled three-body rate by 3!3! is equivalent to integrating over one ordered sector.

    Solution

    Translate X=x−aX=x-a, Y=y−bY=y-b. The remaining triangle has legs 1−a−b1-a-b, area (1−a−b)2/2(1-a-b)^2/2, and normalized density 22. Thus

    P(x>a,y>b)=(1−a−b)2.\mathbb P(x>a,y>b)=(1-a-b)^2.

    For a=0.2a=0.2, b=0.1b=0.1 this is 0.490.49. When a+b≥1a+b\geq1 the probability is zero, apart from a measure-zero boundary.

    For three identical daughters, the amplitude squared and the physical measurement must be invariant under their permutations. Except on coincidence boundaries of measure zero, the fully labeled domain consists of six equivalent ordered sectors. Therefore

    13!∫labeled∣M∣2A dΦ3=∫one ordered sector∣M∣2A dΦ3.\frac1{3!}\int_{\rm labeled}|\mathcal M|^2 A\,\mathrm d\Phi_3 =\int_{\rm one\ ordered\ sector}|\mathcal M|^2 A\,\mathrm d\Phi_3.

    Do not also divide the ordered-domain integral by 3!3!. The preceding asymmetric condition on specifically labeled s12s_{12} and s23s_{23} is not automatically an observable for indistinguishable daughters. It must first be defined through a physical ordering prescription or symmetrized; otherwise the six sector integrals need not be equal.

    Summary

    A useful event map supplies momenta, support, and a density transformation together. Recursive two-body decays give a concrete five-variable three-body map; its cluster factor and mass proposal determine the weight. Analytic volumes, moments, and cuts test normalization independently of mass-shell checks. Once those pieces are fixed, an adaptive proposal can improve efficiency without changing the target rate.

    References

    • Particle Data Group, Kinematics, 2025 update to S. Navas et al., Physical Review D 110, 030001 (2024), §§49.3–49.4.3, Eqs. (49.8)–(49.23), PDF pp. 2–4. The review's phase-space convention is translated explicitly above. Review (PDF).

    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.