PlanetMath (more info)
 Math for the people, by the people.
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Low Entry average rating: No information on entry rating
differentiation under the integral sign (Topic)

The technique of differentiation under the integral sign concerns the interchange of the operation of differentiation with respect to a parameter with the operation of integration over some other variable:

$\displaystyle \frac{\partial }{\partial x} \int_\Omega f(x, \omega) \, d\omega = \int_\Omega \frac{\partial }{\partial x} f(x,\omega) \, d\omega\,. $

Intuitively, the rule ought to work because differentiation commutes with finite summation, and one may conjecture that it can also commute with infinite summation (in the form of the integral), at least in some cases.

The theorems below give some sufficient conditions, in increasing generality and sophistication, for which the swap of differentiation and integration is legal.

Formal statements

Theorem 1 (Elementary Calculus version)   Let $ f\colon [a,b] \times Y \to \mathbb{R}$ be a function, with $ [a,b]$ being a closed interval, and $ Y$ being a compact subset 1 of $ \mathbb{R}^n$. Suppose that both $ f(x,y)$ and $ \partial f(x,y) / \partial x$ are continuous in the variables $ x$ and $ y$ jointly. Then $ \int_Y f(x.y) \, dy$ exists as a continuously differentiable function of $ x$ on $ [a,b]$, with derivative
$\displaystyle \frac{d }{dx} \int_Y f(x, y) \, dy = \int_Y \frac{\partial }{\partial x} f(x,y) \, dy\,. $

Theorem 1 is the formulation of integration under the integral sign that usually appears in elementary Calculus texts. Unfortunately, its restriction that $ Y$ must be compact can be quite severe for applications: e.g. integrals over $ (-\infty,+\infty)$ are not included. Theorem 2 below addresses this problem and others:

Theorem 2 (Measure theory version)   Let $ X$ be an open subset of $ \mathbb{R}$, and $ \Omega$ be a measure space. Suppose $ f\colon X \times \Omega \to \mathbb{R}$ satisfies the following conditions:
  1. $ f(x, \omega)$ is a Lebesgue-integrable function of $ \omega$ for each $ x \in X$.
  2. For almost all $ \omega \in \Omega$, the derivative $ \partial f(x,\omega) / \partial x$ exists for all $ x \in X$.
  3. There is an integrable function $ \Theta\colon \Omega \to \mathbb{R}$ such that $ \left\lvert\partial f(x,\omega) / \partial x\right\rvert \leq \Theta(\omega)$ for all $ x \in X$.
Then for all $ x \in X$,
$\displaystyle \frac{d }{dx} \int_\Omega f(x, \omega) \, d\omega = \int_\Omega \frac{\partial }{\partial x} f(x,\omega) \, d\omega\,. $

Theorem 2 suffices for many applications, but using the Fundamental Theorem of Calculus for Lebesgue integration, we can weaken the hypotheses for differentiating under the integral sign even further:

Theorem 3   Let $ X$ be an open subset of $ \mathbb{R}$, and $ \Omega$ be a measure space. Suppose that a function $ f\colon X \times \Omega \to \mathbb{R}$ satisfies the following conditions:
  1. $ f(x,\omega)$ is a measurable function of $ x$ and $ \omega$ jointly, and is integrable over $ \omega$, for almost all $ x \in X$ held fixed.
  2. For almost all $ \omega \in \Omega$, $ f(x,\omega)$ is an absolutely continuous function of $ x$. (This guarantees that $ \partial f(x,\omega) / \partial x$ exists almost everywhere.)
  3. $ \partial f / \partial x$ is “locally integrable” -- that is, for all compact intervals $ [a,b]$ contained in $ X$:
    $\displaystyle \int_{a}^b \int_\Omega \left\lvert \frac{\partial }{\partial x} f(x,\omega)\right\rvert \, d\omega \, dx < \infty\,. $
Then $ \int_\Omega f(x,\omega) \, d\omega$ is an absolutely continuous function of $ x$, and for almost every $ x \in X$, its derivative exists and is given by
$\displaystyle \frac{d }{dx} \int_\Omega f(x, \omega) \, d\omega = \int_\Omega \frac{\partial }{\partial x} f(x,\omega) \, d\omega\,. $

If the Kurzweil-Henstock integral -- which has a stronger Fundamental Theorem of Calculus -- is used in place of the Lebesgue integral, Theorem 3 can be generalized to a formulation that provides also the necessary conditions for differentiation under the integral sign. See [Talvila] for the full details.

Yet this is not the end of the story. There are some applications in which the integrand is too “irregular”, or the integral of the differentiated integrand becomes divergent, and neither Theorem 2 or Theorem 3 would apply. However, if we use generalized functions (all of which can be differentiated at will), then we can extend the technique of differentiation under the integral sign further, and make sense of any “irregular” integrals that may result:

Theorem 4 (Distribution theory version)   Let $ X$ be an open set in $ \mathbb{R}^m$, and $ \Omega$ be a measure space. Given $ f(x,\omega)$, for each $ \omega \in \Omega$, a generalized function of $ x \in X$ (in the sense of Schwartz's theory of distributions), define:
$\displaystyle \langle {\int_\Omega f(\cdot,\omega) \, d\omega}, {\phi} \rangle ... ...\cdot, \omega)}, {\phi} \rangle \, d\omega\,, \quad \phi \in \mathcal{D}(X)\,. $
Assume the above integral is well-defined and gives a distribution. Then
$\displaystyle \frac{\partial }{\partial x_i} \, \int_\Omega f(x, \omega) \, d\omega = \int_\Omega \frac{\partial }{\partial x_i} f(x, \omega) \, d\omega\,. $
where $ \partial / \partial x_i$ refers to the generalized derivative of generalized functions on both sides of the equation.

For an absolutely continuous function, the generalized derivative coincides with the ordinary derivative, so Theorem 4 indeed generalizes Theorem 3. On the other hand, there are cases where the integrand is not absolutely continuous -- and so has a generalized derivative different from the ordinary derivative -- yet its integral has a classical derivative that is represented by the final equation of Theorem 4. For instance, the integrand may involve a step function, and its derivative would thus involve a Dirac delta distribution, that when integrated, yields an ordinary locally-integrable function (of the parameter $ x$).

Theorem 4 is not so well-publicized, but appears, for example, in [Jones], and hinted at in a comment in [Schwartz].

Other variations

There are other frequently-used variations of the theorems above.

Moving domains of integration. Not only can the integrand vary with the parameter, we can consider domains of integration, subsets of $ \mathbb{R}^n$, that vary with the parameter.

In the one-dimensional case, for continuously differentiable functions $ \alpha\colon [a,b] \to \mathbb{R}$, $ \beta\colon [a,b] \to \mathbb{R}$, and $ f\colon [a,b] \times \mathbb{R}\to \mathbb{R}$, we have:

$\displaystyle \frac{d }{dx} \int_{\alpha(x)}^{\beta(x)} f(x,y) \, dy = \int_{\a... ...\frac{d\beta(x)}{dx} f(x, \beta(x)) - \frac{d\alpha(x)}{dx} f(x, \alpha(x))\,. $
This result can be extrapolated from Theorem 1, with the help of the Fundamental Theorem of Calculus and the multi-variate chain rule.

Generalizations to varying smooth surfaces or volumes -- or, more generally, $ k$-dimensional differentiable manifolds in $ \mathbb{R}^n$ -- can be obtained by using integrals of differential forms on chains, and Stokes' Theorem. Details can be found in [Flanders].

Different types of integrals. The differentiation can also be taken under integrals other than of the standard Riemann type, such as the line integrals and surface integrals of vector calculus, or complex contour integrals. (Actually, these kinds of integrals can be re-formulated as Lebesgue integrals, so Theorem 2 applies to them.)

Complex variables. Other applications require differentiating holomorphic functions with respect to a complex variable, and Theorem 2 generalizes directly to this situation, without requiring differentiation with respect to real variables as an intermediary.

Bibliography

Flanders
Harley Flanders. ``Differentiation under the Integral Sign''. American Mathematical Monthly, vol. 80 (June-July 1973), p. 615-627.
Folland
Gerald B. Folland. Real Analysis: Modern Techniques and Their Applications, second ed. Wiley-Interscience, 1999.
Jones
D. S. Jones. The Theory of Generalized Functions, second ed. Cambridge University Press, 1982.
Munkres
James R. Munkres. Analysis on Manifolds. Westview Press, 1991.
Schwartz
Laurent Schwartz. Théorie des Distributions, vol. I. Hermann, 1957.
Talvila
Erik Talvila. ``Necessary and Sufficient Conditions for Differentiating Under the Integral Sign''. American Mathematical Monthly, vol. 108 (June-July 2001), p. 544-548.

The author of this entry has also written an exposition, “Differentiation under the Integral Sign using Weak Derivatives”, containing a proof of Theorem 4 along with detailed computational examples.



Footnotes

...1
Assumed to be Jordan-measurable if the Riemann integral is to be used.


"differentiation under the integral sign" is owned by stevecheng.
(view preamble)

View style:

See Also: derivative of Riemann integral

Other names:  Leibniz's rule

Attachments:
example of differentiation under integral sign (Example) by pahio
Log in to rate this entry.
(view current ratings)

Cross-references: real, holomorphic functions, contour integrals, complex, vector, line integrals, Stokes theorem, differential forms, differentiable manifolds, surfaces, smooth, fundamental theorem of calculus, subsets, domains, delta distribution, step function, absolutely continuous, equation, well-defined, generalized functions, divergent, necessary, Lebesgue integral, Kurzweil-Henstock integral, contained, intervals, absolutely continuous function, fixed, measurable function, fundamental theorem of calculus for Lebesgue integration, almost all, measure space, open subset, compact, derivative, continuously differentiable, continuous, Riemann integral, compact subset, closed interval, function, Calculus, increasing, sufficient, integral, infinite, summation, finite, variable, parameter, differentiation, operation
There are 5 references to this entry.

This is version 13 of differentiation under the integral sign, born on 2006-12-03, modified 2007-02-24.
Object id is 8599, canonical name is DifferentiationUnderIntegralSign.
Accessed 9064 times total.

Classification:
AMS MSC26A24 (Real functions :: Functions of one variable :: Differentiation : general theory, generalized derivatives, mean-value theorems)
 26B15 (Real functions :: Functions of several variables :: Integration: length, area, volume)
 28A25 (Measure and integration :: Classical measure theory :: Integration with respect to measures and other set functions)
 46F10 (Functional analysis :: Distributions, generalized functions, distribution spaces :: Operations with distributions)

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add example | add (any)