I have the integral
$$I = \int_0^{2\pi} \mathrm{d}\theta\, \sqrt{k^2\cos^2\theta - \cos\theta + 1}$$
and I would need the asymptotic expansion of the integral for small values of $k$. For $k=0$ we get quite easily $I=4\sqrt{2}$, while for $k\gg 1$, we have $I\sim 4|k|$.
Now, trying to perform the integration using special functions (at first glance, one would think that it could be done in terms of elliptic functions) yields no result. Gradštejn and Ryžik are of no help, nor Mathematica or other softwares.
We can Taylor expand the integrand and integrate each term of the expansion, but the $2n$-th term, for $n>1$, reads
$$ \frac{k^{2n}}{(2n)!}\frac{ (-1)^{n-1} (2n-3)!! }{2^n} \frac{\cos^{2n}\theta}{(1-\cos \theta)^{n-1/2}}$$
having set $k=0$ in the derivative. Of course, integrating each term would mean performing
$$\int_0^{2\pi}\mathrm{d} \theta\,\frac{\cos^{2n}\theta}{(1-\cos \theta)^{n-1/2}}$$
which is divergent for $n>1$.
Any ideas about how to proceed? Are there some kind of 'regularization' techniques that could help?