The inverse tangent integral at two minus root three
The inverse tangent integral \(\operatorname{Ti}_2(z) = \int_0^z \frac{\arctan x}{x}\,dx\) equals Catalan's constant \(G = \sum_{k=0}^\infty \frac{(-1)^k}{(2k+1)^2}\) at \(z = 1 = \tan\left(\frac{\pi}{4}\right)\). At the half-angle argument \(z = 2-\sqrt{3} = \tan\left(\frac{\pi}{12}\right)\), it satisfies a remarkable closed-form relation discovered by Ramanujan:
Integration by parts and the Fourier series of \(\ln(\tan\theta)\)
Let \(I\) denote the integral. Integrating by parts with \(u = \arctan x\) and \(dv = \frac{dx}{x}\), and then substituting \(x = \tan\theta\) (using \(\tan\frac{\pi}{12} = 2-\sqrt{3}\)), we obtain
For \(\theta \in \left(0, \frac{\pi}{2}\right)\), recall the standard Fourier cosine expansions
Subtracting the second series from the first cancels all even-indexed terms and doubles the odd-indexed terms (\(k = 2m+1\)):
Term-by-term integration and multisection of the series
Substituting the Fourier series of \(\ln(\tan\theta)\) into equation (1) and integrating term by term gives
To evaluate the remaining Dirichlet-type series, examine the periodic numerator \(s_k = \sin\left((2k+1)\frac{\pi}{6}\right)\) as \(k\) varies modulo \(3\):
- When \(k \equiv 0\) or \(2 \pmod 3\) (so \(2k+1\) is not divisible by \(3\)), \(s_k = \frac{1}{2}(-1)^k\).
- When \(k = 3m+1\) (so \(2k+1 = 6m+3 = 3(2m+1)\) is an odd multiple of \(3\)), \(s_{3m+1} = \sin\left((2m+1)\frac{\pi}{2}\right) = (-1)^m = -(-1)^k\).
On the full alternating sum \(\sum_{k=0}^\infty \frac{(-1)^k}{(2k+1)^2} = G\), separating out the subsequence \(k = 3m+1\) where \((-1)^{3m+1} = -(-1)^m\) gives
Multiplying those terms by \(\frac{1}{2}\) and adding the \(k = 3m+1\) terms (which have coefficient \((-1)^m\)) yields