A source emits a symbol with probability 0.04. How many bits does learning that the symbol occurred carry? Give the answer to three decimal places.
Worked solution
The information content is Because and , the value lies between 4 and 5. Evaluating gives which rounds to . Section 16.1 reads the number as surprise: an outcome with probability 0.04 is about one outcome in twenty-five, and naming which one it was takes between four and five yes-or-no questions. The same symbol would carry 0 bits if it occurred every time, and more bits if it were rarer. The number describes the outcome, not the symbol's shape or its place in the alphabet.