Definite integral involving square roots

definite integrals

Is there a simple way to compute the following integral

$$
I(a)\equiv \int_0 ^{+\infty}\left[\frac{2 a^{3/2} \left(x^2+1\right)^{3/2}}{\sqrt{a \left(x^2+2\right)+1}}-a \left(2 x^2+1\right)+1\right]\mathrm{d}x
$$

with $a>0$.

Using Mathematica, I managed to compute $I(a)$ in terms of complete elliptic integrals of the first and second type, but the final expression is somehow unwieldy.

Best Answer

I do not know in which context you faced this function (for mutual conveniency, I reuse the formula as @Mycroft wrote it). $$A(a) = \frac{2 a(a-1) K\left(\frac{a+1}{2 a+1}\right)+4(2 a+1) E\left(\frac{a+1}{2 a+1}\right)}{3 \sqrt{a (2 a+1)}}$$ We faced a very similar one years ago in thermodynamics for $a>1$ and, for obvious computing reasons, we develop it as a series $$A(a)=\sum_{n=0}^p \frac{\alpha_n}{\beta_n} a^{1-n}$$ The table below reproduces the values for the first $n$'s $$\left( \begin{array}{ccc} n & \alpha_n & \beta_n \\ 0 & \sqrt{2} \left(24 \pi ^2+\Gamma \left(\frac{1}{4}\right)^4\right) & 16 \sqrt{\pi } \Gamma \left(\frac{1}{4}\right)^2 \\ 1 & \sqrt{2} \Gamma \left(\frac{1}{4}\right) \Gamma \left(\frac{5}{4}\right)^2+\pi \Gamma \left(\frac{7}{4}\right) & 2 \sqrt{\pi } \Gamma \left(\frac{1}{4}\right) \\ 2 & -\sqrt{2} \left(3 \pi ^2+40 \Gamma \left(\frac{1}{4}\right) \Gamma \left(\frac{5}{4}\right)^3\right) & 96 \sqrt{\pi } \Gamma \left(\frac{1}{4}\right)^2 \\ 3 & 5 \sqrt{2} \Gamma \left(\frac{1}{4}\right) \Gamma \left(\frac{5}{4}\right) & 512 \sqrt{\pi } \\ 4 & 3 \sqrt{2} \left(14 \pi ^2-15 \Gamma \left(\frac{1}{4}\right)^3 \Gamma \left(\frac{5}{4}\right)\right) & 10240 \sqrt{\pi } \Gamma \left(\frac{1}{4}\right)^2 \\ 5 & \sqrt{2} \left(-77 \pi ^2+45 \Gamma \left(\frac{1}{4}\right)^3 \Gamma \left(\frac{5}{4}\right)\right) & 20480 \sqrt{\pi } \Gamma \left(\frac{1}{4}\right)^2 \\ 6 & 3 \sqrt{2} \left(154 \pi ^2-65 \Gamma \left(\frac{1}{4}\right)^3 \Gamma \left(\frac{5}{4}\right)\right) & 163840 \sqrt{\pi } \Gamma \left(\frac{1}{4}\right)^2 \end{array} \right)$$

A few results for $a=10^k$

$$\left( \begin{array}{ccc} k & \text{approximation} & \text{exact} \\ 0 & 2.91216151929910 & 2.91258419032827 \\ 1 & 10.3487069573255 & 10.3487069573835 \\ 2 & 88.9615534510584 & 88.9615534510584 \\ 3 & 875.573856650175 & 875.573856650175 \\ 4 & 8741.74602244500 & 8741.74602244500 \\ 5 & 87403.4726014927 & 87403.4726014927 \\ 6 & 874020.738884157 & 874020.738884157 \\ 7 & 8740193.40176002 & 8740193.40176002 \end{array} \right)$$

Related Question