Derivatives of integrals depending on parameters #
A parametric integral is a function with shape f = fun x : H ↦ ∫ a : α, F x a ∂μ for some
F : H → α → E, where H and E are normed spaces and α is a measured space with measure μ.
We already know from continuous_of_dominated
in Mathlib/MeasureTheory/Integral/Bochner/Basic.lean how
to guarantee that f is continuous using the dominated convergence theorem. In this file,
we want to express the derivative of f as the integral of the derivative of F with respect
to x.
Main results #
As explained above, all results express the derivative of a parametric integral as the integral of a derivative. The variations come from the assumptions and from the different ways of expressing derivative, especially Fréchet derivatives vs elementary derivative of function of one real variable.
hasFDerivAt_integral_of_dominated_loc_of_lip: this version assumes thatF xis ae-measurable for x nearx₀,F x₀is integrable,fun x ↦ F x ahas derivativeF' a : H →L[ℝ] Eatx₀which is ae-measurable,fun x ↦ F x ais locally Lipschitz nearx₀for almost everya, with a Lipschitz bound which is integrable with respect toa.
A subtle point is that the "near x₀" in the last condition has to be uniform in
a. This is controlled by a fixed neighborhoodsofx₀.hasFDerivAt_integral_of_dominated_of_fderiv_le: this version assumesfun x ↦ F x ahas derivativeF' x aforxnearx₀andF' xis bounded by an integrable function independent fromxnearx₀.hasFDerivAt_integral_of_continuousOn_fderiv: this version assumes thatF : H → α → Eis continuously differentiable in the first argument nearx₀in the sense that:F.uncurry : H × α → Eis continuous onu ×ˢ kfor a neighbourhooduofx₀,fun x ↦ F x ais differentiable onufor each parametera ∈ k,fun (x, a) ↦ fderiv 𝕜 (fun y ↦ F y a) xis continuous onu ×ˢ k.
Here
k : Set αis the domain of integration and is required to be compact, regarding some sufficiently compatible topology onα.ContDiffOn.parametric_integral: Iff.uncurry : H × H' → EisCⁿonu ×ˢ kfor an open setuand a compact setk, then given any subsets₀ofkthe parametric integralfun x ↦ ∫ a in s₀, f x a ∂μisCⁿonutoo.
hasDerivAt_integral_of_dominated_loc_of_lip and
hasDerivAt_integral_of_dominated_loc_of_deriv_le are versions of the above two results that
assume H = ℝ or H = ℂ and use the high-school derivative deriv instead of Fréchet derivative
fderiv.
Tags #
integral, derivative
Differentiation under integral of x ↦ ∫ F x a at a given point x₀, assuming F x₀ is
integrable, ‖F x a - F x₀ a‖ ≤ bound a * ‖x - x₀‖ for x in a neighborhood of x₀ for ae a
integrable Lipschitz bound bound (with a neighborhood independent of a), and F x is
ae-measurable for x in the same ball. See hasFDerivAt_integral_of_dominated_loc_of_lip for a
slightly less general but usually more useful version.
Differentiation under integral of x ↦ ∫ F x a at a given point x₀, assuming
F x₀ is integrable, x ↦ F x a is locally Lipschitz in a neighborhood of x₀ for ae a
(with a neighborhood independent of a) with integrable Lipschitz bound, and F x is ae-measurable
for x in a possibly smaller neighborhood of x₀.
Differentiation under integral of x ↦ ∫ x in a..b, F x t at a given point x₀ ∈ (a,b),
assuming F x₀ is integrable on (a,b), that x ↦ F x t is Lipschitz on a neighborhood of x₀
for almost every t (with a neighborhood independent of t) with integrable Lipschitz bound,
and F x is a.e.-measurable for x in a possibly smaller neighborhood of x₀.
Differentiation under integral of x ↦ ∫ F x a at a given point x₀, assuming
F x₀ is integrable, x ↦ F x a is differentiable on a neighborhood of x₀ for ae a with
derivative norm uniformly bounded by an integrable function (the neighborhood is independent
of a), and F x is ae-measurable for x in a possibly smaller neighborhood of x₀.
Differentiation under integral of x ↦ ∫ x in a..b, F x a at a given point x₀, assuming
F x₀ is integrable on (a,b), x ↦ F x a is differentiable on a neighborhood of x₀ for ae a
with derivative norm uniformly bounded by an integrable function (the neighborhood is independent
of a), and F x is ae-measurable for x in a possibly smaller neighborhood of x₀.
A convenient special case of hasFDerivAt_integral_of_dominated_of_fderiv_le:
if there exist a neighbourhood u of x₀ and a compact set k such that F.uncurry : H × α → E
is continuous and continuously differentiable in the first argument on u ×ˢ k, then for any
finite-measure set s ⊆ k a derivative of fun x => ∫ a in s, F x a ∂μ in x₀ can be computed as
∫ a in s, fderiv 𝕜 (fun x ↦ F x a) x₀ ∂μ.
A version of hasFDerivAt_integral_of_continuousOn_fderiv where α is required to be Hausdorff
but s is not required to be measurable.
A convenient special case of hasFDerivAt_integral_of_continuousOn_fderiv:
if f.uncurry : H × H' → E is continuously differentiable on u ×ˢ k for a neighbourhood u
of x₀ and a compact set k, then for any finite-measure set s ⊆ k a derivative of
fun x => ∫ a in s, f x a ∂μ in x₀ can be computed as
∫ a in s, fderiv 𝕜 (fun x ↦ f x a) x₀ ∂μ.
Iterated differentiation under integral of x ↦ ∫ F x a on an open set s, assuming that each
function x ↦ F x a has a Taylor series of order n, with uniform integrability conditions on
the successive derivatives.
If f.uncurry : H × H' → E is Cⁿ on u ×ˢ k for an open set u and a compact set k, then
given any finite-measure subset s₀ of k the parametric integral fun x ↦ ∫ a in s₀, f x a ∂μ
is Cⁿ on u too.
If f.uncurry : H × H' → E is Cⁿ, the parametric integral fun x ↦ ∫ a in s₀, f x a ∂μ
over a finite-measure set s₀ contained in a compact set k is Cⁿ too.
Derivative under integral of x ↦ ∫ F x a at a given point x₀ : 𝕜, 𝕜 = ℝ or 𝕜 = ℂ,
assuming F x₀ is integrable, x ↦ F x a is locally Lipschitz on a neighborhood of x₀ for ae a
(with a neighborhood independent of a) with integrable Lipschitz bound, and F x is
ae-measurable for x in a possibly smaller neighborhood of x₀.
Derivative under integral of x ↦ ∫ F x a at a given point x₀ : ℝ, assuming
F x₀ is integrable, x ↦ F x a is differentiable on an interval around x₀ for ae a
(with interval radius independent of a) with derivative uniformly bounded by an integrable
function, and F x is ae-measurable for x in a possibly smaller neighborhood of x₀.