TITLE: How do I evaluate this integral :$\int \frac{1}{ \sqrt{1-x^2} } \arctan( \frac{\sqrt{1-x^2}}{2})dx$?
QUESTION [5 upvotes]: Is there somone who can show me how do I evaluate this integral :$$\int \frac{1}{ \sqrt{1-x^2} } \arctan\left(\frac{\sqrt{1-x^2}}{2}\right)dx$$
Note: I took : $x=\cos t$ , but it didn't work 
Thank you for any help .

REPLY [3 votes]: We have:
$$\begin{eqnarray*} \int_{0}^{u}\arctan\left(\frac{\cos\theta}{2}\right)\,d\theta &=& \int_{0}^{u}\int_{0}^{\frac{\cos\theta}{2}}\frac{1}{1+t^2}\,dt\,d\theta\\&=&\int_{0}^{u}2\cos\theta\int_{0}^{1}\frac{1}{4+z^2\cos^2\theta}\,dz\,d\theta\\&=&\int_{0}^{\tan u}\frac{1}{\sqrt{1+v^2}}\int_{0}^{1/2}\frac{1}{1+v^2+z^2}\,dz\,dv\\&=&\int_{0}^{\text{arcsinh}\tan u}\int_{0}^{1/2}\frac{1}{z^2+\cosh^2\rho}\,dz\,d\rho\\&=&\int_{0}^{1/2}\text{arctanh}\left(\frac{z\sin u}{\sqrt{1+z^2}}\right)\frac{dz}{z\sqrt{1+z^2}}\\&=&\int_{2}^{+\infty}\text{arctanh}\left(\frac{\sin u}{\sqrt{1+w^2}}\right)\frac{dw}{\sqrt{1+w^2}}\\&=&\int_{\text{arcsinh} 2}^{+\infty}\text{arctanh}\left(\frac{\sin u}{\cosh \eta}\right)\,d\eta\\&=&\color{red}{\int_{2+\sqrt{5}}^{+\infty}\text{arctanh}\left(\frac{2\tau}{1+\tau^2}\sin u\right)\frac{d\tau}{\tau}}\end{eqnarray*}$$
hence the answer is given by a combination of dilogarithms, since $\text{arctanh}(x)=\frac{1}{2}\left(\log(1+x)-\log(1-x)\right)$ and:

$$ \int\log(1+\tau^2)\frac{d\tau}{\tau}=-\frac{1}{2}\text{Li}_2(-\tau^2),\qquad \int\log(1+\alpha\tau)\frac{d\tau}{\tau}= -\text{Li}_2(-\alpha\tau).$$