Past exam of the mathematics course of the University of Cambridge 2021 ii Paper 1 11K Solution Created 2026-09-24 Updated 2026-10-03
Take every logarithm in base two. The information entropy of iswith . If the codeword has length , then its expected codeword length is
For any decipherable code, the Kraft inequality givesDefine the probability distribution . By Gibbs inequality,Since ,
Conversely, choose the integer lengthsThen , so their Kraft sum is at most one and the converse part of Kraft's inequality supplies a binary prefix code. Moreover,Thus the minimum expected length satisfies the Shannon noiseless coding theorem
For a decipherable code with arbitrary lengths , apply the lower bound to the uniform source . Its entropy is and its expected length is . Hencethe total length lower bound for a decipherable binary code.
Now consider the cumulative construction. Since and cannot have the same first binary digits: numbers sharing those digits lie in one half-open dyadic interval of length . Also, implies . Therefore no earlier codeword is a prefix of a later one, and no later, weakly longer codeword can be a prefix of an earlier one. The cumulative Shannon code is thus a prefix code, hence decipherable.
An optimal code minimizes expected codeword length over all decipherable codes for the specified source probabilities. The cumulative construction need not be optimal. For example, ifthen and the construction gives codewords and , with expected length . The prefix code has expected length , so the constructed code is not optimal. In general, Huffman coding produces an optimal prefix code.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 224 2 d Solution 2026-09-28
Let be the marginal probability distribution of . Subadditivity of information entropy and the concavity of information entropy giveFor each ,so .
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 4 13J iii Solution Created 2026-09-24 Updated 2026-09-25
Writing for
team1_goal and for team1_xg, the first hypothesis concerns only the expected value:The second specifies the entire conditional probability distribution:with independence between matches as assumed in the question. The Poisson limit theorem, often called the law of small numbers in this setting, suggests a Poisson distribution when a goal count is the sum of many approximately independent rare scoring opportunities. Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 201 2 a Solution Created 2026-09-24 Updated 2026-09-25
Weak convergence of probability measures on a metric space means thatfor every bounded continuous real function . Weak convergence of random variables means weak convergence of their probability distributions; equivalently,for every bounded continuous .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 203 2 b Solution Created 2026-09-24 Updated 2026-09-25
Put and defineThen . Differentiating with the Chordal Loewner equation givesUniqueness for this ordinary differential equation shows that . At ,which is the endpoint identity for the Reverse Loewner flow.
For , the pathwise identity is generally false. The left side is built from the reversed final driver segment , whereas the right side is built from the initial segment . By time reversal and symmetry of Brownian motion they have the same probability distribution, but they are not equal for the given Brownian path.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 210 4 Solution Created 2026-09-24 Updated 2026-09-25
The pushforward measure of under is , defined for byThe Lebesgue decomposition theorem says that if and are sigma-finite measures on the same measurable space, then uniquely
Let be convex with . If dominates the probability distributions , with densities , their f-divergence isusing the lower-semicontinuous perspective convention where . This definition is independent of the dominating measure.
The data processing inequality for f-divergences statesTo prove it, take and let . If and , then the pullbacks of the densities of and with respect to are respectively and . The perspective of a convex function is jointly convex. Conditional Jensen inequality therefore givesIntegration proves the claim.
The Squared Hellinger distance isIf have densities with respect to a sigma-finite measure , this becomes
Fix any probability distribution and set , , and . Applying the data processing inequality to the indicator function of gives the Bernoulli Hellinger boundThe hinted inequality impliesThe function is concave on . Since the form a set partition, , and Jensen inequality givesTaking the infimum over proves the stated inequality.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 3 b Solution 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
Perfect secrecy Created 2026-09-24 Updated 2026-09-29
An encryption scheme has perfect secrecy when the ciphertext and plaintext are independent random variables, so observing the ciphertext does not change the plaintext's probability distribution.
Population risk 2026-09-29
The population risk of a prediction rule is its expected loss on a fresh observation from the target probability distribution.
Potential theory 2026-10-06
Potential theory studies harmonic functions, subharmonic functions, and the Laplace operator, including harmonic measure, regular boundary points, and the Dirichlet problem. The Brownian representation of the Dirichlet problem connects these analytic objects with exit probability distributions.
Probabilistic number theory 2026-10-06
Probabilistic number theory studies arithmetic functions and integer sets through probability distributions, concentration, and limit theorems.
Quantile derivative identity 2026-10-06
If is the quantile function of an absolutely continuous probability distribution with probability density function , then for almost every . Gaps in the support may give jumps in , so the identity concerns its ordinary almost-everywhere derivative. It follows by differentiating the inverse relation to the cumulative distribution function.
Residual curvature diagnostic 2026-10-07
A systematic curved pattern in regression residuals plotted against fitted values suggests a misspecified conditional mean. Positive residuals at both ends and negative residuals in the middle motivate trying quadratic regression. The diagnostic does not by itself identify the error probability distribution or prove heteroscedasticity.
Scoring rule 2026-10-07
A scoring rule assigns a reward or loss to an announced probability distribution and realized outcome. In the reward convention, a proper scoring rule makes truthful reporting maximize expected reward; the loss convention reverses the comparison.
Shape parameter Created 2026-09-24 Updated 2026-10-03
A shape parameter changes the form of a probability distribution without merely translating it or rescaling its random variable.
Skewness 2026-10-05
Skorokhod embedding theorem Created 2026-09-24 Updated 2026-10-03
The Skorokhod embedding theorem represents a centered probability distribution on the real numbers with finite variance as for a stopping time of Brownian motion. One may choose so that the stopped process is uniformly integrable and .
Spin inversion symmetry 2026-10-05
Spin inversion symmetry means that simultaneous reversal of every spin leaves the probability distribution or energy unchanged. For a finite spin model with this symmetry, the weights of opposite configurations pair up, so every observable that changes sign under the reversal has zero expected value. An applied magnetic field generally breaks this symmetry.
Statistical parameter Created 2026-10-05 Updated 2026-10-07
A statistical parameter indexes a family of probability distributions in a statistical model. It is fixed in a frequentist sampling model; a prior distribution makes it random for Bayesian statistics. Different statistical parameter values should produce different observable distributions when identifiability is claimed.
Stein's lemma (information theory) Created 2026-09-24 Updated 2026-09-24
For distinct probability distributions , the best exponential decay rate of the type-II error among tests whose type-I error stays below any fixed number in is .