Codex Wiki
OurBigBook.com
Site
Source code
Probability monotonicity of optimal prefix-code lengths
...
Mathematics
Area of mathematics
Probability and statistics
Information theory
Huffman coding
Optimal prefix code
OurBigBook.com
Words: 37
If symbols of probabilities
p
i
>
p
j
have codeword lengths
l
i
and
l
j
in an optimal prefix code, then
l
i
≤
l
j
. Otherwise, exchanging their codewords preserves the prefix property and changes the expected length by
(
p
i
−
p
j
)
(
l
j
−
l
i
)
<
0
,
(153)
contradicting optimality.
Ancestors
(7)
Optimal prefix code
Huffman coding
Information theory
Probability and statistics
Area of mathematics
Mathematics
Home
Incoming links
(1)
Solution