Information Theory and Coding Basics
Which of the following correctly pairs the maximum entropy of a source that emits 8 kinds of symbols with the condition under which it is reached?
- A3 bits; when one of the symbols has probability 1
- B3 bits; when all 8 symbols have probability 1/8
- C8 bits; when all 8 symbols have probability 1/8
Show answer and explanation
Answer: B. 3 bits; when all 8 symbols have probability 1/8
The entropy of a source emitting n kinds of symbols is greatest when every symbol occurs with the same probability 1/n, and its value is then log₂ n. For n = 8 this is log₂ 8 = 3 bits. The average information per symbol is greatest when the next symbol is hardest to predict. Conversely, when one symbol occurs with probability 1, we know what will come, so the entropy is 0.
- A. When one symbol occurs with probability 1, the entropy is at its minimum of 0 bits.
- B. Correct. With equal probabilities it reaches the maximum of log₂ 8 = 3 bits.
- C. 8 is the number of kinds of symbols. The maximum entropy is its logarithm, log₂ 8 = 3 bits.
Continue: 9 more Information Theory and Coding Basics questions