The Exercise
A coin lands heads with probability and tails with probability . The Shannon entropy of one toss, measured in bits, is the binary entropy . The exercise asks to show that attains its maximum value, one bit, at , the fair coin.
The Binary Entropy
The binary entropy in bits is the function that assigns to a real number the value (1)✦ where is the logarithm to base two and .
The Claim
Theorem 1. The binary entropy takes the value one at , (2)✦ and one is the greatest value it takes on the real line: (3)✦
For this is the exercise.
What Is Checked
The claim is stated over the binary entropy of (1) alone, a function of one real variable. What the library proves about is the theorem itself: the value (2) at one half and the maximum (3).