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.negMulLog_mul
(x : ℝ)
(y : ℝ)
:
Real.negMulLog (x * y) = y * Real.negMulLog x + x * Real.negMulLog y
theorem
Real.hasDerivAt_negMulLog
{x : ℝ}
(hx : x ≠ 0)
:
HasDerivAt Real.negMulLog (-Real.log x - 1) x