The Exercise
Toss a coin and note which side lands up; roll a die and note the face that shows. Before the toss or the roll the outcome is uncertain, and the Shannon entropy of its probability distribution measures that uncertainty in bits. The exercise asks for this entropy for a fair coin and for a fair die, and how it behaves when the coin or the die is biased.
Coins, Dice and Entropy
A probability distribution on outcomes is a list of real numbers with every and . A coin has two outcomes, a die six.
The fair coin is the probability distribution on two outcomes that gives each outcome probability one half, (1)✦ The fair die is the probability distribution on six outcomes that gives each face probability one sixth, (2)✦
The Shannon entropy of a distribution on outcomes is the real number (3)✦ where a term with counts as zero. With the natural logarithm it is measured in nats. Divided by it becomes , the entropy in bits.
The Claim
Theorem 1. The fair coin carries one bit of entropy and the fair die bits: (4)✦ (5)✦
Theorem 2. Let be a probability distribution on two outcomes other than the fair coin . Then (6)✦ Let be a probability distribution on six outcomes other than the fair die . Then (7)✦
What Is Checked
The claims are stated over the entropy (3) of distributions on two and on six outcomes, and over the two fair distributions, the coin (1) and the die (2). What is proved about these two is their entropy in bits, (4) and (5), and that each is the one distribution of largest entropy on its outcomes, (6) and (7).