mathlibdocumentation

analysis.special_functions.log_deriv

Derivative and series expansion of real logarithm #

In this file we prove that real.log is infinitely smooth at all nonzero x : ℝ. We also prove that the series ∑' n : ℕ, x ^ (n + 1) / (n + 1) converges to (-real.log (1 - x)) for all x : ℝ, |x| < 1.

Tags #

logarighm, derivative

theorem real.has_strict_deriv_at_log_of_pos {x : } (hx : 0 < x) :
theorem real.has_strict_deriv_at_log {x : } (hx : x 0) :
theorem real.has_deriv_at_log {x : } (hx : x 0) :
theorem real.differentiable_at_log {x : } (hx : x 0) :
@[simp]
theorem real.differentiable_at_log_iff {x : } :
x 0
theorem real.deriv_log (x : ) :
@[simp]
theorem real.deriv_log'  :
theorem has_deriv_within_at.log {f : } {x f' : } {s : set } (hf : s x) (hx : f x 0) :
has_deriv_within_at (λ (y : ), real.log (f y)) (f' / f x) s x
theorem has_deriv_at.log {f : } {x f' : } (hf : f' x) (hx : f x 0) :
has_deriv_at (λ (y : ), real.log (f y)) (f' / f x) x
theorem has_strict_deriv_at.log {f : } {x f' : } (hf : x) (hx : f x 0) :
has_strict_deriv_at (λ (y : ), real.log (f y)) (f' / f x) x
theorem deriv_within.log {f : } {x : } {s : set } (hf : x) (hx : f x 0) (hxs : x) :
deriv_within (λ (x : ), real.log (f x)) s x = s x / f x
@[simp]
theorem deriv.log {f : } {x : } (hf : x) (hx : f x 0) :
deriv (λ (x : ), real.log (f x)) x = x / f x
theorem has_fderiv_within_at.log {E : Type u_1} [normed_group E] [ E] {f : E → } {x : E} {f' : E →L[] } {s : set E} (hf : s x) (hx : f x 0) :
has_fderiv_within_at (λ (x : E), real.log (f x)) ((f x)⁻¹ f') s x
theorem has_fderiv_at.log {E : Type u_1} [normed_group E] [ E] {f : E → } {x : E} {f' : E →L[] } (hf : f' x) (hx : f x 0) :
has_fderiv_at (λ (x : E), real.log (f x)) ((f x)⁻¹ f') x
theorem has_strict_fderiv_at.log {E : Type u_1} [normed_group E] [ E] {f : E → } {x : E} {f' : E →L[] } (hf : x) (hx : f x 0) :
has_strict_fderiv_at (λ (x : E), real.log (f x)) ((f x)⁻¹ f') x
theorem differentiable_within_at.log {E : Type u_1} [normed_group E] [ E] {f : E → } {x : E} {s : set E} (hf : x) (hx : f x 0) :
(λ (x : E), real.log (f x)) s x
@[simp]
theorem differentiable_at.log {E : Type u_1} [normed_group E] [ E] {f : E → } {x : E} (hf : x) (hx : f x 0) :
(λ (x : E), real.log (f x)) x
theorem times_cont_diff_at.log {E : Type u_1} [normed_group E] [ E] {f : E → } {x : E} {n : with_top } (hf : x) (hx : f x 0) :
(λ (x : E), real.log (f x)) x
theorem times_cont_diff_within_at.log {E : Type u_1} [normed_group E] [ E] {f : E → } {x : E} {s : set E} {n : with_top } (hf : x) (hx : f x 0) :
(λ (x : E), real.log (f x)) s x
theorem times_cont_diff_on.log {E : Type u_1} [normed_group E] [ E] {f : E → } {s : set E} {n : with_top } (hf : s) (hs : ∀ (x : E), x sf x 0) :
(λ (x : E), real.log (f x)) s
theorem times_cont_diff.log {E : Type u_1} [normed_group E] [ E] {f : E → } {n : with_top } (hf : f) (h : ∀ (x : E), f x 0) :
(λ (x : E), real.log (f x))
theorem differentiable_on.log {E : Type u_1} [normed_group E] [ E] {f : E → } {s : set E} (hf : s) (hx : ∀ (x : E), x sf x 0) :
(λ (x : E), real.log (f x)) s
@[simp]
theorem differentiable.log {E : Type u_1} [normed_group E] [ E] {f : E → } (hf : f) (hx : ∀ (x : E), f x 0) :
(λ (x : E), real.log (f x))
theorem fderiv_within.log {E : Type u_1} [normed_group E] [ E] {f : E → } {x : E} {s : set E} (hf : x) (hx : f x 0) (hxs : x) :
(λ (x : E), real.log (f x)) s x = (f x)⁻¹ s x
@[simp]
theorem fderiv.log {E : Type u_1} [normed_group E] [ E] {f : E → } {x : E} (hf : x) (hx : f x 0) :
(λ (x : E), real.log (f x)) x = (f x)⁻¹ f x

The function x * log (1 + t / x) tends to t at +∞.

theorem real.abs_log_sub_add_sum_range_le {x : } (h : |x| < 1) (n : ) :
|∑ (i : ) in , x ^ (i + 1) / (i + 1) + real.log (1 - x)| |x| ^ (n + 1) / (1 - |x|)

A crude lemma estimating the difference between log (1-x) and its Taylor series at 0, where the main point of the bound is that it tends to 0. The goal is to deduce the series expansion of the logarithm, in has_sum_pow_div_log_of_abs_lt_1.

theorem real.has_sum_pow_div_log_of_abs_lt_1 {x : } (h : |x| < 1) :
has_sum (λ (n : ), x ^ (n + 1) / (n + 1)) (-real.log (1 - x))

Power series expansion of the logarithm around 1.