The function x ↦ - x * log x
#
The purpose of this file is to record basic analytic properties of the function x ↦ - x * log x
,
which is notably used in the theory of Shannon entropy.
Main definitions #
negMulLog
: the functionx ↦ - x * log x
fromℝ
toℝ
.
theorem
Real.Continuous.mul_log
{α : Type u_1}
[TopologicalSpace α]
{f : α → ℝ}
(hf : Continuous f)
:
Continuous fun (a : α) => f a * log (f a)
theorem
Real.tendsto_deriv_mul_log_atTop :
Filter.Tendsto (fun (x : ℝ) => deriv (fun (x : ℝ) => x * log x) x) Filter.atTop Filter.atTop
theorem
Real.tendsto_rightDeriv_mul_log_atTop :
Filter.Tendsto (fun (x : ℝ) => derivWithin (fun (x : ℝ) => x * log x) (Set.Ioi x) x) Filter.atTop Filter.atTop
At x=0
, (fun x ↦ x * log x)
is not differentiable
(but note that it is continuous, see continuous_mul_log
).
Alias of the reverse direction of Real.differentiableAt_negMulLog_iff
.