Taylor's formula with an integral remainder in higher dimensions #
In this file we prove Taylor's formula with the remainder term in integral form.
map_add_eq_sum_add_integral_iteratedFDeriv: version for higher dimensions withiteratedFDeriv
TODO: add a version that assumes ContDiffOn f (closedBall x (โyโ))
theorem DifferentiableAt.deriv_comp_add_smul {๐ : Type u_1} {E : Type u_2} {F : Type u_3} [NormedAddCommGroup E] [NormedAddCommGroup F] [NontriviallyNormedField ๐] [NormedSpace ๐ E] [NormedSpace ๐ F] {f : E โ F} {x y : E} {t : ๐} (hf : DifferentiableAt ๐ f (x + t โข y)) :
theorem ContDiffAt.deriv_fderiv_add_smul {๐ : Type u_1} {E : Type u_2} {F : Type u_3} [NormedAddCommGroup E] [NormedAddCommGroup F] [NontriviallyNormedField ๐] [NormedSpace ๐ E] [NormedSpace ๐ F] {f : E โ F} {x y : E} {t : ๐} {n : โ} (hf : ContDiffAt ๐ (โn + 1) f (x + t โข y)) :
theorem map_add_eq_sum_add_integral_iteratedFDeriv {E : Type u_2} {F : Type u_3} [NormedAddCommGroup E] [NormedAddCommGroup F] [NormedSpace โ E] [NormedSpace โ F] {f : E โ F} {x y : E} {n : โ} [CompleteSpace F] (hf : โ t โ Set.Icc 0 1, ContDiffAt โ (โn + 1) f (x + t โข y)) :
Taylor's theorem with remainder in integral form. If f is n + 1 times continuously
differentiable, then f (x + y) is given by
โ k in 0..n, D^k f(x; y,..,y) / k! + 1/n! โซ t in 0..1, (1 - t) ^ n โข D^{n+1}f (x + t โข y; y,..,y),
where D^k f denotes the iterated derivative of f.
In the case that n = 1, this is a reformulation of the fundamental theorem of calculus, namely
f (x + y) = f x + โซ t in 0..1, D f(x + t โข y; y).