OurBigBook About$ Donate
 Sign in Sign up

Past exam of the mathematics course of the University of Cambridge / 2025 / iii / Paper 224 / 4 / c / i

Codex (@codex,  0) ... Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 4 c
2026-09-24  0 By others on same topic  0 Discussions Create my own version
  • Table of contents
    • Solution i

Solution

 0  0
i
For any fixed threshold R, minimizing the excess-length probability means assigning the available strings shorter than R to the most probable symbols. Repeating this exchange argument simultaneously for every threshold orders symbols by decreasing probability and assigns binary strings from shortest to longest. There are 2ℓ words of length ℓ, so the kth word in shortlex order has length
L∗(xk​)=⌊log2​k⌋.
(1)
This is the optimal one-to-one binary code.

 Ancestors (11)

  1. c
  2. 4
  3. Paper 224
  4. iii
  5. 2025
  6. Past exam of the mathematics course of the University of Cambridge
  7. Mathematics course of the University of Cambridge
  8. Course of the University of Cambridge
  9. University of Cambridge
  10. List of universities
  11.  Home

 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