For this identity of the delta function: $$ \int_{-\infty}^\infty f(x)\delta(g(x)) = \sum_{n = 1}^N\int_{-\infty}^\infty dx f(x)\frac{\delta(x-x_n)}{|g'(x_n)|} $$
Where $x_n$'s are zeros of $g(x)$. Does it still hold if the integrand goes from $0$ to $\infty$ instead?
Thanks!