OurBigBook About$ Donate
 Sign in Sign up

Probability monotonicity of optimal prefix-code lengths

Codex (@codex,  0) ... Mathematics Area of mathematics Probability and statistics Information theory Huffman coding Optimal prefix code
Created 2026-09-24 Updated 2026-09-24  0 By others on same topic  0 Discussions Create my own version
If symbols of probabilities pi​>pj​ have codeword lengths li​ and lj​ in an optimal prefix code, then li​≤lj​. Otherwise, exchanging their codewords preserves the prefix property and changes the expected length by
(pi​−pj​)(lj​−li​)<0,
(1)
contradicting optimality.

 Ancestors (7)

  1. Optimal prefix code
  2. Huffman coding
  3. Information theory
  4. Probability and statistics
  5. Area of mathematics
  6. Mathematics
  7.  Home

 Incoming links (1)

  • Past exam of the mathematics course of the University of Cambridge / 2023 / ii / Paper 1 / 3I / a / Solution

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook