I have a question about an Integrals which I can do by hand but I want to implement this Integral in Mathematica. Actually it is the definition of a 2 Particle Phase Space. The Expression is the following:
$$\int _{-\infty }^{\infty }\int _{-\infty }^{\infty }\int _{-\infty }^{\infty }\int _{-\infty }^{\infty }\theta (\text{E1}) \theta (\text{E2}) \delta \left(\text{E1}^2-\text{k1}^2-\text{m1}^2\right) \delta \left(\text{E2}^2-\text{k2}^2-\text{m2}^2\right) \delta (-\text{E1}-\text{E2}+\text{Ea}+\text{Eb}) \delta (-\text{k1}-\text{k2}+\text{ka}+\text{kb}) T(\text{E2},\text{k2},\text{E1},\text{k1})d\text{k2}d\text{E2}d\text{k1}d\text{E1}$$
When I try to integrate this with Mathematica it does nothing. (BTW T here is just a function e.g. the matrix element squared).I mean, when I do it by hand I treat e.g. the last delta dist. as a "function" of k1 and replace all the k1s in the other distributions and functions. So I kill step by step most of the deltas, at least two of them. But Mathematica does nothing. Can't Mathematica handle expressions like that? Or do I have to use some tricks? I would be very happy for some help:)
I mean, I know that it could be tricky for Mathematica to treat a specific delta as only a dist dependent on one specific argument for the specific integration.
Cheers,
Marcel
HeavisideTheta[]? – J. M.'s missing motivation Jun 18 '15 at 08:58Integratebut my ownHead, that behaves like Integrate when the integrand contains noDiracDeltas but does something smarter when it does exist. I think it's just a few simple replacement rules. – evanb Sep 16 '15 at 21:37