In some applied mathematics (ocean modelling) I was doing I came across the integral
$$I(k)=\int_0^\infty e^{-x^2}\sqrt{x^2-k^2}\ \mathrm{d}x,$$
where $k\geq 0$ is a constant that depends on the parameters (e.g. flow speed) I wish to use. I was wondering whether anyone knows of a neat expression for this integral, even in terms of Bessel functions? I'm particularly interested in the real part of this integral, that is
$$\Re(I(k))=\int_k^\infty e^{-x^2}\sqrt{x^2-k^2}\ \mathrm{d}x.$$
I was hoping for a solution similar this question but have had no luck. An asymptotic expression (for large $k$) for $I(k)$ or $\Re(I(k))$ would also be really useful.
Substituting $$x = k \cosh t, \qquad dx = k \sinh t \,dt$$ transforms the integral for $\Re(I(k))$ to $$k^2 \int_0^\infty \sinh^2 t e^{-k^2 \cosh^2 t} \,dt = \frac{1}{4} k^2 \exp \left(-\frac{k^2}{2}\right) \left[K_1\left(\frac{k^2}{2}\right) - K_0\left(\frac{k^2}{2}\right)\right],$$ where $K_\alpha$ is the modified Bessel function of the second kind. Here the equality follows from hyperbolic trigonometric identities and the integral representation $$K_\alpha(s) = \int_0^\infty e^{-s \cosh t} \cosh \alpha t \,dt .$$ Using known expansions for Bessel functions gives that:
Similarly, the imaginary part of the integral is $$\Im (I(k)) = \int_0^k e^{-x^2} \sqrt{k^2 - x^2} \,dx = \frac{1}{4} \pi k^2 \exp \left(-\frac{k^2}{2}\right) \left[I_0\left(\frac{k^2}{2}\right) + I_1\left(\frac{k^2}{2}\right)\right] ,$$ where $I_0$ is the modified Bessel function of the first kind. (Here we've used the principal branch of the square root function; a different choice of branch may yield the negative of this quantity.) Again using known asymptotics for $I_0$ gives asymptotic expansions for $\Im(I(k))$:
(The leading term of the small-$k$ expansion for $\Im(I(k))$ needs nothing sophisticated, by the way, just the evenness of the integral in $k$ and the formula for the area of a circle.)