A strange integral: ∫+∞−∞dx1+(x+tanx)2=π.\int_{-\infty}^{+\infty} {dx \over 1 + \left(x + \tan x\right)^2} = \pi.

While browsing on Integral and Series, I found a strange integral posted by @Sangchul Lee. His post doesn’t have a response for more than a month, so I decide to post it here. I hope he doesn’t mind because the integral looks very interesting to me. I hope for you too. 🙂

enter image description here

How does one provedx1+[x+tan(x)]2=π?

Please don’t ask me, I really have no idea how to prove it. I hope users here can find the answer to prove the integral. I’m also interested in knowing any references related to this integral. Thanks in advance.


Here is an approach.

We may use the following result, which goes back to G. Boole (1857) :


with ai>0,λiR and f sufficiently ‘regular’.

Observe that, for xnπ, n=0,±1,±2,, we have cotx=limN+(1x+1x+π+1xπ++1x+Nπ+1xNπ) leading to (see Theorem 10.3 p. 14 here and see achille’s answer giving a route to prove it)


with f(x)=11+(π2x)2.

On the one hand, from (2),
On the other hand, with the change of variable xπ2x,
Combining (3) and (4) gives

\int_{-\infty}^{+\infty}\frac{1}{1+\left(x+ \tan x \right)^2} \mathrm{d}x=\pi.

Source : Link , Question Author : Venus , Answer Author : Community

Leave a Comment