Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 205 5 Solution Created 2026-10-03 Updated 2026-10-05
For and labels , with squared-norm penalty normalized as , the kernel soft-margin support vector machine solvesHere is the hinge loss building block, and is column of the symmetric kernel matrix. The prediction iswith a fixed class choice, for example , when the score is zero. Other positive rescalings of the penalty change numerical coefficients in the optimality equation but not the zero-coefficient conclusion.
For a finite convex function , its subdifferential at isFor , affine composition preserves the defining convexity inequality: for ,If , the subgradient inequality gives , proving .
Conversely, let and first suppose . For every , the function is constant along . Applying the subgradient inequality for both signs of shows . Thus is in the span of , or with . Substituting gives for every real . Hence . If , is constant and ; since finite convex on all of has a nonempty subdifferential at , as well. This handles the case in which the suggested orthogonal projection would be undefined. ThereforeThis proves the subdifferential under scalar affine composition identity with all its degenerate cases.
Let be a fitted support-vector-machine margin. The subdifferential of the hinge loss yields choicesApplying the affine-composition identity and the subdifferential sum rule to the convex objective, its optimum satisfiesThe second equation is the intercept condition. Since is invertible, multiplying the first by gives the kernel support-vector coefficient from hinge activity formulaIn particular Invertibility is needed for this statement about the chosen coefficients: for with two positive labels, and give zero objective and both margins equal to two, while both coefficients are nonzero. A singular kernel matrix allows coefficient changes in the null space without changing the fitted function.
At prediction time, the sum can omit all zero coefficients, requiring only the number of evaluations of the positive-definite kernel corresponding to retained support vectors rather than all . This need not remove the cost of forming or solving with a dense training kernel matrix. Every misclassified point has , including a score-zero tie assigned to the opposite class, so and . Thus many classification errors imply many active support vectors and little prediction-time sparsity benefit. Correctly classified points inside the unit margin can also have nonzero coefficients; a point exactly on the margin need not have a nonzero coefficient.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 326 3 4 Solution 2026-10-06
On a real Hilbert space, for a proper lower-semicontinuous convex function , the proximal operator isThe quadratic makes this objective strongly convex and coercive; the affine lower bound available for a proper closed convex function and weak lower semicontinuity give existence. The minimizer is unique. The subdifferential optimality condition isFor a positive parameter , uses in the same formula. On a general Banach space, the analogous norm-squared minimization is Banach-space proximal minimization; it can be set-valued and the identity-valued Hilbert derivative must be replaced by the duality mapping.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 326 3 6 Solution 2026-10-06
By the definition of the subdifferential, meansRearrangement bounds by , and equality is attained at . Taking the supremum in the definition of the convex conjugate gives . Conversely this equality bounds every member of that supremum and rearranges to the subgradient inequality. ThereforeApply the same argument to and use the Fenchel-Moreau theorem . With the canonical Hilbert identification of the bidual, the equality is also equivalent to . This proves subgradient inversion under convex conjugacy:The conditions include finiteness at the points in question; expressions involving are not subgradients merely by formal subtraction.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 326 4 1 Solution Created 2026-10-03 Updated 2026-10-06
For a convex functional on a real Banach space, its subdifferential at is empty unless is finite; otherwiseGiven , the Bregman distance isIt can be infinite if is infinite. If is differentiable at , the choice is its derivative; otherwise the base subgradient must be specified. Given also , add both directional distances to obtain the symmetric Bregman distanceThe symmetric version here is the sum, not half the sum. These nonnegative quantities are not generally metrics and can vanish at distinct points.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 326 4 3 Solution Created 2026-10-03 Updated 2026-10-06
Because , a finite sum implies . Thus the printed weighted one-norm on l2 equals the extended nonnegative sum on every . Unbounded weights may make that sum infinite for some ; membership in alone is not a finiteness assertion.
For each , is continuous in the l2 sequence space, and . If in norm, then for every ,Taking the supremum over provesIt is also weakly lower semicontinuous by the same finite-coordinate argument, and convex and proper because zero and finite sequences have finite penalty.
At a finite-penalty base point , coordinate variations give the subdifferential of a weighted one-norm on l2:These conditions are sufficient by summing the coordinate supporting inequalities. Since , an infinitely supported would require infinitely many , contradicting . Thus a finite-penalty point can have empty subdifferential; a Bregman base with an actual subgradient must be finitely supported.
For any such , and the Bregman distance simplifies toEach summand is nonnegative; the sum may be infinite. The pairing converges by Cauchy-Schwarz inequality. This definition does not silently assume a subgradient exists at every .
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 340 4 c Solution Created 2026-10-03 Updated 2026-10-06
Work in the real Hilbert space , with and . The penalty is a proper convex function: it is finite at zero, and the bounded-variation space domain is convex. Its subdifferential at a finite-penalty consists of satisfying for every .
Conversely, let be a minimizer. Its penalty is finite since comparison with zero gives a finite objective. For any with , set , where . Convexity gives . Minimality and quadratic expansion then implyLetting yields . The inequality is automatic if . HenceThis also follows from the subdifferential sum rule, since the quadratic term is everywhere continuous and differentiable, and the subgradient optimality condition. The direct proof above needs no unproved existence theorem.
On the entire plane, the printed global BV domain is not closed in the L2 geometry. The usual definition includes an condition. For , belongs to , has finite distributional variation , and fails to belong to . The truncated lies in and tends to in . Its variation is the interior variation plus , and tends to a finite limit. Thus stays bounded but the literal , establishing failure of L2 closure of the global BV domain. One must not infer universal minimizer existence from an inapplicable closed-penalty proximal operator theorem. The standard closed extension uses the homogeneous bounded-variation space, allowing finite distributional variation without global . The optimality equivalence just proved is valid for the literal penalty whenever a minimizer exists; the next datum has an explicit certified minimizer in its domain.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 205 4 Solution Created 2026-10-03 Updated 2026-10-05
For a convex function , its subdifferential at is the set of supporting slopesThe subgradient optimality condition isIndeed, the defining inequality with is exactly the global minimum inequality. For the subdifferential of the L1 norm, the coordinates vary independently:
Let . The Karush-Kuhn-Tucker conditions for Lasso give a vector such that . If , the unsquared residual norm is differentiable at this fit, with gradientUsing the subdifferential sum rule, choose to obtainConvexity now proves the tuning relation between Lasso and square-root Lasso:The positive residual assumption is needed both for this gradient and for the quotient defining the tuning parameter.
For the final score calculation, use the usual fixed-design interpretation of the normal linear model: regard and the tuning parameter in the regression of as fixed, and choose that regression's minimizer using only those inputs. Its nonzero residual then has the Square-root Lasso optimality conditionExpanding the response residual givesSince is a fixed unit vector and , a linear image of a multivariate normal vector gives . Finally, Holder inequality and the residual score bound yieldThis is the residual-score decomposition from square-root Lasso. The normality statement also holds conditionally on a design independent of the noise. If were chosen from the response noise, for example through the preceding formula, the direction would require a separate independence argument; the final calculation treats as fixed.
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 348 4 a Solution Created 2026-10-03 Updated 2026-10-05
For probability measures on with finite second moments, the Knott–Smith optimality criterion states that a transport plan minimizes the quadratic cost if and only if there is a proper convex function that is sequentially lower semicontinuous and satisfiesThe subdifferential is characterized bywith . Thus the transport plan is concentrated on the graph of the subdifferential. No absolute continuity of measures assumption on is needed. Multiplying the cost by leaves the criterion unchanged. The original quadratic optimal mapping result is Knott and Smith, On the optimal mapping of distributions.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 326 2 2 Solution Created 2026-09-29 Updated 2026-10-03
A -minimizing solution is an exact solution satisfyingThe source condition in variational regularization says that some satisfieswhere is the subdifferential.
Fix . The subgradient optimality condition forat isIf the source condition holds, choose . Since , the displayed inclusion holds. Because the objective is a convex function, this condition is necessary and sufficient for global minimality.
Conversely, if the stated range condition holds for some , optimality supplies withThus , which is precisely the source condition. This proves the equivalence.
Past exam of the mathematics course of the University of Cambridge 2021 ii Paper 2 31J a Solution Created 2026-09-24 Updated 2026-09-25
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 1 a Solution 2026-09-28
A vector is a subgradient of the convex function at whenfor every . The set of all such vectors is the subdifferential . The proximal operator satisfiesMore generally, exactly when .
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 339 3 a Solution 2026-09-28
A map is a firmly nonexpansive mapping whenfor all . Put and . Then and . Monotonicity of the subdifferential giveswhich rearranges to
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 205 6 Solution 2026-09-28
With the convention matching the constants below, the Lasso estimator is any minimizerBecause , the centered noise has the same score as : . Each is sub-Gaussian with scale , soFor , a union bound over the columns yieldsCall this event .
The Karush-Kuhn-Tucker conditions for the Lasso say that there is such thatEquivalently, belongs to the subdifferential of the norm at .
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 205 2 b Solution Created 2026-09-24 Updated 2026-09-25
The differential of the log-determinant is . The subdifferential of the entrywise norm consists of symmetric matrices withThe Karush-Kuhn-Tucker conditions for the Graphical Lasso are thereforeBecause is strictly convex on the positive-definite matrices, these conditions characterize the unique minimizer whenever it exists.
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 1 d Solution 2026-09-28
Write for row of , and define affine functionsThenThe pointwise maximum of convex functions is convex, so is a convex function. Moreover,so has Lipschitz continuity. The simpler bound is also valid.
Let be the active set. The subdifferential isthe convex hull of all active slopes. In particular, choosing any active index gives the subgradientAt a tie, every convex combination of the tied slopes is also valid.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 205 1 a Solution Created 2026-09-24 Updated 2026-09-25
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 .