Closed-form integral $\int_{-1}^1 e^{a x^2 + bx}/\sqrt{1-x^2}dx$

236 Views Asked by At

Is there a closed-form analytic solution to the integral $$F(a,b) = \int_{-1}^1 \frac{e^{a x^2 + b x}}{\sqrt{1-x^2}}dx = \int_{0}^{\pi} e^{a \cos^2\theta + b \cos \theta}d\theta$$ where $a$ and $b$ are real? I am only aware of analytic results for special values with the modified Bessel function of the first kind $I_0(x)$: \begin{align} F(a,0)&=\pi e^{a/2} I_0(a/2), \\ F(0,b)&=\pi I_0(b). \end{align} If there is no closed-form analytical result in the general case, what is the asymptotic solution for small positive $a^{-1}$ and $b^{-1}$.

2

There are 2 best solutions below

3
On BEST ANSWER

First of all, i don't think a closed form for this integral exists so i will stick to numerics which will yield an excellent approximation in the end.

Assuming $a\gg1$ or $b\gg1$, the integral will be always dominated by the right endpoint, because a) we have an integrable singularity there and b) $a x^2$ and $b x$ have the same sign. We can therefore conclude that the integral in question is asymptotically equal to

$$ F(a,b)\sim \int_{1-\epsilon}^1dx\frac{e^{a x^2+b x}}{\sqrt{1-x^2}}\sim \sqrt{\frac{1}{2}}\int_{1-\epsilon}^1dx\frac{e^{a x^2+b x}}{\sqrt{1-x}} $$

because we expect only exponentially small corrections if we enlarge our domain of integration we may push it all the way down to minus infinity. Furthermore we might expand the exponent around $x=1$: $ax^2+bx\sim a+b+(2a+b)(x-1)+\mathcal{O}(x-1)^2$ so we are down to

$$ F(a,b)\sim \sqrt{\frac{1}{2}}e^{a+b}\int_{-\infty}^1dx\frac{e^{(2a+b)(x-1) }}{\sqrt{1-x}} $$

this can be brought into the form of a standard Gaussian integral and so we end up with

$$ F(a,b)\sim \sqrt{\frac{\pi}{2}}\frac{e^{a+b}}{\sqrt{2a+b}} $$

which is asymtotically equal to the two limiting cases calculated by OP. Below we have a logaritmic plot, comparing numerics (dotted,blue) and asymptotics (red,full) for the case $a=10b$

enter image description here

Using exactly the same kind of reasoning we find that the second endpoint yields contributions $\sim e^{a-b}\ll e^{a+b}$ for $a,b>0$ so we can safely neglect them

3
On

$\newcommand{\angles}[1]{\left\langle\,{#1}\,\right\rangle} \newcommand{\braces}[1]{\left\lbrace\,{#1}\,\right\rbrace} \newcommand{\bracks}[1]{\left\lbrack\,{#1}\,\right\rbrack} \newcommand{\dd}{\mathrm{d}} \newcommand{\ds}[1]{\displaystyle{#1}} \newcommand{\expo}[1]{\,\mathrm{e}^{#1}\,} \newcommand{\half}{{1 \over 2}} \newcommand{\ic}{\mathrm{i}} \newcommand{\iff}{\Longleftrightarrow} \newcommand{\imp}{\Longrightarrow} \newcommand{\Li}[1]{\,\mathrm{Li}_{#1}} \newcommand{\mc}[1]{\mathcal{#1}} \newcommand{\mrm}[1]{\mathrm{#1}} \newcommand{\ol}[1]{\overline{#1}} \newcommand{\pars}[1]{\left(\,{#1}\,\right)} \newcommand{\partiald}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} \newcommand{\root}[2][]{\,\sqrt[#1]{\,{#2}\,}\,} \newcommand{\totald}[3][]{\frac{\mathrm{d}^{#1} #2}{\mathrm{d} #3^{#1}}} \newcommand{\ul}[1]{\underline{#1}} \newcommand{\verts}[1]{\left\vert\,{#1}\,\right\vert}$ \begin{align} \mrm{F}\pars{a,b} & = \int_{-1}^{1}{\expo{ax^{2}\ +\ bx} \over \root{1 - x^{2}}}\,\dd x = 2\int_{0}^{1}{\expo{ax^{2}}\cosh\pars{bx} \over \root{1 - x^{2}}}\,\dd x \end{align} First, I 'remove' the singularity at $\ds{x = 1}$ with the substitution $\ds{x = 1 - t^{2}}$ which 'moves' the main contribution to $\ds{t \approx 0}$: \begin{align} \mrm{F}\pars{a,b} & = 4\int_{0}^{1}{\exp\pars{a\bracks{1 - t^{2}}^{2}}\cosh\pars{b\bracks{1 - t^{2}}} \over \root{2 - t^{2}}}\,\dd t \\[5mm] & = 4\int_{0}^{1}\exp\pars{a\bracks{1 - t^{2}}^{2} + \ln\pars{\cosh\pars{b\bracks{1 - t^{2}}}} - \half\,\ln\pars{2 - t^{2}}}\,\dd t \end{align} When $\ds{a, b \gg 1}$, the integrand is reduced to $$ \sim 2\root{2}\expo{a}\cosh\pars{b} \exp\pars{-\bracks{2a + b\tanh\pars{b} - {1 \over 4}}t^{2}} $$ such that \begin{equation} \mrm{F}\pars{a,b} \sim \color{#f00}{\root{\pi \over 2} {2\expo{a}\cosh\pars{b} \over \root{2a + b\tanh\pars{b} - 1/4}}} \equiv \mc{F}\pars{a,b}\,,\qquad \bracks{2a + b\tanh\pars{b} - {1 \over 4}} \gg 1 \label{1}\tag{1} \end{equation}

The picture shows $\pars{~\mbox{see expression}\ \eqref{1}~}$ , for instance, the error $\ds{\delta \equiv \verts{{\mc{F}\pars{a,10a} \over \mrm{F}\pars{a,10a}} - 1} \times 100\ \%}$ as a function of $\ds{a \in \bracks{100,200}}$. $\ds{\underline{Note}}$ that $\ds{\delta \sim 10^{-3}\ \%}$.