Logarithmic Derivatives #
We define the logarithmic derivative of a function f as deriv f / f. We then prove some basic
facts about this, including how it changes under multiplication and composition.
noncomputable def
logDeriv
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
(f : π β π')
(x : π)
:
π'
The logarithmic derivative of a function defined as deriv f /f. Note that it will be zero
at x if f is not DifferentiableAt x.
Instances For
theorem
logDeriv_apply
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
(f : π β π')
(x : π)
:
theorem
logDeriv_eq_zero_of_not_differentiableAt
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
(f : π β π')
(x : π)
(h : Β¬DifferentiableAt π f x)
:
@[simp]
@[simp]
@[simp]
theorem
logDeriv_const
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
(a : π')
:
theorem
logDeriv_mul
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
{f g : π β π'}
(x : π)
(hf : f x β 0)
(hg : g x β 0)
(hdf : DifferentiableAt π f x)
(hdg : DifferentiableAt π g x)
:
theorem
logDeriv_div
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
{f g : π β π'}
(x : π)
(hf : f x β 0)
(hg : g x β 0)
(hdf : DifferentiableAt π f x)
(hdg : DifferentiableAt π g x)
:
theorem
logDeriv_mul_const
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
{f : π β π'}
(x : π)
(a : π')
(ha : a β 0)
:
theorem
logDeriv_const_mul
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
{f : π β π'}
(x : π)
(a : π')
(ha : a β 0)
:
theorem
logDeriv_prod
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
{ΞΉ : Type u_3}
{s : Finset ΞΉ}
{f : ΞΉ β π β π'}
{x : π}
(hf : β i β s, f i x β 0)
(hd : β i β s, DifferentiableAt π (f i) x)
:
The logarithmic derivative of a finite product is the sum of the logarithmic derivatives.
theorem
logDeriv_fun_zpow
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
{f : π β π'}
{x : π}
(hdf : DifferentiableAt π f x)
(n : β€)
:
theorem
logDeriv_fun_pow
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
{f : π β π'}
{x : π}
(hdf : DifferentiableAt π f x)
(n : β)
:
@[simp]
@[simp]
@[simp]
theorem
logDeriv_comp
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
{f : π' β π'}
{g : π β π'}
{x : π}
(hf : DifferentiableAt π' f (g x))
(hg : DifferentiableAt π g x)
:
theorem
logDeriv_eqOn_iff
{π : Type u_1}
{π' : Type u_2}
[NontriviallyNormedField π]
[NontriviallyNormedField π']
[NormedAlgebra π π']
[IsRCLikeNormedField π]
{f g : π β π'}
{s : Set π}
(hf : DifferentiableOn π f s)
(hg : DifferentiableOn π g s)
(hs2 : IsOpen s)
(hsc : IsPreconnected s)
(hgn : β x β s, g x β 0)
(hfn : β x β s, f x β 0)
:
theorem
AnalyticAt.tendsto_mul_logDeriv_simple_zero
{π : Type u_1}
[NontriviallyNormedField π]
[CompleteSpace π]
{f : π β π}
{x : π}
(hf : AnalyticAt π f x)
(hfx : f x = 0)
(hf' : deriv f x β 0)
:
Filter.Tendsto (fun (w : π) => (w - x) * logDeriv f w) (nhdsWithin x {x}αΆ) (nhds 1)
At a simple zero of an analytic function, the logarithmic residue
(w - x) * logDeriv f w tends to 1.