One-dimensional iterated derivatives #
We define the n-th derivative of a function f : π β F as a function
iteratedDeriv n f : π β F, as well as a version on domains iteratedDerivWithin n f s : π β F,
and prove their basic properties.
Main definitions and results #
Let π be a nontrivially normed field, and F a normed vector space over π. Let f : π β F.
iteratedDeriv n fis then-th derivative off, seen as a function fromπtoF. It is defined as then-th FrΓ©chet derivative (which is a multilinear map) applied to the vector(1, ..., 1), to take advantage of all the existing framework, but we show that it coincides with the naive iterative definition.iteratedDeriv_eq_iteratestates that then-th derivative offis obtained by starting fromfand differentiating itntimes.iteratedDerivWithin n f sis then-th derivative offwithin the domains. It only behaves well whenshas the unique derivative property.iteratedDerivWithin_eq_iteratestates that then-th derivative offin the domainsis obtained by starting fromfand differentiating itntimes withins. This only holds whenshas the unique derivative property.
Implementation details #
The results are deduced from the corresponding results for the more general (multilinear) iterated
FrΓ©chet derivative. For this, we write iteratedDeriv n f as the composition of
iteratedFDeriv π n f and a continuous linear equiv. As continuous linear equivs respect
differentiability and commute with differentiation, this makes it possible to prove readily that
the derivative of the n-th derivative is the n+1-th derivative in iteratedDerivWithin_succ,
by translating the corresponding result iteratedFDerivWithin_succ_apply_left for the
iterated FrΓ©chet derivative.
The n-th iterated derivative of a function from π to F, as a function from π to F.
Equations
- iteratedDeriv n f x = (iteratedFDeriv π n f x) fun (x : Fin n) => 1
Instances For
The n-th iterated derivative of a function from π to F within a set s, as a function
from π to F.
Equations
- iteratedDerivWithin n f s x = (iteratedFDerivWithin π n f s x) fun (x : Fin n) => 1
Instances For
Properties of the iterated derivative within a set #
Write the iterated derivative as the composition of a continuous linear equiv and the iterated FrΓ©chet derivative
Write the iterated FrΓ©chet derivative as the composition of a continuous linear equiv and the iterated derivative.
The n-th FrΓ©chet derivative applied to a vector (m 0, ..., m (n-1)) is the derivative
multiplied by the product of the m is.
If the first n derivatives within a set of a function are continuous, and its first n-1
derivatives are differentiable, then the function is C^n. This is not an equivalence in general,
but this is an equivalence when the set has unique derivatives, see
contDiffOn_iff_continuousOn_differentiableOn_deriv.
To check that a function is n times continuously differentiable, it suffices to check that its
first n derivatives are differentiable. This is slightly too strong as the condition we
require on the n-th derivative is differentiability instead of continuity, but it has the
advantage of avoiding the discussion of continuity in the proof (and for n = β this is optimal).
On a set with unique derivatives, a C^n function has derivatives up to n which are
continuous.
On a set with unique derivatives, a C^n function has derivatives less than n which are
differentiable.
The property of being C^n, initially defined in terms of the FrΓ©chet derivative, can be
reformulated in terms of the one-dimensional derivative on sets with unique derivatives.
The property of being C^n, initially defined in terms of the FrΓ©chet derivative, can be
reformulated in terms of the one-dimensional derivative on sets with unique derivatives.
The n+1-th iterated derivative within a set with unique derivatives can be obtained by
differentiating the n-th iterated derivative.
The n-th iterated derivative within a set with unique derivatives can be obtained by
iterating n times the differentiation operation.
The n+1-th iterated derivative within a set with unique derivatives can be obtained by
taking the n-th derivative of the derivative.
Properties of the iterated derivative on the whole space #
Write the iterated derivative as the composition of a continuous linear equiv and the iterated FrΓ©chet derivative
Write the iterated FrΓ©chet derivative as the composition of a continuous linear equiv and the iterated derivative.
The n-th FrΓ©chet derivative applied to a vector (m 0, ..., m (n-1)) is the derivative
multiplied by the product of the m is.
The property of being C^n, initially defined in terms of the FrΓ©chet derivative, can be
reformulated in terms of the one-dimensional derivative.
The property of being C^n, initially defined in terms of the FrΓ©chet derivative, can be
reformulated in terms of the one-dimensional derivative.
To check that a function is n times continuously differentiable, it suffices to check that its
first n derivatives are differentiable. This is slightly too strong as the condition we
require on the n-th derivative is differentiability instead of continuity, but it has the
advantage of avoiding the discussion of continuity in the proof (and for n = β this is optimal).
The n+1-th iterated derivative can be obtained by differentiating the n-th
iterated derivative.
The n-th iterated derivative can be obtained by iterating n times the
differentiation operation.
The n+1-th iterated derivative can be obtained by taking the n-th derivative of the
derivative.