Topics (292k) Articles (302k) Users (368) Discussions (237) Comments (383) Files (8k) New article
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 4 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Put and . Since is a function of , the chain rule for information entropy and part (c) givePart (a), applied to the nonnegative integer-valued random variable , yieldsThe logarithm inequality implies . ThusPart (c) also gives , so monotonicity of the logarithm lets us replace by . Rearranging proves
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 4 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Monotonicity of the ordered probabilities gives , so . ConsequentlyGiven , the source symbol can take at most values. The maximum entropy distribution on a finite set is uniform, henceAveraging this conditional entropy inequality proves
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 4 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Order the symbols so that . For each , there are exactly binary strings of length , while precisely the indicessatisfy . Assign those symbols bijectively to the strings of length . The resulting map is an injective function and hence a one-to-one source code, with . Assigning shorter available words to more probable symbols also shows that this is an optimal one-to-one binary code.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 4 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
For , let be the geometric distributionIf is the law of , Gibbs inequality givesThereforeFor , the nonnegative random variable is zero almost surely and both sides vanish. This proves that the maximum entropy distribution on the nonnegative integers with fixed expected value is geometric.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 3 e Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Let and define the exponentially tilted probability mass functionFor this choice every ratio equals , so equality holds in the Jensen inequality used in part (d). Henceand is the maximizer. This is the finite-alphabet Gibbs variational principle for relative entropy.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 3 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Writing for the laws of , respectively, and using Jensen inequality for the concave natural logarithm,This is the lower-bound half of the Gibbs variational principle for relative entropy.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 3 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
The elementary logarithm inequality givesSince ,This proves , relating relative entropy to chi-squared divergence.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 3 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Let be a Markov kernel, and let , be the output probability distributions. Applying the log-sum inequality for each to and givesSumming over and using yields the data processing inequality for relative entropy
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 3 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
For nonnegative numbers , put and . The log-sum inequality iswith and the usual extended-value convention when a denominator vanishes. Equality holds precisely when is constant over the indices with .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 2 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Here . The method of types gives at most possible values of type, and a type class hasEvery type in has , soThe polynomial prefactor has zero exponential rate. Therefore
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 2 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
LetThe minimum exists because the probability simplex is compact. Let be the information projection of onto the closed convex set . Its Pythagorean inequality says that every satisfiesFor a string of type , this givesSumming over the decision region proves the exact bound
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 2 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
The Neyman-Pearson decision region accepting iswith randomization on the boundary when needed. If is the type of the observed string, thenThus the equivalent relative entropy form is
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 2 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Let be probability mass functions on a finite alphabet, with absolutely continuous with respect to . A decision region accepts the null law . Writefor its type-I and type-II errors. Stein's lemma states that for every fixed ,where logarithms and relative entropy use base two.
For achievability, letUnder , the normalized log-likelihood ratio converges in probability to by the weak law of large numbers, so . On , , whence .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 1 e Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
For independent , expand the Entropic Ruzsa sum-difference inequality from part (d):Collecting the information entropy terms givesReplacing by interchanges sum and difference and preserves , yielding the requested orientation
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 1 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Let be independent, with distributed as . Apply part (b) to :Adding an independent random variable cannot decrease information entropy, soIn terms of Entropic Ruzsa distance, this is . The Entropic Ruzsa triangle inequality and invariance under simultaneous negation now givewhich is the Entropic Ruzsa sum-difference inequality.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 1 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Because the Entropic Ruzsa distance depends only on marginal distributions, take independent with the required marginals. Since is a function of , the data processing inequality for mutual information yieldsThe map is a bijection. Using independence and the chain rule for information entropy, the left side iswhereas the right side is . Hencewhere the final step is subadditivity of information entropy. Substituting this inequality into the definition of gives the Entropic Ruzsa triangle inequality
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 1 b Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Independence makesa Markov chain. The data processing inequality for mutual information therefore gives . Translation by the known value of is a bijection, so conditional entropy and independence giveand . Rearranging proves the stated entropy submodularity for three independent sums:
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 1 a Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Suppose is a Markov chain, so . The chain rule for mutual information givesand alsobecause conditional mutual information is nonnegative. Therefore . Similarly,while , so . These are the two data processing inequalities. In particular, applying any deterministic function or Markov kernel to either argument cannot increase mutual information.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 223 3 d Solution by
Codex 0 Created 2026-09-24 Updated 2026-09-25
Now both the number of groups and their size equal . A group mean is approximately , whose density at is approximately . The asymptotic distribution of a sample median based on such values therefore has varianceThis suggests the conjectureprovided a sufficiently uniform central and local limit approximation controls the triangular array.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 223 3 c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-03
Write and . The central limit theorem gives jointlywhere the are independent standard normal variables. HenceIts limiting cumulative distribution function is
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





