東京大学 情報理工学系研究科 電子情報学専攻 2026年1月実施 専門 第5問
Author
Description
Recalled statement. (1) For a binary source with and , find and the entropy of its second extension . Give a Huffman code and its mean length.
(2) Find the stationary probabilities of the source shown in a transition diagram.
(3) Find the channel capacity in the two cases recalled as “not stable ” and “stable ”.
(4) Give a transition matrix involving error probability and mean error length .
(5) Explain CRC and its “capacity” for
题目描述
对二元信源求熵、二阶扩展熵与霍夫曼码;对给定转移图求平稳概率;求两种信道的容量及涉及错误概率 、平均错误长度 的转移矩阵;说明生成多项式为 的 CRC。
Kai
(1)
All logarithms below are base . The single-symbol entropy is
A Huffman code for the two single symbols is , , with mean length bit per source symbol.
If is memoryless, the second-extension probabilities are for , respectively. Independence gives
The Huffman merges have weights , , and . One code is:
| Pair | Probability | Code |
|---|---|---|
Thus the mean length is bit/pair, or bit/source symbol. If the source has memory, the two marginal probabilities alone do not determine : one needs the joint probabilities, or equivalently .
(2)
Without the diagram, numerical stationary probabilities cannot be determined. For a two-state Markov source with
the equations and yield
If , every initial distribution is stationary.
(3)
A channel capacity cannot be inferred from source probabilities alone. For a memoryless binary symmetric channel with crossover probability , the answer is
Indeed, , and an equiprobable input attains equality.
For an additive binary channel with stationary, ergodic noise independent of the input, the capacity per use is instead
To see the bound, ; independent uniform input makes uniform and attains it.
(4)
If the intended model is a two-state Markov error indicator , with stationary error fraction and mean length of a run of 's, write
A run of errors has geometric length, so . Stationary flow gives . Hence
The parameters must satisfy and so all entries are probabilities. In the stationary ergodic case, this model has entropy rate
Other meanings of , or a hidden-state error model, require a different matrix.
(5)
A cyclic redundancy check appends a polynomial remainder over . For a -bit message polynomial , let
Then divides . The receiver divides the received polynomial by and reports an error when the remainder is nonzero. An error polynomial is undetected exactly when .
For the given generator:
- There are redundancy bits; for a -bit payload the code rate is .
- Every nonzero burst of length at most is detected. After removing its leading power of , its degree is below , so it cannot be divisible by ; permits removing that power.
- Every odd-weight error is detected. Over , , so divides , whereas an odd-weight error has .
- Every two-bit error is detected for total codeword length at most . In fact, the multiplicative order of modulo is , so cannot divide for .
These properties describe redundancy and error-detection capability. The polynomial alone does not specify a Shannon channel capacity. Source: the CRC-16/CCITT entry in Koopman's polynomial table.