Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 4 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The direct codes-distributions correspondence says that every mass function on a finite alphabet admits a binary prefix code with lengths . Conversely, every binary prefix code has lengths satisfying the Kraft inequality , and hence defines the mass function .
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 3 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
The previous part gives for uniform . To attain the bound, take uniform on , choose an independent error whose mass function attains , and set . Then is uniform, , andThus and equality holds. This is the rate-distortion function of a uniform source under Hamming distortion.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 3 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Regard the alphabet as the cyclic group and put . For each , subtraction by is a bijection, soBy concavity of , its monotonicity in the distortion allowance, and ,Therefore
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 3 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
For feasible mass functions at distortion levels , the mixture has nonzero-symbol mass at most . Concavity of information entropy givesTaking maximizing sequences proves
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 2 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 2 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The likelihood-ratio event depends only on the type and isequivalently . This constraint defines a closed subset of the finite probability simplex, so Sanov's upper bound gives the exponentIt is strictly positive: the only distribution with zero divergence from is , but violates the constraint because . Compactness and continuity under full support keep the infimum away from zero. This exponent is the Chernoff information between and .
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 2 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Let be i.i.d. with mass function on a finite alphabet, and let be their empirical distribution. Sanov theorem states that for every set of probability mass functions,andwhere interior and closure use the probability-simplex topology. Thus the empirical distributions satisfy a large deviation principle with rate function .
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 1 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The preceding inequality supplies the upper bound on the supremum. If has full support relative to , choose ; then and the objective equals . If at some symbols, use this choice on the support of and put elsewhere. Letting gives the same value. Finiteness of guarantees that is positive on the support of . This proves the Gibbs variational principle for relative entropy.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 1 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 1 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Let and put and . For each alphabet symbol , apply the log-sum inequality to , and the corresponding values. Summing over giveswhich is joint convexity in .
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 1 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
For nonnegative , with and , the log-sum inequality iswith the usual extended-value conventions. Equality holds when is constant wherever .
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 221 3 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Each factor depends only on node and its parents. Those vertices form a clique in the moral graph, because moralization joins every pair of parents and removes arrow directions. The positive joint density therefore factors into clique potentials of the moral graph. The Hammersley-Clifford theorem then implies the global Markov property for that undirected graph.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





