Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 205 1 d Solution Created 2026-09-24 Updated 2026-09-25
Suppose and minimize . Their midpoint is also a minimizer because is a convex function. The group penalty is convex, while the squared Euclidean norm is strictly convex in the fitted value. If , strict convexity would make the midpoint objective strictly smaller than the minimum. Hence , so the fitted values are unique.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 224 1 b Solution Created 2026-09-24 Updated 2026-09-25
Let and put and . For each alphabet symbol , apply the log-sum inequality to , and the corresponding values. Summing over giveswhich is joint convexity in .
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 326 1 b Solution Created 2026-09-24 Updated 2026-09-25
An element is a -minimizing solution whenIt satisfies the source condition in variational regularization when there is a such thatwhere is the subdifferential of the convex functional .
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 201 2 a Solution Created 2026-09-24 Updated 2026-10-03
For an integrable real random variable , its cumulant-generating function is the extended-real convex functionwhere if the exponential moment diverges. Its Legendre transform of a cumulant-generating function is
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.
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.
We prove the symmetric derivative criterion for monotonicity using an antiderivative. Fix and defineThe fundamental theorem of calculus gives because is continuous. For each interior ,Since , the definition of symmetric derivative gives such that for . Therefore, for ,
We next show that is a convex function. On any closed interval let be the affine function joining to . If were positive anywhere, the extreme value theorem would give a positive maximum at an interior point . For every sufficiently small , that maximum would implyThe affine function contributes zero to this symmetric difference, contradicting the strict positive inequality above. Thus on every such interval, exactly convexity.
For a differentiable convex function, secant slopes bound endpoint derivatives. Explicitly, the chord inequality at and at , followed by , givesSo is nondecreasing. If for some , monotonicity would make constant on , forcing for , a contradiction. Consequently : is strictly increasing. This proof requires no continuity of and never applies the ordinary mean value theorem to a merely symmetrically differentiable function.
Because all variables are positive, the product constraint is equivalent to . The Lagrange multiplier equations forare . Thus every equals , and the constraint requires . The candidate minimum is thereforeFor a global justification, put . The objective becomes the strictly convex function on the affine constraint . A stationary point of this restricted convex function is its unique global minimum, establishing the claim without presupposing the desired inequality.
Finally take and divide the minimum bound by . This is the arithmetic-geometric mean inequality:with equality exactly when all the positive variables are equal.
For the ideal guaranteed-delay model, the total untreated yearly input at operating days isSince the discharge is a decreasing function of the residence time, the minimum is obtained at equality:This is half-lives and corresponds to L of carbon-dioxide-equivalent delay volume. The three-hour choice provides margin; operating every day instead would require at least minutes under the same assumptions.
This minimum is conditional on a guaranteed residence time. More generally the surviving fraction iswhere is the residence time distribution. Because the exponential function is convex function, a spread of transit times gives more surviving radioactive activity than plug flow at the same mean time. A perfectly mixed continuously flowing vessel has a steady-state survival fraction , not . Thus no unique minimum tank filling time follows without specifying the filling, retention and emptying schedule. The boxed minimum applies to the explicitly specified delay system, and must not be represented as approval of an unspecified tank.
Compact support of a measure gives finite second absolute moments for both probability measures. Since the source satisfies absolute continuity of measures with respect to Lebesgue measure, Brenier's theorem identifies the quadratic Kantorovich optimal transport problem with the Monge optimal transport problem:Here is the pushforward measure. The optimal transport plan is unique and equals . The optimal transport map is unique up to a -null set, withThe gradient of this convex function is c-cyclically monotone for on a full-measure set. In particular, summing the two supporting inequalities for the convex function gives wherever both gradients exist. No regularity of the target beyond the stated probability measure assumptions is needed.
Write , with . Applying polar coordinates and Fubini's theorem gives, for bounded nonnegative measurable ,Also by absolute continuity of measures. Extending by zero on the negative half-line proves
Both radial pushforward measures have compact support of a measure, so Brenier's theorem on the line supplies a unique optimal transport plan and a transport map , unique -almost everywhere, withIn one dimension, the gradient of a convex function is a nondecreasing function. Nonnegativity holds -almost everywhere because is carried by . To choose a nonnegative, nondecreasing representative everywhere, let be the radial cumulative distribution functions and use the monotone rearrangementAt set , and at use the largest point of the support of a measure . These choices preserve monotonicity and boundedness. Since is continuous, has the uniform distribution on when has law , and the quantile function sends this uniform distribution to . Thus this representative has the required pushforward measure, even if the target has atoms.
Choose the bounded, nonnegative nondecreasing function from part (d), and defineThe function is convex and nondecreasing. For , the triangle inequality, monotonicity, and convexity giveHence is a convex function. By the gradient of a radial function formula and the fundamental theorem of calculus,for whenever . A monotone function has at most countably many discontinuities, so part (d) makes the exceptional radii -null. The origin is also -null. Define ; thus -almost everywhere.
For every in the orthogonal group, , including at zero. Consequently is invariant under the orthogonal group. Moreover away from the null origin, and composition of pushforward measures givesPart (c) therefore gives . The Knott–Smith optimality criterion makes a transport map given by a convex function's gradient optimal for the quadratic transport cost. Uniqueness from Brenier's theorem yieldsSince directions agree, this also identifies the optimal value:
Use an independent copy of under the product measure . Write , , andSince the pushforward measure of under is , the interaction energy isTwo applications of the chain rule giveThe factor is retained. This classical identity requires differentiation under the integral sign to be justified, just as in part (b). Bounded Hessian matrix of is sufficient, since is integrable; compactly supported endpoints are another sufficient case. The printed quadratic-growth condition alone does not provide this domination.
The failure can occur for the interaction energy too. Take the even interaction potential and replace the endpoint probability measures in part (b) by and . Keep the origin fixed and translate every other atom by one. This coupling is increasing on the line, hence is optimal: its assigned values extend to a nondecreasing transport map, which is the gradient of a convex function. Differences between translated atoms remain integers, so their mutual interaction vanishes. Only interactions with the origin contribute, giving , with from part (b). It therefore also lacks a finite classical second derivative at .
Past exam of the optimisation for data science course of the University of Oxford 2023 1 d Solution 2026-10-25
Fix , and write and . The supplied subgradient relation gives with . The evaluation point in is , whereas is a subgradient at the new point .
Apply the subgradient inequality at , with comparison point :The descent lemma for the -Lipschitz gradient of givesAdding these estimates proves the stronger, explicit inequalityIn particular, the objective function decreases for whenever the proximal gradient mapping is nonzero.
To justify the requested big O notation, we must check that , which depends on , stays bounded. Suppose is nonempty, and choose a fixed in this subdifferential. This holds for a finite-valued convex function on , including both norms in parts (a) and (b). By monotonicity of a convex subdifferential,Substituting and , and then using the Cauchy-Schwarz inequality, yieldsThus , uniformly in . This local boundedness of the proximal gradient mapping makes the remainder at most , soNo differentiability of is needed. If an proper extended-real function is allowed as the regularization term, the subdifferential condition at is a qualification for this uniform remainder; the preceding explicit descent inequality remains the useful statement whenever its quantities are finite.
Past exam of the optimisation for data science course of the University of Oxford 2023 2 e Solution 2026-10-25
Condition on , and set , and . Since the sampled index is independent of and has the discrete uniform distribution, is an unbiased stochastic gradient:Write . Expanding and using the zero conditional mean of proves the stochastic gradient second-moment identityThe stochastic gradient descent update is . Expanding the squared Euclidean distance and using the preceding identities givesThe subgradient inequality for the differentiable convex function gives . Combining this with (3),Removing the temporary notation for the conditioning point yieldsThe noise contributes twice in this argument: once in the supplied bound (3), and once in converting the expected squared step into the squared gradient. Each contribution is at most .
Past exam of the optimisation for data science course of the University of Oxford 2023 2 f Solution 2026-10-25
The printed distance needs a square. The native PDF, paper page 3, prints in the final bound, but the general conclusion from (5) contains . We first prove the corrected statement and then show that the printed version can fail.
Take the expectation in (5), use the tower property, and sum over . The squared Euclidean distances form a telescoping sum:Discard the final nonnegative squared Euclidean distance. The smallest of numbers is at most their arithmetic mean, soThis is an bound above the stochastic gradient noise floor for the best expected objective function value. By Jensen's inequality, it also bounds for the averaged iterate , because is a convex function.
To test the printed version, take one component function, , with , and . This convex quadratic function has , hence it has a -Lipschitz gradient. The stochastic gradient descent update is deterministic, its conditional variance is zero, and the assumed positive bound is valid. At , the new iterate is , soThus the printed inequality is false under its stated assumptions. The squared Euclidean distance in the corrected bound resolves the defect.
Past exam of the optimisation for data science course of the University of Oxford 2023 3 b Solution 2026-10-25
The subgradient inequality for the differentiable convex function givesThus is a global minimizer of with value zero. Subtracting an affine function preserves convexity.
We must also justify using part (a) for , since its partial derivative can differ from that of . First show that condition (6) for a singleton block implies the full coordinate Lipschitz continuity estimateIf , choose in (6). If it is zero but , apply the same argument starting at and reverse the displacement. If both partial derivatives are zero, the estimate is immediate. The availability of all real in (6) justifies these choices.
Now , so differences of this partial derivative along coordinate lines are unchanged. Hence has the same coordinate Lipschitz continuity constant and satisfies the singleton version of (6). Apply part (a) to with step size :Combining with its already established nonnegativity provesThe coordinate estimate survives subtraction of the supporting affine function. This is the step that allows the arbitrary comparison point to be exploited in part (c).
The De la Vallée-Poussin criterion characterizes uniform integrability by existence of a nonnegative increasing convex function with and a uniform bound on . On a finite interval this gives a weakly convergent subsequence in by the Dunford-Pettis theorem.
After discarding a finite prefix of the minimizing sequence if needed, put . Its derivative sequence has . The superlinear bound directly gives uniform integrability: for outside ,If the convex version of the criterion is used, choose increasing so for , and set . This is locally a finite sum, convex and increasing. It is superlinear because for fixed and , . If exactly terms are active, for , so its integrals have the same bound. The criterion therefore supplies in .
Define . Interval-indicator tests give for every , including , so its endpoint values are correct and . The common derivative bound makes these functions uniformly bounded. Uniform integrability also gives common equicontinuity, since an increment is bounded by the derivative integral on the intervening interval. The Arzelà-Ascoli theorem yields uniform convergence to the same identified limit, and in particularHere the printed admissible space is , so this compactness argument gives precisely the needed membership.
We first establish the lower truncation identity as well. The pair has the same hypotheses as , because conditional expectation is linear and negation preserves equality of probability distributions. Apply part (ii) to this pair and multiply by to getFor every real ,Using this identity, part (ii), the lower truncation identity, and linearity of conditional expectation givesIn particular the argument does not assume that a function obtained by scalar clipping is a convex function or a concave function.
Write . The bounded random variables and have the same probability distribution, and the displayed identity identifies the latter as the conditional expectation of the former. They are square-integrable, so part (i) gives almost surely. Take and discard the countable union of exceptional null sets. At every remaining outcome, let to obtainThus conditional expectation preserving a distribution forces equality even when only integrability is assumed.