I came across a really different integral that relates the product of a function and the delta Dirac written as follows
$\displaystyle\int \delta(y-f(x,m))\frac{1}{f(x,m)}dx$
Based on your broad experience, I ask for some suggestions for integration techniques that allow solving this particular integral.
Thanks in advance.
For the example $f(x,m)=m-x^2$, you can use the formula as in Dirac Delta Function of a Function .
Define $g(x)=y-f(x,m)$.
This method is correct for any function $f$.
Important note: you do need to determine how many roots the function $g$ has, but you may not need to compute them explicitly. For example you can easily see that \begin{align} f(x_1,m)=y-g(x_1)=y \end{align} without knowing what the precise value of $x_1$ is. Similar tricks might be possible for the $g'(x_i)$ term. This of course depends on the function $f$, but with polynomials, your chances are somewhat good that you can simplify it somewhat.