๐Ÿงฎ Brain Teaser

The Integral That Walks Down Stairs

Evaluate the integral

I=โˆซ01xโˆ’1lnโกxโ€‰dx.I = \int_0^1 \frac{x - 1}{\ln x}\, dx.

Feynman techniquedifferentiation under the integral signparametric integralln(2)

Answer: The Integral That Walks Down Stairs

Key Idea / Intuition

The function (xโˆ’1)/lnโกx(x-1)/\ln x has no elementary antiderivative, so direct integration is hopeless. The trick is to introduce a parameter: write xโˆ’1=โˆซ01xtโ€‰dtx - 1 = \int_0^1 x^t\, dt (since โˆซ01xtโ€‰dt=[xt/lnโกx]01\int_0^1 x^t\, dt = [x^t/\ln x]_0^1... hmm wait โ€” actually the key move is to notice that xtโˆ’1lnโกx\frac{x^t - 1}{\ln x} differentiates nicely with respect to tt). We use Feynman's trick (differentiation under the integral sign): define I(t)=โˆซ01xtโˆ’1lnโกxโ€‰dxI(t) = \int_0^1 \frac{x^t - 1}{\ln x}\, dx, so that I(0)=0I(0) = 0 and I(1)=II(1) = I, and differentiating in tt gives a clean integral.


Formal Proof / Solution

Step 1: Introduce a parameter.

Define I(t)=โˆซ01xtโˆ’1lnโกxโ€‰dx,tโ‰ฅ0.I(t) = \int_0^1 \frac{x^t - 1}{\ln x}\, dx, \qquad t \geq 0.

Then I(0)=0I(0) = 0 and I(1)=II(1) = I (the desired integral).

Step 2: Differentiate under the integral sign.

Iโ€ฒ(t)=ddtโˆซ01xtโˆ’1lnโกxโ€‰dx=โˆซ01โˆ‚โˆ‚t(xtโˆ’1lnโกx)dx=โˆซ01xtlnโกxlnโกxโ€‰dx=โˆซ01xtโ€‰dx.I'(t) = \frac{d}{dt} \int_0^1 \frac{x^t - 1}{\ln x}\, dx = \int_0^1 \frac{\partial}{\partial t}\left(\frac{x^t - 1}{\ln x}\right) dx = \int_0^1 \frac{x^t \ln x}{\ln x}\, dx = \int_0^1 x^t\, dx.

This is simply: Iโ€ฒ(t)=โˆซ01xtโ€‰dx=1t+1.I'(t) = \int_0^1 x^t\, dx = \frac{1}{t+1}.

Step 3: Integrate back.

I(t)=โˆซ0t1s+1โ€‰ds=lnโก(t+1)+C.I(t) = \int_0^t \frac{1}{s+1}\, ds = \ln(t+1) + C.

Since I(0)=0I(0) = 0, we get C=0C = 0, so I(t)=lnโก(t+1)I(t) = \ln(t+1).

Step 4: Evaluate at t=1t = 1.

I=I(1)=lnโก2.I = I(1) = \ln 2.


Answer: โˆซ01xโˆ’1lnโกxโ€‰dx=lnโก2.\boxed{\int_0^1 \frac{x-1}{\ln x}\, dx = \ln 2.}

Why this is beautiful: The integrand looks intractable, yet a one-line differentiation converts it into 1/(t+1)1/(t+1), one of the simplest functions imaginable. The answer lnโก2\ln 2 is clean and surprising, arriving from a function with no elementary antiderivative.

Type: IntegrationEdit on GitHub โ†—