Second derivatives along a line #
Mathlib's DifferentiableAt.deriv_comp_add_smul computes the derivative of the restriction
s ⦠f (x + s ⢠y) of a function to a line. This file records the second derivative: it is the
diagonal entry fderiv š (fderiv š f) (x + t ⢠y) y y of the Hessian.
Main results #
ContDiffAt.deriv_deriv_comp_add_smul: the second derivative ofs ⦠f (x + s ⢠y)attisfderiv š (fderiv š f) (x + t ⢠y) y y, forfof classC²atx + t ⢠y.
theorem
ContDiffAt.deriv_deriv_comp_add_smul
{š : Type u_1}
{E : Type u_2}
{F : Type u_3}
[NontriviallyNormedField š]
[NormedAddCommGroup E]
[NormedSpace š E]
[NormedAddCommGroup F]
[NormedSpace š F]
{f : E ā F}
{x y : E}
{t : š}
(hf : ContDiffAt š 2 f (x + t ⢠y))
:
The second derivative of the restriction s ⦠f (x + s ⢠y) of a C² function to a line is
the diagonal Hessian entry fderiv š (fderiv š f) (x + t ⢠y) y y.