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 ii Paper 3 28K Solution Created 2026-09-24 Updated 2026-10-05
The stochastic objective is interpreted as its expectation; a literal pathwise minimization is generally impossible without knowing future noises. Let the value function from time be , with . Independence from past observations and zero contemporaneous covariance giveThe Bellman equation is . Completing the square yieldsThis feedback is optimal among all controls measurable from the specified past, not merely linear controls. It depends on and does not depend on , though the minimal cost does. There is no cost-relevant in the displayed objective.
The backward Riccati recurrence iterates from . It is increasing, maps into , and has exactly one positive fixed point. Consequently it converges toAs , the finite-horizon feedback at any fixed time tends to this feedback. The closed-loop multiplier is , and its squared-mean factor is less than one, since and . Thus the second moment tends to . The finite-horizon value has ; its average converges by Cesaro summation. For a fixed initial state of finite second moment,The same average is attained by the stationary feedback, by the stationary Bellman equation and bounded second moments.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 202 1 iii Solution Created 2026-10-03 Updated 2026-10-05
For deterministic step functions, define directly from Brownian motion incrementswith the left endpoint of the first interval and outside the listed intervals. The printed endpoint list omits ; the intended convention is , usually .
Given finitely many observation times, refine the deterministic partition of an interval to include all observation times and all . Every is a linear combination of the same finite family of independent centered normal Brownian motion increments. Thus every linear combination of is normal, including possibly a degenerate constant: is a Gaussian process. By independence, only increments in the common interval contribute to the covariance, givingThe same calculation for two step functions proves, rather than assumes, the Itô isometryFor , choose deterministic step functions in the L2 space. This identity makes a Cauchy sequence in the L2 space; the Riesz-Fischer theorem defines by mean-square convergence, independently of the approximation. The covariance formula passes to the limit by the Cauchy-Schwarz inequality. For finitely many times and coefficients , the characteristic functions converge toso the extension remains a Gaussian process.
For completeness, the construction has a continuous version. Each approximating is a martingale, directly by the centered independent increments of Brownian motion; the Doob L2 maximal inequality givesTo prove the inequality used here without assuming Itô integral properties, a continuous martingale satisfies , by conditioning at the first crossing on finite deterministic grids and then using continuity; integrating in and using the Cauchy-Schwarz inequality yields . A sufficiently fast subsequence therefore converges uniformly almost surely on every compact time interval, giving the continuous version of the stochastic integral.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 203 3 a iii Solution Created 2026-10-03 Updated 2026-10-05
Choose an orthonormal basis of the Dirichlet energy space and independent variables with the standard normal distribution. The zero-boundary Gaussian free field is the formal seriesIts precise energy-indexed interpretation is the isonormal Gaussian processFor every fixed , this sum converges in of the probability space by Parseval identity, and it is a centered Gaussian random variable. For ,This covariance characterizes its law independently of the chosen basis. The series does not define an -valued random element: almost surely. It is realized as a random distribution, and its pairing with ordinary test functions is constructed in part (b).
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 218 1 a Solution Created 2026-10-03 Updated 2026-10-05
The violated assumption is independence of random variables across observations: repeated measurements on the same rat form clustered data. A persistent rat-specific weight difference induces positive within-rat covariance, even after adjustment for time and diet. Treating all 176 measurements as independent is pseudoreplication.
For the claimed lack of identifiability in the second fit, Rat must be a categorical variable, as intended by the rat-effect interpretation. Each rat receives only one diet, so this is confounding of nested fixed factors. If is the rat-indicator column, the diet- indicator is . Thus a diet effect can be increased by and every corresponding rat effect decreased by , leaving all fitted values unchanged. With an intercept, two diet columns, fifteen rat contrasts and time, there are 19 columns but only 17 independent columns: the intercept and rat contrasts already span the diet columns, while time varies within rats. This gives rank-deficient ordinary least squares.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 219 1 v Solution Created 2026-10-03 Updated 2026-10-05
A valid covariance matrix must be real symmetric and a positive semidefinite matrix, with . Conversely, every such matrix is the covariance of a possibly degenerate multivariate normal distribution. The diagonal correlations are ; the printed strict inequality can only concern distinct indices. Pairwise bounds do not suffice: the by correlation matrix with diagonal and every off-diagonal entry has eigenvalue along and is invalid. Even strict pairwise inequalities allow singularity: off-diagonal entries give an eigenvalue zero.
For the inverse requested in the question, assume in addition that is a positive-definite matrix. Write , and . Up to a constant, the log-likelihood is . Its score function and second derivative areThe correlated Gaussian common-mean estimator is thereforeIts expectation is , and direct covariance propagation givesThe Fisher information is , so this variance attains the Cramer-Rao bound and the estimator is an efficient estimator.
If is singular, an ordinary Lebesgue density and are unavailable. When lies in the range of , the same formulas hold on that range with its Moore-Penrose inverse. Otherwise there is with , and determines exactly with zero variance. The usual nonsingular Cramér–Rao calculation then does not apply.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 219 2 iv Solution Created 2026-10-03 Updated 2026-10-05
A log-flat improper prior is not appropriate when all known are positive: the integrated likelihood in (iii) has a positive finite limit as , so its integral against diverges. One defensible noninformative choice is the scalar Jeffreys prior for an additive variance component, calculated holding the mean parameters fixed:Indeed the normal variance score has information . This is a scalar conditional-information prior, not a claim that its product with the flat mean prior is the joint Jeffreys prior. It is bounded near zero and is at infinity. The integrated likelihood is uniformly bounded near zero and is bounded by a constant times at infinity, independently of the mean-shape parameters, since . Thus and a proper external prior on the physically admissible ensure posterior propriety. Proper weak scale priors are another option. If known errors vanish, the boundary argument and appropriate prior need separate reconsideration.
For an efficient parameterization, use with and . A chain on this joint reduced parameter space targetsThe factor is the Jacobian determinant. At each iteration propose , with for a fixed nonsingular proposal covariance, and accept with probability . Proposals outside the physical prior domain have target zero. Tune during warmup and freeze it for the retained Random-walk Metropolis algorithm. To obtain samples of the full original parameter vector, independently draw from its retained positive prior and reconstruct ; the resulting vector is . Analytically marginalizing using (iii) would also be valid.
Use several dispersed chains, trace plots, rank-normalized split , and the effective sample size of a Markov chain for each parameter and for . These Markov chain Monte Carlo convergence diagnostics reveal poor mixing and disagreement but do not prove convergence. Estimate the integrated autocorrelation time ; with retained draws, . Default to no thinning of a Markov chain, so the thinning factor is . If storage requires thinning, choose a spacing after inspecting the autocorrelation and verify the retained-chain effective sample size; no finite spacing guarantees independent draws.
Using the retained samples, computeThese are posterior summaries, provided the corresponding moments exist, not uncertainties of the numerical estimates. A proper prior alone does not ensure finite second moments; choose or check the external prior accordingly. The Monte Carlo standard error of the posterior mean is approximately .
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 219 3 i b Solution Created 2026-10-03 Updated 2026-10-05
. This is a Gaussian kernel covariance. Near zero, , consistent with a finite mean-square derivative variance. The kernel has derivatives of every order, and the resulting Gaussian process admits a smooth version. P3 is smooth but does not repeat, unlike P1.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 219 3 iii Solution Created 2026-10-03 Updated 2026-10-05
At the fitted hyperparameters, define , , and , with the matrices formed by pairwise kernel evaluations. Conditional independence of observation noise and future latent values givesThe residual has zero covariance with , so the joint normal law makes it independent of . This derives the conditional multivariate normal distribution and the Gaussian process regression posterior:The covariance is a Schur complement and is positive semidefinite. When nonsingular, its joint density is . Repeated phases can make it singular, in which case the displayed normal law is interpreted on its support.
This predicts the true latent light curve, so no future measurement variance is added. For noisy future observations, add their independent noise covariance to . Fixing the hyperparameters omits their estimation uncertainty, as requested; integrating over their posterior would add it. The periodic model extrapolates by phase, even though all prediction times follow the observed times.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 219 3 ii Solution Created 2026-10-03 Updated 2026-10-05
Use the periodic covariance functionIts positive semidefiniteness follows by pulling back a Gaussian kernel to the circle . A zero Gaussian process mean is an ensemble statement, whereas an exactly zero long-term average for every periodic light curve is stronger. To impose the latter literally, use a periodic Gaussian process with zero period average, replacing the kernel byHere is a modified Bessel function, and is the period average of the kernel. Subtracting each process's random period average produces this covariance, so it remains positive semidefinite. We use to enforce the stated mean subtraction; using gives the usual ensemble-zero-mean formulation and the same likelihood derivation.
Let and . The prior latent vector is and the independent Gaussian noise is , so with . The Gaussian-process marginal likelihood isPositive measurement variances make positive definite even if is singular. Maximize over all three hyperparameters, using a broad search in to find competing aliases, followed by joint optimization. Cholesky decomposition evaluates the likelihood without explicitly forming an inverse.
For a well-resolved interior maximum, let be the Observed Fisher information in the coordinates . Then . Equivalently, the profile-likelihood curvature in gives the same local nuisance-adjusted variance; keeping the other hyperparameters fixed would generally underestimate it. A profile interval with is a local approximation. If the period likelihood is multimodal or poorly constrained, fit the complete posterior with proper hyperparameter priors and report its modes and marginal credible intervals rather than a single Hessian error bar. The sampling pattern can create period aliases that a single local search misses.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 304 1 Solution Created 2026-10-03 Updated 2026-10-05
Assume and take . The free Gaussian integral gives , and the normalized free Gaussian measure has covariance . Expanding only the interaction exponential gives the asymptotic expansionIn this zero-dimensional scalar field theory, the path integral has become an ordinary integral, but its combinatorics are precisely those of sextic scalar field theory.
The free generating functional is . Differentiating it proves Wick theorem: odd moments vanish, while each even moment is the sum over pairings of its factors. Each Wick contraction contributes , soThus the Feynman rules are a quantum field theory propagator for each internal line and a factor for each six-valent interaction vertex. The factorials and remove vertex and half-edge labels; the remaining weight is , where is the Feynman-diagram symmetry factor, the order of the automorphism group of the resulting diagram, including its half-edge symmetries. A tadpole diagram has an additional interchange symmetry of the two ends of its loop.
There is one empty Vacuum Feynman diagram, contributing . At one interaction vertex, the six half-edges form three loops. Its Feynman-diagram symmetry factor is , so its contribution is .
At two interaction vertices let count the lines joining them. Each interaction vertex has self-loops, so can only be . These four possibilities exhaust all Vacuum Feynman diagrams at this order. Their Feynman-diagram symmetry factors areHere the leading exchanges the two interaction vertices, permutes the joining lines, and the remaining factors permute and reverse the self-loops. The graph is disconnected and must be included in ; only a connected generating functional would discard it.
All Vacuum Feynman diagrams with at most two interaction vertices
. The empty diagram, the one-interaction vertex diagram, and the four two-interaction vertex diagrams, with their Feynman-diagram symmetry factors.This is an asymptotic expansion, rather than a convergent perturbation series: the coefficient of contains and grows too rapidly for a nonzero radius of convergence. For any fixed truncation order, the Taylor expansion remainder bound for on , followed by the finite Gaussian moment integral, proves the stated remainder estimate. For negative real the original integral diverges.
Past exam of the mathematics course of the University of Cambridge 2019 ia Paper 2 11F a iii Solution Created 2026-09-24 Updated 2026-09-29
The covariance matrix isIf , the moment-generating function in part (ii) factors into the product of the two marginal moment-generating functions. Thus and are independent random variables; this is the independence of uncorrelated jointly normal variables.
By bilinearity of covariance,ChooseThen is bivariate normal by part (i) and has zero covariance, so is a normal random variable independent of . Hence .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 349 2 Solution Created 2026-10-03 Updated 2026-10-05
Use a stationary, non-streaming tracer population with spherical symmetry in its full velocity distribution. In particular, the mean velocities vanish, the mixed covariances vanish, and the two tangential components have equal velocity dispersions. WriteHere is the variance of one tangential component. In the alternative convention using the sum of both tangential variances, the same velocity-anisotropy parameter is . These definitions agree; they must not be mixed by inserting an extra factor of two.
The time derivative and mean-velocity terms in the supplied Jeans equation vanish, as do its angular mixed-moment terms. Its remaining geometric term is . Thus the Spherical Jeans equation becomesThe no-streaming assumption excludes a steady radial flow; stationarity of the density alone would not remove its advective terms.
By the shell theorem, the gravitational potential of a spherical mass distribution satisfies . Expanding the derivative above, dividing by , and using logarithmic derivatives givesThe tracer density need not be the density of the gravitating matter. The circular speed is , whether or not the tracers themselves follow circular orbits.
Now let be constant, , and . With , the Spherical Jeans equation readsFor a power-law ansatz , , so . Therefore the scale-free spherical Jeans solution isThe positivity condition is necessary for this particular solution to be a physical velocity dispersion.
There is a boundary condition implicit in selecting this solution. The integrating factor gives, when ,The homogeneous term represents an additional radial-pressure boundary contribution. It is removed, for example, by requiring at infinity. Under that condition,and convergence requires , giving the boxed result. If , the solution instead has the logarithmic formso the quoted constant proportionality does not apply. A finite outer boundary can retain a homogeneous term even when .
To derive the heliocentric projection of a spherical velocity dispersion, put the Sun at vector of length , and a tracer at . Its heliocentric line of sight isIf is the angle between and the Galactocentric radial direction, thenAfter correction for the Sun's motion, the intrinsic covariance matrix has eigenvalues in the local spherical basis. Projection onto the line of sight therefore givesAt fixed , and are constant across the spherical shell. Averaging its squared line of sight velocity, with zero mean, givesFor a uniformly sampled Galactocentric shell, the solid angle measure makes uniform on , giving the geometric correction for heliocentric velocity dispersionTo evaluate it, set and , and divide the integrand:The odd term integrates to zero, while . For , , and , this givesThe removable limit at is . As , , while as , . If , and the observed velocity dispersion is exactly radial. For isotropic velocities, , the correction vanishes at every radius.
The averaging measure matters. If directions are instead uniform in heliocentric solid angle at a fixed Galactocentric radius , let be the angle between the line of sight and . Geometry gives , so that particular weighting gives exactly. The logarithmic expression above uses uniform tracer weighting on a Galactocentric shell. For an observational sample, use its actual angular selection weights in ; the boxed dispersion relation remains valid.
Past exam of the mathematics course of the University of Cambridge 2021 ii Paper 1 13J b ii Solution Created 2026-09-24 Updated 2026-09-25
Equal LD and SD efficacy is equivalent tobecause both efficacy definitions use the same control probability. In this two-outcome table that is also equivalent to equality of the LD and SD log-odds interactions,The summary gives the two estimates and their individual standard error, but a test of their difference needsThe required covariance is absent from the displayed table, so the two separate coefficient p-values cannot test equality.
Instead, fit the equal-efficacy Poisson log-linear model. For example, create one indicator for a Worse outcome in either treated group:The reduced model has one common treated-versus-control outcome interaction, while retaining separate LD and SD main effects for their different group totals. The full model has two such interactions. Their analysis of deviance for nested generalized linear models is therefore a one-degree-of-freedom likelihood-ratio test of equal efficacy.
r
data$treated_worse <- with(data, treatment != "Control" & outcome == "Worse")
fit_equal <- glm(count ~ treatment + outcome + treated_worse,
family = poisson, data = data)
anova(fit_equal, fit2, test = "LRT") Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 203 4 a Solution Created 2026-09-24 Updated 2026-09-25
The Zero-boundary Gaussian free field on the unit disc is the centered Gaussian process indexed by finite Borel measures of finite Green energy, with covarianceThis covariance determines all its finite-dimensional distributions.
The Domain Markov property of the Gaussian free field says that for every suitable open one can writewhere is a zero-boundary Gaussian free field on , independent of , while is harmonic on and carries the information from the field outside .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 226 2 d Solution Created 2026-09-24 Updated 2026-09-25
The field is centered and jointly Gaussian. Since the Gaussian free field has covariance and ,Also andJoint Gaussianity turns this zero covariance into independence. Therefore is a Pinned Gaussian free field at , independent of , with covariance equal to the Green function of the walk killed on hitting .
