Information Theory and Coding Basics
A source that emits 8 kinds of symbols has an entropy of 2.4 bits. Defining redundancy as 1 − (entropy ÷ maximum entropy), which of the following is the redundancy of this source?
- A20%
- B25%
- C80%
Show answer and explanation
Answer: A. 20%
The maximum entropy for 8 kinds of symbols is log₂ 8 = 3 bits, so the redundancy is 1 − 2.4 ÷ 3 = 1 − 0.8 = 0.2, that is, 20%. Redundancy expresses how much is wasted, because of skewed symbol probabilities and the like, compared with the maximum amount of information. The more redundant a source, the more room there is to shrink it with lossless compression.
- A. Correct. 1 − 2.4 ÷ 3 = 0.2.
- B. 25% is (3 − 2.4) ÷ 2.4, which divides the difference by the entropy instead of by the maximum entropy.
- C. 80% is 2.4 ÷ 3, the ratio of the entropy to the maximum entropy. Redundancy is 1 minus this ratio.
Continue: 9 more Information Theory and Coding Basics questions