Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 224 1 a Solution 2026-09-28
Because and are independent random variables, conditioning on merely translates . The conditional entropy under a deterministic change of variables and the fact that conditioning reduces entropy therefore giveInterchanging and similarly gives , and henceThe proof applies to countable alphabets whenever the displayed information entropies are finite.
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 225 3 a i Solution Created 2026-09-28 Updated 2026-10-03
Because a strictly monotone map fixing both endpoints is increasing, the change of variables formula givesAssuming , defineThe Hilbert-space variance identity then gives
Under the regularity needed to interchange expectation and differentiation, because . HenceThus exactly when the integrated covariance in the numerator vanishes. In particular, this holds when the amplitude and the time warp are independent random variables.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 12I a Solution Created 2026-09-24 Updated 2026-10-03
A one-time pad over the finite additive group uses a key that is uniform on , independent of the plaintext , as long as the plaintext, and never reused. Encryption and decryption are
For independent random variables , conditioning reduces entropy and translation by a known element of the finite additive group preserves entropy, soInterchanging and gives , henceThis is the entropy of a sum of independent finite-group variables.
The result explains why adding independent pad symbols cannot reduce uncertainty. For a uniform pad, is itself uniform and is independent of , which is the perfect-secrecy property. Independence is necessary: if is nonconstant and , then is constant, so
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 2 5J Solution Created 2026-09-23 Updated 2026-09-25
The commands choose observations and predictors; generate a matrix of independent standard-normal values; generate independent binary random variables with success probability ; and report the observed number of successes, . The first
glm call then fits the Bernoulli logistic-regression modelThe prediction command returns the fitted response probabilities and sums them.The likelihood isAt the maximum-likelihood estimator, the intercept component of the score function isThereforeexactly, by the fitted-mean balance for logistic regression with an intercept.
The second fit uses probit regression,where is the standard normal distribution function. Its intercept score isa weighted residual equation. It does not imply , so exact equality is not expected. The output should nevertheless be close to : the data were generated with constant success probability independently of , so the fitted slopes should be small, the linear predictors should cluster near a common intercept, and the score weights should be nearly constant.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 3 27J b Solution Created 2026-09-24 Updated 2026-09-25
Let be the number of telephone lines in use. The memorylessness of the exponential distribution makes a continuous-time Markov chain, specifically the M-M-infinity queue with generator rates
Suppose and put . Each initial call is still active at time with the exponential survival probability , independently of the others. Their surviving number is thereforeA call arriving at time survives until with probability . By Poisson thinning, the number of surviving new calls is independent of and has lawHence in distribution. Multiplying the probability generating functions of the two independent random variables gives, for ,Equivalently, the transient distribution of an M-M-infinity queue iswith independent summands. As , the binomial term converges to zero and the Poisson mean tends to . Thereforewhich proves the stated large-time approximation.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 4 13J i Solution Created 2026-09-24 Updated 2026-10-03
Let be the first team's goal count in match , let be row of the design matrix, and let be the regression coefficient vector. The fitted Poisson regression assumes that the are independent random variables withThe likelihood function maximized by
glm is therefore Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 4 26K a Solution Created 2026-09-24 Updated 2026-09-25
Write for the partial sum. Fix an integer . The tail-sum formula for expectation, applied to the nonnegative random variable , givesbecause . The events are independent, so the second Borel--Cantelli lemma shows that infinitely often with probability one. Taking the countable intersection over yieldsalmost surely.
Now , and the triangle inequality givesIf the limit superior of were finite, the right-hand side would have finite limit superior, contradicting the preceding conclusion. Thereforealmost surely.
Past exam of the mathematics course of the University of Cambridge 2023 ii Paper 4 27J a Solution Created 2026-09-24 Updated 2026-09-25
A Non-homogeneous Poisson point process with intensity function is a random counting measure such that, for every finite family of pairwise disjoint bounded Borel sets , the counts are independent random variables andThe assumed local integrability makes each Poisson parameter finite. This count law and independence characterize the process.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 202 1 a iii Solution Created 2026-09-24 Updated 2026-09-25
They are not independent. The Itô formula gives , and the bilinear Itô isometry therefore givesIf and were independent random variables, then would also be independent of the measurable function , and centeredness would instead give . This contradiction disproves independence.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 356 1 a Solution 2026-09-28
Write the molecular copy numbers as and use the power-law reaction propensity convention of the paper. The seven propensities and stoichiometric vectors areA channel is assigned zero propensity whenever its update would leave the nonnegative integer lattice.
The Gillespie algorithm starts from and . At the current state compute . If , terminate the path. Otherwise draw independent random variables from the uniform distribution on , set the next waiting time toand choose the least index satisfyingThen update and , and repeat. The minimum of the seven competing reaction clocks has an exponential distribution of rate , while reaction wins with probability .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 356 2 b Solution 2026-09-28
Let be independent random variables with the standard normal distribution. The unconstrained Milstein method step isThe noise is additive, so its Milstein correction vanishes. The diagonal, independent noise fields commute, so no cross iterated stochastic integral is required.
Implement each reflecting boundary condition for a diffusion by folding the proposed coordinate back into . One formula that also handles multiple overshoots isThe complete update isUnder the usual smoothness assumptions, the Milstein discretization has strong order of convergence one and weak order of convergence one. The reflection enforces the boundary pathwise.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 164 1 iii Solution Created 2026-09-24 Updated 2026-09-25
Because are independent random variables, adding is an independent noise channel, sois a Markov chain. The data processing inequality for mutual information givesTranslation in the finite additive group preserves conditional entropy, and independence therefore givesandSubstitution proves the required entropy submodularity for three independent sums.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 164 3 i Solution Created 2026-09-24 Updated 2026-09-25
Letwhere is the golden ratio. If the union-closed family consists of one nonempty set, any element of that set has frequency one, so assume its cardinality exceeds one. Choose independent uniform members and let be their characteristic vectors of sets. Then .
Suppose for a contradiction that every element has frequency . Put , and let , the characteristic vector of a set of . The chain rule for information entropy and conditioning reduces entropy givebecause is a function of .
Fix the two prefixes and setThe two conditioned bits are independent random variables, and exactly when both are zero. The supplied binary entropy product inequality therefore givesAveraging over the independent prefixes yieldswhenever either conditional entropy is positive. Summing and using gives .
But set union keeps inside the union-closed family, so is supported on . The maximum entropy distribution on a finite set gives , a contradiction. Some element must therefore occur in at least members, proving the entropy bound for a union-closed family.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 164 4 ii Solution Created 2026-09-24 Updated 2026-10-03
Write , , , and . Distances depend only on distributions, so all variables used in any one application may be realized as independent random variables.
First, the entropy submodularity for three independent sums impliesand analogously for . The Entropic Ruzsa triangle inequality gives and . Consequently the relevance of independent self-sums gives
Apply the Conditioned entropic Ruzsa distance of a summand first to and then to :Three applications of the Entropic Ruzsa triangle inequality giveAdding all these bounds yieldsThus the required absolute constants may be taken as and .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 168 4 ii Solution Created 2026-09-24 Updated 2026-09-25
The relevant invariance principle for a low-degree multilinear polynomial is the following. Let and be sequences of independent random variables satisfyingIf is multilinear of degree at most and , then
For the proof, use the Lindeberg replacement method. Replace by one coordinate at a time and write , where and depend only on the other coordinates. A third-order Taylor expansion of has identical expected terms through order three for and , because the first three moments match. Each fourth-order remainder is bounded by , so the th replacement costs at mostPart (i), applied in the hybrid product space, bounds each of the two fourth-moment terms by . Thus the cost is at most . The triangle inequality and summation over prove the result.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 201 2 c Solution Created 2026-09-24 Updated 2026-09-25
For every , the exponential Markov bound and independence giveTaking the infimum over yieldsFor , convexity makes this supremum equal to , proving the upper bound in the stated tail form of Cramér theorem.