Given that:

$$I=\int_{0}^{\pi/2}\arctan\left(\sqrt{\sin(2x)\over \sin^2(x)}\right)\mathrm dx$$


$$J=\int_{0}^{\pi/2}\arctan\left(\sqrt{\sin(2x)\over \cos^2(x)}\right)\mathrm dx$$

Q1: How do we evaluate the closed for $I$?

Q2: Show that $I=J$.

Recall $$\arctan(x)+\arctan(y)=\arctan\left({x+y\over 1-xy}\right)$$

$$I+J=\int_{0}^{\pi/2}\arctan\left(\sqrt{2\cot x}+\sqrt{2\tan x}\right)dx$$

I am not sure what to do next...

Later on we notice that this integral has the same closed form given by @Jack D'aurizio

$$\int_{0}^{\pi/2}\arctan(2\tan^2x)\mathrm dx=\pi\arctan\left({1\over 2}\right)$$

  • 2
    $\begingroup$ Use $$\int_a^bf(x)dx=\int_a^bf(a+b-x)dx$$ $\endgroup$ May 30, 2017 at 11:29
  • $\begingroup$ It seems it can be computed only numerically. $\endgroup$
    – Jon
    May 30, 2017 at 12:21
  • $\begingroup$ The substitution $u = \pi/2-x$ shows that $I=J. \qquad$ $\endgroup$ May 30, 2017 at 13:03
  • $\begingroup$ @Jon: that's not true, $\pi\arctan\frac{1}{2}$ is a nice closed form. $\endgroup$ May 30, 2017 at 13:38
  • $\begingroup$ @JackD'Aurizio I was cheated by cas tools. Of course, I upvoted your fine solution. $\endgroup$
    – Jon
    May 30, 2017 at 14:21

1 Answer 1


$$\begin{eqnarray*}I=\int_{0}^{\pi/2}\arctan\sqrt{2\cot x}\,dx &\stackrel{x\mapsto\frac{\pi}{2}-x}{=}&\int_{0}^{\pi/2}\arctan\sqrt{2\tan x}\,dx\tag{1}\\&\stackrel{x\mapsto\arctan u}{=}&\int_{0}^{+\infty}\frac{\arctan\sqrt{2u}}{1+u^2}\,du\\&\stackrel{u\mapsto v^2/2}{=}&\int_{0}^{+\infty}\frac{v\arctan v}{1+\frac{1}{4}v^4}\,dv\end{eqnarray*}$$ and this can be easily solved through differentiation under the integral sign, by computing $$\int_{0}^{+\infty}\frac{v^2\,dv}{(1+a^2 v^2)\left(1+\frac{1}{4}v^4\right)} =\frac{\left(2^{1/4}+a \left(-2+2^{3/4} a\right)\right) \pi }{2+4 a^4}\tag{2}$$ then applying $\int_{0}^{1}\ldots\,da$ to such expression. The final outcome is: $$ I = \color{red}{\frac{\pi}{2}\arctan\frac{4}{3}}=\pi\arctan\frac{1}{2}.\tag{3} $$ $(1)$ also proves $I=J$.

  • $\begingroup$ What made you think to use DUIS here? Mere intuition and practice, or is there some general trick? $\endgroup$ May 30, 2017 at 16:30
  • 2
    $\begingroup$ @BrevanEllefsen: when dealing with the integral of a product between a logarithm/arctangent and a rational function, that is always the case to think to Feynman's trick. $\endgroup$ May 30, 2017 at 16:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy