A nonzero satisfying this relation, with , generalizes the eigenfunction of an absolutely one-homogeneous functional to the quadratic geometry induced by the forward map. Pairing with yields . With unit data norm it is a generalized singular vector. If , and the exact data are , the vector minimizes the quadratic variational regularization objective. Substitute its raywise subgradient into the subgradient optimality condition. Every minimizing branch has the same predicted data, and injectivity of gives equality of vectors. The Bregman distance along this ray is zero even though the reconstruction is shrunk. For nonnegative the branch continues as ; nonnegativity supplies for the threshold argument.
Karush-Kuhn-Tucker conditions for the Lasso 2026-10-06
For the Lasso criterion , the displayed subgradient optimality condition is necessary and sufficient. A nonzero coefficient has residual score , and a zero coefficient has residual score in . The subdifferential of the L1 norm supplies both cases.
Normal-operator source condition 2026-10-06
This stronger source condition in variational regularization requires a subgradient at . For each it is equivalent to making minimize for artificial input . The subgradient optimality condition proves both implications. The source vector may be zero: and satisfy the condition but admit no nonzero source vector.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 62 4 a Solution Created 2026-10-03 Updated 2026-10-07
The forward subgradient step and backward subgradient step are the set-valued mapsThus means . They are respectively the explicit and implicit time discretizations of subgradient flow . At a differentiable point the forward update is , while the backward update evaluates the gradient at the new point. For proper closed convex data the latter is the proximal operator
To prove at most one output, suppose . Then and . The two subgradient inequalities imply monotonicity of a convex subdifferential, givingSince , . Convexity supplies this monotonicity; lower semicontinuity is not needed for this at-most-one argument.
Under the full printed assumptions the output actually exists at every . Properness ensures a finite point and excludes . Proper lower-semicontinuous convex has an affine minorant, so the quadratic proximal objective is coercive. Lower semicontinuity makes its minimum attained on a compact sublevel set. Convexity and the positive quadratic curvature make it strongly convex, hence its minimizer is unique. The subgradient optimality condition, with the differentiable quadratic term, is exactly . ThusThis also identifies precisely which assumptions provide existence, uniqueness and the update's optimality interpretation.
Past exam of the mathematics course of the University of Cambridge 2015 iii Paper 32 1 Solution Created 2026-10-03 Updated 2026-10-06
With the centred data, no intercept is needed. Use the Lasso normalizationWrite and . The KKT conditions areIndeed, the subdifferential of the L1 norm consists of vectors with at nonzero coordinates and at zero coordinates. The subgradient optimality condition is . convexity makes these conditions sufficient as well as necessary. These are the Karush-Kuhn-Tucker conditions for the Lasso.
Here is a correlation-parameter version of least angle regression. Put , a Gram matrix, and initialize , , .
- Compute . For , keep . If , stop: all regression residual correlations already vanish. Otherwise add the uniquely maximizing variable to obtain .
- At step , put , , , and . These active signs have entries in . Solve , set , and follow the segment
- For each inactive variable set . Along the segment its correlation is , where . Its candidate hitting distances areDiscard undefined or nonpositive candidates. Choose the smallest remaining distance below , if one exists, and otherwise choose . Set . If , add the unique variable achieving the hit to form and repeat; if , stop.
The two hitting formulas come from . This is LAR hitting time. Active variables are not dropped if a coefficient crosses zero: that is the distinction between this algorithm and the modified Lasso path algorithm.
The active Gram matrix is an invertible matrix under the assumed unique positive hits. Inductively, a candidate column in the span of the current active columns would have equal to a fixed linear combination of their correlations, hence proportional to on the whole segment. Its ratio could not first reach one at a positive interior knot. Thus every uniquely entering column adds a new independent direction. This also allows more predictors than observations; the algorithm stops before a dependent direction needs to be added at zero correlation.
We now prove the requested invariant. At the first positive knot the newly active correlation has magnitude . At a later knot the old active correlations have that knot's magnitude by induction, and the entering correlation has the same magnitude by the hitting rule. Throughout the next segment,The first-hitting rule also ensures for every inactive . If no positive hit remains, this inequality continues to zero, where all correlations vanish. Consequently, on every printed closed segment,This is the LAR active correlation invariant.
If active nonzero coefficients have the same signs as their residual correlations, the active equalities are precisely the nonzero-coordinate Lasso KKT conditions. An active coefficient which is zero also satisfies the zero-coordinate KKT conditions, because its correlation is within . Inactive coefficients are zero and satisfy those same inequalities by construction. Thus every point of the least angle regression path is a Lasso minimizer for . Under the stated uniqueness assumption,This proves the desired implication, in fact under the weaker sign compatibility of LAR and Lasso condition requiring agreement only at nonzero coefficients.
There is an endpoint convention in the printed sufficient condition. With the standard , a newly entering coefficient is zero at a positive knot although its correlation is ; the displayed sign equality therefore cannot literally hold there. At the final zero knot the correlation signs are zero as well. Interpret sign compatibility on positive open segments, or in the nonzero-coefficient/subgradient sense just proved. The KKT conditions already handle zero coefficients at knots, and no equality of solution paths at is needed for the requested conclusion.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 205 3 Solution Created 2026-10-03 Updated 2026-10-06
Fix the normalizationThe Lasso penalty uses the L1 norm. All arguments below apply to every minimizer; uniqueness of the coefficient vector is not assumed.
The Karush-Kuhn-Tucker conditions are the subgradient optimality conditionThese conditions are necessary and sufficient because the objective is a convex function. They use the subgradient of the absolute value, coordinate by coordinate.
Put . Centered columns imply , so the subtraction of in the model contributes nothing to the score. The Karush-Kuhn-Tucker conditions becomeMultiply by . Since and , this gives the prediction inequality from Lasso stationarity:This is the desired version of the Basic inequality for the Lasso. Using stationarity directly preserves the coefficient on the squared prediction norm.
For the Gaussian score event for the Lasso, write for column . The assumed Euclidean norm and the multivariate normal distribution of giveThe may be correlated, which does not affect the union bound. Use the following sharp two-sided Gaussian tail bound, valid for with the standard normal distribution and every :For completeness, the difference satisfies , , and as . It first increases and then decreases to zero, so it is nonnegative. This bound avoids introducing an unnecessary factor two.
Here is the standard normal distribution function. With , the union bound yieldsConsequentlyThe score event uses the supremum norm of ; the centering term still vanishes because .
We next work deterministically on . LetBy Holder inequality, . Since , the triangle inequality givesSubstituting both inequalities into the Basic inequality for the Lasso producesBecause , this also proves the relevant Lasso cone condition, . The assumed Compatibility condition for the Lasso therefore applies to :Set . Combining these inequalities givesIf , discarding the nonnegative term shows . If , compatibility gives , and the preceding inequality then gives . In either case , soThis is a fast prediction bound and an inactive-coordinate error bound on the same event. It is the fast-rate Lasso prediction bound under compatibility.
Finally, the same argument bounds the active-coordinate L1 norm byIf , then , and . When this implies ; when it implies . Thus the sign function obeysThis is Lasso sign recovery under compatibility. It concerns the sufficiently large nonzero coefficients; it does not assert that every estimated inactive coefficient is zero.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 205 4 Solution Created 2026-10-03 Updated 2026-10-06
Write for a positive-definite matrix. Up to a constant independent of the parameters, the log-likelihood of the multivariate normal distribution isThe identityshows that, for each , the unique optimizing mean is . Using the matrix trace to rewrite the first quadratic sum, the profile likelihood isTherefore maximum likelihood estimation of the precision matrix, whenever the maximum exists, is exactlyThis is the profile likelihood for a Gaussian precision matrix. The sample covariance matrix here uses divisor , as appropriate for maximum likelihood estimation.
There is an important rank qualification in the printed assumptions. If , differentiation gives , so the unique minimizer is . Uniqueness follows because the negative log-determinant is a strictly convex function on the positive-definite matrices. But full column rank of the uncentered alone does not imply : the rank of a centered sample covariance matrix depends on the centered design. For example, with and raw data matrix ,Although has full column rank, setting gives objective . Thus an unpenalized maximizer need not exist under the literal raw-rank assumption. The likelihood reduction remains valid; existence requires full column rank of the centered data, equivalently . For the nonsingular Gaussian model this holds almost surely when .
Use the entrywise-penalty convention for the Graphical Lasso:The sum is the entrywise matrix L1 norm. Its Graphical-Lasso Karush-Kuhn-Tucker conditions areHere is symmetric; its nonzero-entry values are , and its zero-entry values are any numbers in . These are the subgradient optimality condition for this convex optimization problem. Since a positive-definite matrix has positive diagonal, and . Counting both off-diagonal entries in the penalty and in the trace makes the same appear in their stationarity equations. The common variant penalizing only off-diagonal entries instead sets ; the off-diagonal equations and the column argument below are unchanged.
For the given column problem, abbreviateIts smooth part expands to plus a constant, because is symmetric and . The matrix is a positive-definite matrix, so this quadratic is a strictly convex function. Adding the convex L1 norm penalty preserves strict convexity, and the objective tends to infinity as . The minimizer exists and is unique. Its Karush-Kuhn-Tucker conditions are
We identify that minimizer directly from the precision matrix. Write and defineThe denominator is positive. The off-diagonal part of column of givesOn the other hand, the off-diagonal Graphical-Lasso Karush-Kuhn-Tucker conditions readBecause , the coordinates of have the opposite signs from those of and vanish at exactly the same positions. The subgradient of the absolute value therefore satisfiesIt follows thatThese are exactly the Lasso column problem's Karush-Kuhn-Tucker conditions. Its unique minimizer must be , yieldingThis is the Graphical Lasso column regression identity. The minus sign is essential: it converts the precision-entry subgradient into the regression-coefficient subgradient. The argument uses the inverse identity directly, so it does not require proving the supplied block inverse formula.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 325 1 iii Solution Created 2026-10-03 Updated 2026-10-06
Use the conventionThis proximal map is also the resolvent of a monotone operator . A proper lower semicontinuous convex function has an affine minorant, so the quadratic term makes this minimization coercive and strongly convex. A unique minimizer exists for every . Its subgradient optimality condition isThe Moreau–Yosida regularisation is . The conjugate of an infimal convolution and the quadratic conjugate giveThe factor here is essential. Apply subgradient inversion under convex conjugacy, followed by the subdifferential sum rule with the everywhere differentiable quadratic:The last equivalence is precisely the unique proximal minimization condition. ThusThis proves both existence and uniqueness of the subgradient, rather than only identifying a possible element. The finite convex function is therefore differentiable, with , the gradient of a Moreau envelope.
For completeness, monotonicity of applied to the two proximal conditions givesHence is firmly nonexpansive. Expanding the same inequality shows that is firmly nonexpansive too. In particular, is -Lipschitz continuous. None of this requires a bounded effective domain; the result applies to the next example as well.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 325 2 vi Solution Created 2026-10-03 Updated 2026-10-06
Set . Completing the square in the -minimization givesThus, with , the steps in terms of the proximal map of areThe factor comes from the squared residual without a prefactor. The proximal map can equivalently be denoted . Since is a finite convex function, it is continuous, and the quadratic makes the proximal minimizer unique.
A general convex may be nondifferentiable, so this last example need not satisfy the full -smooth hypothesis of the preceding part. The formulas nevertheless remain well-defined: only the derivative is used explicitly. If has an -Lipschitz gradient, one may take in the smooth proof, where is the operator norm.
There is also a useful nonsmooth extension. Put , whose Lipschitz gradient constant is . For two updates, retain the mixed-point differences above, let , and let be the difference of the two selected subgradients of at . The input difference is and the output difference is . Monotonicity of gives . The same norm expansion now yieldsFor , discard the nonpositive term and use . The result is the firmly nonexpansive mapping inequality for the full residual . Fixed points satisfy and , exactly the subgradient optimality condition for the convex objective. Thus the stated algorithm also converges for nonsmooth under this sufficient step bound, provided a minimizer exists; this extension uses monotonicity, not an unavailable gradient of .
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 325 3 iv Solution Created 2026-10-03 Updated 2026-10-14
Yes: the solution map is locally affine, hence has the Aubin property. Keep the regularization parameter fixed and define the active hinge setSince none of the margins vanishes, the optimality condition at the reference data has no fractional weights:For nearby , define the candidateEach map is continuous and is nonzero at . Because there are finitely many samples, all their signs remain unchanged on a common neighborhood of . Therefore the same set is active at for every . The hinge-loss optimality weights are still on and off , and the defining equation for proves the subgradient optimality condition. Strong convexity makes this candidate the unique global minimizer. Consequently the solution map of a parametric optimization problem satisfiesThis argument establishes stability of the active pattern without presupposing continuity of the unknown optimizer; continuity is used only for an explicit candidate and then optimality is checked.
For , the Cauchy-Schwarz inequality givesThis is the Aubin property with . In fact this constant is the exact local Lipschitz continuity modulus of the affine branch, since its derivative isThe active-set dependence of this derivative is the active-set sensitivity of hinge-loss minimization. At a vanishing margin the affine-branch argument no longer applies, although failure of this particular argument does not by itself prove failure of the Aubin property.
For two scalar samples with alpha equal to one and data (s,1), the optimal coefficient follows two locally affine branches separated by a branch pinned to an exact hinge margin
. Details. For the illustration, take , , and with . The hinge-loss optimality weights giveOn the middle branch the first margin is exactly zero, so that branch lies outside the strict-margin hypothesis. The example makes clear why the local affine conclusion is tied to that hypothesis, and also shows that a zero margin need not destroy local Lipschitz stability.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 326 2 iv Solution 2026-10-06
Interpret the normal-operator source condition as the displayed intersection condition: there is with . Fix any and put . The subgradient optimality condition for the artificial-data objective isIt holds because its first term equals . By convexity, this is sufficient for global minimality, proving the forward implication. Conversely, if minimizes that objective, the same optimality condition givesTaking proves the intersection condition. Thus the two conditions are equivalent when the source vector is allowed to be zero.
The printed additional requirement is not equivalent in general. For and , the displayed source condition holds, and choosing makes the minimizer, but forces . A nonzero-source version needs an additional hypothesis, such as requiring ; it cannot be inferred from the printed intersection alone.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 326 2 vi Solution Created 2026-10-03 Updated 2026-10-06
The relevant nonlinear generalized singular vector relation, without imposing unit-data normalization, isThis is a generalized eigenfunction in the forward-operator metric, rather than a distributional generalized eigenfunction of a linear operator. It supplies the normal-operator source condition with . For a convex positively one-homogeneous functional, the subgradient inequality applied at zero and at gives . If , thenAssume the usual positive eigenvalue and . By positive homogeneity,The shifted-comparator Bregman bound therefore yieldsThe vector is itself a minimizer: remains a subgradient along the nonnegative ray, and substitution satisfies the subgradient optimality condition. If is injective, this also proves . Otherwise distinct minimizers can differ in the kernel while sharing the same predicted data.
For a nonnegative convex positively one-homogeneous functional, the branch continues as above the threshold, since there. Nonnegativity is needed for that clipping argument; bare positive homogeneity allows signed linear functionals.
Zero Bregman distance does not imply exact recovery. For , , and , the minimizer is , but . Both points touch the same supporting line, as described by zero Bregman distance and supporting faces.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 326 3 iii Solution Created 2026-10-03 Updated 2026-10-06
For the quadratic case, write and . Since is an orthogonal matrix, the quadratic proximal term becomes . The subgradient optimality condition givesAll , so each diagonal entry is positive, including when . Multiplying by the inverse diagonal matrix givesThe proximal operator of Poisson data fidelity separates pointwise. At each , the scalar optimality equation on isSince , the two roots have opposite signs. Only the positive root is admissible in the logarithm:The negative root is outside the effective domain. The second derivative of the proximal objective is positive, establishing the unique pointwise minimizer. The integral formula is understood on the function spaces where these quantities are admissible.
Finally, for , positive and negative minimizers obey and , respectively. At zero the subdifferential condition is . Combining these cases yields soft thresholding:Thus supplies all three requested closed forms.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 326 3 i Solution Created 2026-10-03 Updated 2026-10-06
For a proper convex function that is lower semicontinuous on a Hilbert space, its proximal operator at scale isThe minimizer is unique because the objective is strongly convex; existence follows from the closed proper convex functional and the coercive quadratic, using an affine lower bound. The subgradient optimality condition is , which is exactly the displayed resolvent of a monotone operator relation. Setting gives the unscaled proximity or resolvent operator requested here. This is a nonlinear resolvent of the subdifferential, distinct from the spectral resolvent of a linear operator.
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 2018 iii Paper 340 5 d Solution Created 2026-10-03 Updated 2026-10-05
Take , with and Lipschitz constant , and . The proximal operator separates over coordinates. Solving the scalar subgradient optimality condition gives soft thresholding . Therefore the iterative soft-thresholding algorithm isHere soft thresholding is applied coordinatewise. The objective is convex and coercive because of its term, so minimizers exist and the proximal gradient method converges to a minimizer. Uniqueness need not hold if has a nontrivial null space. If , the unique minimizer is zero and any positive step size is admissible.
Because and when , part a givesSet . ThenThis is the subgradient optimality condition forThe squared norm is strictly convex, so the objective has at most one minimizer. Henceis its unique minimizer.
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 2022 iii Paper 326 2 c i Solution 2026-09-28
The objective separates by coordinates, so minimizeThe subgradient optimality condition isFor this gives , valid when ; for it gives , valid when . At , the condition is . Therefore the shrinkage operator is the soft-thresholding operator
