Science

Shannon Entropy

Shannon entropy measures the average uncertainty in a random outcome and sets a fundamental limit on lossless data compression.

Claude Shannon introduced this measure in his 1948 paper establishing information theory. For discrete outcomes with probabilities pᵢ, entropy is H = −Σ pᵢ log₂(pᵢ), measured in bits, with zero-probability terms counted as zero. A fair coin toss has one bit of entropy, while a completely predictable outcome has zero. For independent symbols drawn from the same distribution, entropy gives the asymptotic minimum average number of bits per symbol required for lossless encoding.

Where this leads

Verified sources