๐Ÿงฎ Brain Teaser

The Integral That Absorbs a Parameter

Evaluate

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

Feynman trickdifferentiation under integral signFrullani-typeparameter integral

Answer: The Integral That Absorbs a Parameter

Key Idea / Intuition

The trick is to notice that xaโˆ’xblnโกx\frac{x^a - x^b}{\ln x} looks like it wants to be an integral itself: differentiate xt=etlnโกxx^t = e^{t \ln x} with respect to tt and you get xtlnโกxx^t \ln x, so dividing by lnโกx\ln x "undoes" that differentiation. This is classic Feynman differentiation under the integral sign: introduce a parameter tt, differentiate in tt to kill the lnโกx\ln x in the denominator, evaluate the resulting elementary integral, then integrate back in tt.


Formal Proof / Solution

Step 1: Introduce a parameter.

Write xaโˆ’xb=โˆซbaxtlnโกxโ€‰dtx^a - x^b = \int_b^a x^t \ln x\,dt (since ddtxt=xtlnโกx\frac{d}{dt}x^t = x^t \ln x). Therefore:

I=โˆซ011lnโกxโˆซbaxtlnโกxโ€‰dtโ€‰dx=โˆซ01โˆซbaxtโ€‰dtโ€‰dx.I = \int_0^1 \frac{1}{\ln x}\int_b^a x^t \ln x\,dt\,dx = \int_0^1 \int_b^a x^t\,dt\,dx.

The lnโกx\ln x factors cancel perfectly.

Step 2: Switch the order of integration.

By Fubini (the integrand xtx^t is non-negative and integrable for t>โˆ’1t > -1, xโˆˆ(0,1)x \in (0,1)):

I=โˆซba(โˆซ01xtโ€‰dx)dt.I = \int_b^a \left(\int_0^1 x^t\,dx\right)dt.

Step 3: Inner integral.

โˆซ01xtโ€‰dx=1t+1,t>โˆ’1.\int_0^1 x^t\,dx = \frac{1}{t+1}, \qquad t > -1.

Step 4: Outer integral.

I=โˆซba1t+1โ€‰dt=[lnโก(t+1)]ba=lnโกโ€‰โฃ(a+1b+1).I = \int_b^a \frac{1}{t+1}\,dt = \Big[\ln(t+1)\Big]_b^a = \ln\!\left(\frac{a+1}{b+1}\right).

Result:

I=lnโกโ€‰โฃ(a+1b+1).\boxed{I = \ln\!\left(\frac{a+1}{b+1}\right).}

Sanity check: When a=ba = b, the integrand is identically 00, and indeed lnโกโ€‰โฃ(a+1a+1)=0\ln\!\left(\frac{a+1}{a+1}\right) = 0. โœ“

When a=1,b=0a = 1, b = 0:

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

a classical result. โœ“

Type: IntegrationEdit on GitHub โ†—