I am currently trying to get a general expression of the following integral, I spaned many questions with the above tags and found nothing close to it:
$$ I_n = \int_0^{n \pi} \sin^2(x) \sqrt{1+\alpha^2 \cos^2(x)} \mathrm d x $$ where $\alpha^2 > 0 $ and $n \in \mathbb{Z}$.
I thought of changes of variable $u =\cos(x)$ or $u = \cos^2(x)$, but after a try they don't lead somewhere interesting. I linearized the $sin^2(x)$ factor, but again I end up with two integrals:
$$ I_n = \frac{1}{2}\int_0^{n \pi}\sqrt{1+\alpha^2 \cos^2(x)} \mathrm d x - \frac{1}{2}\int_0^{n \pi} \cos(2x)\sqrt{1+\alpha^2 \cos^2(x)} \mathrm d x $$ and they don't seem easier.
Has anyone any ideas regarding a change of variable worth a try? Is there a way to obtain a closed form, if it exists one?
Using Mathematica, I found that the value is $$ I_n = n \frac{2 \sqrt{\alpha ^2+1} \left(\left(\alpha ^2-1\right) E\left(\frac{1}{1+\frac{1}{\alpha ^2}}\right)+K\left(\frac{1}{1+\frac{1}{\alpha ^2}}\right)\right)}{3 \alpha ^2} $$ Here $E$ is Mathematica's EllipticE and $K$ is EllipticK. These functions are not elementary but can be efficiently evaluated to any desired precision.
To remove ambiguity regarding definitions, $E(m) = E_2(\sqrt m)$ and $K(m) = E_1(\sqrt m)$, where $E_j$ is the (ordinary) complete elliptic integral of the $j$'th kind.