Baillon–Haddad theorem 2026-10-06
On the whole Euclidean space, an -Lipschitz gradient of a convex function is -cocoercive. Subtract the supporting affine function at one point, apply the descent lemma to a gradient step at the other point, then interchange the points and add. The conclusion needs convexity but no second derivative.
Descent lemma 2026-10-06
A differentiable function with an -Lipschitz gradient obeys . Integrate the gradient along the line segment and bound the deviation from its initial value. The lemma does not require convexity.
For , where is convex with an -Lipschitz gradient and is convex, use a proximal -step for the full section and an explicit -step for . Monotonicity of the two selected subgradients of combines with cocoercivity of to make the full update firmly nonexpansive for . Existence of a minimizer then gives convergence, even though the full objective is not smooth.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 325 1 iv Solution Created 2026-10-03 Updated 2026-10-06
For the Euclidean norm, rotational symmetry and minimizing the radial objective give the radial soft thresholding formulaIndeed, if , an optimal is a nonnegative scalar multiple of ; minimizing over gives . The gradient of a Moreau envelope is consequentlyAt this is , and the two expressions agree when . The Moreau envelope of the Euclidean norm itself isThus a quadratic core replaces the nondifferentiable tip while the outer gradient remains the normalized radial direction. The Euclidean norm has an unbounded effective domain, unlike the earlier bounded-domain hypothesis; the preceding argument explicitly shows that this restriction is unnecessary here.
The absolute value and its Moreau envelope with tau equal to one, together with the continuous clipped gradient replacing the jump at the origin
. For convex optimization, this Moreau–Yosida regularisation permits gradient descent and other methods for functions with a Lipschitz gradient, using a gradient Lipschitz constant . It approximates the norm uniformly: . Smaller improves approximation but makes the permitted gradient steps smaller. Minimizing alone preserves the minimizers and minimum value of ; replacing one term in a larger objective can shift the minimizer, so the smoothing parameter controls that approximation error.
Past exam of the mathematics course of the University of Cambridge 2016 iii Paper 325 2 iv Solution Created 2026-10-03 Updated 2026-10-06
Here -smooth means that is differentiable on the entire Euclidean space and has an -Lipschitz gradient, with . Together with convexity, this implies -cocoercivity:First, integration of the Lipschitz gradient along a line segment proves the descent lemma:Indeed, subtract the linear term and integrate for ; its absolute value is at most .
Fix and define . This is a convex function, has the same Lipschitz gradient constant, and , so is a global minimizer. Put . The descent lemma at with givesThereforeInterchange and add the inequalities. The function values cancel, leaving the asserted cocoercivity. This is a proof of the Baillon–Haddad theorem without assuming a second derivative. Convexity is essential: has a -Lipschitz gradient but its gradient is not cocoercive.
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 2 v Solution Created 2026-10-03 Updated 2026-10-06
Assume , as is necessary for convergence to a minimizer. The printed hypotheses alone omit this condition: in scalar is convex with an -Lipschitz gradient for any prescribed , but has no minimizer, and the update sends to .
Under existence, define the full update . The proximal -step is uniquely defined by strong convexity of its quadratic term and satisfiesThe partial subdifferential in this equation belongs to the scalar function ; differentiating a subdifferential itself would not define the printed proximal minimization.
We prove directly that the alternating proximal-gradient operator is averaged. For two inputs and , setThe input difference is , the output difference is , and the difference of the two update residuals is . Exact expansion givesThe first inequality uses cocoercivity at the mixed points . Therefore is -averaged for the requested . In particular, the endpoint is covered: is firmly nonexpansive, not merely nonexpansive.
A fixed point has and , so the two optimality equations give and . Conversely, at a minimizer both gradients vanish and neither step moves. By convexity,The assumed existence of a minimizer supplies a fixed point. The Browder convergence theorem for averaged operators now givesNo uniqueness of the minimizer is needed. The same estimate even proves averagedness for in this smooth setting, but the requested interval already suffices. The existence condition and the use of the gradient at are both essential to the proof as presented.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 340 5 c Solution Created 2026-10-03 Updated 2026-10-05
For a differentiable convex function with -Lipschitz gradient and a proper lower-semicontinuous convex function , the proximal gradient method isThe proximal operator is . To obtain an explicit iteration for discrete isotropic total variation, let with the printed zero boundary differences andThe dual is minimization of over , and the primal minimizer is . Here must be the exact adjoint operator of these differences. For example,with the analogous formula in for ; for both operators are zero. Equivalently use in the backward-difference expression, ignoring unused edge components.
The gradient of the dual objective is , with Lipschitz constant . Taking to be the indicator functional of a constraint set makes its proximal operator the Euclidean projection onto a convex set. Thus a valid explicit algorithm isThe bound follows by summing over grid differences. Finite-dimensional proximal gradient method convergence gives a dual minimizer and convergence of the recovered to the unique primal minimizer. Projection is pointwise in the dual; applying pointwise soft thresholding directly to would not compute the primal TV proximal operator.
Past exam of the mathematics course of the University of Cambridge 2022 ib Paper 1 7H Solution Created 2026-09-23 Updated 2026-09-25
Starting from , gradient descent repeatedly computes the gradient and updatesstopping when the gradient norm, step, or objective decrease is sufficiently small.
The Hessian bounds say that is -strongly convex and has -smooth gradient. With ,Thus the iteration count isconvergence becomes slower linearly with the condition number .
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 339 1 d Solution 2026-09-28
Define the softmax weightsThey obey and . The gradient is their weighted mean,Differentiating once more gives the covariance-form Hessian matrixFor every unit vector ,where . The Hessian is a covariance matrix, so it is positive semidefinite; the displayed upper bound also gives in the Loewner order. Consequently has a Lipschitz gradient with
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 339 1 e Solution 2026-09-28
Chooseso the smooth maximum error is at most and the Lipschitz gradient constant isSuppose a minimizer of lies within distance of the starting point. The Nesterov accelerated gradient method can find such thatiniterations. If minimizes , then the smoothing inequalities implyThis improves the nonsmooth subgradient method dependence from to .
Smooth maximum 2026-09-28
Composing the log-sum-exp function with finitely many affine functions gives a differentiable approximation to their pointwise maximum. Increasing the inverse-temperature parameter reduces the uniform approximation error while increasing the Lipschitz gradient constant.
