One-dimensional derivatives of compositions of functions #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
In this file we prove the chain rule for the following cases:
has_deriv_at.comp
etc:f : 𝕜' → 𝕜'
composed withg : 𝕜 → 𝕜'
;has_deriv_at.scomp
etc:f : 𝕜' → E
composed withg : 𝕜 → 𝕜'
;has_fderiv_at.comp_has_deriv_at
etc:f : E → F
composed withg : 𝕜 → E
;
Here 𝕜
is the base normed field, E
and F
are normed spaces over 𝕜
and 𝕜'
is an algebra
over 𝕜
(e.g., 𝕜'=𝕜
or 𝕜=ℝ
, 𝕜'=ℂ
).
For a more detailed overview of one-dimensional derivatives in mathlib, see the module docstring of
analysis/calculus/deriv/basic
.
Keywords #
derivative, chain rule
Derivative of the composition of a vector function and a scalar function #
We use scomp
in lemmas on composition of vector valued and scalar valued functions, and comp
in lemmas on composition of scalar valued functions, in analogy for smul
and mul
(and also
because the comp
version with the shorter name will show up much more often in applications).
The formula for the derivative involves smul
in scomp
lemmas, which can be reduced to
usual multiplication in comp
lemmas.
The chain rule.
Derivative of the composition of a scalar and vector functions #
Derivative of the composition of two scalar functions #
The chain rule.
Derivative of the composition of a function between vector spaces and a function on 𝕜
#
The composition l ∘ f
where l : F → E
and f : 𝕜 → F
, has a derivative within a set
equal to the Fréchet derivative of l
applied to the derivative of f
.
The composition l ∘ f
where l : F → E
and f : 𝕜 → F
, has a derivative equal to the
Fréchet derivative of l
applied to the derivative of f
.