๐Ÿงฎ Brain Teaser

The Gaussian-Polynomial Integral

Compute: I=โˆซ0โˆžx4eโˆ’x2โ€‰dx.I = \int_0^\infty x^4 e^{-x^2} \, dx.

Feynman differentiation under integralGaussian integralGamma functionparametric differentiation

Answer: The Gaussian-Polynomial Integral

Key Idea / Intuition

The Gaussian integral โˆซ0โˆžeโˆ’x2dx=ฯ€2\int_0^\infty e^{-x^2}dx = \frac{\sqrt{\pi}}{2} is the seed. Differentiating with respect to a parameter inserted into the exponent generates the x4x^4 factor "for free," turning a hard-looking integral into a consequence of the most famous integral in mathematics. Each differentiation brings down two extra powers of xx, so two differentiations give x4x^4.


Formal Proof / Solution

Step 1: Introduce a parameter.

Define I(t)=โˆซ0โˆžeโˆ’tx2โ€‰dx,t>0.I(t) = \int_0^\infty e^{-t x^2} \, dx, \quad t > 0.

By the standard substitution u=tโ€‰xu = \sqrt{t}\, x, I(t)=1tโˆซ0โˆžeโˆ’u2du=ฯ€2โ‹…tโˆ’1/2.I(t) = \frac{1}{\sqrt{t}} \int_0^\infty e^{-u^2} du = \frac{\sqrt{\pi}}{2} \cdot t^{-1/2}.

Step 2: Differentiate under the integral sign (Feynman's trick).

ddtI(t)=โˆซ0โˆžโˆ‚โˆ‚teโˆ’tx2dx=โˆ’โˆซ0โˆžx2eโˆ’tx2dx.\frac{d}{dt} I(t) = \int_0^\infty \frac{\partial}{\partial t} e^{-tx^2} dx = -\int_0^\infty x^2 e^{-tx^2} dx.

So โˆซ0โˆžx2eโˆ’tx2dx=โˆ’Iโ€ฒ(t)=ฯ€4tโˆ’3/2.\int_0^\infty x^2 e^{-tx^2} dx = -I'(t) = \frac{\sqrt{\pi}}{4} t^{-3/2}.

Step 3: Differentiate again.

d2dt2I(t)=โˆซ0โˆžx4eโˆ’tx2dx.\frac{d^2}{dt^2} I(t) = \int_0^\infty x^4 e^{-tx^2} dx.

Computing: Iโ€ฒโ€ฒ(t)=ddt(โˆ’ฯ€4tโˆ’3/2)=3ฯ€8tโˆ’5/2.I''(t) = \frac{d}{dt}\left(-\frac{\sqrt{\pi}}{4} t^{-3/2}\right) = \frac{3\sqrt{\pi}}{8} t^{-5/2}.

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

I=โˆซ0โˆžx4eโˆ’x2dx=Iโ€ฒโ€ฒ(1)=3ฯ€8.I = \int_0^\infty x^4 e^{-x^2} dx = I''(1) = \frac{3\sqrt{\pi}}{8}.

Sanity check via Gamma function: Using โˆซ0โˆžx2neโˆ’x2dx=(2nโˆ’1)!!2n+1ฯ€\int_0^\infty x^{2n} e^{-x^2}dx = \frac{(2n-1)!!}{2^{n+1}}\sqrt{\pi} with n=2n=2: 3!!23ฯ€=38ฯ€.โœ“\frac{3!!}{2^3}\sqrt{\pi} = \frac{3}{8}\sqrt{\pi}. \checkmark

I=3ฯ€8\boxed{I = \dfrac{3\sqrt{\pi}}{8}}

Type: IntegrationEdit on GitHub โ†—