Database › Mathematics › Pure mathematics › Analysis
An integral depending on a parameter can be differentiated under the integral sign, with extra boundary terms when the limits depend on the parameter; this 'Feynman trick' evaluates many definite integrals.
Explanation
Valid when $f$ and $\partial f/\partial x$ are continuous (for infinite ranges, when the differentiated integral converges uniformly). Introducing an auxiliary parameter, differentiating, integrating the simpler result and fixing the constant from a known value is a powerful evaluation method.
Typical uses: moments of the Gaussian by differentiating $\int e^{-\alpha x^2}$ with respect to $\alpha$, and integrals like $\int_0^\infty\frac{\sin x}{x}dx$.
Example 1
Using $I(\alpha)=\int_0^\infty e^{-\alpha x}\frac{\sin x}{x}dx$, show $\int_0^\infty\frac{\sin x}{x}dx=\frac\pi2$.
Solution
$I'(\alpha)=-\int_0^\infty e^{-\alpha x}\sin x\,dx=-\frac{1}{1+\alpha^2}$, so $I=C-\arctan\alpha$; $I(\infty)=0$ gives $C=\frac\pi2$, hence $I(0)=\frac\pi2$.
Example 2
Evaluate $J(a)=\int_0^1\frac{x^a-1}{\ln x}dx$ for $a>-1$.
Solution
$J'(a)=\int_0^1x^a\,dx=\frac{1}{a+1}$ and $J(0)=0$, so $J=\ln(1+a)$.