For a nonnegative integrable random variable on a probability space with probability measure , its entropy functional isusing and allowing the value . If , define the probability measure by . Substitution into the definition of relative entropy givesThus the normalization factor is essential. Jensen inequality shows that the entropy functional is nonnegative; it vanishes precisely when is constant almost surely. If , nonnegativity forces almost surely and the entropy functional is zero.
For an event of probability , take . Then and . This example connects the entropy functional to the information cost of conditioning on a rare event.
New to topics? Read the docs here!