I am trying to solve or approximate the following type of integrals: $$\int_a^b \frac{\beta^2}{\beta^2 - c} e^{-u^2} du$$ or $$\int_a^b \frac{c}{\beta^2 - c} e^{-u^2} du,$$ with $\beta = u \sqrt{2} \sigma + \mu$.
The limits are $a = -8.5$ and $b$ varies from -0.62 to -2.2. Or $a$ varies from -0.5 to 3 and $b\to\infty$.
The other values are constant:
$c = 0.31$
$\sigma = 0.05$
$\mu = 1.7$
This integral is for finding a probability distribution from a product of distributions (https://en.wikipedia.org/wiki/Product_distribution)
I would like an approximate answer to see more clearly the effect of different parameters instead of having to compute the integral numerically each time.
For the values that you are giving us, it seems that $\sigma \ll 1$. So you could try to use the approximation (expansion in $\mu\sigma \ll \mu^2 ,\mu^2 -c$) $$ \int_a^b \frac{\beta^2}{\beta^2 -c} e^{-u^2}\,du \approx \frac{\sqrt{\pi} \mu^2}{2 (\mu^2 -c)} (\operatorname{erf}(b) -\operatorname{erf}(a)) +\frac{\sqrt 2 c\mu \sigma}{(\mu^2 - c)^2} (e^{-b^2} - e^{-a^2}) \,. $$ Similarly, $$ \int_a^b \frac{c}{\beta^2 -c} e^{-u^2}\,du \approx \frac{\sqrt{\pi} c}{2 (\mu^2 -c)} (\operatorname{erf}(b) -\operatorname{erf}(a)) +\frac{\sqrt 2 c \mu \sigma}{(\mu^2 - c)^2} (e^{-b^2} - e^{-a^2}) \,. $$
By the way, if course you have to limit the boundaries of integration such that $\beta^2 \neq c$ nowhere in the region of integration.