Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 205 6 Solution Created 2026-10-03 Updated 2026-10-05
Put . The Debiased Lasso correction isFor the Nodewise Lasso, let . Its Karush-Kuhn-Tucker conditions areso at a nonzero coefficient and at a zero coefficient. Multiplying by gives the nodewise-Lasso residual identityWe require nonzero design columns, a necessary qualification missing from the unrestricted printed formulation. Because , would force both and , and hence . Thus nonzero columns suffice for even when or the full Gram matrix is singular. A zero column instead gives and its coefficient is unidentifiable from ; the proposed normalization and confidence interval do not exist there.
For each , define by and . Set row of to . Since ,This row construction is the nodewise normalization used by van de Geer and coauthors. The matrix need not be symmetric or be an actual inverse.
Substitute the linear model into the correction. The exact decomposition isIn the fixed-design normal linear model, or with and nodewise estimates and tuning chosen from alone, a linear transformation of a multivariate normal distribution gives . Marginal normality of without this conditional assumption would not suffice for a response-dependent random design. No independence between and is asserted. The diagonal cancellation and the Holder inequality give the debiased-Lasso remainder bound
For a coordinate variance, , whenceWriting for the corresponding standard normal quantile, an approximate confidence interval isEquivalently its half-width is . We assume and . For asymptotic coverage, the standardized remainder must have convergence in probability to zero and the coordinate variance must be nondegenerate. Exact conditional normality of alone does not give finite-sample exact coverage for .
One sufficient random-design regime is the Gaussian identity design for debiased Lasso: take independent rows , independently of , fixed , , , andChoose and all for sufficiently large fixed . Here is why this regime has the requested remainder bound. Uniformly over columns, their squared norms divided by tend to one, while all off-diagonal sample cross-correlations have magnitude at most a constant times with probability tending to one. Taking larger makes the zero vector satisfy all nodewise Karush-Kuhn-Tucker conditions strictly, so for every on that event, and eventually. This also gives uniformly.
In this regime, the entrywise entrywise concentration of a Gaussian Gram matrix and Lasso cone condition argument in Gaussian identity design for debiased Lasso gives a Compatibility condition for the Lasso bounded away from zero with probability tending to one. Together with the noise-score event and the Basic inequality for the Lasso, this yields, for a fixed ,For example, the cone inequality and compatibility bound give on their joint event. Therefore, with a fixed ,The stated sparsity condition makes this remainder vanish and supplies the preceding confidence-interval requirement. Both dimensions may grow: and satisfy these assumptions. The concentration and Gaussian-design compatibility results are sufficient standard conditions here; the question does not require their proofs. The displayed rate is a high-probability fixed-constant bound, rather than only a claim of boundedness in probability.
Past exam of the mathematics course of the University of Cambridge 2018 ib Paper 3 21H i Solution Created 2026-09-24 Updated 2026-10-03
The Lagrange sufficiency theorem says that if a feasible point and nonnegative multipliers satisfy complementary slackness and globally maximizes the Lagrangian function in constrained optimization, then globally solves the constrained maximization problem. Indeed, for every feasible , the signs of the constraints give . Concavity and the Karush-Kuhn-Tucker conditions are a common way to verify the global Lagrangian maximum.
For fixed , A maximizessubject to and . This is a concave function of . On every active coordinate, the multiplier equation isThus A's optimal allocation is given by the water-filling algorithm:where is chosen so that . Coordinates with zero expression receive no resource. This is a water-filling algorithm. The formula gives the optimum when every . If , any already gives A the whole market in that region, so A assigns such coordinates arbitrarily small positive amounts and applies water filling to the remaining budget; without a convention for , the resulting value can be a supremum rather than an attained maximum.
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 218 2 b Solution Created 2026-10-03 Updated 2026-10-05
Fix and use the unnormalized sum convention for the penalty. The linear soft-margin support vector machine solvesEliminating the slack variables of a support vector machine gives , where and the maximum is the hinge loss. The classifier uses the sign of and its support-vector-machine decision boundary is .
For clarity about dual support vectors and margin degeneracy, let be the multipliers of the margin constraints. The Karush-Kuhn-Tucker conditions giveThe dual support vectors are those with . A coefficient strictly between and puts a point exactly on its margin boundary; a point with positive slack has . A zero coefficient implies zero slack and signed margin at least one. Geometrically one often counts all points with as support vectors. At a degeneracy, equality can occur with , so the two descriptions need not coincide. Either convention supports the bound in the following part when stated consistently.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 218 2 d Solution Created 2026-10-03 Updated 2026-10-05
First use the dual convention for support vectors, and interpret the stipulated uniqueness as applying to each training fit. If , the Karush-Kuhn-Tucker conditions in the preceding part give and . Delete the th primal variable and its zero dual coefficient. All remaining primal constraints, stationarity equations and complementary-slackness equations still hold with the same . These conditions certify a global minimizer of the reduced convex optimization problem, since the objective is convex and the Slater condition holds by choosing positive large slacks. Uniqueness therefore gives exactly the same fitted score and support-vector-machine decision boundary. The omitted point is correctly classified.
For the geometric convention, a non-support point has strict margin . One can obtain the same conclusion using just uniqueness of the full fit: if the reduced problem had another optimizer, the convex segment from the original optimizer toward it would also consist of reduced optimizers. A sufficiently short segment retains strict margin at , hence has zero omitted hinge loss and would give another full optimizer, a contradiction.
Only a support vector can therefore cause a held-out error. Each contributes at most one, proving the support-vector leave-one-out error boundKeeping fixed is necessary for this deletion argument: holding an average-loss penalty parameter fixed while changing the sample size changes the optimization problem's effective .
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 205 4 Solution 2026-10-03
A vector is a subgradient of a convex function at whenA point minimizes exactly when . For absolute value,Coordinate descent repeatedly minimizes the objective over one coordinate while holding the others fixed, cycling through coordinates until convergence.
The Lasso solvesFor the first update, define the partial residual and scoreSince , the coordinate objective differs by a constant fromIts subgradient condition gives the soft thresholding update
For the stated Berhu penalty, the derivative is when and when . The coordinatewise Karush-Kuhn-Tucker conditions therefore give
Past exam of the mathematics course of the University of Cambridge 2019 iii Paper 205 6 Solution 2026-10-03
The term is strictly convex, while the remaining terms are convex, so the elastic net objective is strictly convex and its minimizer is unique. If two columns of are identical, swapping their coefficients leaves the objective unchanged. Uniqueness then forces those coefficients to be equal.
The Karush-Kuhn-Tucker conditions arewhereAssume and . The active equations giveThe inactive KKT inequalities becomeConversely, define andIf the displayed inequality holds and , the active equations and inactive inequalities together satisfy every KKT condition. Convexity and uniqueness imply , proving sign recovery.
Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 205 1 a Solution 2026-09-28
WriteIts score isThe Karush-Kuhn-Tucker conditions for L1-penalized logistic regression are therefore
Past exam of the mathematics course of the University of Cambridge 2022 ib Paper 2 7H Solution Created 2026-09-23 Updated 2026-09-25
The Lagrange sufficiency theorem says that for a convex differentiable objective and convex differentiable inequality constraints, any feasible point satisfying the Karush-Kuhn-Tucker conditions with nonnegative multipliers is a global minimizer.
WriteThe unconstrained maximizer of on the disc violates , so both boundaries are active at the optimum. Their intersections areand gives the smaller objective.
To certify it, at chooseThenboth multipliers are nonnegative, and complementary slackness holds because both constraints are active. The sufficiency theorem therefore gives
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 205 6 Solution Created 2026-09-28 Updated 2026-10-03
The Lasso minimizesIts Karush-Kuhn-Tucker conditions areSince the columns of are centered, . Taking the inner product of the KKT equation with and usinggives
The assumed restricted eigenvalue condition and giveCanceling one prediction-norm factor and applying the restricted eigenvalue condition again gives
Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 205 6 a Solution 2026-09-28
Let . Comparing the Lasso objective at and gives the Basic inequality for the Lasso. On it impliesSincewe obtain the Lasso cone condition
The Karush-Kuhn-Tucker conditions also giveso on ,The assumed cone invertibility condition therefore yieldsIf , then every active coefficient remains nonzero and retains its sign. Substituting proveson an event of the required probability. This is Lasso sign recovery from cone invertibility.
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 2023 iii Paper 339 2 c Solution 2026-09-28
Use the sign conventionfor the Lagrangian function in constrained optimization. The Lagrangian dual problem iswhere is the convex conjugate. For this convex problem with affine equality constraints, the stationarity and feasibility parts of the Karush-Kuhn-Tucker conditions areThey say exactly that the displayed operator satisfiesThus its zeros are precisely the primal-dual optimal points, subject to the usual attainment assumptions.
For and , the Euclidean inner product givesThe last two terms cancel by the defining property of the matrix transpose, and the first is nonnegative by part a. Hence is a monotone operator.
Past exam of the mathematics course of the University of Cambridge 2024 ib Paper 2 7H a Solution Created 2026-09-24 Updated 2026-09-25
Use multipliers forAt an interior point in the nonnegative quadrant, the Karush-Kuhn-Tucker conditions arewith complementary slackness for the two constraints.
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 205 2 c Solution Created 2026-09-24 Updated 2026-10-03
Multiply the Karush-Kuhn-Tucker conditions on the right by and take the matrix trace:Symmetry and the defining property of the subgradient of the absolute value giveConsequently the last two terms in the objective sum to , and hence
Past exam of the mathematics course of the University of Cambridge 2024 iii Paper 339 2 a Solution 2026-09-28
The objective is strictly convex, so the minimizer is unique. The Slater condition makes the Karush-Kuhn-Tucker conditions necessary and sufficient. Absorb the box constraints into the Euclidean projection onto a convex set and attach a scalar multiplier to . Stationarity over the box is equivalent towhile primal feasibility requires . Coordinatewise, these conditions areThey are also sufficient because they minimize the Lagrangian over the box and satisfy the equality constraint. Thus the projection onto a box-constrained hyperplane reduces to solving the displayed one-dimensional continuous, nonincreasing equation for . The multiplier need not be unique on a flat interval, but the projected vector is unique.
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 205 1 e Solution Created 2026-09-24 Updated 2026-09-25
Part (d) makes the residual and therefore unique, so is unique. The Karush-Kuhn-Tucker conditions from part (c) imply that every nonzero block satisfies . Hence for .
Any two minimizers have the same fitted value and vanish outside . Their difference is therefore supported on and satisfies . If has full column rank, then , proving uniqueness of .
Past exam of the mathematics course of the University of Cambridge 2025 iii Paper 218 2 d Solution Created 2026-09-24 Updated 2026-09-25
Let and . While both lasso coordinates are positive, the Karush-Kuhn-Tucker conditions giveHenceAssume without loss of generality that . After the first coordinate vanishes, the second remains active until . The zero vector satisfies the KKT conditions exactly when ; for and , this norm is . Thereforeandwhich is independent of .