I want to prove the following:
$$J=1-2\int_{0}^{\infty}{\tan^{-1}(x)\over e^{x\pi}-1}dx=\color{red}{\ln(2)}.$$
My attempt: we know that $$\tan^{-1}(x)=x-{x^3\over 3}+{x^5\over 5}-\cdots$$
Plugging in, we obtain, $$J=1-2\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{2n-1}\int_{0}^{\infty}{x^{2n-1}\over e^{x\pi}-1}dx$$
Recall that, $${\pi^{2s}\over \Gamma(2s)}\int_{0}^{\infty}{x^{2s-1}\over e^{x\pi}-1}dx=\zeta(2s)$$
Finally, we have,$$J=1-2\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{2n-1}{\Gamma(2n)\zeta(2n)\over \pi^{2n}}$$
I need help on evaluating the sum $J$. Some help please?
I waited a lifetime for this moment!
Notice that you cannot simply plug in the Taylor series for the arctangent function, since the radius of convergence of its power series at $x=0$ is finite (it is $1$), so that way you get a divergent series. But Binet's second $\log\Gamma$ formula is a not so difficult consequence of Frullani's theorem or the Abel-Plana formula, since $\arctan(x)=\text{Im}\log(1+ix)$.