๐Ÿงฎ Brain Teaser

The Integral That Knows Its Arctangent Family

Evaluate the definite integral

I=โˆซ01lnโก(1+x)1+x2โ€‰dx.I = \int_0^1 \frac{\ln(1+x)}{1+x^2}\,dx.

Wait โ€” you've seen that one before! Instead, evaluate the cousin:

I=โˆซ0โˆžarctanโก(x)1+x2โ€‰dx.I = \int_0^\infty \frac{\arctan(x)}{1+x^2}\,dx.

substitutionarctanself-referentialintegration bee

Answer: Integral of arctan(x)/(1+xยฒ)

Key Idea / Intuition

The integrand arctanโกx1+x2\frac{\arctan x}{1+x^2} is almost screaming at you: notice that ddxarctanโกx=11+x2\frac{d}{dx}\arctan x = \frac{1}{1+x^2}. So the integrand is exactly uโ€‰duu\,du in disguise, where u=arctanโกxu = \arctan x. This is a pure substitution โ€” no clever symmetry, no Feynman, just recognizing that you're integrating a function against its own derivative.


Formal Proof / Solution

Substitution. Let

u=arctanโกx,du=dx1+x2.u = \arctan x, \quad du = \frac{dx}{1+x^2}.

Change of limits:

  • When x=0x = 0: u=arctanโก0=0u = \arctan 0 = 0.
  • When xโ†’โˆžx \to \infty: u=arctanโก(โˆž)=ฯ€2u = \arctan(\infty) = \dfrac{\pi}{2}.

Rewrite the integral:

I=โˆซ0โˆžarctanโกx1+x2โ€‰dx=โˆซ0ฯ€/2uโ€‰du.I = \int_0^\infty \frac{\arctan x}{1+x^2}\,dx = \int_0^{\pi/2} u\,du.

Evaluate:

I=[u22]0ฯ€/2=12โ‹…ฯ€24=ฯ€28.I = \left[\frac{u^2}{2}\right]_0^{\pi/2} = \frac{1}{2}\cdot\frac{\pi^2}{4} = \boxed{\dfrac{\pi^2}{8}}.

Why is this satisfying? The answer ฯ€2/8\pi^2/8 is a "Basel cousin" โ€” it's half of ฯ€2/4\pi^2/4, and it arises from the simplest possible self-referential substitution. The function arctanโก\arctan integrates against its own derivative perfectly over the natural domain [0,โˆž)[0,\infty) imposed by arctanโก\arctan's range [0,ฯ€/2)[0, \pi/2).

Type: IntegrationEdit on GitHub โ†—