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!
Edit: I tried to make my answer a bit more precise after some discussion in the comments.
I want to add the following elements to the discussion.
The formula you wrote above makes sense only for regular enough (let's assume $g$ is a $C^1$ function) and suitable enough functions $g$ (for instance, the zeroes of $g$ must be isolated and $g'(z_0)\neq 0$ for any $z_0$ such that $g(z_0)=0$; the second condition actually implies the first one). In this hypothesis, the formula you wrote above works (in the sense that any of the two quantities is well-defined as soon as the other one is well-defined, and in that case they coincide; so for instance, the sum on the right hand side must be finite, or if it's an infinite series it must converge absolutely; or the series could actually diverge, so in that case the integral is $+\infty$ or $-\infty$ if your series diverges independently on the rearrangement of the summands). If your function $g$ is suitable enough, you can in fact integrate the above expression from zero to infinity, but you miss all the zeroes of $g$ that lie in the interval $(-\infty,0]$. Even if the zeroes of $g$ and the function $f$ are even with respect to zero, you need to multiply by $2$ to make the formula work because you need to count each zero twice.
What I just wrote only works if $0$ is not a zero of $g$, i.e., $g(0)\neq 0$. If $g(0)=0$, then you really have to think on what you are doing. In this case, you should specify whether you are integrating on the interval $(0,\infty)$ or $[0,\infty)$ to decide whether to include $0$ in the sum on the right-hand side. So, in short, if you just integrate from $0$ to infinity, you have to be careful in seeing where your zeroes of $g$ lie.
In response to the comments of @Mark Viola: given a Radon measure $\mu$ and a smooth (I think bicontinuous is enough) change of variables $\tau$, it is possible to define the pull-back measure $\mu\circ\tau$ such that $$ \mu\circ\tau(A)=\mu(\tau(A)), $$ and it is possible to integrate a function with respect to that measure. You can even do things more generally without assuming that your function $\tau$ is invertible (check the first answer of this question). So even if the Dirac delta is not a function (in the mathematical sense), it is still a Radon measure, and you can compose measures with functions under suitable assumptions. And you can integrate continues functions $f$ against a Radon measure (assuming the integral is well defined, so either $f$ is sign-definite, or either the positive or the negative part of $f$ have finite integral); more generally, you can integrate Borel-measurable functions. So no, that integral is not an abuse of notation, it is actually a proper integral in the measure-theoretic sense (I am hiding a lot of details under the carpet, but I think the idea is clear).
Edit.