One-dimensional derivatives of compositions of functions #
In this file we prove the chain rule for the following cases:
HasDerivAt.comp
etc:f : π' β π'
composed withg : π β π'
;HasDerivAt.scomp
etc:f : π' β E
composed withg : π β π'
;HasFDerivAt.comp_hasDerivAt
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 π=β
, π'=β
).
We also give versions with the of_eq
suffix, which require an equality proof instead
of definitional equality of the different points used in the composition. These versions are
often more flexible to use.
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.
The chain rule.
Derivative of the composition of a scalar and vector functions #
Derivative of the composition of two scalar functions #
The chain rule.
Note that the function hβ
is a function on an algebra. If you are looking for the chain rule
with hβ
taking values in a vector space, use HasDerivAt.scomp
.
The chain rule.
Note that the function hβ
is a function on an algebra. If you are looking for the chain rule
with hβ
taking values in a vector space, use HasDerivAt.scomp_of_eq
.
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 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
.
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
.