Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 216 3 b Solution Created 2026-10-03 Updated 2026-10-06
Take observation periods to have positive lengths , and let be the Markov kernel of a sweep which first draws given the current and then draws the new vector . Write . Conditional on , independence and the gamma distribution mean and variance giveAveraging over the full conditional distribution of preserves this bound, uniformly in the current state. Therefore . This is the mechanism in bounded conditional moments imply a geometric drift.
Choose , , and . Outside , ; inside , . HenceFor completeness, is a small set, even though it approaches the boundary of the positive orthant. Choose small enough that . On , . The conditional gamma distribution of has fixed shape and rate in a compact positive interval. Its probability density function therefore has a positive common lower bound on . For those , the product probability density function of similarly has a positive common lower bound on , since every shape is positive and every rate lies in a compact positive interval. Integrating over gives on , where is the uniform distribution on and .
The transition probability density function is positive throughout the positive orthant, giving an irreducible Markov chain. Since , the box minorization includes starts in the same box, which gives an aperiodic Markov chain. The proper prior distributions and bounded Poisson distribution likelihood have positive finite evidence, so the invariant posterior distribution is proper. Together with the geometric drift condition, these hypotheses imply geometric ergodicity. In particular, the argument proves the required drift rather than assuming that every Gibbs sampler is geometrically ergodic.
The positive-period convention matters. If zero lengths are allowed, the printed assertion can fail: take , , . Then and , soThis example has a proper posterior distribution but cannot satisfy a finite quadratic geometric drift condition. Thus the proof establishes the intended claim for positive observation periods, not an unrestricted extension to zero exposure.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 216 4 c Solution Created 2026-10-03 Updated 2026-10-06
Parameterize the initial product normal distribution by , usingRun the given recursion with independent random variables with uniform distributions to obtain . Because the noise laws do not depend on , the chain rule and automatic differentiation give reparameterization gradients through the entire simulated trajectory. The variational objective is , where and .
One must account for the output differential entropy, not just optimize . Simulation and differentiability of do not themselves supply an evaluable . If retains the reversible Markov chain assumption from part (b), a concrete algorithm avoids a transition-density oracle using reversible density-ratio propagation. Write , with an evaluable unnormalized posterior density, and defineDetailed balance impliesFor example, integrate and replace by to obtain the first identity. This also proves absolute continuity of measures of with respect to when . An everywhere finite differentiable log-posterior has positive density, so an ordinary product normal distribution has this domination.
For each outer sample , independently run trajectories of length starting at , with endpoints . These are reverse trajectories because of detailed balance; the same recursion simulates them. Estimate byAverage over an outer batch. Compute it stably by a logarithmic sum of exponentials. Differentiate through both outer and reverse trajectories and through the explicit product-normal probability density function . Only the given state gradients of and , together with elementary normal-density derivatives, are needed. Apply stochastic gradient descent to and , refreshing the independent noise batches. The logarithmic scale parameters keep all variances positive.
This is nested Monte Carlo optimization of the exact objective in the limit of adequately increasing inner and outer sample sizes. For fixed , is generally biased, even though is an unbiased estimator. Finite logarithmic moments, suitable uniform integrability, and justified differentiation under the integral sign are needed for consistency and gradient interchange. Under those conditions increasing and controlling the optimization error yields a justified numerical approximation; nonconvexity prevents a generic guarantee of a global optimum.
There is a real assumption issue: part (c) redefines without explicitly restating reversibility. The algorithm above uses the reversible interpretation inherited from part (b). For an arbitrary differentiable recursion, one additionally needs access to output densities or a simulatable reverse kernel and regularity of the objective. Differentiability alone is insufficient: is differentiable and, with a standard-normal target, makes a point mass for , so every candidate has infinite Kullback-Leibler divergence. Thus a universal finite-objective algorithm cannot be justified solely from the literal differentiability assumptions. An invertible recursion with computable density transformations offers a different sufficient route, but invertibility is not stated here.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 216 5 b Solution Created 2026-10-03 Updated 2026-10-06
Let and . With conditional independence of the binary observations given the latent function, defineThe prior distribution is specified on the precision , not on . Its Jacobian determinant givesand the marginal posterior density is proportional to . Working instead with precision or logarithmic coordinates is possible, provided all corresponding Jacobian determinants are included.
Choose an importance sampling density covering the support of , draw independently from it, and use the nonnegative unbiased likelihood estimatorEach summand integrates to , proving unbiasedness. A simple always-valid choice is the latent Gaussian prior distribution, , when the covariance matrix is nonsingular. Then the estimator is just the average of the bounded values . For duplicate inputs, sample only the distinct latent values and multiply all likelihood contributions at each common input. A Gaussian approximation to the latent posterior distribution, or its mixture with the Gaussian prior distribution, can reduce relative variance while keeping complete support. Its approximation does not replace the exact weights.
The pseudo-marginal Metropolis–Hastings algorithm stores both the current and its estimator randomness ; write their sampling law as . Propose , independently generate , compute , and accept the pair withHere denotes the proposal probability density function from to . On rejection retain both the old parameter and the old likelihood estimate. Initialize with a positive estimate. One must not independently refresh the denominator after rejection.
Correctness follows from the extended posterior densityThe pair proposal is . Its Metropolis–Hastings acceptance probability simplifies to the displayed ratio, since the auxiliary densities cancel. Hence detailed balance holds for . Integrating over gives by unbiasedness, so the parameter marginal distribution is exactly the intended posterior distribution for any fixed positive . This is exactness of the stationary target, not independent exact samples or a guarantee of rapid convergence. Large relative variance of the likelihood estimates can produce long holding times, so marginalizing does not by itself guarantee an improvement in mixing time.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 217 2 Solution Created 2026-10-03 Updated 2026-10-06
Construct a mean-square derivative of a Gaussian process on the original probability space before choosing its continuous modification. The real covariance function satisfies , because covariance is symmetric. Three-times differentiability implies that is continuous everywhere and differentiable at zero. Since is an even function,This uses differentiability of at zero, not a bound on throughout a neighborhood.
Let for . Twice applying the fundamental theorem of calculus to the covariance function givesOriented integrals make this identity valid for negative as well as positive . For a fixed , the right side tends to as . In particular,By completeness of L2 space, the mean-square derivative of a Gaussian processexists. Finite vectors consisting of values of and have a centered multivariate normal distribution: approximate the coordinates by difference quotients and use mean-square convergence and characteristic functions. Thus is a centered Gaussian process jointly constructed with , withIn particular , and is a positive-semidefinite kernel because it is an actual covariance function. Merely constructing an unrelated Gaussian process with that covariance function would not yet construct a modification of a stochastic process of .
The increment variance of isFor small , differentiability of at zero bounds this by . For the remaining distances in , continuity of enlarges to give the same bound. The fourth moment of a centered normal distribution is three times its variance squared, soThe one-dimensional Kolmogorov continuity theorem states that with gives a continuous modification, with sample-path Hölder continuity of every order less than . Apply it here with . We obtain a continuous modification on . On its null exceptional event, set the entire path equal to zero.
Define, on this same probability space,The path integral exists because its integrand is a continuous function. It agrees in L2 space with the integral of : Riemann sums converge in L2 space because is mean-square continuous; sums of have the same values almost surely at each finite collection of mesh points and converge pathwise to the integral. These two limits therefore agree almost surely for each fixed . Equivalently, the integral is the Bochner integral of the L2 space-valued map .
To verify the modification of a stochastic process property directly, put and . The preceding covariance identities and the fundamental theorem of calculus giveTherefore and almost surely for every fixed . This is also the mean-square fundamental theorem of calculus in this stationary setting. If a version on all of is desired, retain the original outside ; equality at every fixed parameter still holds.
The ordinary fundamental theorem of calculus now gives the simultaneous pathwise conclusionThus the requested differentiable modification of a stationary Gaussian process exists. Integrability of is compatible with the hypotheses but is unnecessary for this direct argument. It also avoids any assumption that a third absolute moment of a spectral density follows from three-times differentiability.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 217 4 Solution Created 2026-10-03 Updated 2026-10-06
The equal-variance form of Slepian's lemma is the following. If are centered vectors with multivariate normal distributions, for every , and whenever , thenfor every threshold vector . In particular . No nonsingularity of the covariance matrices is required.
Here the pointwise variances and differ. To make the comparison rigorous, use the increment form, namely the Sudakov-Fernique inequality: if centered multivariate normal distributions satisfy for every pair, then . Unlike the preceding form of Slepian's lemma, this statement has no equal-pointwise-variance hypothesis.
For completeness, the increment form follows by Gaussian integration by parts. Make independent, define for , and letThe are softmax function weights, with and . Direct differentiation gives and . The Gaussian integration by parts identity therefore yieldsThe last summands are nonnegative because . Sinceintegration in and the limit prove the Sudakov-Fernique inequality. All derivatives needed here are bounded for a fixed . Singular covariance matrices can be handled by adding small independent centered normal noise with the same variance to both vectors, proving the identity for the nonsingular vectors, and letting the noise variance decrease to zero.
Use the printed normalization of fractional Brownian motion, which omits the conventional factor . Its increment variance isFor and , . Enumerate by increasing finite subsets whose union is , with . The Sudakov-Fernique inequality givesBoth Gaussian processes vanish at zero almost surely. Thus these maxima are nonnegative and increase with ; monotone convergence theorem givesTheir continuous modifications agree with the original Gaussian processes simultaneously on the countable set , after discarding a single null event. Continuity and density of the rational parameters make each rational supremum equal to the supremum over for these modifications.
The expected suprema are finite. Indeed, the canonical distance of is . A Euclidean grid supplies a closed-ball metric covering number bound for . The Dudley entropy integral bound for an anchored centered separable Gaussian process isThe integral is finite since its integrand grows at most like a constant times near zero. The same argument applies to .
For any real path vanishing at zero,A centered Gaussian process has the same probability law as its negative. Combining this symmetry with the increment comparison gives the stronger boundIn particular the requested comparison isThe common normalization factor affects both sides equally. The comparison is valid for every , including the equality cases or in the increment bounds.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 320 1 a Solution Created 2026-10-03 Updated 2026-10-06
The stellar relaxation time is the time on which accumulated discrete gravitational encounters change a typical star's velocity by an amount comparable to its original velocity. It concerns two-body relaxation, rather than the much faster orbital evolution in a smooth gravitational potential. A collisionless stellar system requires this time to greatly exceed the duration being studied.
In the straight-line impulse approximation, an encounter at relative speed has transverse acceleration . ThusA small-angle gravitational encounter needs . The transition to order-one deflections is therefore , ignoring factors such as the equal-mass relative deflection. For the spherical estimate ,This is the lower cutoff of the weak-scattering estimate; closer encounters actually occur and require strong-scattering treatment.
The number of encounters in time with impact parameters in is . Independent random transverse directions make mean kicks cancel while their variances add. ConsequentlyEach logarithmic interval contributes equally, giving the Coulomb logarithm in stellar dynamics. Defining a deflection time by variance and setting gives . The paper instead uses an order-one normalization three quarters of this estimate:Both have the same physical scaling. The specified characteristic speed, the word “comparable”, the velocity-distribution average and strong-encounter cutoff do not fix that numerical coefficient uniquely. The crude equal-speed impulse calculation must not be claimed to determine exactly.
For a self-gravitating, approximately virialized system, the virial theorem gives . With , and the stellar crossing time , substitution into the paper's convention givesAn externally dominated gravitational potential or a different structural constant changes this substitution. For an N-body simulation lasting , a tolerable fractional velocity-squared diffusion requires , henceThere is no unique smallest without , the error tolerance and the force prescription. For scale, equality at occurs near ; gives about crossing times. A calculation lasting 100 crossing times therefore needs substantially more than the first threshold to have negligible relaxation. Gravitational softening can raise the effective cutoff and reduce artificial scattering, but it also sets the spatial force resolution.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 322 1 iii Solution Created 2026-10-03 Updated 2026-10-06
The common-age conditional probabilities giveHere includes both possible component orders. Hence the binary star fractions have the concise ratioAs a check on the role of shared age, rather than . This is covariance induced by a shared latent variable: the red giant indicator random variables have covariance equal to the variance of , namely .
For a starburst galaxy with age , put . There is no age averaging. The component masses remain independent, so the fraction of systems with two red giants isThe last comparison is ambiguous in the printed question. Literally, the fraction of individual red giants in the first galaxy is . Since , no allowed starburst age satisfies that literal comparison. If the intended comparison is instead between systems containing two red giants in the two galaxies, compare with ; the answer isFor completeness, the individual red giant fraction in the burst is , which exceeds precisely for . This is a third, different comparison; it does not change the computed fraction of two-giant systems.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 338 3 b i Solution Created 2026-10-03 Updated 2026-10-06
Use the ideal detection convention of one collected Electron per detected photon; otherwise replace photon totals by detected Electron totals using the quantum efficiency. Let be the summed measurement on the star patch and the independent background-only patch. After additive offsets are removed, their means are and . Independent Poisson distribution counts have variance equal to their mean, and a single read of detector pixels contributes to each patch's variance. ThereforeThe two factors of two arise from the independently measured background and the second patch's read noise, not from doubling the stellar signal. The formula assumes equal background means, independent detector pixels and patch measurements, one read per patch, and negligible dark current or other noise. Several exposure reads or correlated detector pixels require their own variance and covariance terms.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 338 3 c iii Solution Created 2026-10-03 Updated 2026-10-06
For independent reads in each sum, read noise contributes in squared ADU units. HenceUsing the shot-noise-only formula therefore givesThe condition for negligible contamination is , equivalently a large number of collected Electrons per individual frame compared with . Summing more identical-level frames does not change that ratio because both and the read variance scale with . Measure read noise from paired bias images, or fit mean versus noise variance across several illumination levels: the shot-noise slope determines detector gain, while the read term gives an intercept. If is known, the corrected positive solution satisfies . Offset subtraction removes the mean bias but not the read variance. Correlated read errors need a different covariance calculation.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 338 3 c ii Solution Created 2026-10-03 Updated 2026-10-06
A stable multiplicative sensitivity factor at detector pixel changes both means to . The noise-free ratio is still one, so flat-field correction is not required merely to remove that fixed pattern from the mean ratio. This is the principal advantage of using two matched flats rather than the variance of a single image.
However, the photon shot noise is not cancelled. At high counts the conditional ratio variance is . Pooling detector pixels gives , where brackets denote a spatial average. If the formula uses , it returnsThe inequality follows from the Jensen inequality for on positive signals. For small fractional response variation, the relative bias is approximately minus its squared coefficient of variation. A locally nearly uniform region or a fit using detector pixel-dependent variances avoids this bias from mixing the harmonic mean with the arithmetic mean. Stable response cancellation also presumes the conversion gain itself is uniform; gain variations, offset errors or changing sensitivity do not obey that simple cancellation. The fixed response pattern cancels in the ratio mean; unequal shot-noise levels can still bias a globally pooled gain estimate.