differentiation under the integral sign
The technique of differentiation under the integral signconcerns the interchange of the operation
of differentiationwith respect to a parameter with the operation of integrationover some other variable:
Intuitively, the rule ought to work becausedifferentiation commutes with finite summation,and one may conjecture that it can alsocommute 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 andintegration is legal.
Formal statements
Theorem 1 (Elementary Calculus version).
Let be a function,with being a closed interval
, and being a compact subset11Assumed to be Jordan-measurable if the Riemann integral is to be used. of .Suppose that both and are continuous
in the variables and jointly.Then exists as a continuously differentiable function of on , with derivative
Theorem 1 is the formulation of integrationunder the integral sign that usually appears in elementary Calculus texts.Unfortunately, its restriction that mustbe compact can be quite severe for applications: e.g.integrals over are not included.Theorem 2 below addresses this problem and others:
Theorem 2 (Measure theory version).
Let be an open subset of , and be a measure space.Suppose satisfiesthe following conditions:
- 1.
is a Lebesgue-integrable function of for each .
- 2.
For almost all, the derivative exists for all .
- 3.
There is an integrable function such thatfor all .
Then for all ,
Theorem 2 suffices for many applications,but using the Fundamental Theorem of Calculus for Lebesgue integration,we can weaken the hypotheses for differentiating underthe integral sign even further:
Theorem 3.
Let be an open subset of , and be a measure space.Suppose that a function satisfiesthe following conditions:
- 1.
is a measurable function
of and jointly, and is integrable over , for almost all held fixed.
- 2.
For almost all, is an absolutely continuousfunction of . (This guarantees that existsalmost everywhere.)
- 3.
is “locally integrable” — that is, forall compact intervals contained in :
Then is an absolutely continuous function of , and for almost every , its derivative existsand is given by
If the Kurzweil-Henstock integral — which hasa stronger Fundamental Theorem of Calculus (http://planetmath.org/FundamentalTheoremOfCalculusForKurzweilHenstockIntegral)—is used in placeof the Lebesgue integral,Theorem 3 can be generalized to a formulationthat provides also the necessaryconditions 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 integrandbecomes 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 underthe integral sign further,and make sense of any “irregular” integrals that may result:
Theorem 4 (Distribution theory version).
Let be an open set in , and be a measure space.Given , for each , a generalized function of (in the sense of Schwartz’s theory of distributions),define:
Assumethe above integral is well-defined and gives a distribution.Then
where refers to the generalized derivativeof 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 wherethe integrand is not absolutely continuous — and sohas a generalized derivative different from the ordinary derivative— yet its integral has a classical derivative that isrepresented 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-integrablefunction (of the parameter ).
Theorem 4 is not so well-publicized,but appears, for example, in [Jones], and hintedat 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 , that vary with the parameter.
In the one-dimensional case,for continuously differentiable functions, , and, we have:
This result can be extrapolated from Theorem 1,with the help of the Fundamental Theorem of Calculus andthe multi-variate chain rule (http://planetmath.org/ChainRuleSeveralVariables).
Generalizations to varying smooth surfaces or volumes — or, more generally,-dimensional differentiable manifolds in — can be obtainedby using integrals of differential forms
on chains (http://planetmath.org/NChain),and Stokes’ Theorem. Details can be found in [Flanders].
Different types of integrals.The differentiation can also be taken underintegrals 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 asLebesgue 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.
References
- 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. “http://www.math.ualberta.ca/ etalvila/papers/difffinal.pdfNecessary 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,“http://gold-saucer.afraid.org/math/diff-int/diff-int.pdfDifferentiation under the Integral Sign using Weak Derivatives”,containing a proof of Theorem 4 along with detailed computational examples.